custom
Escape hatch for specifying a custom query condition supported by Couchbase Server but not by this version of the SDK.
The customizer lambda populates a map that gets converted to JSON.
Example:
val query = custom {
put("wildcard", "foo?ball)
put("field", "sport")
}
Content copied to clipboard
yields the query JSON:
{
"wildcard": "foo?ball",
"field": "sport"
}
Content copied to clipboard