Versions in this module Expand all Collapse all v1 v1.10.1 Nov 28, 2024 v1.10.0 Nov 28, 2024 Changes in this version + type DeleteStmt struct + Conditions primitive.Group + Max uint + Sorts []interface{} + Tables []interface{} + func (stmt *DeleteStmt) From() *DeleteStmt + func (stmt *DeleteStmt) Limit(num uint) *DeleteStmt + func (stmt *DeleteStmt) OrderBy(fields ...interface{}) *DeleteStmt + func (stmt *DeleteStmt) Where(fields ...interface{}) *DeleteStmt + type SelectStmt struct + Conditions primitive.Group + DistinctOn bool + Groups []interface{} + Havings primitive.Group + IndexHints string + Joins []interface{} + Max uint + Projections []interface{} + Skip uint + Sorts []interface{} + Tables []interface{} + func Select(fields ...interface{}) *SelectStmt + func (stmt *SelectStmt) Distinct() *SelectStmt + func (stmt *SelectStmt) From(values ...interface{}) *SelectStmt + func (stmt *SelectStmt) GroupBy(fields ...interface{}) *SelectStmt + func (stmt *SelectStmt) Having(fields ...interface{}) *SelectStmt + func (stmt *SelectStmt) Limit(num uint) *SelectStmt + func (stmt *SelectStmt) Offset(num uint) *SelectStmt + func (stmt *SelectStmt) OrderBy(fields ...interface{}) *SelectStmt + func (stmt *SelectStmt) Select(fields ...interface{}) *SelectStmt + func (stmt *SelectStmt) Where(fields ...interface{}) *SelectStmt + type UpdateStmt struct + Conditions primitive.Group + Database string + Max uint + Sorts []interface{} + Table string + Values []primitive.KV + func Update(tables ...interface{}) *UpdateStmt + func (stmt *UpdateStmt) Limit(num uint) *UpdateStmt + func (stmt *UpdateStmt) OrderBy(fields ...interface{}) *UpdateStmt + func (stmt *UpdateStmt) Set(values ...primitive.KV) *UpdateStmt + func (stmt *UpdateStmt) Update(fields ...interface{}) *UpdateStmt + func (stmt *UpdateStmt) Where(fields ...interface{}) *UpdateStmt