Builder::set_batch_size( int $size = 100 )

Sets the size of the batch the Builder should use to fetch models in unbound query methods like find_all.


Parameters

$size

(int) (Optional) The size of the batch the Builder should use to fetch Models in unbound query methods like find_all.

Default value: 100


Top ↑

Return

(TECEventsCustom_TablesV1ModelsBuilder) The instance to the current class.


Top ↑

Source

File: src/Events/Custom_Tables/V1/Models/Builder.php

	public function set_batch_size( $size = 100 ) {
		$this->batch_size = $size;

		return $this;
	}

Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.