Versions in this module Expand all Collapse all v1 v1.0.8 Jan 22, 2024 v1.0.7 Jan 19, 2024 v1.0.6 Mar 17, 2023 v1.0.5 Feb 2, 2023 v1.0.4 Jan 20, 2023 v1.0.3 Jan 18, 2023 v1.0.2 Oct 27, 2022 v1.0.1 Oct 27, 2022 v1.0.0 Sep 21, 2022 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