Module: mysqlx

Members

(static, constant) LockContention :LockContention

Locking modes.
Type:
Source:
Example
mysqlx.LockContention.DEFAULT
mysqlx.LockContention.NOWAIT
mysqlx.LockContention.SKIP_LOCKED

(static, constant) Mode :DataModel

Database entity types.
Type:
Source:
Example
mysqlx.Mode.TABLE
mysqlx.Mode.DOCUMENT

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}

Retrieve the connector version number (from package.json).
Source:
Returns:
Type
String

Type Definitions

ParserOptions

Additional parser options.
Type:
  • Object
Properties:
Name Type Attributes Description
mode DataModel <optional>
the parsing mode
Source: