Read declared column types, defaults and primary key positions for a table or view.
Connect a name from List SQLite Relations to Table. Each record contains position (zero-based), name, declaredType, required, defaultSql, primaryKeyOrdinal and SQLite’s hidden flag. required reflects the explicit NOT NULL declaration.
Wiring
Connect the result of Open DB Connection or Begin Transaction to connectionRef. Use the same connection for every block that needs to see this database. Opening a second in-memory connection creates a separate database. Supply the name of a table or view in the main schema using table. A connected text value takes precedence over the saved name.
Outputs — columns (list). Connect the list to For Each to process individual records or to Records to Table for tabular use. Fire signals that inspection completed.
Execution
This operation reads the database as seen by the connected run, including changes visible to an active transaction. A missing table or unusable connection produces an error at this block. Run Open DB Connection again if the connection has closed.
Exact settings reference
These are the saved settings and defaults. If a value is connected to the matching input, that connected value is used.
| ID | Setting | Control | Default | Bounds/options |
|---|---|---|---|---|
table | Table or view | text | Empty text | — |
Connector data types
The type below is the data type that actually travels through the connection. Any additional validation is described separately in this block guide.
| Direction | Connector | Type | Required |
|---|---|---|---|
| Input | connectionRef — Database connection | text | yes |
| Input | table — Table or view | text | no |
| Output | columns — Columns | list | on success |
| Input | fire — Fire | fire | no |
| Output | fire — Fire | fire | on success |
