-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot get earliest stored value (limit 1) #210
Comments
Same behaviour with beta version 2.2.4 |
Yes this is because of the 0 as start ... this is handled as "not defined" ... try 1 (or use 1.1.2000 becausthe adapter was not exosting before that date at all) |
Just checked the code Lines 1224 to 1226 in 24cb6c5
|
No idea if this would be breaking for some visus or such ... no idea if someone sends start=0 to actually trigger this behaviour as it is now ... :-( |
Ok, got it :) Feel free to close this issue |
I leave open, maybe a README note might be an idea |
Describe the bug
I want to use
sendTo
to get the first value (with the lowest timestamp) in history database. But that is not possible:To Reproduce
Idea:
The first value in my DB is from
1636560079478
-> 10.11.2021 (~ 1 year old).But I receive:
Earliest vlaue -> 09.11.2022 11:25:28
(today).When I set the limit to
2000
, the result isEarliest vlaue -> 13.08.2022 18:25:29
.Seems like the limit is applied to "the wrong side" of the result.
Versions:
The text was updated successfully, but these errors were encountered: