Constructor.
The client instance.
The bucket instance.
The collection name.
Get the value of "headers" for a given request, merging the per-request headers with our own "default" headers.
As _getSafe, but for "retry".
Get the value of "safe" for a given request, using the per-request option if present or falling back to our default otherwise.
The options for a request.
Adds an attachment to a record, creating the record when it doesn't exist.
Append principals to the collection permissions.
The permissions object.
Performs batch operations at the current collection level.
The batch operation function.
Creates a record in current collection.
The record to create.
Deletes a record from the current collection.
The record to delete.
Retrieves collection data.
Retrieves the list of permissions for this collection.
Retrieves a record from the current collection.
The record id to retrieve.
Retrieves the ETag of the records list, for use with the since
filtering option.
Retrieves the total number of records in this collection.
Lists records from the current collection.
Sorting is done by passing a sort
string option:
-
for descending.
Default: -last_modified
.Removes an attachment from a given record.
The record id.
Remove principals from the collection permissions.
The permissions object.
Set collection data.
The collection data object.
Replaces all existing collection permissions with the ones provided.
The permissions object.
Updates a record in current collection.
The record to update.
Generated using TypeDoc
Abstract representation of a selected collection.