Couchbase lite 2.0: how to query with an n1ql string

I understand, I’ve written a cordova plugin to use the new couchbase lite 2.0, so this will limit the queries we can do with it…