Function sqlformat::format

source ·
pub fn format(query: &str, params: &QueryParams, options: FormatOptions) -> String
Expand description

Formats whitespace in a SQL string to make it easier to read. Optionally replaces parameter placeholders with params.