async fn insert_locked(
conn: &mut PgConnection,
input: ChatbotConversationMessage,
) -> ModelResult<ChatbotConversationMessage>Expand description
insert for a caller whose own transaction already holds the conversation lock, which is what
makes the order_number allocation safe. Taking it again would only cost round trips.