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.
Contents
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
Return
(TECEventsCustom_TablesV1ModelsBuilder) The instance to the current class.
Source
File: src/Events/Custom_Tables/V1/Models/Builder.php
public function set_batch_size( $size = 100 ) {
$this->batch_size = $size;
return $this;
}
Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |