vadimdemedes / mongorito

🍹 MongoDB ODM for Node.js apps based on Redux
1.38k stars 90 forks source link

Allowing $in via where('array', ['one', 'two', 'three']) #117

Closed mrusme closed 8 years ago

mrusme commented 8 years ago

If an array is being passed to where, it'll use $in: <array> as query value.

coveralls commented 8 years ago

Coverage Status

Coverage decreased (-0.2%) to 95.475% when pulling af0b623e1f44a8317d9616eba4405a85964bb2df on twostairs:feature/where-in-array into 97ecd67a9afba95fc86d992b3e9f33eff8721230 on vdemedes:master.

vadimdemedes commented 8 years ago

Thank you!