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

Method sql

crates/cli/src/api.rs:59–61  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

57 }
58
59 pub fn sql(&self) -> RequestBuilder {
60 self.client.post(self.con.db_uri("sql"))
61 }
62
63 /// Reads the `ModuleDef` from the `schema` endpoint.
64 pub async fn module_def(&self) -> anyhow::Result<RawModuleDefV9> {

Callers 15

index.tsFile · 0.45
TestSimpleSelectFunction · 0.45
TestWhereLiteralFunction · 0.45
TestWhereAndFilterFunction · 0.45
TestColumnComparisonsFunction · 0.45
TestComparisonOperatorsFunction · 0.45
TestLogicalCompositionFunction · 0.45
TestNotAndOrFunction · 0.45
TestFilterAliasFunction · 0.45
TestLiteralFormattingFunction · 0.45
TestLiteralMatrixFunction · 0.45

Calls 2

db_uriMethod · 0.80
postMethod · 0.45

Tested by 12

TestSimpleSelectFunction · 0.36
TestWhereLiteralFunction · 0.36
TestWhereAndFilterFunction · 0.36
TestColumnComparisonsFunction · 0.36
TestComparisonOperatorsFunction · 0.36
TestLogicalCompositionFunction · 0.36
TestNotAndOrFunction · 0.36
TestFilterAliasFunction · 0.36
TestLiteralFormattingFunction · 0.36
TestLiteralMatrixFunction · 0.36
TestSemiJoinsFunction · 0.36