Skip to content
New issue

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

Many to many relations #39

Closed
AndreiArba opened this issue Sep 13, 2013 · 2 comments
Closed

Many to many relations #39

AndreiArba opened this issue Sep 13, 2013 · 2 comments

Comments

@AndreiArba
Copy link

Do you plan on adding many to many relation?

One way to achieve this is to keep an array of referenced objects in each entry. This would require two "inserts" for every change.

What do you think?

@jenssegers
Copy link
Contributor

It is something I should take a look at, but I don't really know when. It's open for pull requests :)

@royduin
Copy link

royduin commented Sep 14, 2016

Is this implemented yet? It's an old issue but I can't find anything about it in the readme but I came across some issues where people are talking about pivot tables... I need a many-to-many relation with the same collection, for example: I've got a "values" collection with a lot of values, I'd like to create a many-to-many relation between those values. Does Moloquent have something for this?

Edit: this is what I want: laravel/framework#441 (comment) which is using the belongsToMany relationship which is supported by Moloquent, so I think I've answered my own question :) let's experiment with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants