-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
One quite common use case that I have run into, is to combine two different selectors. This is not as easy at it might first seem, to do Object.assign(selector1, selector2). But rather you must look for any overlap in the keys, and if there are some, use the $and helper. (or always use $and but that can yield large objects)
Would there be an interest of keeping a few utilities somewhere, maybe within this package, or maybe as a separate package, that deals with modifying the objects that goes into mongo-sql?
I'm not sure what would be the most cleanest, just throwing ideas out there :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels