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

Function parse_set_equals

nodedb/src/control/server/pgwire/session/params.rs:222–226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

220
221 #[test]
222 fn parse_set_equals() {
223 let (k, v) = parse_set_command("SET client_encoding = 'UTF8'").unwrap();
224 assert_eq!(k, "client_encoding");
225 assert_eq!(v, "UTF8");
226 }
227
228 #[test]
229 fn parse_set_to() {

Callers

nothing calls this directly

Calls 1

parse_set_commandFunction · 0.70

Tested by

no test coverage detected