malteseduck / spring-data-marklogic

An implementation of the Spring Data interfaces for the MarkLogic NoSQL database
Apache License 2.0
7 stars 9 forks source link

Placeholders in QBE array don't get bound #47

Closed malteseduck closed 6 years ago

malteseduck commented 6 years ago

A query such as this:

{ $and: [{ age: { $gt: ?0 }}, {age: { $lt: ?1 }] }

gives an IllegalArgumentException because it can't replace the placeholders in an array (it is just checking for JSONObject).