← Back to Stormify Documentation

setFetchSize

open fun setFetchSize(rows: Int)

Hint to the driver about how many rows to fetch per round-trip while iterating a ResultSet. JDBC pass-through on JVM. On native, positive values activate the driver's streaming path (single-row mode on PG, server-side cursors on MariaDB, prefetch-array sizing on Oracle). 0 leaves the driver default. Default no-op.