pub fn insert(db: &Db, sub: &SlackSubscription) -> Result<()>Expand description
Persist a subscription, replacing any prior record with the same id.
pub fn insert(db: &Db, sub: &SlackSubscription) -> Result<()>Persist a subscription, replacing any prior record with the same id.