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
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- Increase by operators
I see appwrite have bunch of useful operators for querieng db. One more I would like to suggest is operators like increase the count of a int columns by 1,2.. ...
- createCollection Deprecated