java.lang.IllegalArgumentException: Unsupported type for JsonArray: class com.couchbase.client.protocol.views.ComplexKey
at com.couchbase.client.java.document.json.JsonArray.from(JsonArray.java:91)
I have not been able to dig up any documentation on how to set start- and endKeys on viewQueries ???
Thanks and yeah there was an old 1.4 version lurking around .
I guess the best examples I found used ComplexKey. Some new examples on the 2.x.x versions would be useful.
@Preben in this terms it’s very similar. You get the same options on the previous Query object, but ComplexKey was just a workaround for the lack of proper JSON types. Now we have JsonObject and JsonArray directly so you can express all JSON supported types without wrappers like ComplexKey.