Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SqlBuilder ¶
type SqlBuilder interface {
Where(args WhereArgs) WhereBuilder
Build() (string, []interface{})
}
func Select ¶
func Select(selectClausule string) SqlBuilder
type SqlBuilderFactory ¶
type SqlBuilderFactory interface {
Select(selectClausule string) SqlBuilder
}
func NewSqlBuilder ¶
func NewSqlBuilder(dialect Dialect) SqlBuilderFactory
type WhereBuilder ¶
type WhereBuilder interface {
SetPaginate(offset, limit int64) WhereBuilder
GroupBy(sql string) WhereBuilder
OrderBy(sql string) WhereBuilder
Build() (string, []interface{})
}
Click to show internal directories.
Click to hide internal directories.