Skip to main content
Module

x/neo4j_lite_client/mod.ts>Connection

Unofficial Neo4j Driver for Deno
Latest
class Connection
Re-export
import { Connection } from "https://deno.land/x/neo4j_lite_client@4.4.6/mod.ts";

Interface which defines the raw connection with the database

Properties

address: any
databaseId: string
id: string
server: any
version: any

Methods

_release(): Promise<void>

Called to release the connection

close(): Promise<void>

Call close on the channel.

connect(userAgent: string, authToken: any): Promise<Connection>

Connect to the target address, negotiate Bolt protocol and send initialization message.

isOpen(): boolean
protocol(): any
resetAndFlush(): Promise<void>

Send a RESET-message to the database. Message is immediately flushed to the network.

write(
message: any,
observer: any,
flush: boolean,
): void

Write a message to the network channel.