(
ex: &mut PgConnection,
order: &OrderUid,
interactions: &[Interaction],
)
| 267 | |
| 268 | #[instrument(skip_all)] |
| 269 | pub async fn insert_interactions( |
| 270 | ex: &mut PgConnection, |
| 271 | order: &OrderUid, |
| 272 | interactions: &[Interaction], |
| 273 | ) -> Result<(), sqlx::Error> { |
| 274 | for interaction in interactions { |
| 275 | insert_interaction(ex, order, interaction).await?; |
| 276 | } |
| 277 | Ok(()) |
| 278 | } |
| 279 | |
| 280 | #[instrument(skip_all)] |
| 281 | pub async fn insert_interaction( |
no test coverage detected