We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, How columns should be names to allow a many-to-many relationship when the same table is referenced, for example
table customer(id) table customer_customer(id, customer_id, other_customer_id, other_data)
how the other_customer_id should be named to be respect compliant?
other_customer_id
The text was updated successfully, but these errors were encountered:
I can't find right now a way to do that without setting a custom Style or defining a third table to perform that...
Sorry, something went wrong.
I have been using views for that:
CREATE TABLE customer(id ...); CREATE VIEW friend AS SELECT * FROM customer; CREATE TABLE customer_friend(id .., customer_id ..., friend_id ..., friendship_status ...);
The view friend mimics the customer table and allows relational to target the same data using different collection names. Hope it helps.
friend
customer
No branches or pull requests
Hello,
How columns should be names to allow a many-to-many relationship when the same table is referenced, for example
how the
other_customer_id
should be named to be respect compliant?The text was updated successfully, but these errors were encountered: