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

Function test_select_column

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

Source from the content-addressed store, hash-verified

1134
1135 #[test]
1136 fn test_select_column() -> ResultTest<()> {
1137 let (db, _) = create_data(1)?;
1138
1139 let result = run_for_testing(&db, "SELECT inventory_id FROM inventory")?;
1140
1141 let row = product![1u64];
1142
1143 assert_eq!(result, vec![row], "Inventory");
1144 Ok(())
1145 }
1146
1147 #[test]
1148 fn test_where() -> 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…