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

Function single_quoted_string_opaque

nodedb-sql/src/parser/preprocess/lex.rs:314–323  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

312
313 #[test]
314 fn single_quoted_string_opaque() {
315 let segs = segments("SELECT '<->'");
316 assert_eq!(
317 segs,
318 vec![
319 SqlSegment::Text("SELECT "),
320 SqlSegment::SingleQuotedString("'<->'"),
321 ]
322 );
323 }
324
325 #[test]
326 fn quoted_ident_opaque() {

Callers

nothing calls this directly

Calls 1

segmentsFunction · 0.85

Tested by

no test coverage detected