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

Function test_where

crates/core/src/sql/execute.rs:1148–1157  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1146
1147 #[test]
1148 fn test_where() -> ResultTest<()> {
1149 let (db, _) = create_data(1)?;
1150
1151 let result = run_for_testing(&db, "SELECT inventory_id FROM inventory WHERE inventory_id = 1")?;
1152
1153 let row = product![1u64];
1154
1155 assert_eq!(result, vec![row], "Inventory");
1156 Ok(())
1157 }
1158
1159 #[test]
1160 fn test_or() -> ResultTest<()> {

Callers

nothing calls this directly

Calls 3

create_dataFunction · 0.85
run_for_testingFunction · 0.85
OkFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…