Versions in this module Expand all Collapse all v0 v0.1.4 Aug 8, 2020 v0.1.3 Apr 28, 2019 Changes in this version + type AssignmentList struct + func Assign() *AssignmentList + func (al *AssignmentList) Equal(k string, v interface{}) *AssignmentList + func (al *AssignmentList) Literal(l string) *AssignmentList + func (al *AssignmentList) String() string + func (al *AssignmentList) Values() []interface{} + type DeleteStmt struct + func Delete() *DeleteStmt + func (s *DeleteStmt) From(tables ...string) *DeleteStmt + func (s *DeleteStmt) Literal(l string) *DeleteStmt + func (s *DeleteStmt) QueryArgs() []interface{} + func (s *DeleteStmt) String() string + func (s *DeleteStmt) Where(cond *QueryConditionSet) *DeleteStmt + type InsertStmt struct + func Insert() *InsertStmt + func Replace() *InsertStmt + func (s *InsertStmt) Fields(fields ...string) *InsertStmt + func (s *InsertStmt) Into(table string) *InsertStmt + func (s *InsertStmt) Literal(l string) *InsertStmt + func (s *InsertStmt) QueryArgs() []interface{} + func (s *InsertStmt) Select(stmt *SelectStmt) *InsertStmt + func (s *InsertStmt) String() string + func (s *InsertStmt) Values(records ...Record) *InsertStmt + type NullTime struct + Time time.Time + Valid bool + func (nt *NullTime) Scan(value interface{}) error + func (nt NullTime) Value() (driver.Value, error) + type QueryConditionSet struct + func Cond() *QueryConditionSet + func (c *QueryConditionSet) And() *QueryConditionSet + func (c *QueryConditionSet) Equal(k string, v interface{}) *QueryConditionSet + func (c *QueryConditionSet) Group(cond *QueryConditionSet) *QueryConditionSet + func (c *QueryConditionSet) In(k string, v interface{}) *QueryConditionSet + func (c *QueryConditionSet) InSelect(k string, v *SelectStmt) *QueryConditionSet + func (c *QueryConditionSet) IsNull(v string) *QueryConditionSet + func (c *QueryConditionSet) Literal(l string) *QueryConditionSet + func (c *QueryConditionSet) Not() *QueryConditionSet + func (c *QueryConditionSet) Or() *QueryConditionSet + func (c *QueryConditionSet) String() string + func (c *QueryConditionSet) Values() []interface{} + type Record interface + Fields func() []string + Subset func(...string) Record + Values func() []interface{} + type RecordType struct + T interface{} + func NewRecordType(T interface{}) RecordType + func (r RecordType) Fields() []string + func (r RecordType) Subset(fields ...string) Record + func (r RecordType) Values() []interface{} + type Records []Record + func NewRecords(T interface{}) Records + func (r Records) Fields() []string + func (r Records) Subset(fields ...string) Record + func (r Records) Values() []interface{} + type SelectStmt struct + func Select(fields ...string) *SelectStmt + func (s *SelectStmt) From(tables ...string) *SelectStmt + func (s *SelectStmt) Literal(l string) *SelectStmt + func (s *SelectStmt) QueryArgs() []interface{} + func (s *SelectStmt) Select(a *SelectStmt) *SelectStmt + func (s *SelectStmt) SelectGroup(as string, g *SelectStmt) *SelectStmt + func (s *SelectStmt) String() string + func (s *SelectStmt) Where(cond *QueryConditionSet) *SelectStmt + type UpdateStmt struct + func Update(tables ...string) *UpdateStmt + func (s *UpdateStmt) QueryArgs() []interface{} + func (s *UpdateStmt) Set(al *AssignmentList) *UpdateStmt + func (s *UpdateStmt) String() string + func (s *UpdateStmt) Where(cond *QueryConditionSet) *UpdateStmt