You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure where to ask this question. Can RedBean do many-to-many self references? I have a table of articles and I need to record which ones will link to others internally.
So I want to be able to do something like $article→sharedArticleList.
In the database, the table I want is:
CREATE TABLE article_article (
article_id1 INT NOT NULL,
article_id2 INT NOT NULL,
PRIMARY KEY(article_id1, article_id2)
);
The text was updated successfully, but these errors were encountered:
Hello,
I'm not sure where to ask this question. Can RedBean do many-to-many self references? I have a table of articles and I need to record which ones will link to others internally.
So I want to be able to do something like $article→sharedArticleList.
In the database, the table I want is:
CREATE TABLE article_article (
article_id1 INT NOT NULL,
article_id2 INT NOT NULL,
PRIMARY KEY(article_id1, article_id2)
);
The text was updated successfully, but these errors were encountered: