Skip to main content

INSERT_CHECKPOINT_WRITES_SQL

Constant INSERT_CHECKPOINT_WRITES_SQL 

Source
pub const INSERT_CHECKPOINT_WRITES_SQL: &str = r#"
INSERT INTO checkpoint_writes (thread_id, checkpoint_ns, checkpoint_id, task_id, task_path, idx, channel, type, blob)
VALUES (?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9)
ON CONFLICT (thread_id, checkpoint_ns, checkpoint_id, task_id, idx) DO NOTHING
"#;
Expand description

Insert checkpoint writes (ignore on conflict). Default for normal per-task writes which should be append-only.