Skip to main content

upsert

Function upsert 

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

Persist one cron, replacing any prior record with the same id. One write txn per row, so a write can only touch the row it names.