Documentation ¶
Index ¶
- func Abs(f qb.Field) qb.Field
- func Add(f1 qb.Field, i interface{}) qb.Field
- func Average(f qb.Field) qb.Field
- func Cast(f qb.Field, t qb.DataType) qb.Field
- func Ceil(f qb.Field) qb.Field
- func Coalesce(f1 qb.Field, i interface{}) qb.Field
- func Concat(i ...interface{}) qb.Field
- func Count(f qb.Field) qb.Field
- func CountAll() qb.Field
- func Day(f qb.Field) qb.Field
- func Distinct(f qb.Field) qb.Field
- func Div(f1 qb.Field, i interface{}) qb.Field
- func Excluded(f qb.Field) qb.Field
- func Extract(f qb.Field, part string) qb.Field
- func Floor(f qb.Field) qb.Field
- func Hour(f qb.Field) qb.Field
- func Lower(f qb.Field) qb.Field
- func Max(f qb.Field) qb.Field
- func Min(f qb.Field) qb.Field
- func Minute(f qb.Field) qb.Field
- func Mod(f1 qb.Field, i interface{}) qb.Field
- func Month(f qb.Field) qb.Field
- func Mult(f1 qb.Field, i interface{}) qb.Field
- func Now() qb.Field
- func Pow(f1 qb.Field, i interface{}) qb.Field
- func Replace(f qb.Field, from, to interface{}) qb.Field
- func Round(f1 qb.Field, precision int) qb.Field
- func Second(f qb.Field) qb.Field
- func Sub(f1 qb.Field, i interface{}) qb.Field
- func Substring(f qb.Field, from, length interface{}) qb.Field
- func Sum(f qb.Field) qb.Field
- func Week(f qb.Field) qb.Field
- func Year(f qb.Field) qb.Field
- type CalculatedField
- type CaseField
- type WhenList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CalculatedField ¶
CalculatedField is a field created by running functions on a TableField
func NewCalculatedField ¶
func NewCalculatedField(args ...interface{}) CalculatedField
NewCalculatedField returns a new CalculatedField
func (CalculatedField) QueryString ¶
func (f CalculatedField) QueryString(c *qb.Context) string
QueryString implements qb.Field
Click to show internal directories.
Click to hide internal directories.