sm

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2023 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BKA

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

func BNL

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

func BigResult

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

func BufferResult

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

func Columns

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

func CrossJoin

func CrossJoin(e any) bob.Mod[*dialect.SelectQuery]

func DerivedConditionPushdown

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

func Distinct

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

func Except

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

func ExceptAll

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

func ForShare

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

func ForUpdate

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

func From

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

func GroupBy

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

func GroupIndex

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

func HashJoin

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

func Having

func Having(e any) bob.Mod[*dialect.SelectQuery]

func HighPriority

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

func Index

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

func IndexMerge

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

func InnerJoin

func InnerJoin(e any) dialect.JoinChain[*dialect.SelectQuery]

func Intersect

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

func IntersectAll

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

func Into

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

No need for the leading @

func IntoDumpfile

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

func IntoOutfile

func IntoOutfile(filename string) *intoChain

func JoinFixedOrder

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

func JoinIndex

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

func JoinOrder

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

func JoinPrefix

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

func JoinSuffix

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

func LeftJoin

func LeftJoin(e any) dialect.JoinChain[*dialect.SelectQuery]

func Limit

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

func MRR

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

func MaxExecutionTime

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

func Merge

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

func NoBKA

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

func NoBNL

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

func NoDerivedConditionPushdown

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

func NoGroupIndex

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

func NoHashJoin

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

func NoICP

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

func NoIndex

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

func NoIndexMerge

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

func NoJoinIndex

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

func NoMRR

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

func NoMerge

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

func NoOrderIndex

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

func NoRangeOptimazation

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

func NoSemijoin

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

func NoSkipScan

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

func Offset

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

func OrderBy

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

func OrderIndex

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

func QBName

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

func Recursive

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

func ResourceGroup

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

func RightJoin

func RightJoin(e any) dialect.JoinChain[*dialect.SelectQuery]

func Semijoin

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

func SetVar

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

func SkipScan

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

func SmallResult

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

func Straight

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

func StraightJoin

func StraightJoin(e any) bob.Mod[*dialect.SelectQuery]

func Subquery

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

func Union

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

func UnionAll

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

func Where

func Where(e any) bob.Mod[*dialect.SelectQuery]

func Window

func With

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

func WithRollup

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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