You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.
Create a String() method on Node interface to be able to print an entire tree. This can be really useful when something fails and we throw an error, or for debugging.
Expression has a Name() method that should be changed to String() too.
The text was updated successfully, but these errors were encountered:
Closessrc-d#95Closessrc-d#108
- Implements String method on all sql.Nodes.
- Implements String method on all sql.Expressions.
- Remove Name method from sql.Expressions.
- Only leave Name in expressions that will be Nameable.
- Created TreePrinter to print trees with a Node and Children.
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Closessrc-d#95Closessrc-d#108
- Implements String method on all sql.Nodes.
- Implements String method on all sql.Expressions.
- Remove Name method from sql.Expressions.
- Only leave Name in expressions that will be Nameable.
- Created TreePrinter to print trees with a Node and Children.
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
erizocosmico
added a commit
to erizocosmico/go-mysql-server
that referenced
this issue
Mar 16, 2018
Closessrc-d#95Closessrc-d#108
- Implements String method on all sql.Nodes.
- Implements String method on all sql.Expressions.
- Remove Name method from sql.Expressions.
- Only leave Name in expressions that will be Nameable.
- Created TreePrinter to print trees with a Node and Children.
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Create a
String()
method onNode
interface to be able to print an entire tree. This can be really useful when something fails and we throw an error, or for debugging.Expression
has aName()
method that should be changed toString()
too.The text was updated successfully, but these errors were encountered: