Disable InsertPosition

Ferreira3 years ago

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

Anton Tananaev3 years ago

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

Ferreira3 years ago

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

Ferreira3 years ago

It worked. insert the instruction into the configuration file.

 <entry key='database.insertPosition'>
       SELECT id FROM tc_devices WHERE id = :deviceId
    </entry>
Ferreira2 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 Tananaev2 years ago

It doesn't work on newer versions.

Ferreira2 years ago

Is there any possibility to disable the inserts?

Anton Tananaev2 years ago

Only by changing the source code.

Ferreira2 years ago

this function was very useful.

Anton Tananaev2 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.