pub fn to_sqlite_param(value: Value<'_>, ty: ValueType) -> SqliteParamExpand description
toSQLiteType (query-builder.ts:278): convert a cell value to its
SQLite bind form, ty-directed. boolean → null stays NULL else 1/0;
number/string/null pass through; json → serialized TEXT (a null json
serializes to the TEXT "null"). Takes the borrowed [Value] (a flat row’s
cell form); owned callers bridge with .as_ref().