Skip to main content

escape_sqlite_json_path

Function escape_sqlite_json_path 

Source
pub fn escape_sqlite_json_path(path: &[String]) -> String
Expand description

Escape a JSON path for SQLite json_extract.

SQLite JSON paths use dot notation: ‘$.field.subfield’ Single quotes are doubled ('') rather than backslash-escaped so that the path is safe regardless of SQLite compile-time escape settings.