Module: mysqlx

Members

(static, constant) LockContention :LockContention

Locking modes.
Type:
Source:

(static, constant) Mode :Mode

Database entity types.
Type:
  • Mode
Source:

Methods

(static) expr(expr, options) → {proto.Mysqlx.Expr.Expr}

Parse an expression string into a Mysqlx.Expr.Expr.
Parameters:
Name Type Description
expr string expression string
options ParserOptions additional options
Source:
Returns:
The protobuf encoded object.
Type
proto.Mysqlx.Expr.Expr

(static) getSession(properties) → {Promise.<Session>}

Load a new or existing session.
Parameters:
Name Type Description
properties string | URI session properties
Source:
Returns:
Type
Promise.<Session>

(static) getVersion() → {String}

Get the version number This is shortcut for reading package.json/version
Source:
Returns:
Type
String

Type Definitions

ParserOptions

Additional parser options.
Type:
  • Object
Properties:
Name Type Attributes Description
mode Mode <optional>
the parsing mode (DOCUMENT or TABLE)
Source: