Quantcast
Channel: Mobile - Couchbase Forums
Viewing all articles
Browse latest Browse all 1119

Couchbase lite query from N1QL

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 1119

Trending Articles