pub async fn safe_create_link(
db: &Pool<Postgres>,
search: TenantSearchIndex,
events: &TenantEventPublisher,
create: CreateLinkData,
) -> Result<Link, CreateLinkError>Expand description
Safely perform [create_link] ensuring that if an error occurs the changes will be properly rolled back