-
Notifications
You must be signed in to change notification settings - Fork 31
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
Inability to setParameter or ordered by Id field #51
Comments
Some people say IDs should not used in queries at all as they should not represent any application data. What's your use case? |
I am storing chat messages in a table and wanted to extract the last message inserted. Doing it via timestamp might be inaccurate as theoretically there could be multiple messages generated in a millisecond. Only way out is to use my own auto increment column which I want to avoid. |
Yes, IDs "happen" to work for that local case. Technically, we don't give guarantees that this will stay like this forever, and, e.g. if you'd use Sync, it would break right away. Other than that, we'll look into the compilation issue, of course. It will take some time though, as there are other things on our priority queue. |
This is because The methods would have to be changed to explicitly allow using |
This is pretty coming scenario to execute queries on Id field
The text was updated successfully, but these errors were encountered: