Table of Contents

Method WithFetchSize

Namespace
Neo4j.Driver
Assembly
Neo4j.Driver.dll

WithFetchSize(long)

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.

public SessionConfigBuilder WithFetchSize(long size)

Parameters

size long

Fetch size of each record batch.

Returns

SessionConfigBuilder

this SessionConfigBuilder instance

See Also