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

Function bind_any_op_rhs

nodedb-sql/src/params.rs:215–221  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213
214 #[test]
215 fn bind_any_op_rhs() {
216 let result = bind_and_format(
217 "SELECT * FROM t WHERE id = ANY($1)",
218 &[ParamValue::Text("{a,b}".into())],
219 );
220 assert!(!result.contains("$1"), "got: {result}");
221 }
222
223 #[test]
224 fn bind_all_op_rhs() {

Callers

nothing calls this directly

Calls 1

bind_and_formatFunction · 0.85

Tested by

no test coverage detected