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 ¶ added in v1.0.8
type ErrorWithNumber interface {
SQLErrorNumber() int32
}
type MSSQL ¶
type MSSQL struct{}
func (MSSQL) DriverName ¶
func (MSSQL) FormatForNewValues ¶ added in v1.0.4
func (MSSQL) GetReturningPosition ¶ added in v1.0.4
func (m MSSQL) GetReturningPosition() adapters.ReturningPosition
func (MSSQL) IsOffsetFirst ¶
func (MSSQL) ParseError ¶ added in v1.0.8
func (MSSQL) ReplacePlaceholders ¶ added in v1.0.7
func (MSSQL) ReturningBuild ¶ added in v1.0.4
type Rowversion ¶ added in v1.0.4
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 ¶ added in v1.0.4
func (r Rowversion) Copy() Rowversion
Copy returns a copy of the given Rowversion
func (*Rowversion) Scan ¶ added in v1.0.4
func (r *Rowversion) Scan(value interface{}) error
Scan implements sql.Scanner
Click to show internal directories.
Click to hide internal directories.