Pre-General Availability Draft: 2017-04-20
When using an XSession, a simplified X DevAPI syntax is used for SQL queries. This exposes a sub-set of SQL that can be used in transparent high availability, replication, and sharding environments.
In some cases access to the full SQL language is needed, for
example to directly connect to a specific MySQL Server to do
operations specifically on this server. In those cases a direct,
low-level connection needs to be opened. This is performed by
which returns a
mysqlx.getNodeSession() function can take a
URL that specifies the connection information for a specific
server or it can take a configuration provided by a Session.