MCPcopy Create free account
hub / github.com/Rustixir/darkbird / handle_setter

Method handle_setter

example/new_features_vsn2.rs:67–74  ·  view source on GitHub ↗
(&self, session: &DatabaseSession, key: &Key, document: &Document)

Source from the content-addressed store, hash-verified

65 }
66
67 async fn handle_setter(&self, session: &DatabaseSession, key: &Key, document: &Document) -> Result<(), Stop> {
68 if let DatabaseSession::Postgres(client) = session {
69 // Query: Insert to Table
70 //
71 // return Ok(())
72
73 }
74 }
75}
76
77impl Getter<Pid, User> for Handler {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected