Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clockworklabs/SpacetimeDB
/ test_simple_select
Function
test_simple_select
crates/query-builder/src/lib.rs:125–128 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
123
}
124
#[test]
125
fn test_simple_select() {
126
let q = users().build();
127
assert_eq!(q.sql(), r#
"SELECT * FROM "
users
""
#);
128
}
129
#[test]
130
fn test_where_literal() {
131
let q = users().r#where(|c| c.id.eq(10)).build();
Callers
nothing calls this directly
Calls
2
users
Function · 0.85
build
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…