Skip to main content

upsert

Function upsert 

Source
pub fn upsert(db: &Db, task: &Task) -> Result<()>
Expand description

Persist one task, replacing any prior record for its project and id. One write txn per row, so a write can only touch the row it names.