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

Optimize $set & $push for updateone, updatemany #17

Open
levchik opened this issue Sep 23, 2019 · 1 comment
Open

Optimize $set & $push for updateone, updatemany #17

levchik opened this issue Sep 23, 2019 · 1 comment
Assignees
Labels
enhancement New feature or request
Projects

Comments

@levchik
Copy link
Contributor

levchik commented Sep 23, 2019

Description

Decide whether we need $set or $push based on field type and positional arguments criteria.
There is potential room for separate primitives module as part of $or, $ne and others. Discussion is appreciated.

@levchik levchik added the enhancement New feature or request label Sep 23, 2019
@levchik
Copy link
Contributor Author

levchik commented Sep 23, 2019

Related PR: #16 which fixes it only partially and not exactly pretty.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Roadmap
  
Awaiting triage
Development

No branches or pull requests

2 participants