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

Not able to save an entity with the same _id as an existing entity in a different collection. #20

Open
fishclaws opened this issue Jul 19, 2017 · 2 comments

Comments

@fishclaws
Copy link

I am faced with a database with entities logically connected by having the same _id across different collections. Is there any way to save an entity in a different collection with the same _id as one that I have fetched and saved on the same session?

@Randallonius
Copy link
Contributor

+1

@meirgottlieb
Copy link
Contributor

Currently the identity map assumes that id's are globally unique. The Session would have to be modified to keep an identity map around for each collection.

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