Disable InsertPosition

Ferreira4 years ago

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

Anton Tananaev4 years ago

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

Ferreira4 years ago

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

Ferreira4 years ago

It worked. insert the instruction into the configuration file.

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

It doesn't work on newer versions.

Ferreira3 years ago

Is there any possibility to disable the inserts?

Anton Tananaev3 years ago

Only by changing the source code.

Ferreira3 years ago

this function was very useful.

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