Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SelectStmt ¶
type SelectStmt struct {
Comment string
IsDistinct bool
Columns []string
Set interface{}
LimitCount int64
OffsetCount int64
}
SelectStmt builds select statement
func (*SelectStmt) Distinct ¶
func (b *SelectStmt) Distinct() *SelectStmt
Distinct creates distinct part of SQL
func (*SelectStmt) From ¶
func (b *SelectStmt) From(set interface{}) *SelectStmt
From creates from part of SQL
func (*SelectStmt) Limit ¶
func (b *SelectStmt) Limit(n uint64) *SelectStmt
Limit create limit part of SQL
func (*SelectStmt) Select ¶
func (b *SelectStmt) Select(columns ...string) *SelectStmt
Select creates select part of SQL
Click to show internal directories.
Click to hide internal directories.