Package version:
ReadonlydatabaseThe parent Database.
ReadonlyidThe id of the given container.
Returns a reference URL to the resource. Used for linking in Permissions.
Used to read, replace, or delete a specific, existing Conflict by id.
Use .conflicts for creating new conflicts, or querying/reading all conflicts.
The id of the Conflict.
OptionalpartitionKey: PartitionKeyDelete the container
Optionaloptions: RequestOptionsDelete all documents belong to the container for the provided partition key value
The partition key value of the items to be deleted
Optionaloptions: RequestOptionsGets the partition key definition first by looking into the cache otherwise by reading the collection.
Read the container's definition
Optionaloptions: RequestOptionsGets offer on container. If none exists, returns an OfferResponse with undefined.
OptionalfeedOptions: FeedOptionsReplace the container's definition
Optionaloptions: RequestOptions
Operations for reading, replacing, or deleting a specific, existing container by id.
See
Containers for creating new containers, and reading/querying all containers; use
.containers.Note: all these operations make calls against a fixed budget. You should design your system such that these calls scale sublinearly with your application. For instance, do not call
container(id).read()before every singleitem.read()call, to ensure the container exists; do this once on application start up.