I'm tinkering with the database and I can't quite figure out how does Traccar know if a position is outdated when constructing a Position object. There is no outdated
column in the tc_positions
table, and there's no field in the attributes JSON.
So, question is, how does it figure out if the position is outdated or not during construction of the object?
I just wanted to check how many of them are there for the sake of the statistics, and I don't want to do it through API.
It's a transient property that's not stored in the database.
I'm tinkering with the database and I can't quite figure out how does Traccar know if a position is outdated when constructing a Position object. There is no
outdated
column in thetc_positions
table, and there's no field in the attributes JSON.So, question is, how does it figure out if the position is outdated or not during construction of the object?