(
ex: &mut PgConnection,
order: &OrderUid,
interactions: &[Interaction],
)
| 309 | |
| 310 | #[instrument(skip_all)] |
| 311 | pub async fn insert_interactions( |
| 312 | ex: &mut PgConnection, |
| 313 | order: &OrderUid, |
| 314 | interactions: &[Interaction], |
| 315 | ) -> Result<(), sqlx::Error> { |
| 316 | for interaction in interactions { |
| 317 | insert_interaction(ex, order, interaction).await?; |
| 318 | } |
| 319 | Ok(()) |
| 320 | } |
| 321 | |
| 322 | #[instrument(skip_all)] |
| 323 | pub async fn insert_interaction( |
no test coverage detected