Reputation: 1
I have many documents in a database where I want to search for a specific condition. I saw can use predicates, but it works under only one document, is that correct?
FLOWR expression work with many documents under whole database, but while returning the number the document can we use predicate []
too for limiting the number of rows to return.
Need to get all points while querying a document and query across a Database or whole database in Marklogic 10.
Upvotes: 0
Views: 51
Reputation: 163595
You can write
for $x at $position in ....
where $position le 100
return ...
Upvotes: 0