Readonly
primaryThe name of the primary key.
Readonly
primaryThe type of the primary key.
Get a document from the table.
An object with the primary key ("id" by default) assigned the value to lookup.
A promise for the resulting document if found, or for undefined if not found, or a failed promise if the query could not be processed.
Gets all documents from the table.
A promise for the resulting documents, or a failed promise if the lookup fails.
Updates a documents in the table.
An object with the primary key ("id" by default) assigned the value to lookup.
An object with all document properties that should be updated.
A promise for the success or failure of the update.
Generated using TypeDoc
Table is a simple document store for persistent application backend storage.
Tables support a single primary key with a user-defined name and type. All other document properties are schemaless. If not specified, a primary key named
id
with typestring
is used.All queries provide a subset of properties to filter on, and only filters on value equality are supported. The
get
,update
anddelete
operations expect the query to contain only the value for the primary key.