Skip to main content
Latest
method ConnectionProvider.prototype.acquireConnection
Re-export
import { ConnectionProvider } from "https://deno.land/x/neo4j_lite_client@4.4.6/mod.ts";

This method acquires a connection against the specified database.

Access mode and Bookmarks only applies to routing driver. Access mode only differentiates the target server for the connection, where WRITE selects a WRITER server, whereas READ selects a READ server. Bookmarks, when specified, is only passed to the routing discovery procedure, for the system database to synchronize on creation of databases and is never used in direct drivers.

Parameters

optional
param: { accessMode?: string; database?: string; bookmarks: bookmark.Bookmark; impersonatedUser?: string; onDatabaseNameResolved?: (databaseName?: string) => void; }
  • object parameter