-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Querying & selecting nested relationship #10552
Copy link
Copy link
Closed
Labels
feature / relationshipsFixes and upgrades for database relationshipsFixes and upgrades for database relationshipsproduct / databasesFixes and upgrades for the Appwrite Database.Fixes and upgrades for the Appwrite Database.questionFurther information is requestedFurther information is requested
Metadata
Metadata
Assignees
Labels
feature / relationshipsFixes and upgrades for database relationshipsFixes and upgrades for database relationshipsproduct / databasesFixes and upgrades for the Appwrite Database.Fixes and upgrades for the Appwrite Database.questionFurther information is requestedFurther information is requested
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
StatusShow more project fields
Done
👟 Reproduction steps
Tables:
Relationships:
customer -> car (one to many).
customer -> inspection (one to many).
car -> inspection (one to many).
Query:
if query returns more than one car it will only attach
customer.inspectionsto the first car the rest will only getcustomeronly without thecustomer.inspections.👍 Expected behavior
Every element in the car to obey to the
query.select👎 Actual Behavior
When multiple cars appeared on search:
When a single car appeared on search:
Selecting the same vehicle
BAIC U5 PLUS🎲 Appwrite version
Appwrite Cloud
💻 Operating system
MacOS
🧱 Your Environment
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?