does relationship property working the same as adding FK in another collection
await databases.CreateRelationshipAttribute( databaseId: "marvel", collectionId: "movies", relatedCollectionId: "reviews", type: "oneToMany", twoWay: true, key: "reviews", twoWayKey: "movie", onDelete: "cascade");
what is twoWay mean?
Yes
Have you read the docs? https://appwrite.io/docs/products/databases/relationships#directionality
I have read , missing some part ?
What do you mean?
I dont see the explanation of twoWay
Did you not see this?
😂 nope
so two way, it means creating from either side is the same right
Not exactly. It won't be the same for many to one or one to many. And on delete is different
oh, I tested, it is just way to config, if the info to be shown in both collection or only one collection of the relationship
Recommended threads
- Selfhosted Github App installation
I've followed this guide: https://appwrite.io/docs/advanced/self-hosting/configuration/version-control to connect GitHub to my self-hosted Appwrite instance (1....
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...