Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Split ¶
Split reads SQL queries from an io.Reader and returns them as a slice of strings. Each SQL query is delimited by a semicolon (;). The function handles: - Single-line comments (-- comment) - Multi-line comments (/* comment */) - Single-quoted strings ('string') - Double-quoted identifiers ("identifier") - Dollar-quoted strings ($$string$$ or $tag$string$tag$)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.