MCPcopy Create free account
hub / github.com/cowprotocol/services / insert_order

Function insert_order

crates/database/src/orders.rs:213–216  ·  view source on GitHub ↗
(ex: &mut PgConnection, order: &Order)

Source from the content-addressed store, hash-verified

211
212#[instrument(skip_all)]
213pub async fn insert_order(ex: &mut PgConnection, order: &Order) -> Result<(), sqlx::Error> {
214 insert_order_execute_sqlx(INSERT_ORDER_QUERY, ex, order).await?;
215 Ok(())
216}
217
218#[instrument(skip_all)]
219pub async fn read_order(

Calls 1

Tested by

no test coverage detected