Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitStatements ¶
SplitStatements splits a string containing multiple sql statements separated by semicolons. It strips out comments from the statements, both simple (--) and bracketed (/* */) ones. It also handles sql strings properly which can contain semi colons, escaped quotes and comment character sequences without affecting the splitting behaviour.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.