Click or drag to resize

ISessionRun Method (String, ActionTransactionConfigBuilder)

Run a query with the specific TransactionConfig and return a result stream. This method accepts a String representing a Cypher query which will be compiled into a query object that can be used to efficiently execute this query multiple times.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver.Simple (in Neo4j.Driver.Simple.dll) Version: 4.1.0
IResult Run(
	string query,
	Action<TransactionConfigBuilder> action


Type: SystemString
A Cypher query.
Type: SystemActionTransactionConfigBuilder
Given a TransactionConfigBuilder, defines how to set the configurations for the new transaction.

Return Value

Type: IResult
A stream of result values and associated metadata.
See Also