MCPcopy Create free account
hub / github.com/SeaQL/sea-orm / delete

Method delete

examples/jsonrpsee_example/api/src/lib.rs:74–79  ·  view source on GitHub ↗
(&self, id: i32)

Source from the content-addressed store, hash-verified

72 .internal_call_error()
73 }
74 async fn delete(&self, id: i32) -> RpcResult<bool> {
75 Mutation::delete_post(&self.conn, id)
76 .await
77 .map(|res| res.rows_affected == 1)
78 .internal_call_error()
79 }
80}
81
82trait IntoJsonRpcResult<T> {

Callers 15

removeFunction · 0.45
delete_postMethod · 0.45
delete_postMethod · 0.45
delete_noteMethod · 0.45
delete_postMethod · 0.45
delete_postMethod · 0.45
removeFunction · 0.45
removeFunction · 0.45
removeFunction · 0.45
removeFunction · 0.45
insert_and_updateFunction · 0.45
save_active_modelFunction · 0.45

Calls 2

delete_postFunction · 0.85
internal_call_errorMethod · 0.80

Tested by

no test coverage detected