Documentation ¶
Index ¶
- type And
- type Clause
- type Conditions
- func (conditions *Conditions) AddCondition(query string, args ...any) *Conditions
- func (conditions *Conditions) And() *And
- func (conditions *Conditions) Equal(columnName string, arg any) *Conditions
- func (conditions *Conditions) GreaterThan(columnName string, arg any) *Conditions
- func (conditions *Conditions) GreaterThanAndEqual(columnName string, arg any) *Conditions
- func (conditions *Conditions) In(columnName string, arg any) *Conditions
- func (conditions *Conditions) LessThan(columnName string, arg any) *Conditions
- func (conditions *Conditions) LessThanAndEqual(columnName string, arg any) *Conditions
- func (conditions *Conditions) Like(columnName string, arg string) *Conditions
- func (conditions *Conditions) Not(columnName string, arg any) *Conditions
- func (conditions *Conditions) NotIn(columnName string, arg any) *Conditions
- func (conditions *Conditions) Or() *Or
- type From
- type Join
- type Limit
- type Or
- type Select
- type TableName
- type Where
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conditions ¶
type Conditions struct {
// contains filtered or unexported fields
}
func NewConditions ¶
func NewConditions() *Conditions
func (*Conditions) AddCondition ¶
func (conditions *Conditions) AddCondition(query string, args ...any) *Conditions
func (*Conditions) And ¶
func (conditions *Conditions) And() *And
func (*Conditions) Equal ¶
func (conditions *Conditions) Equal(columnName string, arg any) *Conditions
func (*Conditions) GreaterThan ¶
func (conditions *Conditions) GreaterThan(columnName string, arg any) *Conditions
func (*Conditions) GreaterThanAndEqual ¶
func (conditions *Conditions) GreaterThanAndEqual(columnName string, arg any) *Conditions
func (*Conditions) In ¶
func (conditions *Conditions) In(columnName string, arg any) *Conditions
func (*Conditions) LessThan ¶
func (conditions *Conditions) LessThan(columnName string, arg any) *Conditions
func (*Conditions) LessThanAndEqual ¶
func (conditions *Conditions) LessThanAndEqual(columnName string, arg any) *Conditions
func (*Conditions) Like ¶
func (conditions *Conditions) Like(columnName string, arg string) *Conditions
func (*Conditions) Not ¶
func (conditions *Conditions) Not(columnName string, arg any) *Conditions
func (*Conditions) NotIn ¶
func (conditions *Conditions) NotIn(columnName string, arg any) *Conditions
func (*Conditions) Or ¶
func (conditions *Conditions) Or() *Or
Click to show internal directories.
Click to hide internal directories.