With the new update for db relationships, how can I select only the main collection documents and still get the IDs of the child docs?
Is it possible to select a relationship attribute and not get the env var level deep of relations?
Yeah, that would be great to have this option, for example in a Query.select(['todos.$id'])
or in other ways.
Example return value with query: Query.select(['name, todos.$id'])
Project {
name: 'project",
todos: [
'docId1',
'docId2',
]
}
It is crucial to my project to use the Relationship feature.
But this is already discussed here:
Recommended threads
- Type Mismatch in AppwriteException
There is a discrepancy in the TypeScript type definitions for AppwriteException. The response property is defined as a string in the type definitions, but in pr...
- What Query's are valid for GetDocument?
Documentation shows that Queries are valid here, but doesn't explain which queries are valid. At first I presumed this to be a bug, but before creating a githu...
- Appwrite exception: user_unauthorized, t...
After refreshing the app it is working perfectly