batch

package
v3.35.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: Apache-2.0, Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSQLBatcher

func NewSQLBatcher(i Inserter, flds []*dax.Field) *sqlBatcher

Types

type Inserter

type Inserter interface {
	Insert(sql string) error
}

Inserter can be implemented by anything which can handle a SQL statement representing a write operation. An example is `BULK INSERT`. The Insert() method on this interface does not return any results other than an error.

Jump to

Keyboard shortcuts

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