IQueryRunnerRun Method (String, IDictionaryString, Object) |
Run a query 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. This method optionally
accepts a set of parameters which will be injected into the query object query by Neo4j.
Namespace:
Neo4j.Driver
Assembly:
Neo4j.Driver.Simple (in Neo4j.Driver.Simple.dll) Version: 5.0
SyntaxIResult Run(
string query,
IDictionary<string, Object> parameters
)
Function Run (
query As String,
parameters As IDictionary(Of String, Object)
) As IResult
IResult^ Run(
String^ query,
IDictionary<String^, Object^>^ parameters
)
abstract Run :
query : string *
parameters : IDictionary<string, Object> -> IResult
Parameters
- query
- Type: SystemString
A Cypher query. - parameters
- Type: System.Collections.GenericIDictionaryString, Object
Input parameters for the query.
Return Value
Type:
IResultA stream of result values and associated metadata.
See Also