Hello I have a bug with the relationship functionality in the database. I have a "bundles" collection which has a "Many to many" with "lots", "lots" which has a "Many to many" with "products" and "products" a "One to many" with "stock" . All relationships work except the last one which loads all other attributes of whatever type but not the relationship. If I add another attribute, it is loaded and appears in my debug but not the relationship. I tried to make relationships with other categories, same result. I recreated my model from 0 by deleting all the categories, same result I don't really understand the problem knowing that I have other relationships like "bundles" with "sell_prices" in "Many to many" which works perfectly. I'm on 1.4.10 which I just updated, but the bug is the same on 1.4.9 (I told myself that the update would perhaps fix the bug but no)
wtf when I get data direct from "products" its work (I have the "stock" data) but if a get data by "bundles", it's doent work. Is there any deep parameter for relationship ?
Ok I have the response
Just we cant bypass the max depth of 3 ? (I need 4 in my case)
Max depth in relationship
correct. that is the limit
Ok and there is no way to change it ? If not, do you plan to add it in the future?
And for anyone who has this problem, I have replaced relationship by String array with ID of the related document, and I do the relation by hand in code
Not at the moment
[CLOSED] Max depth in relationship
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- Sign In With Apple OAuth Help
Hi All! I've got a flutter & appwrite app which Im trying to use sign in with apple for. I already have sign in with google working and the function is the sam...