Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct {
Text string `yaml:"text"`
// Inclusive start position of the batch in the original script, starting from 0 and calculated by byte offset.
Start int `yaml:"start"`
// Exclusive end position of the batch in the original script, starting from 0 and calculated by byte offset.
End int `yaml:"end"`
}
Batch is a batch of Transact-SQL statements.
type Batcher ¶
type Batcher struct {
// contains filtered or unexported fields
}
type Command ¶
type Command interface {
// String returns the string representation of the command.
String() string
}
type GoCommand ¶
type GoCommand struct {
// Count is a positive integer, the batch preceding the GO command will execute the specified number of times.
// The default value of Count is 1.
Count uint
}
GoCommand signals the end of a batch of Transact-SQL statements to the SQL Server Utilities. https://learn.microsoft.com/en-us/sql/t-sql/language-elements/sql-server-utilities-statements-go?view=sql-server-ver16
Click to show internal directories.
Click to hide internal directories.