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

Support repeated values in list of references #1

Closed
mitar opened this issue Oct 15, 2013 · 1 comment
Closed

Support repeated values in list of references #1

mitar opened this issue Oct 15, 2013 · 1 comment

Comments

@mitar
Copy link
Member

mitar commented Oct 15, 2013

Because of current MongoDB limitation, only first occurrence in a list of a reference is synced with referenced document. This means values in the list have to be unique (use $addToSet). Hopefully, we will be able to remove this limitation someday.

@mitar
Copy link
Member Author

mitar commented Nov 4, 2013

Implemented by iterating in a way that with each iteration a new value is updated. And iterating until all values are updated.

@mitar mitar closed this as completed Nov 4, 2013
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

1 participant