glimr/db/gen/parser/normalize


SQL Normalization

Functions for normalizing SQL queries by stripping comments and collapsing whitespace.

Values

pub fn normalize(sql: String) -> String

Normalize SQL

Normalize a SQL query by stripping comments, converting whitespace to single spaces, and trimming.

Search Document