package batch
import "github.com/microsoft/go-mssqldb/batch"
bach splits a single script containing multiple batches separated by a keyword into multiple scripts.
Index ¶
Functions ¶
func Split ¶
Split the provided SQL into multiple sql scripts based on a given separator, often "GO". It also allows escaping newlines with a backslash.
Source Files ¶
- Version
- v1.8.0 (latest)
- Published
- Dec 5, 2024
- Platform
- js/wasm
- Imports
- 5 packages
- Last checked
- 9 minutes ago –
Tools for package owners.