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

Function translate_params_passes_through_empty

nodedb-client/src/remote/sql.rs:277–281  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

275
276 #[test]
277 fn translate_params_passes_through_empty() {
278 // Empty params is a no-op; translate produces an empty vec.
279 let translated = translate_params(&[]).expect("empty translate is fine");
280 assert!(translated.is_empty());
281 }
282
283 #[test]
284 fn translate_params_accepts_bound_parameters() {

Callers

nothing calls this directly

Calls 2

translate_paramsFunction · 0.85
expectMethod · 0.45

Tested by

no test coverage detected