Hi,

I'm new to marklogic and I'm using node.js client.
I have a very simple structure already loaded to database
{
   id : id of an agency,
   cars : [ an array of cars ]
}
each car in the array has following properties
[
   type : type of car,
   size : size of car
]

I want to use the node.js client api
to query all cars with given type and/or size.

When I use
.db.documents.query(qb.byExample({size:'small'}))
it returns me all agencies with at least one small car (just guessing), but
not cars

Any help really appreciated !
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to