Read Database Columns
read_database_columnsRetrieve column schema from an AFFiNE database block, including column types, select options, and view column mappings. Useful for exploring database structure before adding rows.
Instructions
Read schema metadata for an AFFiNE database block, including columns, select options, and view column mappings. Useful for empty databases before any rows exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspaceId | No | Workspace ID (optional if default set) | |
| docId | Yes | Document ID containing the database | |
| databaseBlockId | Yes | Block ID of the affine:database block |