Documentation ¶
Index ¶
- Variables
- func Unwrap(builder squirrel.Sqlizer) (string, []interface{}, error)
- type Builder
- type Executor
- func (r *Executor) Delete(ctx context.Context, builder squirrel.DeleteBuilder) (int64, error)
- func (r *Executor) ExecuteRaw(ctx context.Context, query string, args ...any) (rowsAffected int64, err error)
- func (r *Executor) GetRaw(ctx context.Context, dst any, query string, args ...any) error
- func (r *Executor) Insert(ctx context.Context, builder squirrel.InsertBuilder) (int64, error)
- func (r *Executor) SelectRaw(ctx context.Context, dst any, query string, args ...any) error
- func (r *Executor) Update(ctx context.Context, builder squirrel.UpdateBuilder) (int64, error)
- type Runner
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalid = errors.New("invalid query")
Functions ¶
Types ¶
type Builder ¶
type Builder struct {
squirrel.StatementBuilderType
}
func NewBuilder ¶
func NewBuilder() Builder
Click to show internal directories.
Click to hide internal directories.