Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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.ts
File · 0.45
TestSimpleSelect
Function · 0.45
TestWhereLiteral
Function · 0.45
TestWhereMultiplePredicates
Function · 0.45
TestWhereAndFilter
Function · 0.45
TestColumnComparisons
Function · 0.45
TestComparisonOperators
Function · 0.45
TestLogicalComposition
Function · 0.45
TestNotAndOr
Function · 0.45
TestFilterAlias
Function · 0.45
TestLiteralFormatting
Function · 0.45
TestLiteralMatrix
Function · 0.45
Calls
2
db_uri
Method · 0.80
post
Method · 0.45
Tested by
12
TestSimpleSelect
Function · 0.36
TestWhereLiteral
Function · 0.36
TestWhereMultiplePredicates
Function · 0.36
TestWhereAndFilter
Function · 0.36
TestColumnComparisons
Function · 0.36
TestComparisonOperators
Function · 0.36
TestLogicalComposition
Function · 0.36
TestNotAndOr
Function · 0.36
TestFilterAlias
Function · 0.36
TestLiteralFormatting
Function · 0.36
TestLiteralMatrix
Function · 0.36
TestSemiJoins
Function · 0.36