I want to do order
queries[]={"method": "orderAsc", "values": ["$id"]}
This parameter is correct? Cause nothing happened
I believe it would be
queries[0]={"method":"orderAsc", "attribute":"$id"}
Basing that off this code here
https://github.com/appwrite/sdk-for-web/blob/main/src/query.ts#L186-L196
Okay, thank's it's work
[SOLVED] How to do order by on REST?
Recommended threads
- Handle long list of not equal
I understand that doing notEqual like: `Query.notEqual('attr', [1, 2, 3])` Will become: `attr != 1 OR attr != 2 OR attr != 3` Therefore, we need to set up the...
- Deleting app does not delete Login Sessi...
I noticed when an application is deleted, the Login Session(s) are not deleted. When I check in the Dashbaord for the user's sessions, you can see a bunch of th...
- Adding Attributes
I have tons of attributes to add. is there a way to programmatically to so instead of manually? It's a web app using nodejs/typescript