Read the lambda's database
read_databaseThe lambda's database - its records, shared by every version: whether it is switched on, how full it is, and its tables and views with their columns and how many rows each holds. With table, a page of that table's rows, newest first, up to 100 at a time. Read only: the lambda writes it, through Database.GetConnection(). Use it to see that migrations were applied and records were written. With feature, that feature's copy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to read, up to 100. Left out, 20. | |
| order | No | A column to sort by; left out, the order the rows were written in. | |
| table | No | A table or view to read the rows of; left out, the tables are listed. | |
| offset | No | Rows to skip, for the next page. | |
| feature | No | Read this feature's copy of the database instead. | |
| ascending | No | Oldest or smallest first, rather than newest or largest. | |
| privateKey | Yes | The editor key, or the key of a demo. |