savepointers

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenSavepointName

func GenSavepointName() string

GenSavepointName quickly generates a unique savepoint name

Types

type Savepointer

type Savepointer interface {
	// Create returns a SQL statement that creates the named savepoint
	Create(string) string
	// Rollback returns a SQL statement that rollsback to the named savepoint
	Rollback(string string) string
	// Release returns a SQL statement that releases the named savepoint. For SQL RDBMS that don't support releasing
	// savepoints, an empty string should be returned.
	Release(string) string
}

Savepointer provides an interface for creating SQL statements for managing savepoints

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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