-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
DBreeze sorts by ID #58
Comments
Hi, you should really start from the docu. DBreeze automatically sorts by inserted key, so if you want records to be sorted by insert sequence use as a key growing up integer 1,2,3. In your case you will need probably minimum two indexes, one is to assure the sorting by adding sequence, second to search by MessageID: use object DBreeze for that. Example is here |
Thank you very much. |
As you wish |
Thank you. I will create new issue, it may help someone else who have same problem. |
Hi DBreeze team,
Im very new to dbreeze world and i found it simple, fast and reliable database.
Im trying to store users chats, but the problem im facing is that dbreeze seems to sort them my id(ID i used) which i dnt want.
Here is the code i used to query using LINQPAD
I dont know if approaching in a wrong way, it is sorting by ID. I want the message to be the way they r inserted without any sorting.
Am i doing in a wrong approach? what to do?
The text was updated successfully, but these errors were encountered: