Skip to main content

SyncDataBucket

Constructors

new SyncDataBucket()

new SyncDataBucket(
bucket,
data,
has_more,
after?,
next_after?): SyncDataBucket

Parameters

ParameterTypeDescription
bucketstring-
dataOplogEntry[]-
has_morebooleanTrue if the response does not contain all the data for this bucket, and another request must be made.
after?stringThe after specified in the request.
next_after?stringUse this for the next request.

Returns

SyncDataBucket

Properties

PropertyTypeDescription
after?stringThe after specified in the request.
bucketstring-
dataOplogEntry[]-
has_morebooleanTrue if the response does not contain all the data for this bucket, and another request must be made.
next_after?stringUse this for the next request.

Methods

toJSON()

toJSON(): SyncDataBucketJSON

Returns

SyncDataBucketJSON


fromRow()

static fromRow(row): SyncDataBucket

Parameters

ParameterType
rowSyncDataBucketJSON

Returns

SyncDataBucket