Documentation ¶
Index ¶
- func ExecContext(query string, args ...interface{}) (data sql.Result, err error)
- func OnInit(s core.IService, opt ...Option) (err error)
- func QueryContext(query string, args ...interface{}) (data *sql.Rows, err error)
- type Option
- type Options
- type SqlServer
- func (this *SqlServer) ExecContext(query string, args ...interface{}) (data sql.Result, err error)
- func (this *SqlServer) GetContext(dest interface{}, query string, args ...interface{}) error
- func (this *SqlServer) QueryContext(query string, args ...interface{}) (data *sql.Rows, err error)
- func (this *SqlServer) QueryRowContext(query string, args ...interface{}) (data *sql.Row)
- func (this *SqlServer) QueryxContext(query string, args ...interface{}) (data *sqlx.Rows, err error)
- func (this *SqlServer) SelectContext(dest interface{}, query string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SqlServer ¶
type SqlServer struct {
// contains filtered or unexported fields
}
func (*SqlServer) ExecContext ¶
func (*SqlServer) GetContext ¶
func (*SqlServer) QueryContext ¶
func (*SqlServer) QueryRowContext ¶
func (*SqlServer) QueryxContext ¶
func (*SqlServer) SelectContext ¶
Click to show internal directories.
Click to hide internal directories.