mssql

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Savepointer

type Savepointer struct{}

Savepointer implements the savepointers.Savepointer interface for MS SQL

func (Savepointer) Create

func (sp Savepointer) Create(name string) string

Create creates a new savepoint with the given name

Note: names have a max length of 32 characters

https://docs.microsoft.com/en-us/sql/t-sql/language-elements/save-transaction-transact-sql

func (Savepointer) Release

func (sp Savepointer) Release(name string) string

Release releases the named savepoint. Releasing a savepoint is not implemented in MS SQL

func (Savepointer) Rollback

func (sp Savepointer) Rollback(name string) string

Rollback rollsback the named savepoint

https://docs.microsoft.com/en-us/sql/t-sql/language-elements/rollback-work-transact-sql

Jump to

Keyboard shortcuts

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