Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DataType ¶
func DataType(n *pb.Identifier) string
func DoubleSlashComment ¶
func EscapeBacktick ¶
Go string literals cannot contain backtick. If a string contains a backtick, replace it the following way:
input:
SELECT `group` FROM foo
output:
SELECT ` + "`" + `group` + "`" + ` FROM foo
The escaped string must be rendered inside an existing string literal ¶
A string cannot be escaped twice
func LowerTitle ¶
func MatchString ¶
func SameTableName ¶
func SameTableName(tableID, f *pb.Identifier, defaultSchema string) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.