Update Database Row
update_database_rowBatch update multiple cells in an AFFiNE database row, including the row title, with a single command.
Instructions
Batch update multiple cells on an existing AFFiNE database row. Include title in the cells map to update the Kanban row title.
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 | |
| rowBlockId | Yes | Row paragraph block ID | |
| cells | Yes | Map of column name (or column ID) to new cell value. Use `title` for the built-in row title. | |
| createOption | No | For select and multi-select columns, create the option label if it does not exist (default true) | |
| linkedDocId | No | Link this row to an existing doc by ID. The row will open the linked doc in center peek when clicked. |