Class: CbasQuery

CbasQuery

new CbasQuery()

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

Since:
  • 2.2.4 (stability: uncommitted)

Methods

<static> fromString(str) → {CbasStringQuery}

Creates a query object directly from the passed query string.

Parameters:
Name Type Description
str string

The N1QL query string.

Since:
  • 2.2.4 (stability: uncommitted)
Returns:
Type
CbasStringQuery

toString()

Returns the fully prepared string representation of this query.

Since:
  • 2.2.4 (stability: uncommitted)