Total Complexity | 6 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 90% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | final class BatchQueryResult extends \Yiisoft\Db\Query\BatchQueryResult |
||
15 | { |
||
16 | /** |
||
17 | * @var int MSSQL error code for exception that's thrown when the last batch is size less than specified batch size |
||
18 | * |
||
19 | * @link https://github.com/yiisoft/yii2/issues/10023 |
||
20 | */ |
||
21 | private int $mssqlNoMoreRowsErrorCode = -13; |
||
22 | |||
23 | /** |
||
24 | * Reads and collects rows for batch. |
||
25 | * |
||
26 | * @psalm-suppress MixedArrayAccess |
||
27 | */ |
||
28 | 4 | protected function getRows(): array |
|
48 |