Dialect returns the SQL dialect configured for this parser. Returns "postgresql" if no dialect was explicitly set.
()
| 209 | // Dialect returns the SQL dialect configured for this parser. |
| 210 | // Returns "postgresql" if no dialect was explicitly set. |
| 211 | func (p *Parser) Dialect() string { |
| 212 | if p.dialect == "" { |
| 213 | return "postgresql" |
| 214 | } |
| 215 | return p.dialect |
| 216 | } |
| 217 | |
| 218 | // Parser is a recursive-descent SQL parser that converts a token stream into an |
| 219 | // Abstract Syntax Tree (AST). |
no outgoing calls