I find QueryBuilder
to be QUITE verbose and cumbersome.
I would MUCH prefer to supply my own prepared N1QL statement for the many queries I need to execute, e.g. something along the lines of:
val query = Query.fromN1ql("SELECT COUNT(*) as total FROM bucket WHERE type=\"user\")
Is there a way to generate a Query
from a N1QL string? Or to execute a raw N1QL statement without wrapping it in a Query
? If not, are there plans to add this?
3 posts - 2 participants