qm

package
v0.13.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BKA

func BKA(tables ...string) bob.Mod[*mysql.SelectQuery]

func BNL

func BNL(tables ...string) bob.Mod[*mysql.SelectQuery]

func BigResult

func BigResult() bob.Mod[*mysql.SelectQuery]

func BufferResult

func BufferResult() bob.Mod[*mysql.SelectQuery]

func Columns

func Columns(clauses ...any) bob.Mod[*mysql.SelectQuery]

func CrossJoin

func CrossJoin(e bob.Expression) bob.Mod[*mysql.DeleteQuery]

func DerivedConditionPushdown

func DerivedConditionPushdown(tables ...string) bob.Mod[*mysql.SelectQuery]

func Distinct

func Distinct(on ...any) bob.Mod[*mysql.SelectQuery]

func Except added in v0.7.0

func Except(q bob.Query) bob.Mod[*mysql.SelectQuery]

func ExceptAll added in v0.7.0

func ExceptAll(q bob.Query) bob.Mod[*mysql.SelectQuery]

func ForShare

func ForShare(tables ...string) dialect.LockChain[*mysql.SelectQuery]

func ForUpdate

func ForUpdate(tables ...string) dialect.LockChain[*mysql.SelectQuery]

func From

func From(table any) dialect.FromChain[*mysql.SelectQuery]

func GroupBy

func GroupBy(e any) bob.Mod[*mysql.SelectQuery]

func GroupIndex

func GroupIndex(tables ...string) bob.Mod[*mysql.SelectQuery]

func HashJoin

func HashJoin(tables ...string) bob.Mod[*mysql.SelectQuery]

func Having

func Having(e bob.Expression) bob.Mod[*mysql.SelectQuery]

func HavingClause

func HavingClause(clause string, args ...any) bob.Mod[*mysql.SelectQuery]

func HighPriority

func HighPriority() bob.Mod[*mysql.SelectQuery]

func Index

func Index(tables ...string) bob.Mod[*mysql.SelectQuery]

func IndexMerge

func IndexMerge(tables ...string) bob.Mod[*mysql.SelectQuery]

func Intersect added in v0.7.0

func Intersect(q bob.Query) bob.Mod[*mysql.SelectQuery]

func IntersectAll added in v0.7.0

func IntersectAll(q bob.Query) bob.Mod[*mysql.SelectQuery]

func Into

func Into(var1 string, vars ...string) bob.Mod[*mysql.SelectQuery]

No need for the leading @

func IntoDumpfile

func IntoDumpfile(filename string) bob.Mod[*mysql.SelectQuery]

func IntoOutfile

func IntoOutfile(filename string) *intoChain

func JoinFixedOrder

func JoinFixedOrder(name string) bob.Mod[*mysql.SelectQuery]

func JoinIndex

func JoinIndex(tables ...string) bob.Mod[*mysql.SelectQuery]

func JoinOrder

func JoinOrder(tables ...string) bob.Mod[*mysql.SelectQuery]

func JoinPrefix

func JoinPrefix(tables ...string) bob.Mod[*mysql.SelectQuery]

func JoinSuffix

func JoinSuffix(tables ...string) bob.Mod[*mysql.SelectQuery]

func Limit

func Limit(count int64) bob.Mod[*mysql.SelectQuery]

func MRR

func MRR(tables ...string) bob.Mod[*mysql.SelectQuery]

func MaxExecutionTime

func MaxExecutionTime(n int) bob.Mod[*mysql.SelectQuery]

func Merge

func Merge(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoBKA

func NoBKA(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoBNL

func NoBNL(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoDerivedConditionPushdown

func NoDerivedConditionPushdown(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoGroupIndex

func NoGroupIndex(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoHashJoin

func NoHashJoin(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoICP

func NoICP(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoIndex

func NoIndex(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoIndexMerge

func NoIndexMerge(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoJoinIndex

func NoJoinIndex(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoMRR

func NoMRR(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoMerge

func NoMerge(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoOrderIndex

func NoOrderIndex(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoRangeOptimazation

func NoRangeOptimazation(tables ...string) bob.Mod[*mysql.SelectQuery]

func NoSemijoin

func NoSemijoin(strategy ...string) bob.Mod[*mysql.SelectQuery]

func NoSkipScan

func NoSkipScan(tables ...string) bob.Mod[*mysql.SelectQuery]

func Offset

func Offset(count int64) bob.Mod[*mysql.SelectQuery]

func OrderBy

func OrderBy(e any) dialect.OrderBy[*mysql.SelectQuery]

func OrderIndex

func OrderIndex(tables ...string) bob.Mod[*mysql.SelectQuery]

func QBName

func QBName(name string) bob.Mod[*mysql.SelectQuery]

func Recursive

func Recursive(r bool) bob.Mod[*mysql.SelectQuery]

func ResourceGroup

func ResourceGroup(name string) bob.Mod[*mysql.SelectQuery]

func Semijoin

func Semijoin(strategy ...string) bob.Mod[*mysql.SelectQuery]

func SetVar

func SetVar(statement string) bob.Mod[*mysql.SelectQuery]

func SkipScan

func SkipScan(tables ...string) bob.Mod[*mysql.SelectQuery]

func SmallResult

func SmallResult() bob.Mod[*mysql.SelectQuery]

func Straight

func Straight() bob.Mod[*mysql.SelectQuery]

func StraightJoin

func StraightJoin(e bob.Expression) bob.Mod[*mysql.DeleteQuery]

func Subquery

func Subquery(strategy string) bob.Mod[*mysql.SelectQuery]

func Union

func Union(q bob.Query) bob.Mod[*mysql.SelectQuery]

func UnionAll

func UnionAll(q bob.Query) bob.Mod[*mysql.SelectQuery]

func Where

func WhereClause

func WhereClause(clause string, args ...any) bob.Mod[*mysql.SelectQuery]

func Window

func Window(name string) dialect.WindowMod[*mysql.SelectQuery]

func With

func With(name string, columns ...string) dialect.CTEChain[*mysql.SelectQuery]

func WithRollup

func WithRollup(distinct bool) bob.Mod[*mysql.SelectQuery]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL