Click or drag to resize

IResultConsume Method

Consume the entire result, yielding a summary of it. Calling this method exhausts the result. If you want to obtain the summary without discarding the records, use ToListTSource(IEnumerableTSource) to buffer all unconsumed records into memory instead.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver.Simple (in Neo4j.Driver.Simple.dll) Version: 4.1.0
IResultSummary Consume()

Return Value

Type: IResultSummary
A summary for running the query.
This method could be called multiple times. If all records in the records stream are already consumed, then this method will return the summary directly.
See Also