Like the almighty, I think your problem is that the timestamp is stored with milliseconds> 0.
To see that the following query is being run:
select blobAsBigint(timestampAsBlob(timestamps)) where timestamps > '2013-08-01 15:02:56';
Then check the last numbers, which are milliseconds.
If the last numbers are> 0 (this is what I expect), then this explains why your statement = false.
So, you have two options:
- Delete milliseconds when saving data
- Request with ranges, something like ..
... give me the events after 15:02:56, but until 15:02:57:
where timestamps >= '2013-08-01 15:02:56' and timestamps < '2013-08-01 15:02:57'
Carlos Verdes
source share