MCPcopy Create free account
hub / github.com/ceramicnetwork/rust-ceramic / pragma_value

Method pragma_value

sql/src/sqlite.rs:37–43  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

35
36impl SqliteTempStore {
37 fn pragma_value(self) -> String {
38 match self {
39 SqliteTempStore::Default => 0.to_string(),
40 SqliteTempStore::File => 1.to_string(),
41 SqliteTempStore::Memory => 2.to_string(),
42 }
43 }
44}
45
46#[derive(Clone, Debug)]

Callers 1

connectMethod · 0.80

Calls 1

to_stringMethod · 0.45

Tested by

no test coverage detected