I'm little bit confused <:flutter:714892041401925684>
Flutter My collections look like:
- dbA:
- id
- title
- content
- dbB:
- id
- dbA_id
- body
I to get fetch dbB to return selected data that json look like:
[
{
'id': ...,
'body': ...,
'relativeDbA': {
'id': ...,
'title': ...
}
},
{
...
},
...
]
Starting with Appwrite 1.3, we added support for relationships which let's you do something like this. Please see https://appwrite.io/docs/databases-relationships for more info.
Recommended threads
- Relations within the same table
Hello, I'm currently building a sort of dictionary (a literal one) and thus I need words (which is one single table of words in my database) to be able to have ...
- [SOLVED] Query.search() returning all ro...
When I use Query.search() instead of returning rows with the keywords provided it just returns all the rows in the table.
- 1:1 relationship doesn’t sync after re-a...
Hi, I’m trying to use a two-way one-to-one relationship. It works fine when I create a record with the relationship set, and it also works when I unset it. But ...