batch

package
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

bach splits a single script containing multiple batches separated by a keyword into multiple scripts.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Split

func Split(sql, separator string) []string

Split the provided SQL into multiple sql scripts based on a given separator, often "GO". It also allows escaping newlines with a backslash.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL