pub async fn create_group(
db: &SqlitePool,
name: &str,
creator: Uuid,
) -> Result<Uuid, Error>Expand description
Insert a new group plus the creator’s owner membership in one transaction.
Returns the newly assigned group_id.
§Errors
Returns Error::Database on insert failure.