Read Database Columns
read_database_columnsRetrieve column schema and metadata from an AFFiNE database block, including select options and view mappings, even when no rows exist.
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 |
|---|---|---|---|
| docId | Yes | Document ID containing the database | |
| workspaceId | No | Workspace ID (optional if default set) | |
| databaseBlockId | Yes | Block ID of the affine:database block |