pub async fn lock_tasks<E>( conn: &mut E, task_ids: &[String], worker_id: &str, ) -> Result<u64, Error>where for<'e> &'e mut E: Executor<'e, Database = Postgres>,
Lock multiple tasks, given a worker