Update to searchjs query-against-objects library allows for matching
of arrays against an object, or item against arrays; update of
multiwaydb to require later version of searchjs.
Arrays in matched object:
Old version: search criteria {"name":"John"} match against object
{"name":"John","age":35}
New version: match against {"name":"John","age":35} AND against
{"name":["John","Jack"],"age":35}
Arrays in match criteria:
Old version: search criteria {"name":"John"} match against object
{"name":"John","age":35}
New version: can also use {"name":["John","Jack"]} match against
{"name":"John","age":35} OR {"name":"Jack","age":35}
Arrays in both match criteria and matched object:
{"name":["John","Jack"]} match against {"name":"John","age":35} AND
against {"name":["John","Jim"],"age":35}
The usual complex parameters - AND/OR/NOT - all continue to function.
Details at
https://github.com/deitch/searchjs
and
https://github.com/deitch/multiwaydb
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en