query

package
v0.0.0-...-813563b Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColumnValue

type ColumnValue struct {
	Column string
	Value  any
}

type Sql

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

func Delete

func Delete(table string) *Sql

func Insert

func Insert(table string) *Sql

func Select

func Select(columns ...string) *Sql

func Update

func Update(table string) *Sql

func (*Sql) And

func (s *Sql) And(column string) *Sql

func (*Sql) Args

func (s *Sql) Args() []any

func (*Sql) Between

func (s *Sql) Between(value1, value2 any) *Sql

func (*Sql) Build

func (s *Sql) Build() string

func (*Sql) Columns

func (s *Sql) Columns(columns ...string) *Sql

func (*Sql) ColumnsValues

func (s *Sql) ColumnsValues(columnsValues []ColumnValue) *Sql

func (*Sql) Equal

func (s *Sql) Equal(value any) *Sql

func (*Sql) Exists

func (s *Sql) Exists(value any) *Sql

func (*Sql) From

func (s *Sql) From(table string) *Sql

func (*Sql) Full

func (s *Sql) Full(tableB, columnA, columnB string) *Sql

func (*Sql) FullOuter

func (s *Sql) FullOuter(tableB, columnA, columnB string) *Sql

func (*Sql) GreaterThan

func (s *Sql) GreaterThan(value any) *Sql

func (*Sql) GreaterThanOrEqual

func (s *Sql) GreaterThanOrEqual(value any) *Sql

func (*Sql) GroupBy

func (s *Sql) GroupBy(columns ...string) *Sql

func (*Sql) Having

func (s *Sql) Having(column string) *Sql

func (*Sql) In

func (s *Sql) In(values ...any) *Sql

func (*Sql) Inner

func (s *Sql) Inner(tableB, columnA, columnB string) *Sql

func (*Sql) Is

func (s *Sql) Is(value any) *Sql

func (*Sql) IsNotNull

func (s *Sql) IsNotNull() *Sql

func (*Sql) IsNull

func (s *Sql) IsNull() *Sql

func (*Sql) Left

func (s *Sql) Left(tableB, columnA, columnB string) *Sql

func (*Sql) LeftOuter

func (s *Sql) LeftOuter(tableB, columnA, columnB string) *Sql

func (*Sql) LessThan

func (s *Sql) LessThan(value any) *Sql

func (*Sql) LessThanOrEqual

func (s *Sql) LessThanOrEqual(value any) *Sql

func (*Sql) Like

func (s *Sql) Like(value any) *Sql

func (*Sql) Limit

func (s *Sql) Limit(limit int) *Sql

func (*Sql) NotBetween

func (s *Sql) NotBetween(value1, value2 any) *Sql

func (*Sql) NotEqual

func (s *Sql) NotEqual(value any) *Sql

func (*Sql) NotExists

func (s *Sql) NotExists(value any) *Sql

func (*Sql) NotLike

func (s *Sql) NotLike(value any) *Sql

func (*Sql) Offset

func (s *Sql) Offset(offset int) *Sql

func (*Sql) Or

func (s *Sql) Or(column string) *Sql

func (*Sql) Returning

func (s *Sql) Returning(columns ...string) *Sql

func (*Sql) Right

func (s *Sql) Right(tableB, columnA, columnB string) *Sql

func (*Sql) RightOuter

func (s *Sql) RightOuter(tableB, columnA, columnB string) *Sql

func (*Sql) Set

func (s *Sql) Set(columnsValues []ColumnValue) *Sql

func (*Sql) Values

func (s *Sql) Values(values ...any) *Sql

func (*Sql) Where

func (s *Sql) Where(column string) *Sql

Jump to

Keyboard shortcuts

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