mirror of
https://github.com/yiisoft/yii2.git
synced 2025-10-29 01:17:13 +08:00
Add visibility for all class elements (#20557)
This commit is contained in:
@ -35,17 +35,17 @@ class BatchQueryResult extends Component implements \Iterator
|
||||
* @see reset()
|
||||
* @since 2.0.41
|
||||
*/
|
||||
const EVENT_RESET = 'reset';
|
||||
public const EVENT_RESET = 'reset';
|
||||
/**
|
||||
* @event Event an event that is triggered when the last batch has been fetched.
|
||||
* @since 2.0.41
|
||||
*/
|
||||
const EVENT_FINISH = 'finish';
|
||||
public const EVENT_FINISH = 'finish';
|
||||
/**
|
||||
* MSSQL error code for exception that is thrown when last batch is size less than specified batch size
|
||||
* @see https://github.com/yiisoft/yii2/issues/10023
|
||||
*/
|
||||
const MSSQL_NO_MORE_ROWS_ERROR_CODE = -13;
|
||||
public const MSSQL_NO_MORE_ROWS_ERROR_CODE = -13;
|
||||
|
||||
/**
|
||||
* @var Connection|null the DB connection to be used when performing batch query.
|
||||
|
||||
Reference in New Issue
Block a user