Documentation ¶
Index ¶
- func Build(client *bigquery.Client, query errorableStringer, paramMods ...ParamMod) (*bigquery.Query, error)
- type FromMod
- type FromQueryMod
- type GroupByMod
- type LimitMod
- type OrderByMod
- type ParamMod
- func ParamBool(name string, value bool) ParamMod
- func ParamFloat64(name string, value float64) ParamMod
- func ParamInt(name string, value int) ParamMod
- func ParamInt64(name string, value int64) ParamMod
- func ParamStr(name string, value string) ParamMod
- func ParamStrSlice(name string, value []string) ParamMod
- func ParamStringer(name string, value fmt.Stringer) ParamMod
- type QueryMod
- type SelectMod
- type UnionAllMod
- type WhereMod
- type WhereQueryMod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FromQueryMod ¶
type FromQueryMod struct {
// contains filtered or unexported fields
}
func FromQuery ¶
func FromQuery(alias string, query errorableStringer) FromQueryMod
type GroupByMod ¶
type GroupByMod struct {
// contains filtered or unexported fields
}
func GroupBy ¶
func GroupBy(columns ...string) []GroupByMod
type OrderByMod ¶
type OrderByMod struct {
// contains filtered or unexported fields
}
func OrderBy ¶
func OrderBy(columns ...string) []OrderByMod
type ParamMod ¶
type ParamMod struct {
// contains filtered or unexported fields
}
func ParamFloat64 ¶
func ParamInt64 ¶
func ParamStrSlice ¶
type UnionAllMod ¶
type UnionAllMod struct {
// contains filtered or unexported fields
}
func UnionAll ¶
func UnionAll(queries ...QueryMod) UnionAllMod
func (UnionAllMod) String ¶
func (u UnionAllMod) String() (string, error)
type WhereQueryMod ¶
type WhereQueryMod struct {
// contains filtered or unexported fields
}
func WhereQuery ¶
func WhereQuery(clause string, query QueryMod) WhereQueryMod
func (WhereQueryMod) String ¶
func (w WhereQueryMod) String() (string, error)
Click to show internal directories.
Click to hide internal directories.