Skip to main content
Latest
class internal.connectionHolder.default
import { internal } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/index.ts";
const { default } = internal.connectionHolder;

Provides a interaction with a ConnectionHolder without change it state by releasing or initilizing

Constructors

new
default(connectionHolder: ConnectionHolder)

Contructor

Properties

private
_connectionHolder: ConnectionHolder

Methods

close(): Promise<Connection | void>

Get the current connection promise, doesn't performs the connection close

getConnection(): Promise<Connection | void>

Get the current connection promise.

Return the true if the connection is suppose to be initilized with the command.

releaseConnection(): Promise<Connection | void>

Get the current connection promise, doesn't performs the release