Documentation ¶
Index ¶
- type Column
- type Conn
- type ResultSet
- type Rows
- type Stmt
- func (s *Stmt) Close() error
- func (s *Stmt) Exec(args []driver.Value) (driver.Result, error)
- func (s *Stmt) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error)
- func (s *Stmt) NumInput() int
- func (s *Stmt) Query(args []driver.Value) (driver.Rows, error)
- func (s *Stmt) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
type Conn interface { driver.Conn CloseQueryContext(ctx context.Context, queryID string) error ExecContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Result, error) FetchContext(ctx context.Context, queryID string, columns []Column) (*ResultSet, error) QueryContext(ctx context.Context, query string, args []driver.NamedValue) (driver.Rows, error) }
Conn extends driver.Conn
type ResultSet ¶
ResultSet is SQL resultSet struct
func (*ResultSet) GetResultAndMoveNext ¶
GetResultAndMoveNext returns result with index current value and increase index by 1. Note: GetResultAndMoveNext does not check index out of range
type Rows ¶
Rows is SQL rows struct
func (*Rows) Close ¶
Close - see https://golang.org/pkg/database/sql/driver/#Rows for more details
func (*Rows) ColumnTypeDatabaseTypeName ¶
ColumnTypeDatabaseTypeName - see https://golang.org/pkg/database/sql/driver/#RowsColumnTypeDatabaseTypeName for more details
func (*Rows) Columns ¶
Columns - see https://golang.org/pkg/database/sql/driver/#Rows for more details
type Stmt ¶
Stmt is SQL statement struct
func (*Stmt) Close ¶
Close - see https://golang.org/pkg/database/sql/driver/#Stmt for more details
func (*Stmt) Exec ¶
Exec - see https://golang.org/pkg/database/sql/driver/#Stmt for more details
func (*Stmt) ExecContext ¶
ExecContext - see https://golang.org/pkg/database/sql/driver/#StmtExecContext for more details
func (*Stmt) NumInput ¶
NumInput - see https://golang.org/pkg/database/sql/driver/#Stmt for more details
func (*Stmt) Query ¶
Query - see https://golang.org/pkg/database/sql/driver/#Stmt for more details
func (*Stmt) QueryContext ¶
QueryContext - see https://golang.org/pkg/database/sql/driver/#StmtQueryContext for more details