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