sqlhelpers
sqlhelpers
import "github.com/cloudfoundry/go-cf-api/internal/storage/db/sqlhelpers"
Index
- func FromUnion(unionTables []UnionTable) qm.QueryMod
- func OrderBy(orderBy string) qm.QueryMod
- func Split(s string) []string
- func WhereIn(field string, slice []string) qm.QueryMod
- func split(c rune) bool
- type UnionTable
- type fromUnion
func FromUnion
func FromUnion(unionTables []UnionTable) qm.QueryMod
func OrderBy
func OrderBy(orderBy string) qm.QueryMod
func Split
func Split(s string) []string
Splits a string on comma without including empty strings
func WhereIn
func WhereIn(field string, slice []string) qm.QueryMod
func split
func split(c rune) bool
type UnionTable
type UnionTable struct {
Column string
Table string
}
type fromUnion
type fromUnion struct {
unionTables []UnionTable
}
func (*fromUnion) Apply
func (fu *fromUnion) Apply(query *queries.Query)
Generated by gomarkdoc