SyncDataBucket
Constructors
new SyncDataBucket()
new SyncDataBucket(
bucket,
data,
has_more,
after?,
next_after?): SyncDataBucket
Parameters
| Parameter | Type | Description |
|---|---|---|
bucket | string | - |
data | OplogEntry[] | - |
has_more | boolean | True if the response does not contain all the data for this bucket, and another request must be made. |
after? | string | The after specified in the request. |
next_after? | string | Use this for the next request. |
Returns
Properties
| Property | Type | Description |
|---|---|---|
after? | string | The after specified in the request. |
bucket | string | - |
data | OplogEntry[] | - |
has_more | boolean | True if the response does not contain all the data for this bucket, and another request must be made. |
next_after? | string | Use this for the next request. |
Methods
toJSON()
toJSON(fixedKeyEncoding?): SyncDataBucketJSON
Parameters
| Parameter | Type |
|---|---|
fixedKeyEncoding? | boolean |
Returns
fromRow()
static fromRow(row): SyncDataBucket
Parameters
| Parameter | Type |
|---|---|
row | SyncDataBucketJSON |