Represents a N1QL query to be executed against a Couchbase bucket.
Methods
Creates a new N1qlQuery instance directly from a N1QL DML.
fromString(mixed $str) : \CouchbaseN1qlQuery
static
Specify the consistency level for this query.
consistency(mixed $consistency) : $this
Specify whether this query is a one-time query, or if it
if it should be prepared.
adhoc(mixed $adhoc) : $this
Generates the N1QL object as it will be passed to the server.
toObject() : object
Returns the string representation of this N1ql query (the statement).
toString() : string
Constants
REQUEST_PLUS
REQUEST_PLUS
STATEMENT_PLUS
STATEMENT_PLUS