Boris Rousseau wrote:
Thanks guys.
In fact, once embedded into my code there is no problem with the command
interpreter.
However, I still have one issue:
I want to retrieve all the documents from the collection where the userID is
Jack and the date is 2004-01-23
Would the following query be correct?
//doc([contains(userID,"Jack")] and [contains(date,"2004-01-23")])
//doc[contains(userID,"Jack") and contains(date,"2004-01-23")]
or if you can (because the previous will have to scan your whole document):
/doc[contains(userID,"Jack") and contains(date,"2004-01-23")]
Upayavira