Documentation ¶
Index ¶
- func Build(ctx context.Context, f func(builder *Builder)) context.Context
- func WithBuilder(ctx context.Context, b *Builder) context.Context
- type Builder
- func (b *Builder) Build(query string, args ...interface{}) (string, []interface{})
- func (b *Builder) GroupBy(cols string) *Builder
- func (b *Builder) In(column string, args ...interface{}) *Builder
- func (b *Builder) Limit(x int) *Builder
- func (b *Builder) Offset(x int) *Builder
- func (b *Builder) Order(cols string) *Builder
- func (b *Builder) Where(query string, args ...interface{}) *Builder
- type DBTX
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.