Uses COALESCE so that passing NULL from Go means "keep the existing value." This is intentional: debug rows follow a write-once-finalize pattern where fields are set at creation or finalization and never cleared back to NULL. The @now parameter keeps updated_at under the caller's clock. updated_at i
(ctx context.Context, arg UpdateChatDebugRunParams)
| 1199 | // calculations stable regardless of how many times the row is |
| 1200 | // updated. |
| 1201 | UpdateChatDebugRun(ctx context.Context, arg UpdateChatDebugRunParams) (ChatDebugRun, error) |
| 1202 | // Uses COALESCE so that passing NULL from Go means "keep the |
| 1203 | // existing value." This is intentional: debug rows follow a |
| 1204 | // write-once-finalize pattern where fields are set at creation |
no outgoing calls