
hey guys, I know query doesn't support relational field yet, so my idea was to try graphQL to get exact data I need from inside that relationship field but couldn't get anywhere. I tried something like graphql.query({ query: ` query { databasesListDocuments( databaseId: "[id]", collectionId: "[colId]" ) { total documents { _id, data { attachmentType, attachmentURL, body, user_id { _id avatar firstname lastname username } } } } } but that didn't work.. I really don't want to return the whole obj as it will have so many unnecessary data but not sure how, is there anyway around that? I'm building react Native app btw

There's also limited support with graphql and selecting the data. If you notice, the data is returned as a string, not an object so you can't select different attributes.
For the moment, you'll have to wait for queries to be supported. Or, you can stop using relationships and manually fetch related data

got it, thanks Steven

Is there a rough ETA on when relationships are supported? c:
Recommended threads
- Subdomain failed verification
So I wanted to do a custom subdomain, because local storage doesn't work for me, but I've tried it a long time ago, it didn't work for me, and now I'm trying ag...
- [Node.js SDK] Bypass 2GB file limit?
Hello. Using either InputFile.fromPath or InputFile.fromBuffer throws this error: File size (2295467305) is greater than 2 GiB Bucket limit etc. is setup corre...
- Relationship null, even when relationshi...
Hi Everyone, im experiencing issues with set relation data. When im setting the document id from the related database most of them seem fine, except one table. ...
