Skip to content

Commit

Permalink
explain special field
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Aug 11, 2022
1 parent 9eb729f commit a6a3340
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ast/mod.rs
Expand Up @@ -2292,6 +2292,8 @@ pub struct Function {
pub over: Option<WindowSpec>,
// aggregate functions may specify eg `COUNT(DISTINCT x)`
pub distinct: bool,
// Some functions must be called without trailing parentheses, for example Postgres
// do it for current_catalog, current_schema, etc. This flags is used for formatting.
pub special: bool,
}

Expand Down

0 comments on commit a6a3340

Please sign in to comment.