Bitrix API

BulkOperation

Table of Contents

Methods

bulkAdd()  : void
Multiple inserts rows.
bulkDelete()  : void
Deletes rows by filter.
bulkUpdate()  : void
Updates rows by filter.

Methods

bulkAdd()

Multiple inserts rows.

public static bulkAdd(array<string|int, mixed> $rows[, string|array<string|int, string> $primary = null ]) : void
Parameters
$rows : array<string|int, mixed>

Data to add.

$primary : string|array<string|int, string> = null

Primary key field name.

bulkDelete()

Deletes rows by filter.

public static bulkDelete([array<string|int, mixed> $filter = [] ]) : void
Parameters
$filter : array<string|int, mixed> = []

Filter looks like filter in getList.

bulkUpdate()

Updates rows by filter.

public static bulkUpdate(array<string|int, mixed> $fields[, array<string|int, mixed> $filter = [] ]) : void
Parameters
$fields : array<string|int, mixed>

Values for update.

$filter : array<string|int, mixed> = []

Filter what to update.


        
On this page

Search results