import { Driver } from "https://deno.land/x/neo4j_driver_lite@5.15.0/mod.ts";
Constructors
You should not be calling this directly, instead use driver.
Properties
The bookmark managed used by Driver.executeQuery
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.
Executes a query in a retriable context and returns a EagerResult.
This method is a shortcut for a Session#executeRead and Session#executeWrite.
NOTE: Because it is an explicit transaction from the server point of view, Cypher queries using "CALL {} IN TRANSACTIONS" or the older "USING PERIODIC COMMIT" construct will not work (call Session#run for these).
Returns the protocol version negotiated via handshake.
Note that this function call always causes a round-trip to the server.
Get ServerInfo for the giver database.
Returns boolean to indicate if driver has been configured with encryption enabled.
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 driver session re-auth functionality 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.
This method verifies the authorization credentials work by trying to acquire a connection to one of the servers with the given credentials.
Verifies connectivity of this driver by trying to open a connection with the provided driver options.