
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
- Custom domain issue
Hello following another post I'm creating dedicated post according to my project ID: 67ffbd800010958ae104 I deployed for debug my React Native app in web, chrom...
- Appwrite DNS Record Invalid on 123reg
So I go to the project settings and add in my domain name. Then when I add the CNAME record to 123reg it says that ''Record data is invalid'' As seen in the s...
- Image preview error
cannot see the image preview ..please help me fix this issue
