Skip to main content

key_to_text

Function key_to_text 

Source
pub fn key_to_text(value: &Value) -> Option<String>
Expand description

Render a JSON value as the text form used to match join keys.

Keys are compared as text and cast by PostgreSQL, so a numeric key must not arrive quoted the way to_string would render a JSON string.