pub fn jsonb<'a>(
value: impl ToSQL<'a, SQLiteValue<'a>>,
) -> SQL<'a, SQLiteValue<'a>>Expand description
Wraps value in jsonb(..), which checks that it is valid JSON and
returns it in SQLite’s binary JSONB format.
§Examples
let expr = jsonb(SQL::<SQLiteValue>::raw("metadata"));
assert_eq!(expr.sql(), "jsonb (metadata)");