batch

package
v0.0.0-...-cc996d8 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: Zlib Imports: 4 Imported by: 0

Documentation

Overview

Proides utility functions for interacting with batched sql statements in the same file or string.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BatchSplitCmd

func BatchSplitCmd(cmd *rdb.Command, separator string) []*rdb.Command

func BatchSplitSql

func BatchSplitSql(sql, separator string) []string

func ExecuteBatchSql

func ExecuteBatchSql(cp *rdb.ConnPool, batchSql, separator string) error

func SqlErrorWithContext

func SqlErrorWithContext(sql string, msg rdb.Errors, contextLines int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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