Class: N1qlQuery

N1qlQuery

new N1qlQuery()

Class for dynamically construction of N1QL queries. This class should never be constructed directly, instead you should use the N1qlQuery.fromString static method to instantiate a N1qlStringQuery.

Since:
  • 2.0.0 (stability: uncommitted)

Methods

<static> fromString(str) → {N1qlStringQuery}

Creates a query object directly from the passed query string.

Parameters:
Name Type Description
str string

The N1QL query string.

Since:
  • 2.0.0 (stability: uncommitted)
Returns:
Type
N1qlStringQuery

toString()

Returns the fully prepared string representation of this query.