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
Click to show internal directories.
Click to hide internal directories.