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

Method init

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

Source from the content-addressed store, hash-verified

61impl Setter<Pid, User> for Handler {
62
63 async fn init(&self, session: &DatabaseSession) {
64 // Query: If not exist create Table
65 }
66
67 async fn handle_setter(&self, session: &DatabaseSession, key: &Key, document: &Document) -> Result<(), Stop> {
68 if let DatabaseSession::Postgres(client) = session {

Callers 1

mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected