import { driver } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/index.ts";
const { default } = driver;
Constructors
You should not be calling this directly, instead use driver.
Properties
Methods
Returns the configured trust strategy that the driver has been configured with.
Returns boolean to indicate if driver has been configured with encryption enabled.
Close all open sessions and other associated resources. You should make sure to use this when you are done with this driver instance.
Acquire a session to communicate with the database. The session will borrow connections from the underlying connection pool as required and should be considered lightweight and disposable.
This comes with some responsibility - make sure you always call close when you are done using a session, and likewise, make sure you don't close your session before you are done using it. Once it is closed, the underlying connection will be released to the connection pool and made available for others to use.
Returns whether the server supports multi database capabilities based on the protocol version negotiated via handshake.
Note that this function call always causes a round-trip to the server.
Returns whether the server supports transaction config capabilities based on the protocol version negotiated via handshake.
Note that this function call always causes a round-trip to the server.
Returns whether the server supports user impersonation capabilities based on the protocol version negotiated via handshake.
Note that this function call always causes a round-trip to the server.
Verifies connectivity of this driver by trying to open a connection with the provided driver options.