Back

Problem With Relationships

  • 0
  • Databases
  • Self Hosted
შონია
7 Jul, 2024, 17:39

I am trying to use Relationships between cars and users. I want one user to have many cars and one car to be belonged to only one user. I tried to set it up but here are the generated logic, something seems wrong. What to do here? Also, cannot I make to remove car when user gets deleted and not vice-versa? Right now I can only set one function for both.

TL;DR
Developers are having difficulty setting up relationships between cars and users, specifically with naming conventions and behavior of removal when a user is deleted. The desired setup is to have one user associated with multiple cars and have each car belonged to only one user. A solution would involve adjusting the logic to match these requirements and making the necessary changes in the relationship management settings.
შონია
7 Jul, 2024, 17:54

and can I name what I want ? I have written ride but it still shows rides

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more