async fn get_checkpoint(pool: &SqlitePool, source: &str) -> Result<Option<i64>>Expand description
Retrieves the last sync checkpoint for a given connector.
Returns Some(timestamp) if a checkpoint exists, or None if this is
the first sync for the connector.