MCPcopy Create free account
hub / github.com/Rust-Web-Development/code / Store

Class Store

ch_11/src/store.rs:15–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13
14#[derive(Debug, Clone)]
15pub struct Store {
16 pub connection: PgPool,
17}
18
19impl Store {
20 pub async fn new(db_url: &str) -> Result<Self, sqlx::Error> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected