Skip to content

Commit

Permalink
Merge branch 'active-record-flexible-batch' into last-update
Browse files Browse the repository at this point in the history
  • Loading branch information
ziaratban committed Dec 21, 2023
2 parents ea70c55 + 595514a commit d33f958
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ActiveRecord.php
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ public function batchSave($attributes = null, $scope = ''){
*/
public static function hasBatchInsert($scope = ''){
$className = static::className();
return @self::$batchInsertCommand[$className][$scope] ? true : false;
return @self::$batchInsertQueue[$className][$scope] ? true : false;
}

/**
Expand Down

0 comments on commit d33f958

Please sign in to comment.