Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SkipTrivia ¶
SkipTrivia advances past whitespace and SQL comments starting at i.
func StatementEnd ¶
StatementEnd returns the index just past the terminating semicolon of the statement beginning at start, honoring string literals, dollar quoted bodies, and comments so semicolons inside them never split a statement.
func Statements ¶
Statements splits content into top level statement bodies, each trimmed of its leading trivia. Trailing trivia after the final statement is dropped.
Types ¶
Click to show internal directories.
Click to hide internal directories.