MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / db_uri

Method db_uri

crates/cli/src/api.rs:24–33  ·  view source on GitHub ↗
(&self, endpoint: &str)

Source from the content-addressed store, hash-verified

22
23impl Connection {
24 pub fn db_uri(&self, endpoint: &str) -> String {
25 [
26 &self.host,
27 "/v1/database/",
28 &self.database_identity.to_hex(),
29 "/",
30 endpoint,
31 ]
32 .concat()
33 }
34}
35
36pub fn build_client(con: &Connection) -> Client {

Callers 4

sqlMethod · 0.80
module_defMethod · 0.80
callMethod · 0.80
subscribe_requestFunction · 0.80

Calls 1

to_hexMethod · 0.45

Tested by

no test coverage detected