Versions in this module Expand all Collapse all v1 v1.0.1 Nov 19, 2015 v1.0.0 May 17, 2015 Changes in this version + var DefaultDBMS = MySQL + type DBMS int + const MySQL + const Postgres + func (dbms DBMS) Insert() InsertStatement + func (dbms DBMS) Placeholder(idx int) string + func (dbms DBMS) Select() SelectStatement + func (dbms DBMS) Update() UpdateStatement + type InsertStatement struct + func Insert() InsertStatement + func (s InsertStatement) Build() (query string, args []interface{}) + func (s InsertStatement) Into(table string) InsertStatement + func (s InsertStatement) Set(col string, val interface{}) InsertStatement + func (s InsertStatement) SetSQL(col, sql string) InsertStatement + type SelectStatement struct + func Select() SelectStatement + func (s SelectStatement) Build() (query string, args []interface{}, dest []interface{}) + func (s SelectStatement) From(table string) SelectStatement + func (s SelectStatement) Group(group string) SelectStatement + func (s SelectStatement) Having(having string) SelectStatement + func (s SelectStatement) Join(sql string, args ...interface{}) SelectStatement + func (s SelectStatement) Limit(limit int) SelectStatement + func (s SelectStatement) Lock() SelectStatement + func (s SelectStatement) Map(col string, dest interface{}) SelectStatement + func (s SelectStatement) Offset(offset int) SelectStatement + func (s SelectStatement) Order(order string) SelectStatement + func (s SelectStatement) Where(cond string, args ...interface{}) SelectStatement + type UpdateStatement struct + func Update() UpdateStatement + func (s UpdateStatement) Build() (query string, args []interface{}) + func (s UpdateStatement) Set(col string, val interface{}) UpdateStatement + func (s UpdateStatement) SetSQL(col string, sql string) UpdateStatement + func (s UpdateStatement) Table(table string) UpdateStatement + func (s UpdateStatement) Where(cond string, args ...interface{}) UpdateStatement Incompatible versions in this module v3.0.0+incompatible Mar 7, 2016 v2.0.0+incompatible Jan 5, 2016 Other modules containing this package github.com/thcyron/sqlbuilder/v4