Documentation ¶
Index ¶
- Variables
- type ErrorWithNumber
- type MSSQL
- func (MSSQL) BuildLimit(limit int) *adapters.SQLPart
- func (MSSQL) BuildOffset(offset int) *adapters.SQLPart
- func (MSSQL) DriverName() string
- func (m MSSQL) FormatForNewValues(columns []string) []string
- func (m MSSQL) GetReturningPosition() adapters.ReturningPosition
- func (MSSQL) IsOffsetFirst() bool
- func (MSSQL) ParseError(err error) error
- func (MSSQL) Quote(identifier string) string
- func (MSSQL) ReplacePlaceholders(originalPlaceholder string, sql string) string
- func (m MSSQL) ReturningBuild(columns []string) string
- type Rowversion
Constants ¶
This section is empty.
Variables ¶
View Source
var Adapter = MSSQL{}
Functions ¶
This section is empty.
Types ¶
type ErrorWithNumber ¶
type ErrorWithNumber interface {
SQLErrorNumber() int32
}
type MSSQL ¶
type MSSQL struct{}
func (MSSQL) DriverName ¶
func (MSSQL) FormatForNewValues ¶
func (MSSQL) GetReturningPosition ¶
func (m MSSQL) GetReturningPosition() adapters.ReturningPosition
func (MSSQL) IsOffsetFirst ¶
func (MSSQL) ParseError ¶
func (MSSQL) ReplacePlaceholders ¶
func (MSSQL) ReturningBuild ¶
type Rowversion ¶
type Rowversion struct {
Version []uint8
}
Rowversion represents a rowversion (or timestamp) column type See https://docs.microsoft.com/en-us/sql/t-sql/data-types/rowversion-transact-sql
func (Rowversion) Copy ¶
func (r Rowversion) Copy() Rowversion
Copy returns a copy of the given Rowversion
func (*Rowversion) Scan ¶
func (r *Rowversion) Scan(value interface{}) error
Scan implements sql.Scanner
Click to show internal directories.
Click to hide internal directories.