TEXT, INTEGER, REAL, BLOB or NUMERIC.
Coworker database
list_tables
Structure of the coworker private database: every table with its columns, types, primary keys and not-null flags.db_query
Runs a read-onlySELECT and returns the rows. Anything that writes is refused here.
Request arguments
? placeholders with params rather than pasting values into the SQL.
db_execute
Changes the coworker private database:CREATE, ALTER, DROP a table, or INSERT, UPDATE, DELETE rows.
Several statements applied atomically in one transaction. Each entry needs
sql and may carry params. This is the right way to lay out a whole schema.sql or statements. The call fails if you pass neither.
Request arguments
Shared database
The same three operations, on the database every coworker of the workspace shares. Get thespaceId from list_spaces.