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

Function insert_order

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

Source from the content-addressed store, hash-verified

216
217#[instrument(skip_all)]
218pub async fn insert_order(ex: &mut PgConnection, order: &Order) -> Result<(), sqlx::Error> {
219 insert_order_execute_sqlx(INSERT_ORDER_QUERY, ex, order).await?;
220 Ok(())
221}
222
223#[instrument(skip_all)]
224pub async fn read_order(

Calls 1

Tested by

no test coverage detected