Disable InsertPosition

Ferreira 4 years ago

Hi, I'm using the forward.enable option.
Is it possible to disable InsertPosition?

Anton Tananaev 4 years ago

Yes, you can set an SQL query that doesn't do anything.

Ferreira 4 years ago

could show the example to insert in the config file?
Thanks

Ferreira 4 years ago

It worked. insert the instruction into the configuration file.

 <entry key='database.insertPosition'>
       SELECT id FROM tc_devices WHERE id = :deviceId
    </entry>
Ferreira 3 years ago

Hi Anton,

In version 5.4 this option of not recording stopped working.
continued recording in the database all positions

 <entry key='database.insertPosition'>
       SELECT id FROM tc_devices WHERE id = :deviceId
    </entry>
Anton Tananaev 3 years ago

It doesn't work on newer versions.

Ferreira 3 years ago

Is there any possibility to disable the inserts?

Anton Tananaev 3 years ago

Only by changing the source code.

Ferreira 3 years ago

this function was very useful.

Anton Tananaev 3 years ago

Feel free to create a feature request ticket. Explain the business use case for it and we'll see how much interest we get from other users.