Skip to main content
Module

x/neo4j_driver_lite/mod.ts>BookmarkManager

Neo4j Bolt driver for JavaScript
Go to Latest
class BookmarkManager
Re-export
import { BookmarkManager } from "https://deno.land/x/neo4j_driver_lite@5.15.0/mod.ts";

Interface for the piece of software responsible for keeping track of current active bookmarks accross the driver.

Constructors

new
private
BookmarkManager()

Methods

getBookmarks(): Promise<Iterable<string>>

Method called by the driver to get the bookmarks.

updateBookmarks(previousBookmarks: Iterable<string>, newBookmarks: Iterable<string>): Promise<void>

Method called when the bookmarks get updated when a transaction finished.

This method will be called when auto-commit queries finish and when explicit transactions get committed.