-
-
Notifications
You must be signed in to change notification settings - Fork 2
Table API
Oxford Harrison edited this page Nov 15, 2024
·
7 revisions
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. |
Instances of Table
are obtained via the database.table()
and database.createTable()
methods.