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

always $set usage with updating from commit #368

Open
Suryansh2002 opened this issue Jan 14, 2022 · 0 comments
Open

always $set usage with updating from commit #368

Suryansh2002 opened this issue Jan 14, 2022 · 0 comments

Comments

@Suryansh2002
Copy link

it seems umongo always uses $set to update , which means if i want to remove a key from a dictionary field . it sets the field again , instead of unsetting the key from field ,
so i was wondering if there are any performance drop compared to using {"$unset":{"field_name.key":1}}
I didnt knew where to ask ,so i m here!

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