Documentation ¶
Index ¶
- type Address
- type AliasBool
- type AliasFloat64
- type AliasInt
- type AliasInt64
- type AliasPBool
- type AliasPFloat64
- type AliasPInt
- type AliasPInt64
- type AliasPString
- type AliasPTime
- type AliasString
- type AliasTime
- type ComplexInfo
- func (m *ComplexInfo) SQLArgs(opts core.Opts, create bool) []interface{}
- func (m *ComplexInfo) SQLInsert(w SQLWriter) error
- func (m *ComplexInfo) SQLScan(opts core.Opts, row *sql.Row) error
- func (m *ComplexInfo) SQLScanArgs(opts core.Opts) []interface{}
- func (_ *ComplexInfo) SQLSelect(w SQLWriter) error
- func (m *ComplexInfo) SQLTableName() string
- func (m *ComplexInfo) SQLUpdate(w SQLWriter) error
- func (m *ComplexInfo) SQLUpdateAll(w SQLWriter) error
- type ComplexInfoes
- type SQLWriter
- type User
- func (m *User) SQLArgs(opts core.Opts, create bool) []interface{}
- func (m *User) SQLInsert(w SQLWriter) error
- func (m *User) SQLScan(opts core.Opts, row *sql.Row) error
- func (m *User) SQLScanArgs(opts core.Opts) []interface{}
- func (_ *User) SQLSelect(w SQLWriter) error
- func (m *User) SQLTableName() string
- func (m *User) SQLUpdate(w SQLWriter) error
- func (m *User) SQLUpdateAll(w SQLWriter) error
- type UserInfo
- func (m *UserInfo) SQLArgs(opts core.Opts, create bool) []interface{}
- func (m *UserInfo) SQLInsert(w SQLWriter) error
- func (m *UserInfo) SQLScan(opts core.Opts, row *sql.Row) error
- func (m *UserInfo) SQLScanArgs(opts core.Opts) []interface{}
- func (_ *UserInfo) SQLSelect(w SQLWriter) error
- func (m *UserInfo) SQLTableName() string
- func (m *UserInfo) SQLUpdate(w SQLWriter) error
- func (m *UserInfo) SQLUpdateAll(w SQLWriter) error
- type UserInfoes
- type UserInline
- func (m *UserInline) SQLArgs(opts core.Opts, create bool) []interface{}
- func (m *UserInline) SQLInsert(w SQLWriter) error
- func (m *UserInline) SQLScan(opts core.Opts, row *sql.Row) error
- func (m *UserInline) SQLScanArgs(opts core.Opts) []interface{}
- func (_ *UserInline) SQLSelect(w SQLWriter) error
- func (m *UserInline) SQLTableName() string
- func (m *UserInline) SQLUpdate(w SQLWriter) error
- func (m *UserInline) SQLUpdateAll(w SQLWriter) error
- type UserInlines
- type UserSubset
- func (m *UserSubset) SQLArgs(opts core.Opts, create bool) []interface{}
- func (m *UserSubset) SQLInsert(w SQLWriter) error
- func (m *UserSubset) SQLScan(opts core.Opts, row *sql.Row) error
- func (m *UserSubset) SQLScanArgs(opts core.Opts) []interface{}
- func (_ *UserSubset) SQLSelect(w SQLWriter) error
- func (m *UserSubset) SQLTableName() string
- func (m *UserSubset) SQLUpdate(w SQLWriter) error
- func (m *UserSubset) SQLUpdateAll(w SQLWriter) error
- type UserSubsets
- type UserTag
- func (m *UserTag) SQLArgs(opts core.Opts, create bool) []interface{}
- func (m *UserTag) SQLInsert(w SQLWriter) error
- func (m *UserTag) SQLScan(opts core.Opts, row *sql.Row) error
- func (m *UserTag) SQLScanArgs(opts core.Opts) []interface{}
- func (_ *UserTag) SQLSelect(w SQLWriter) error
- func (m *UserTag) SQLTableName() string
- func (m *UserTag) SQLUpdate(w SQLWriter) error
- func (m *UserTag) SQLUpdateAll(w SQLWriter) error
- type UserTags
- type UserUnion
- type UserUnionMore
- func (m *UserUnionMore) SQLJoin(w SQLWriter, types []sq.JOIN_TYPE) error
- func (m *UserUnionMore) SQLScan(opts core.Opts, row *sql.Row) error
- func (m *UserUnionMore) SQLScanArgs(opts core.Opts) []interface{}
- func (m *UserUnionMore) SQLSelect(w SQLWriter) error
- func (m *UserUnionMore) SQLTableName() string
- type UserUnionMores
- type UserUnions
- type Users
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliasFloat64 ¶
type AliasFloat64 float64
type AliasInt64 ¶
type AliasInt64 int64
type AliasPBool ¶
type AliasPBool *bool
type AliasPFloat64 ¶
type AliasPFloat64 *float64
type AliasPInt64 ¶
type AliasPInt64 *int64
type AliasPString ¶
type AliasPString *string
type AliasPTime ¶
type AliasString ¶
type AliasString string
type ComplexInfo ¶
type ComplexInfo struct { ID string Address Address PAddress *Address Metadata map[string]string Ints []int Int64s []int64 Strings []string Times []time.Time TimesP []*time.Time AliasString AliasString AliasInt64 AliasInt64 AliasInt AliasInt AliasBool AliasBool AliasFloat64 AliasFloat64 AliasPString AliasPString AliasPInt64 AliasPInt64 AliasPInt AliasPInt AliasPBool AliasPBool AliasPFloat64 AliasPFloat64 }
func (*ComplexInfo) SQLArgs ¶
func (m *ComplexInfo) SQLArgs(opts core.Opts, create bool) []interface{}
func (*ComplexInfo) SQLInsert ¶
func (m *ComplexInfo) SQLInsert(w SQLWriter) error
func (*ComplexInfo) SQLScanArgs ¶
func (m *ComplexInfo) SQLScanArgs(opts core.Opts) []interface{}
func (*ComplexInfo) SQLSelect ¶
func (_ *ComplexInfo) SQLSelect(w SQLWriter) error
func (*ComplexInfo) SQLTableName ¶
func (m *ComplexInfo) SQLTableName() string
func (*ComplexInfo) SQLUpdate ¶
func (m *ComplexInfo) SQLUpdate(w SQLWriter) error
func (*ComplexInfo) SQLUpdateAll ¶
func (m *ComplexInfo) SQLUpdateAll(w SQLWriter) error
type ComplexInfoes ¶
type ComplexInfoes []*ComplexInfo
func (ComplexInfoes) SQLInsert ¶
func (ms ComplexInfoes) SQLInsert(w SQLWriter) error
func (ComplexInfoes) SQLSelect ¶
func (_ ComplexInfoes) SQLSelect(w SQLWriter) error
func (ComplexInfoes) SQLTableName ¶
func (m ComplexInfoes) SQLTableName() string
type User ¶
type User struct { ID string Name string CreatedAt time.Time UpdatedAt *time.Time Bool bool Float64 float64 Int int Int64 int64 String string PBool *bool PFloat64 *float64 PInt *int PInt64 *int64 PString *string }
func (*User) SQLScanArgs ¶
func (*User) SQLTableName ¶
func (*User) SQLUpdateAll ¶
type UserInfo ¶
type UserInfo struct { UserID string Metadata string Bool bool Float64 float64 Int int Int64 int64 String string PBool *bool PFloat64 *float64 PInt *int PInt64 *int64 PString *string }
func (*UserInfo) SQLScanArgs ¶
func (*UserInfo) SQLTableName ¶
func (*UserInfo) SQLUpdateAll ¶
type UserInfoes ¶
type UserInfoes []*UserInfo
func (UserInfoes) SQLInsert ¶
func (ms UserInfoes) SQLInsert(w SQLWriter) error
func (UserInfoes) SQLSelect ¶
func (_ UserInfoes) SQLSelect(w SQLWriter) error
func (UserInfoes) SQLTableName ¶
func (m UserInfoes) SQLTableName() string
type UserInline ¶
func (*UserInline) SQLArgs ¶
func (m *UserInline) SQLArgs(opts core.Opts, create bool) []interface{}
func (*UserInline) SQLInsert ¶
func (m *UserInline) SQLInsert(w SQLWriter) error
func (*UserInline) SQLScanArgs ¶
func (m *UserInline) SQLScanArgs(opts core.Opts) []interface{}
func (*UserInline) SQLSelect ¶
func (_ *UserInline) SQLSelect(w SQLWriter) error
func (*UserInline) SQLTableName ¶
func (m *UserInline) SQLTableName() string
func (*UserInline) SQLUpdate ¶
func (m *UserInline) SQLUpdate(w SQLWriter) error
func (*UserInline) SQLUpdateAll ¶
func (m *UserInline) SQLUpdateAll(w SQLWriter) error
type UserInlines ¶
type UserInlines []*UserInline
func (UserInlines) SQLInsert ¶
func (ms UserInlines) SQLInsert(w SQLWriter) error
func (UserInlines) SQLSelect ¶
func (_ UserInlines) SQLSelect(w SQLWriter) error
func (UserInlines) SQLTableName ¶
func (m UserInlines) SQLTableName() string
type UserSubset ¶
type UserSubset struct { ID string Bool bool Float64 float64 Int int Int64 int64 String string PBool *bool PFloat64 *float64 PInt *int PInt64 *int64 PString *string }
func (*UserSubset) SQLArgs ¶
func (m *UserSubset) SQLArgs(opts core.Opts, create bool) []interface{}
func (*UserSubset) SQLInsert ¶
func (m *UserSubset) SQLInsert(w SQLWriter) error
func (*UserSubset) SQLScanArgs ¶
func (m *UserSubset) SQLScanArgs(opts core.Opts) []interface{}
func (*UserSubset) SQLSelect ¶
func (_ *UserSubset) SQLSelect(w SQLWriter) error
func (*UserSubset) SQLTableName ¶
func (m *UserSubset) SQLTableName() string
func (*UserSubset) SQLUpdate ¶
func (m *UserSubset) SQLUpdate(w SQLWriter) error
func (*UserSubset) SQLUpdateAll ¶
func (m *UserSubset) SQLUpdateAll(w SQLWriter) error
type UserSubsets ¶
type UserSubsets []*UserSubset
func (UserSubsets) SQLInsert ¶
func (ms UserSubsets) SQLInsert(w SQLWriter) error
func (UserSubsets) SQLSelect ¶
func (_ UserSubsets) SQLSelect(w SQLWriter) error
func (UserSubsets) SQLTableName ¶
func (m UserSubsets) SQLTableName() string
type UserTag ¶
type UserTag struct { Skip string `sq:"-" json:"skip"` Inline Address `sq:"inline" json:"address"` Rename string `sq:"'new_name'" json:"json_name"` }
func (*UserTag) SQLScanArgs ¶
func (*UserTag) SQLTableName ¶
func (*UserTag) SQLUpdateAll ¶
type UserUnionMore ¶
type UserUnionMore struct { User *User UserInfo *UserInfo UserSubset *UserSubset }
func (*UserUnionMore) SQLJoin ¶
func (m *UserUnionMore) SQLJoin(w SQLWriter, types []sq.JOIN_TYPE) error
func (*UserUnionMore) SQLScanArgs ¶
func (m *UserUnionMore) SQLScanArgs(opts core.Opts) []interface{}
func (*UserUnionMore) SQLSelect ¶
func (m *UserUnionMore) SQLSelect(w SQLWriter) error
func (*UserUnionMore) SQLTableName ¶
func (m *UserUnionMore) SQLTableName() string
type UserUnionMores ¶
type UserUnionMores []*UserUnionMore
func (UserUnionMores) SQLJoin ¶
func (m UserUnionMores) SQLJoin(w SQLWriter, types []sq.JOIN_TYPE) error
func (UserUnionMores) SQLSelect ¶
func (m UserUnionMores) SQLSelect(w SQLWriter) error
func (UserUnionMores) SQLTableName ¶
func (m UserUnionMores) SQLTableName() string
type UserUnions ¶
type UserUnions []*UserUnion
func (UserUnions) SQLSelect ¶
func (m UserUnions) SQLSelect(w SQLWriter) error
func (UserUnions) SQLTableName ¶
func (m UserUnions) SQLTableName() string
Click to show internal directories.
Click to hide internal directories.