connect

abstract override fun connect(): Xtdb.Connection


abstract fun connect(dbName: DatabaseName): Xtdb.Connection

Opens an in-process connection to the named database.


abstract fun connect(dbName: DatabaseName, principal: Principal): Xtdb.Connection

Opens an in-process connection to the named database as principal: the connection's Connection.user is the principal's user id. The node doesn't check principal — obtain one from the authenticate… methods below.