builder

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: May 11, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLFragment

type SQLFragment struct {
	// contains filtered or unexported fields
}

func DeleteFrom

func DeleteFrom(table string) *SQLFragment

func InsertInto

func InsertInto(table string) *SQLFragment

func Select

func Select(columns ...string) *SQLFragment

func Update

func Update(table string) *SQLFragment

func (*SQLFragment) And

func (f *SQLFragment) And() *SQLFragment

func (*SQLFragment) Asc

func (f *SQLFragment) Asc() *SQLFragment

func (*SQLFragment) Desc

func (f *SQLFragment) Desc() *SQLFragment

func (*SQLFragment) From

func (f *SQLFragment) From(table string) *SQLFragment

func (*SQLFragment) GroupBy

func (f *SQLFragment) GroupBy(columns ...string) *SQLFragment

func (*SQLFragment) Having

func (f *SQLFragment) Having(condition string) *SQLFragment

func (*SQLFragment) Hook

func (f *SQLFragment) Hook(hookFunc func(*SQLFragment) *SQLFragment) *SQLFragment

func (*SQLFragment) InnerJoin

func (f *SQLFragment) InnerJoin(join string) *SQLFragment

func (*SQLFragment) IntoColumns

func (f *SQLFragment) IntoColumns(columns ...string) *SQLFragment

func (*SQLFragment) IntoValues

func (f *SQLFragment) IntoValues(values ...string) *SQLFragment

func (*SQLFragment) Join

func (f *SQLFragment) Join(join string) *SQLFragment

func (*SQLFragment) LeftJoin

func (f *SQLFragment) LeftJoin(join string) *SQLFragment

func (*SQLFragment) Limit

func (f *SQLFragment) Limit(offset, limit int64) *SQLFragment

func (*SQLFragment) Or

func (f *SQLFragment) Or() *SQLFragment

func (*SQLFragment) OrderBy

func (f *SQLFragment) OrderBy(columns ...string) *SQLFragment

func (*SQLFragment) RightJoin

func (f *SQLFragment) RightJoin(join string) *SQLFragment

func (*SQLFragment) Select

func (f *SQLFragment) Select(columns ...string) *SQLFragment

func (*SQLFragment) Set

func (f *SQLFragment) Set(column string, value string) *SQLFragment

func (*SQLFragment) String

func (f *SQLFragment) String() string

func (*SQLFragment) Where

func (f *SQLFragment) Where(condition string) *SQLFragment

Jump to

Keyboard shortcuts

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