Back

How to get only specific fields in a document when list collection

  • 1
  • Web
Sebabrata Kundu
11 Feb, 2023, 14:48

I wanted to get all documents from a collection with specific fields in my document. By default, it's including $collectionId, $databaseId, etc, which I don't want.

TL;DR
The user wants to retrieve specific fields from a document when listing a collection but does not want to include certain default fields. Currently, there is no option for a select query, but there may be a feature release in the future.
Drake
11 Feb, 2023, 15:37

There have been talks about a type of select query, but that's not available at the moment.

Sebabrata Kundu
11 Feb, 2023, 17:50

hmm...., will look forward to it. its a very useful feature .

Eldad
11 Feb, 2023, 20:36

If everything goes to plan, it should be available in the next release.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more