Rindle docs and package mapSkip to main content

from_sql

Function from_sql 

pub fn from_sql(v: ValueRef<'_>, col: usize) -> Result<OwnedValue, Error>
Expand description

One result cell from its raw SQLite storage class — the storage-class twin of decode_wire_value’s JSON one. No engine coercion (a caller here is writing SQL, not feeding the pipeline); BLOB has no OwnedValue form. Shared by the single-thread writer, the parallel Cluster mutator-read path and ReadConn — and re-exported (sql_cell_to_owned) for the replicator write-master’s session reads, which MUST convert cells identically or the two masters’ /mutate-session/query replies drift (REPLICATOR-INTERACTIVE-TXN-DESIGN.md §7).