The query with LIMIT 1 is not emitting updates #5418
Unanswered
yeldar-nurpeissov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Version: 2.0.2
Platform: Android
I want to retrieve the oldest row I inserted using the following query:
I use this code to get the result as a flow:
However, it only works during the initial app loading.
To fix this, I use LIMIT 2 and retrieve the first element from the list:
I’m not sure why the first approach doesn't work, but the second one does.
Beta Was this translation helpful? Give feedback.
All reactions