Documentation
¶
Index ¶
- Constants
- type Delete
- type Insert
- type Select
- func (s *Select) And(cond string, args ...interface{}) *Select
- func (s *Select) Build() (string, []interface{})
- func (s *Select) Columns(columns ...string) *Select
- func (s *Select) Explain() *Select
- func (s *Select) GetColumns() []string
- func (s *Select) GroupBy(group string, groups ...string) *Select
- func (s *Select) Having(cond string, args ...interface{}) *Select
- func (s *Select) InnerJoin(table string, cond string, args ...interface{}) *Select
- func (s *Select) Limit(number int) *Select
- func (s *Select) Offset(number int) *Select
- func (s *Select) OrderBy(column, order string) *Select
- func (s *Select) Table(table string) *Select
- func (s *Select) Where(cond string, args ...interface{}) *Select
- type Update
Constants ¶
View Source
const ( ASC = "ASC" DESC = "DESC" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Select ¶
type Select struct {
// contains filtered or unexported fields
}
func (*Select) GetColumns ¶
Click to show internal directories.
Click to hide internal directories.