update_cell
Replace a cell's value in a QuestDB notebook to fix broken SQL or update content. Overwrites preemptively and auto-saves, preserving results for unchanged statements.
Instructions
Replace a cell's value. Overwrites preemptively — cells are auto-saved. Results carry over by content: a statement whose text is unchanged keeps its result and its refresh state, an edited or added one starts empty, and a rewrite that leaves no statement unchanged clears the cell's results. Use to fix a broken SQL cell. When editing part of a long cell, base the new value on a non-truncated read (get_cell with get_full_content: true) — never on a preview or a truncated: true read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| cell_id | Yes | ||
| buffer_id | Yes |