Back

How to filter meta data of the document?

  • 0
  • Web
ddet2022
16 Jun, 2023, 20:55

I am looking for any simple way to filter the the meta data of the documents ($collectionId, $createdAt.. etc) during the database READ.. any simple way to filter them out

$collectionId : "Products" $createdAt : "2023-06-12T20:18:47.121+00:00" $databaseId : "MealmeeDB" $id : "64877da71d9b8b369562" $permissions : [] $updatedAt : "2023-06-12T20:24:20.871+00:00" isAvailable : true productCategory : "Fruits" productDescription : "Banana" productName : "Banana" productPrice : 1.75 qunantity : 0

TL;DR
The user wants to know how to filter out certain meta data attributes of documents during a database read. They provided an example of meta data attributes they want to filter. Currently, there is no simple way to filter out meta data attributes, but there is a related issue on GitHub for improvement. Solution: None provided.
ddet2022
16 Jun, 2023, 20:56

How to filter meta data of the document?

Drake
16 Jun, 2023, 22:00

We plan to improve select to only include the selected attributes rather than automatically including system attributes.

You might want to 👍 this related issue https://github.com/appwrite/appwrite/issues/5376

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