pub fn json_extract<'a, L>(left: L, path: impl AsRef<str>) -> SQLiteSQL<'a>where
L: ToSQL<'a, SQLiteValue<'a>>,Expand description
Helper function for JSON extraction using ->> operator
ยงExample
let column = SQL::<SQLiteValue>::raw("metadata");
let extract_expr = json_extract(column, "theme");
assert_eq!(extract_expr.sql(), "metadata ->>'theme'");