Documentation ¶
Index ¶
- func IsKeyNotFound(err error) bool
- func RegisterSet(xType *x.Type) error
- type Config
- type Driver
- type Rows
- type RowsReader
- type RowsScanReader
- type Statement
- func (s *Statement) CheckNamedValue(named *driver.NamedValue) error
- func (s *Statement) Close() error
- func (s *Statement) Exec(args []driver.Value) (driver.Result, error)
- func (s *Statement) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error)
- func (s *Statement) NumInput() int
- func (s *Statement) Query(args []driver.Value) (driver.Rows, error)
- func (s *Statement) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error)
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsKeyNotFound ¶
IsKeyNotFound returns true if mapKey not found error.
Types ¶
type Config ¶
type Config struct { ClientPolicy *as.ClientPolicy url.Values // contains filtered or unexported fields }
Config represent Connection config
type Driver ¶
type Driver struct{}
Driver is exported to make the driver directly accessible. In general the driver is used via the database/sql package.
type Rows ¶
type Rows struct {
// contains filtered or unexported fields
}
func (*Rows) ColumnTypeDatabaseTypeName ¶
ColumnTypeDatabaseTypeName returns column database type name
func (*Rows) ColumnTypeNullable ¶
ColumnTypeNullable returns if column is nullable
func (*Rows) ColumnTypeScanType ¶
ColumnTypeScanType returns column scan type
type RowsReader ¶
type RowsReader struct {
// contains filtered or unexported fields
}
type RowsScanReader ¶
type Statement ¶
type Statement struct { //BaseURL string SQL string // contains filtered or unexported fields }
Statement abstraction implements database/sql driver.Statement interface
func (*Statement) CheckNamedValue ¶
func (s *Statement) CheckNamedValue(named *driver.NamedValue) error
CheckNamedValue checks supported globalTypes (all for now)
func (*Statement) ExecContext ¶
func (s *Statement) ExecContext(ctx context.Context, args []driver.NamedValue) (driver.Result, error)
ExecContext executes statements
func (*Statement) QueryContext ¶
func (s *Statement) QueryContext(ctx context.Context, args []driver.NamedValue) (driver.Rows, error)
QueryContext runs parameterizedQuery
Click to show internal directories.
Click to hide internal directories.