[][src]Function sqlformat::format

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

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