Documentation
¶
Index ¶
- Variables
- type Columns
- func (c Columns) Except(cols ...string) Columns
- func (c Columns) Only(cols ...string) Columns
- func (c Columns) WithAggFunc(a, b string) Columns
- func (c Columns) WithParent(p ...string) Columns
- func (c Columns) WithPrefix(prefix string) Columns
- func (c Columns) WriteSQL(w io.Writer, d bob.Dialect, start int) ([]any, error)
- type ExtraLoader
- type RelSide
- type Relationship
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CtxLoadPrefix ctxKey = "load_parent_alias" CtxLoadParentAlias ctxKey = "load_prefix" )
Functions ¶
This section is empty.
Types ¶
type Columns ¶
type Columns struct {
// contains filtered or unexported fields
}
func NewColumns ¶
func (Columns) WithAggFunc ¶
func (Columns) WithParent ¶
func (Columns) WithPrefix ¶
type ExtraLoader ¶
type ExtraLoader struct { Fs []bob.LoadFunc OneType reflect.Type SliceType reflect.Type // contains filtered or unexported fields }
func (*ExtraLoader) AppendLoader ¶
func (a *ExtraLoader) AppendLoader(fs ...bob.LoadFunc)
func (*ExtraLoader) Collect ¶
func (a *ExtraLoader) Collect(v any) error
type Relationship ¶
Click to show internal directories.
Click to hide internal directories.