class BulkUpdater (View source)

Bulk updater class.

Methods

__construct(Client $httpClient, $databaseName)

No description

updateDocument($data)

No description

updateDocuments(array $docs)

No description

deleteDocument($id, $rev)

No description

setNewEdits($newEdits)

No description

setFullCommitHeader($commit)

No description

execute()

No description

getPath()

No description

Details

__construct(Client $httpClient, $databaseName)

Parameters

Client $httpClient
$databaseName

updateDocument($data)

Parameters

$data

updateDocuments(array $docs)

Parameters

array $docs

deleteDocument($id, $rev)

Parameters

$id
$rev

setNewEdits($newEdits)

Parameters

$newEdits

setFullCommitHeader($commit)

Parameters

$commit

execute()

getPath()