Skip to content
Oxford Harrison edited this page Nov 15, 2024 · 7 revisions

DOCSAPI


Table is the API for table-level operations. Each instance implements the following methods:

API Description
table.count() Count all records in table.
table.select() Programmatically perform a SELECT operation.
table.insert() Programmatically perform an INSERT operation.
table.upsert() Programmatically perform an UPSERT operation.
table.update() Programmatically perform an UPDATE operation.
table.delete() Programmatically perform a DELETE operation.
table.schema() Obtain table schema instance.

Instantiation

Instances of Table are obtained via the database.table() and database.createTable() methods.

Clone this wiki locally