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

Method handle_getter

example/new_features_vsn2.rs:78–86  ·  view source on GitHub ↗
(&self, session: &DatabaseSession)

Source from the content-addressed store, hash-verified

76
77impl Getter<Pid, User> for Handler {
78 async fn handle_getter(&self, session: &DatabaseSession) -> Vec<(Key, Document)> {
79 if let DatabaseSession::Postgres(client) = session {
80 // Query: Select * from Table
81 //
82 // let list = fill_vec(...);
83 //
84 // return list
85 }
86 }
87}
88
89

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected