Click or drag to resize

SessionConfigBuilderWithFetchSize Method

Sets the default fetch size. Since Bolt v4 (Neo4j 4.0+), the query running result (records) are pulled from server in batches. This fetch size defines how many records to pull in each batch. Use Infinite to disable batching and always pull all records in one batch instead.

Namespace:  Neo4j.Driver
Assembly:  Neo4j.Driver (in Neo4j.Driver.dll) Version: 4.2.0
public SessionConfigBuilder WithFetchSize(
	long size


Type: SystemInt64
Fetch size of each record batch.

Return Value

Type: SessionConfigBuilder
this SessionConfigBuilder instance
See Also