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

Function supported

crates/sql-parser/src/parser/sub.rs:171–184  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169
170 #[test]
171 fn supported() {
172 for sql in [
173 "select * from t",
174 "select * from t where a = 1",
175 "select * from t where a <> 1",
176 "select * from t where a = 1 or a = 2",
177 "select t.* from t join s",
178 "select t.* from t join s on t.c = s.d",
179 "select a.* from t as a join s as b on a.c = b.d",
180 "select * from t where x = :sender",
181 ] {
182 assert!(parse_subscription(sql).is_ok());
183 }
184 }
185}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…