MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / slice_unknown_dim_rejected

Function slice_unknown_dim_rejected

nodedb-sql/src/planner/array_fn/tests.rs:114–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112
113#[test]
114fn slice_unknown_dim_rejected() {
115 let err = plan_one("SELECT * FROM ARRAY_SLICE('g', '{nope: [1, 2]}')")
116 .err()
117 .unwrap();
118 assert!(format!("{err}").contains("no dim"));
119}
120
121#[test]
122fn project_happy() {

Callers

nothing calls this directly

Calls 2

plan_oneFunction · 0.85
errMethod · 0.45

Tested by

no test coverage detected