Skip to main content

render_value_sql

Function render_value_sql 

Source
pub fn render_value_sql(v: &Value) -> String
Expand description

Render a Value as a SQL literal suitable for embedding in a query string. Only the subset used by property tests is handled; others fall back to NULL.

pub (was pub(crate)) so the server’s storage::query::renderer shim can re-export it for the runtime render_value_sql call-sites (#1103).