Skip to content

[QueryBuilder] *Batch() methods are inconsistant #6315

@kenjis

Description

@kenjis

set*Batch()

public function setInsertBatch($key, string $value = '', ?bool $escape = null);
public function setUpdateBatch($key, string $index = '', ?bool $escape = null);

setUpdateBatch() does not have $value.

*Batch()

public function insertBatch(?array $set = null, ?bool $escape = null, int $batchSize = 100);
public function updateBatch(?array $set = null, ?string $index = null, int $batchSize = 100);

updateBatch() does not have $escape.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    databaseIssues or pull requests that affect the database layer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions