Documentation ¶
Index ¶
- type CopyActions
- func (act *CopyActions) Distinct() CopyStatement
- func (act *CopyActions) From(values ...string) CopyStatement
- func (act *CopyActions) GroupBy(fields ...interface{}) CopyStatement
- func (act *CopyActions) Having(fields ...interface{}) CopyStatement
- func (act *CopyActions) Limit(num uint) CopyStatement
- func (act *CopyActions) Offset(num uint) CopyStatement
- func (act *CopyActions) OrderBy(fields ...interface{}) CopyStatement
- func (act *CopyActions) Select(fields ...interface{}) CopyStatement
- func (act *CopyActions) Where(fields ...interface{}) CopyStatement
- type CopyStatement
- type DeleteActions
- type DeleteOneActions
- type DeleteOneStatement
- type DeleteStatement
- type FindActions
- func (act *FindActions) Distinct() SelectStatement
- func (act *FindActions) From(values ...string) SelectStatement
- func (act *FindActions) GroupBy(fields ...interface{}) SelectStatement
- func (act *FindActions) Having(fields ...interface{}) SelectStatement
- func (act *FindActions) Limit(num uint) SelectStatement
- func (act *FindActions) Offset(num uint) SelectStatement
- func (act *FindActions) OrderBy(fields ...interface{}) SelectStatement
- func (act *FindActions) Select(fields ...interface{}) SelectStatement
- func (act *FindActions) Where(fields ...interface{}) SelectStatement
- type FindOneActions
- func (act *FindOneActions) Distinct() SelectOneStatement
- func (act *FindOneActions) From(values ...string) SelectOneStatement
- func (act *FindOneActions) GroupBy(fields ...interface{}) SelectOneStatement
- func (act *FindOneActions) Having(fields ...interface{}) SelectOneStatement
- func (act *FindOneActions) OrderBy(fields ...interface{}) SelectOneStatement
- func (act *FindOneActions) Select(fields ...interface{}) SelectOneStatement
- func (act *FindOneActions) Where(fields ...interface{}) SelectOneStatement
- type PaginateActions
- func (act *PaginateActions) Distinct() PaginateStatement
- func (act *PaginateActions) From(values ...string) PaginateStatement
- func (act *PaginateActions) GroupBy(fields ...interface{}) PaginateStatement
- func (act *PaginateActions) Having(fields ...interface{}) PaginateStatement
- func (act *PaginateActions) Limit(num uint) PaginateStatement
- func (act *PaginateActions) Offset(num uint) PaginateStatement
- func (act *PaginateActions) OrderBy(fields ...interface{}) PaginateStatement
- func (act *PaginateActions) Select(fields ...interface{}) PaginateStatement
- func (act *PaginateActions) Where(fields ...interface{}) PaginateStatement
- type PaginateStatement
- type SelectOneStatement
- type SelectStatement
- type UpdateActions
- type UpdateOneActions
- type UpdateOneStatement
- type UpdateStatement
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CopyActions ¶
type CopyActions struct {
FindActions
}
CopyActions :
func (*CopyActions) GroupBy ¶
func (act *CopyActions) GroupBy(fields ...interface{}) CopyStatement
GroupBy :
func (*CopyActions) Having ¶
func (act *CopyActions) Having(fields ...interface{}) CopyStatement
Having :
func (*CopyActions) OrderBy ¶
func (act *CopyActions) OrderBy(fields ...interface{}) CopyStatement
OrderBy :
func (*CopyActions) Select ¶
func (act *CopyActions) Select(fields ...interface{}) CopyStatement
Select :
func (*CopyActions) Where ¶
func (act *CopyActions) Where(fields ...interface{}) CopyStatement
Where :
type CopyStatement ¶
type CopyStatement interface { Distinct() CopyStatement Select(fields ...interface{}) CopyStatement From(values ...string) CopyStatement Where(fields ...interface{}) CopyStatement Having(fields ...interface{}) CopyStatement GroupBy(fields ...interface{}) CopyStatement OrderBy(fields ...interface{}) CopyStatement Limit(num uint) CopyStatement Offset(num uint) CopyStatement }
CopyStatement :
type DeleteActions ¶
type DeleteActions struct { Database string Table string Conditions []interface{} Sorts []interface{} Record uint }
DeleteActions :
func (*DeleteActions) OrderBy ¶
func (act *DeleteActions) OrderBy(fields ...interface{}) DeleteStatement
OrderBy :
func (*DeleteActions) Where ¶
func (act *DeleteActions) Where(fields ...interface{}) DeleteStatement
Where :
type DeleteOneActions ¶
type DeleteOneActions struct {
DeleteActions
}
DeleteOneActions :
func (*DeleteOneActions) Limit ¶
func (act *DeleteOneActions) Limit(num uint) DeleteOneStatement
Limit :
func (*DeleteOneActions) OrderBy ¶
func (act *DeleteOneActions) OrderBy(fields ...interface{}) DeleteOneStatement
OrderBy :
func (*DeleteOneActions) Where ¶
func (act *DeleteOneActions) Where(fields ...interface{}) DeleteOneStatement
Where :
type DeleteOneStatement ¶
type DeleteOneStatement interface { Where(fields ...interface{}) DeleteOneStatement OrderBy(fields ...interface{}) DeleteOneStatement }
DeleteOneStatement :
type DeleteStatement ¶
type DeleteStatement interface { Where(fields ...interface{}) DeleteStatement OrderBy(fields ...interface{}) DeleteStatement Limit(num uint) DeleteStatement }
DeleteStatement :
type FindActions ¶
type FindActions struct { DistinctOn bool Database string Table string Projections []interface{} IndexHints string Conditions primitive.Group Havings primitive.Group GroupBys []interface{} Sorts []interface{} Skip uint Count uint }
FindActions :
func (*FindActions) GroupBy ¶
func (act *FindActions) GroupBy(fields ...interface{}) SelectStatement
GroupBy :
func (*FindActions) Having ¶
func (act *FindActions) Having(fields ...interface{}) SelectStatement
Having :
func (*FindActions) OrderBy ¶
func (act *FindActions) OrderBy(fields ...interface{}) SelectStatement
OrderBy :
func (*FindActions) Select ¶
func (act *FindActions) Select(fields ...interface{}) SelectStatement
Select :
func (*FindActions) Where ¶
func (act *FindActions) Where(fields ...interface{}) SelectStatement
Where :
type FindOneActions ¶
type FindOneActions struct {
FindActions
}
FindOneActions :
func (*FindOneActions) Distinct ¶
func (act *FindOneActions) Distinct() SelectOneStatement
Distinct :
func (*FindOneActions) From ¶
func (act *FindOneActions) From(values ...string) SelectOneStatement
From :
func (*FindOneActions) GroupBy ¶
func (act *FindOneActions) GroupBy(fields ...interface{}) SelectOneStatement
GroupBy :
func (*FindOneActions) Having ¶
func (act *FindOneActions) Having(fields ...interface{}) SelectOneStatement
Having :
func (*FindOneActions) OrderBy ¶
func (act *FindOneActions) OrderBy(fields ...interface{}) SelectOneStatement
OrderBy :
func (*FindOneActions) Select ¶
func (act *FindOneActions) Select(fields ...interface{}) SelectOneStatement
Select :
func (*FindOneActions) Where ¶
func (act *FindOneActions) Where(fields ...interface{}) SelectOneStatement
Where :
type PaginateActions ¶
type PaginateActions struct {
FindActions
}
PaginateActions :
func (*PaginateActions) Distinct ¶
func (act *PaginateActions) Distinct() PaginateStatement
Distinct :
func (*PaginateActions) From ¶
func (act *PaginateActions) From(values ...string) PaginateStatement
From :
func (*PaginateActions) GroupBy ¶
func (act *PaginateActions) GroupBy(fields ...interface{}) PaginateStatement
GroupBy :
func (*PaginateActions) Having ¶
func (act *PaginateActions) Having(fields ...interface{}) PaginateStatement
Having :
func (*PaginateActions) Limit ¶
func (act *PaginateActions) Limit(num uint) PaginateStatement
Limit :
func (*PaginateActions) Offset ¶
func (act *PaginateActions) Offset(num uint) PaginateStatement
Offset :
func (*PaginateActions) OrderBy ¶
func (act *PaginateActions) OrderBy(fields ...interface{}) PaginateStatement
OrderBy :
func (*PaginateActions) Select ¶
func (act *PaginateActions) Select(fields ...interface{}) PaginateStatement
Select :
func (*PaginateActions) Where ¶
func (act *PaginateActions) Where(fields ...interface{}) PaginateStatement
Where :
type PaginateStatement ¶
type PaginateStatement interface { Distinct() PaginateStatement Select(fields ...interface{}) PaginateStatement From(values ...string) PaginateStatement Where(fields ...interface{}) PaginateStatement Having(fields ...interface{}) PaginateStatement GroupBy(fields ...interface{}) PaginateStatement OrderBy(fields ...interface{}) PaginateStatement Limit(num uint) PaginateStatement Offset(num uint) PaginateStatement }
PaginateStatement :
type SelectOneStatement ¶
type SelectOneStatement interface { Distinct() SelectOneStatement Select(fields ...interface{}) SelectOneStatement From(values ...string) SelectOneStatement Where(fields ...interface{}) SelectOneStatement Having(fields ...interface{}) SelectOneStatement GroupBy(fields ...interface{}) SelectOneStatement OrderBy(fields ...interface{}) SelectOneStatement }
SelectOneStatement :
type SelectStatement ¶
type SelectStatement interface { Distinct() SelectStatement Select(fields ...interface{}) SelectStatement From(values ...string) SelectStatement Where(fields ...interface{}) SelectStatement Having(fields ...interface{}) SelectStatement GroupBy(fields ...interface{}) SelectStatement OrderBy(fields ...interface{}) SelectStatement Limit(num uint) SelectStatement Offset(num uint) SelectStatement }
SelectStatement :
type UpdateActions ¶
type UpdateActions struct { Database string Table string Conditions []interface{} Values []primitive.KV Sorts []interface{} Record uint }
UpdateActions :
func (*UpdateActions) OrderBy ¶
func (act *UpdateActions) OrderBy(fields ...interface{}) UpdateStatement
OrderBy :
func (*UpdateActions) Set ¶
func (act *UpdateActions) Set(values ...primitive.KV) UpdateStatement
Set :
func (*UpdateActions) Where ¶
func (act *UpdateActions) Where(fields ...interface{}) UpdateStatement
Where :
type UpdateOneActions ¶
type UpdateOneActions struct {
UpdateActions
}
UpdateOneActions :
func (*UpdateOneActions) OrderBy ¶
func (act *UpdateOneActions) OrderBy(fields ...interface{}) UpdateOneStatement
OrderBy :
func (*UpdateOneActions) Set ¶
func (act *UpdateOneActions) Set(values ...primitive.KV) UpdateOneStatement
Set :
func (*UpdateOneActions) Where ¶
func (act *UpdateOneActions) Where(fields ...interface{}) UpdateOneStatement
Where :
type UpdateOneStatement ¶
type UpdateOneStatement interface { Where(fields ...interface{}) UpdateOneStatement Set(values ...primitive.KV) UpdateOneStatement OrderBy(fields ...interface{}) UpdateOneStatement }
UpdateOneStatement :
type UpdateStatement ¶
type UpdateStatement interface { Where(fields ...interface{}) UpdateStatement Set(values ...primitive.KV) UpdateStatement OrderBy(fields ...interface{}) UpdateStatement Limit(num uint) UpdateStatement }
UpdateStatement :
Click to show internal directories.
Click to hide internal directories.