Trait sql_parser::ast::display::AstDisplay[][src]

pub trait AstDisplay {
    fn fmt<W>(&self, f: &mut AstFormatter<W>)
    where
        W: Write
; fn to_ast_string(&self) -> String { ... }
fn to_ast_string_stable(&self) -> String { ... } }

Required methods

Provided methods

Implementations on Foreign Types

Implementors

More-or-less a direct translation of the Postgres function for doing the same thing:

https://github.com/postgres/postgres/blob/master/src/backend/utils/adt/ruleutils.c#L10730-L10812

Quotation is forced when printing in Stable mode.