Home Reference Source
import {QueryConfig} from 'neo4j-driver-core/lib/driver.js'
public interface | source

QueryConfig

The query configuration

Member Summary

Public Members
public

bookmarkManager: BookmarkManager | undefined | null

Configure a BookmarkManager for the session to use

public

database: string | undefined

The database this session will operate on.

public

impersonatedUser: string | undefined

The username which the user wants to impersonate for the duration of the query.

public

Define the transformation will be applied to the Result before return from the query method.

public

Define the type of cluster member the query will be routed to.

public

Configuration for all transactions started to execute the query.

Public Members

public bookmarkManager: BookmarkManager | undefined | null source

Configure a BookmarkManager for the session to use

A BookmarkManager is a piece of software responsible for keeping casual consistency between different pieces of work by sharing bookmarks between the them.

By default, it uses the driver's non mutable driver level bookmark manager. See, Driver.executeQueryBookmarkManager

Can be set to null to disable causal chaining.

public database: string | undefined source

The database this session will operate on.

public impersonatedUser: string | undefined source

The username which the user wants to impersonate for the duration of the query.

public resultTransformer: ResultTransformer source

Define the transformation will be applied to the Result before return from the query method.

See:

public routing: RoutingControl source

Define the type of cluster member the query will be routed to.

public transactionConfig: TransactionConfig | undefined source

Configuration for all transactions started to execute the query.