modulepackage
0.3.1
Repository: https://github.com/longbridgeapp/sqlparser.git
Documentation: pkg.go.dev
# Functions
ExprString returns the string representation of expr.
ForEachSource calls fn for every source within the current scope.
IdentName returns the name of ident.
IsInteger returns true if s only contains digits.
No description provided by the author
MustParseExprString parses s into an expression.
No description provided by the author
NewParser returns a new instance of Parser that reads from r.
ParseExprString parses s into an expression.
ResolveSource returns a source with the given name.
SourceList returns a list of scopes in the current scope.
SourceName returns the name of the source.
SplitExprTree splits apart expr so it is a list of all AND joined expressions.
StatementSource returns the root statement for a statement.
Walk traverses an AST in depth-first order: It starts by calling v.Visit(node); node must not be nil.
# Constants
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
???.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
? or ?NNN or :VVV or @VVV or $VVV.
&.
!.
|.
???.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
,.
The list of tokens.
The list of tokens.
||.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
=.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
false.
The list of tokens.
The list of tokens.
123.45.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
>=.
The list of tokens.
The list of tokens.
The list of tokens.
>.
The list of tokens.
No description provided by the author
IDENT.
The list of tokens.
The list of tokens.
The list of tokens.
Special tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
123.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
TODO: REMOVE?.
The list of tokens.
The list of tokens.
The list of tokens.
<=.
The list of tokens.
<>.
The list of tokens.
The list of tokens.
non-operators.
(.
<<.
<.
The list of tokens.
-.
multiline comment.
The list of tokens.
!=.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
NULL.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
+.
The list of tokens.
The list of tokens.
The list of tokens.
"IDENT" or `IDENT`.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
%.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
).
>>.
The list of tokens.
The list of tokens.
;.
The list of tokens.
/.
The list of tokens.
The list of tokens.
*.
'string'.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
true.
The list of tokens.
No description provided by the author
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
The list of tokens.
# Variables
ErrNotImplemented not implemented.
# Structs
Assignment is used within the UPDATE statement & upsert clause.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DeleteStatement see http://www.postgres.cn/docs/12/sql-delete.html.
Error represents a parse error.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
InsertStatement see http://www.postgres.cn/docs/12/sql-insert.html.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Parser represents a SQL parser.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Scope represents a context for name resolution.
SelectStatement see http://www.postgres.cn/docs/12/sql-select.html.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UpdateStatement see http://www.postgres.cn/docs/12/sql-update.html.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
JoinConstraint represents either an ON or USING join constraint.
No description provided by the author
Source represents a table or subquery.
No description provided by the author
A Visitor's Visit method is invoked for each node encountered by Walk.
# Type aliases
No description provided by the author
Token is the set of lexical tokens of the Go programming language.
VisitEndFunc represents a function type that implements Visitor.
VisitFunc represents a function type that implements Visitor.