Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValuesToNamedValues ¶
func ValuesToNamedValues(values []driver.Value) []driver.NamedValue
ValuesToNamedValues translates a slice of driver.Values into driver.NamedValues.
Types ¶
type ASEIsolationLevel ¶
type ASEIsolationLevel int
ASEIsolationLevel reflects the ASE isolation levels.
const ( ASELevelInvalid ASEIsolationLevel = -1 ASELevelReadUncommitted ASEIsolationLevel = iota ASELevelReadCommitted ASELevelRepeatableRead ASELevelSerializableRead )
Valid ASE isolation levels.
func ASEIsolationLevelFromGo ¶
func ASEIsolationLevelFromGo(lvl sql.IsolationLevel) (ASEIsolationLevel, error)
ASEIsolationLevelFromGo take a database/sql.IsolationLevel and returns the relevant isolation level for ASE.
func (ASEIsolationLevel) String ¶
func (lvl ASEIsolationLevel) String() string
String implements the Stringer interface.
func (ASEIsolationLevel) ToGo ¶
func (lvl ASEIsolationLevel) ToGo() sql.IsolationLevel
ToGo returns the database/sql.IsolationLevel equivalent of the ASE isolation level.
Directories ¶
Path | Synopsis |
---|---|
Package asetime is used to convert golang data type duration to defined ASE data type duration and the other way around.
|
Package asetime is used to convert golang data type duration to defined ASE data type duration and the other way around. |
The package asetypes contains code to link, convert, and work with golang and their respective ASE data types.
|
The package asetypes contains code to link, convert, and work with golang and their respective ASE data types. |
Package capability provides abstract structures to keep a history of capabilities and features.
|
Package capability provides abstract structures to keep a history of capabilities and features. |
The package dsn is a toolbox of functions to fill and format structs from varying sources.
|
The package dsn is a toolbox of functions to fill and format structs from varying sources. |
Package flagslice defines slice types to be used as custom flag types for the flag library.
|
Package flagslice defines slice types to be used as custom flag types for the flag library. |
The package integration contains helpers to setup and teardown database for various connection types, as well as shared code to run the same tests for types and database/sql methods for the cgo and go implementation.
|
The package integration contains helpers to setup and teardown database for various connection types, as well as shared code to run the same tests for types and database/sql methods for the cgo and go implementation. |
The package namepool is used to provide a name pool that contains names that are safe to use by multiple goroutines.
|
The package namepool is used to provide a name pool that contains names that are safe to use by multiple goroutines. |
The package tds (Tabular Data Stream) is used to connect and communicate to a TDS server such as the ASE.
|
The package tds (Tabular Data Stream) is used to connect and communicate to a TDS server such as the ASE. |
The package term contains common code for interactive database clients.
|
The package term contains common code for interactive database clients. |
Click to show internal directories.
Click to hide internal directories.