Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class TxConfig
import { TxConfig } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/internal/tx-config.ts";

Internal holder of the transaction configuration. It performs input validation and value conversion for further serialization by the Bolt protocol layer. Users of the driver provide transaction configuration as regular objects {timeout: 10, metadata: {key: 'value'}}. Driver converts such objects to TxConfig immediately and uses converted values everywhere.

Constructors

new
TxConfig(config: any)

Properties

readonly
metadata: any
readonly
timeout: Integer | null

Methods

isEmpty(): boolean

Check if this config object is empty. I.e. has no configuration values specified.

Static Methods

Get an empty config object.