Hi there! Is it possible to select just the $id of the document in a query? When I tried this Query.select(['\$id']) I've got an internal server error.
The index for the $id exists and works with other requests perfectly fine.
Hi, it is not possible currently, will be possible in newer version
Can you not just use getDocument()?
Alright, thanks š
No, that would only return a single document. I want a list of Document ids based on other queries
How? Can you elaborate on your use-case?
Well since relations are still in beta I am writing my own join tables etc. Therefore it would be nice to get only ids instead of the whole document. But of course it could be done in other ways
Gotcha, so you want to select the $id based on the query
Yes correct
Recommended threads
- Project Paused Despite Daily Active Usag...
I noticed that my project was automatically **paused**, even though it is actively being used. The project is an **attendance application** that is used daily b...
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...