import { internal } from "https://deno.land/x/neo4j_lite_client@4.4.6/core/index.ts";
const { TxConfig } = internal.txConfig;
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.
Methods
isEmpty(): boolean
Check if this config object is empty. I.e. has no configuration values specified.
Static Methods
empty(): TxConfig
Get an empty config object.