Skip to main content
Module

x/neo4j_driver_lite/mod.ts>ManagedTransaction

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

Represents a transaction that is managed by the transaction executor.

Constructors

new
private
ManagedTransaction(unnamed 0: { run: Run; })

Properties

private
readonly
_run: Run

Methods

run<R extends RecordShape = RecordShape>(query: Query, parameters?: any): Result<R>

Run Cypher query Could be called with a query object i.e.: {text: "MATCH ...", parameters: {param: 1}} or with the query and parameters as separate arguments.