Skip to main content

SELECT_CHECKPOINT_SQL

Constant SELECT_CHECKPOINT_SQL 

Source
pub const SELECT_CHECKPOINT_SQL: &str = r#"
SELECT
    thread_id,
    checkpoint_ns,
    checkpoint_id,
    parent_checkpoint_id,
    type,
    checkpoint,
    metadata
FROM checkpoints
"#;
Expand description

Select base columns for a checkpoint row. Channel values and pending writes are fetched separately (SQLite lacks array_agg).