Documentation ¶
Index ¶
- Constants
- Variables
- type CatalogProductIndexEAVDecimalIDX
- func (e *CatalogProductIndexEAVDecimalIDX) Copy() *CatalogProductIndexEAVDecimalIDX
- func (e *CatalogProductIndexEAVDecimalIDX) Delete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CatalogProductIndexEAVDecimalIDX) Empty() *CatalogProductIndexEAVDecimalIDX
- func (e *CatalogProductIndexEAVDecimalIDX) Insert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CatalogProductIndexEAVDecimalIDX) IsSet() bool
- func (e *CatalogProductIndexEAVDecimalIDX) Load(ctx context.Context, dbm *DBM, arg CatalogProductIndexEAVDecimalIDXLoadArgs, ...) (err error)
- func (e *CatalogProductIndexEAVDecimalIDX) MapColumns(cm *dml.ColumnMap) error
- func (e *CatalogProductIndexEAVDecimalIDX) Update(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CatalogProductIndexEAVDecimalIDX) Upsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CatalogProductIndexEAVDecimalIDX) Validate() error
- func (e *CatalogProductIndexEAVDecimalIDX) WriteTo(w io.Writer) (n int64, err error)
- type CatalogProductIndexEAVDecimalIDXLoadArgs
- type CatalogProductIndexEAVDecimalIDXes
- func (cc *CatalogProductIndexEAVDecimalIDXes) Append(n ...*CatalogProductIndexEAVDecimalIDX) *CatalogProductIndexEAVDecimalIDXes
- func (cc *CatalogProductIndexEAVDecimalIDXes) AttributeIDs(ret ...uint32) []uint32
- func (cc *CatalogProductIndexEAVDecimalIDXes) Clear() *CatalogProductIndexEAVDecimalIDXes
- func (cc *CatalogProductIndexEAVDecimalIDXes) Cut(i, j int) *CatalogProductIndexEAVDecimalIDXes
- func (cc *CatalogProductIndexEAVDecimalIDXes) DBDelete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (cc *CatalogProductIndexEAVDecimalIDXes) DBInsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *CatalogProductIndexEAVDecimalIDXes) DBLoad(ctx context.Context, dbm *DBM, ...) (err error)
- func (cc *CatalogProductIndexEAVDecimalIDXes) DBUpdate(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *CatalogProductIndexEAVDecimalIDXes) DBUpsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *CatalogProductIndexEAVDecimalIDXes) Delete(i int) *CatalogProductIndexEAVDecimalIDXes
- func (cc *CatalogProductIndexEAVDecimalIDXes) Each(f func(*CatalogProductIndexEAVDecimalIDX)) *CatalogProductIndexEAVDecimalIDXes
- func (cc *CatalogProductIndexEAVDecimalIDXes) EntityIDs(ret ...uint32) []uint32
- func (cc *CatalogProductIndexEAVDecimalIDXes) Filter(f func(*CatalogProductIndexEAVDecimalIDX) bool) *CatalogProductIndexEAVDecimalIDXes
- func (cc *CatalogProductIndexEAVDecimalIDXes) Insert(n *CatalogProductIndexEAVDecimalIDX, i int) *CatalogProductIndexEAVDecimalIDXes
- func (cc *CatalogProductIndexEAVDecimalIDXes) Len() int
- func (cc *CatalogProductIndexEAVDecimalIDXes) MapColumns(cm *dml.ColumnMap) error
- func (cc *CatalogProductIndexEAVDecimalIDXes) SourceIDs(ret ...uint32) []uint32
- func (cc *CatalogProductIndexEAVDecimalIDXes) StoreIDs(ret ...uint32) []uint32
- func (cc *CatalogProductIndexEAVDecimalIDXes) Swap(i, j int)
- func (cc *CatalogProductIndexEAVDecimalIDXes) Validate() (err error)
- func (cc *CatalogProductIndexEAVDecimalIDXes) WriteTo(w io.Writer) (n int64, err error)
- type CatalogProductIndexEAVDecimalIDXesDBLoadArgs
- type CoreConfiguration
- func (e *CoreConfiguration) AssignLastInsertID(id int64)
- func (e *CoreConfiguration) Copy() *CoreConfiguration
- func (e *CoreConfiguration) Delete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CoreConfiguration) Empty() *CoreConfiguration
- func (e *CoreConfiguration) Insert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CoreConfiguration) IsSet() bool
- func (e *CoreConfiguration) Load(ctx context.Context, dbm *DBM, primaryKey uint32, opts ...dml.DBRFunc) (err error)
- func (e *CoreConfiguration) MapColumns(cm *dml.ColumnMap) error
- func (v CoreConfiguration) MarshalEasyJSON(w *jwriter.Writer)
- func (v CoreConfiguration) MarshalJSON() ([]byte, error)
- func (v *CoreConfiguration) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *CoreConfiguration) UnmarshalJSON(data []byte) error
- func (e *CoreConfiguration) Update(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CoreConfiguration) Upsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CoreConfiguration) Validate() error
- func (e *CoreConfiguration) WriteTo(w io.Writer) (n int64, err error)
- type CoreConfigurations
- func (cc *CoreConfigurations) Append(n ...*CoreConfiguration) *CoreConfigurations
- func (cc *CoreConfigurations) AssignLastInsertID(id int64)
- func (cc *CoreConfigurations) Clear() *CoreConfigurations
- func (cc *CoreConfigurations) ConfigIDs(ret ...uint32) []uint32
- func (cc *CoreConfigurations) Cut(i, j int) *CoreConfigurations
- func (cc *CoreConfigurations) DBDelete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (cc *CoreConfigurations) DBInsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *CoreConfigurations) DBLoad(ctx context.Context, dbm *DBM, pkIDs []uint32, opts ...dml.DBRFunc) (err error)
- func (cc *CoreConfigurations) DBUpdate(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *CoreConfigurations) DBUpsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *CoreConfigurations) Delete(i int) *CoreConfigurations
- func (cc *CoreConfigurations) Each(f func(*CoreConfiguration)) *CoreConfigurations
- func (cc *CoreConfigurations) Filter(f func(*CoreConfiguration) bool) *CoreConfigurations
- func (cc *CoreConfigurations) Insert(n *CoreConfiguration, i int) *CoreConfigurations
- func (cc *CoreConfigurations) Len() int
- func (cc *CoreConfigurations) MapColumns(cm *dml.ColumnMap) error
- func (v CoreConfigurations) MarshalEasyJSON(w *jwriter.Writer)
- func (v CoreConfigurations) MarshalJSON() ([]byte, error)
- func (cc *CoreConfigurations) Swap(i, j int)
- func (cc *CoreConfigurations) UniquePaths(ret ...string) []string
- func (v *CoreConfigurations) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *CoreConfigurations) UnmarshalJSON(data []byte) error
- func (cc *CoreConfigurations) Validate() (err error)
- func (cc *CoreConfigurations) WriteTo(w io.Writer) (n int64, err error)
- type CustomerAddressEntities
- func (cc *CustomerAddressEntities) Append(n ...*CustomerAddressEntity) *CustomerAddressEntities
- func (cc *CustomerAddressEntities) AssignLastInsertID(id int64)
- func (cc *CustomerAddressEntities) Clear() *CustomerAddressEntities
- func (cc *CustomerAddressEntities) Cut(i, j int) *CustomerAddressEntities
- func (cc *CustomerAddressEntities) DBDelete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (cc *CustomerAddressEntities) DBInsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *CustomerAddressEntities) DBLoad(ctx context.Context, dbm *DBM, pkIDs []uint32, opts ...dml.DBRFunc) (err error)
- func (cc *CustomerAddressEntities) DBUpdate(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *CustomerAddressEntities) DBUpsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *CustomerAddressEntities) Delete(i int) *CustomerAddressEntities
- func (cc *CustomerAddressEntities) Each(f func(*CustomerAddressEntity)) *CustomerAddressEntities
- func (cc *CustomerAddressEntities) EntityIDs(ret ...uint32) []uint32
- func (cc *CustomerAddressEntities) Filter(f func(*CustomerAddressEntity) bool) *CustomerAddressEntities
- func (cc *CustomerAddressEntities) Insert(n *CustomerAddressEntity, i int) *CustomerAddressEntities
- func (cc *CustomerAddressEntities) Len() int
- func (cc *CustomerAddressEntities) MapColumns(cm *dml.ColumnMap) error
- func (v CustomerAddressEntities) MarshalEasyJSON(w *jwriter.Writer)
- func (v CustomerAddressEntities) MarshalJSON() ([]byte, error)
- func (cc *CustomerAddressEntities) Swap(i, j int)
- func (v *CustomerAddressEntities) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *CustomerAddressEntities) UnmarshalJSON(data []byte) error
- func (cc *CustomerAddressEntities) Validate() (err error)
- func (cc *CustomerAddressEntities) WriteTo(w io.Writer) (n int64, err error)
- type CustomerAddressEntity
- func (e *CustomerAddressEntity) AssignLastInsertID(id int64)
- func (e *CustomerAddressEntity) Copy() *CustomerAddressEntity
- func (e *CustomerAddressEntity) Delete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CustomerAddressEntity) Empty() *CustomerAddressEntity
- func (e *CustomerAddressEntity) Insert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CustomerAddressEntity) IsSet() bool
- func (e *CustomerAddressEntity) Load(ctx context.Context, dbm *DBM, primaryKey uint32, opts ...dml.DBRFunc) (err error)
- func (e *CustomerAddressEntity) MapColumns(cm *dml.ColumnMap) error
- func (v CustomerAddressEntity) MarshalEasyJSON(w *jwriter.Writer)
- func (v CustomerAddressEntity) MarshalJSON() ([]byte, error)
- func (v *CustomerAddressEntity) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *CustomerAddressEntity) UnmarshalJSON(data []byte) error
- func (e *CustomerAddressEntity) Update(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CustomerAddressEntity) Upsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CustomerAddressEntity) Validate() error
- func (e *CustomerAddressEntity) WriteTo(w io.Writer) (n int64, err error)
- type CustomerEntities
- func (cc *CustomerEntities) Append(n ...*CustomerEntity) *CustomerEntities
- func (cc *CustomerEntities) AssignLastInsertID(id int64)
- func (cc *CustomerEntities) Clear() *CustomerEntities
- func (cc *CustomerEntities) Cut(i, j int) *CustomerEntities
- func (cc *CustomerEntities) DBDelete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (cc *CustomerEntities) DBInsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *CustomerEntities) DBLoad(ctx context.Context, dbm *DBM, pkIDs []uint32, opts ...dml.DBRFunc) (err error)
- func (cc *CustomerEntities) DBUpdate(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *CustomerEntities) DBUpsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *CustomerEntities) Delete(i int) *CustomerEntities
- func (cc *CustomerEntities) Each(f func(*CustomerEntity)) *CustomerEntities
- func (cc *CustomerEntities) EntityIDs(ret ...uint32) []uint32
- func (cc *CustomerEntities) Filter(f func(*CustomerEntity) bool) *CustomerEntities
- func (cc *CustomerEntities) Insert(n *CustomerEntity, i int) *CustomerEntities
- func (cc *CustomerEntities) Len() int
- func (cc *CustomerEntities) MapColumns(cm *dml.ColumnMap) error
- func (v CustomerEntities) MarshalEasyJSON(w *jwriter.Writer)
- func (v CustomerEntities) MarshalJSON() ([]byte, error)
- func (cc *CustomerEntities) Swap(i, j int)
- func (v *CustomerEntities) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *CustomerEntities) UnmarshalJSON(data []byte) error
- func (cc *CustomerEntities) Validate() (err error)
- func (cc *CustomerEntities) WriteTo(w io.Writer) (n int64, err error)
- type CustomerEntity
- func (e *CustomerEntity) AssignLastInsertID(id int64)
- func (e *CustomerEntity) Copy() *CustomerEntity
- func (e *CustomerEntity) Delete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CustomerEntity) Empty() *CustomerEntity
- func (e *CustomerEntity) GetPasswordHash() null.String
- func (e *CustomerEntity) Insert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CustomerEntity) IsSet() bool
- func (e *CustomerEntity) Load(ctx context.Context, dbm *DBM, primaryKey uint32, opts ...dml.DBRFunc) (err error)
- func (e *CustomerEntity) MapColumns(cm *dml.ColumnMap) error
- func (v CustomerEntity) MarshalEasyJSON(w *jwriter.Writer)
- func (v CustomerEntity) MarshalJSON() ([]byte, error)
- func (e *CustomerEntity) NewRelations() *customerEntityRelations
- func (e *CustomerEntity) SetPasswordHash(d null.String) *CustomerEntity
- func (v *CustomerEntity) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *CustomerEntity) UnmarshalJSON(data []byte) error
- func (e *CustomerEntity) Update(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CustomerEntity) Upsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *CustomerEntity) Validate() error
- func (e *CustomerEntity) WriteTo(w io.Writer) (n int64, err error)
- type DBM
- type DBMOption
- func (o *DBMOption) AddEventCatalogProductIndexEAVDecimalIDX(event dml.EventFlag, fn EventCatalogProductIndexEAVDecimalIDXFn) *DBMOption
- func (o *DBMOption) AddEventCoreConfiguration(event dml.EventFlag, fn EventCoreConfigurationFn) *DBMOption
- func (o *DBMOption) AddEventCustomerAddressEntity(event dml.EventFlag, fn EventCustomerAddressEntityFn) *DBMOption
- func (o *DBMOption) AddEventCustomerEntity(event dml.EventFlag, fn EventCustomerEntityFn) *DBMOption
- func (o *DBMOption) AddEventDmlgenTypes(event dml.EventFlag, fn EventDmlgenTypesFn) *DBMOption
- func (o *DBMOption) AddEventSalesOrderStatusState(event dml.EventFlag, fn EventSalesOrderStatusStateFn) *DBMOption
- func (o *DBMOption) AddEventViewCustomerAutoIncrement(event dml.EventFlag, fn EventViewCustomerAutoIncrementFn) *DBMOption
- func (o *DBMOption) AddEventViewCustomerNoAutoIncrement(event dml.EventFlag, fn EventViewCustomerNoAutoIncrementFn) *DBMOption
- type DmlgenTypes
- func (e *DmlgenTypes) AssignLastInsertID(id int64)
- func (e *DmlgenTypes) Copy() *DmlgenTypes
- func (e *DmlgenTypes) Delete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *DmlgenTypes) Empty() *DmlgenTypes
- func (e *DmlgenTypes) Insert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *DmlgenTypes) IsSet() bool
- func (e *DmlgenTypes) Load(ctx context.Context, dbm *DBM, primaryKey int32, opts ...dml.DBRFunc) (err error)
- func (e *DmlgenTypes) MapColumns(cm *dml.ColumnMap) error
- func (v DmlgenTypes) MarshalEasyJSON(w *jwriter.Writer)
- func (v DmlgenTypes) MarshalJSON() ([]byte, error)
- func (v *DmlgenTypes) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *DmlgenTypes) UnmarshalJSON(data []byte) error
- func (e *DmlgenTypes) Update(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *DmlgenTypes) Upsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *DmlgenTypes) Validate() error
- func (e *DmlgenTypes) WriteTo(w io.Writer) (n int64, err error)
- type DmlgenTypesCollection
- func (cc *DmlgenTypesCollection) Append(n ...*DmlgenTypes) *DmlgenTypesCollection
- func (cc *DmlgenTypesCollection) AssignLastInsertID(id int64)
- func (cc *DmlgenTypesCollection) Clear() *DmlgenTypesCollection
- func (cc *DmlgenTypesCollection) Cut(i, j int) *DmlgenTypesCollection
- func (cc *DmlgenTypesCollection) DBDelete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (cc *DmlgenTypesCollection) DBInsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *DmlgenTypesCollection) DBLoad(ctx context.Context, dbm *DBM, pkIDs []int32, opts ...dml.DBRFunc) (err error)
- func (cc *DmlgenTypesCollection) DBUpdate(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *DmlgenTypesCollection) DBUpsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *DmlgenTypesCollection) Delete(i int) *DmlgenTypesCollection
- func (cc *DmlgenTypesCollection) Each(f func(*DmlgenTypes)) *DmlgenTypesCollection
- func (cc *DmlgenTypesCollection) Filter(f func(*DmlgenTypes) bool) *DmlgenTypesCollection
- func (cc *DmlgenTypesCollection) IDs(ret ...int32) []int32
- func (cc *DmlgenTypesCollection) Insert(n *DmlgenTypes, i int) *DmlgenTypesCollection
- func (cc *DmlgenTypesCollection) Len() int
- func (cc *DmlgenTypesCollection) MapColumns(cm *dml.ColumnMap) error
- func (v DmlgenTypesCollection) MarshalEasyJSON(w *jwriter.Writer)
- func (v DmlgenTypesCollection) MarshalJSON() ([]byte, error)
- func (cc *DmlgenTypesCollection) Swap(i, j int)
- func (cc *DmlgenTypesCollection) UniqueColDate2s(ret ...time.Time) []time.Time
- func (cc *DmlgenTypesCollection) UniqueColInt1s(ret ...int32) []int32
- func (cc *DmlgenTypesCollection) UniqueColInt2s(ret ...int32) []int32
- func (cc *DmlgenTypesCollection) UniqueColVarchar100s(ret ...string) []string
- func (cc *DmlgenTypesCollection) UniqueHasSmallint5s(ret ...bool) []bool
- func (cc *DmlgenTypesCollection) UniquePriceA124s(ret ...null.Decimal) []null.Decimal
- func (v *DmlgenTypesCollection) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *DmlgenTypesCollection) UnmarshalJSON(data []byte) error
- func (cc *DmlgenTypesCollection) Validate() (err error)
- func (cc *DmlgenTypesCollection) WriteTo(w io.Writer) (n int64, err error)
- type EventCatalogProductIndexEAVDecimalIDXFn
- type EventCoreConfigurationFn
- type EventCustomerAddressEntityFn
- type EventCustomerEntityFn
- type EventDmlgenTypesFn
- type EventSalesOrderStatusStateFn
- type EventViewCustomerAutoIncrementFn
- type EventViewCustomerNoAutoIncrementFn
- type SalesOrderStatusState
- func (e *SalesOrderStatusState) Copy() *SalesOrderStatusState
- func (e *SalesOrderStatusState) Delete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *SalesOrderStatusState) Empty() *SalesOrderStatusState
- func (e *SalesOrderStatusState) Insert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *SalesOrderStatusState) IsSet() bool
- func (e *SalesOrderStatusState) Load(ctx context.Context, dbm *DBM, arg SalesOrderStatusStateLoadArgs, ...) (err error)
- func (e *SalesOrderStatusState) MapColumns(cm *dml.ColumnMap) error
- func (v SalesOrderStatusState) MarshalEasyJSON(w *jwriter.Writer)
- func (v SalesOrderStatusState) MarshalJSON() ([]byte, error)
- func (v *SalesOrderStatusState) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SalesOrderStatusState) UnmarshalJSON(data []byte) error
- func (e *SalesOrderStatusState) Update(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *SalesOrderStatusState) Upsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (e *SalesOrderStatusState) Validate() error
- func (e *SalesOrderStatusState) WriteTo(w io.Writer) (n int64, err error)
- type SalesOrderStatusStateLoadArgs
- type SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Append(n ...*SalesOrderStatusState) *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Clear() *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Cut(i, j int) *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) DBDelete(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (res sql.Result, err error)
- func (cc *SalesOrderStatusStates) DBInsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *SalesOrderStatusStates) DBLoad(ctx context.Context, dbm *DBM, pkIDs []SalesOrderStatusStatesDBLoadArgs, ...) (err error)
- func (cc *SalesOrderStatusStates) DBUpdate(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *SalesOrderStatusStates) DBUpsert(ctx context.Context, dbm *DBM, opts ...dml.DBRFunc) (err error)
- func (cc *SalesOrderStatusStates) Delete(i int) *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Each(f func(*SalesOrderStatusState)) *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Filter(f func(*SalesOrderStatusState) bool) *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Insert(n *SalesOrderStatusState, i int) *SalesOrderStatusStates
- func (cc *SalesOrderStatusStates) Len() int
- func (cc *SalesOrderStatusStates) MapColumns(cm *dml.ColumnMap) error
- func (v SalesOrderStatusStates) MarshalEasyJSON(w *jwriter.Writer)
- func (v SalesOrderStatusStates) MarshalJSON() ([]byte, error)
- func (cc *SalesOrderStatusStates) States(ret ...string) []string
- func (cc *SalesOrderStatusStates) Statuss(ret ...string) []string
- func (cc *SalesOrderStatusStates) Swap(i, j int)
- func (v *SalesOrderStatusStates) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SalesOrderStatusStates) UnmarshalJSON(data []byte) error
- func (cc *SalesOrderStatusStates) Validate() (err error)
- func (cc *SalesOrderStatusStates) WriteTo(w io.Writer) (n int64, err error)
- type SalesOrderStatusStatesDBLoadArgs
- type ViewCustomerAutoIncrement
- func (e *ViewCustomerAutoIncrement) Copy() *ViewCustomerAutoIncrement
- func (e *ViewCustomerAutoIncrement) Empty() *ViewCustomerAutoIncrement
- func (e *ViewCustomerAutoIncrement) IsSet() bool
- func (e *ViewCustomerAutoIncrement) Load(ctx context.Context, dbm *DBM, primaryKey uint32, opts ...dml.DBRFunc) (err error)
- func (e *ViewCustomerAutoIncrement) MapColumns(cm *dml.ColumnMap) error
- func (v ViewCustomerAutoIncrement) MarshalEasyJSON(w *jwriter.Writer)
- func (v ViewCustomerAutoIncrement) MarshalJSON() ([]byte, error)
- func (v *ViewCustomerAutoIncrement) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *ViewCustomerAutoIncrement) UnmarshalJSON(data []byte) error
- func (e *ViewCustomerAutoIncrement) Validate() error
- func (e *ViewCustomerAutoIncrement) WriteTo(w io.Writer) (n int64, err error)
- type ViewCustomerAutoIncrements
- func (cc *ViewCustomerAutoIncrements) Append(n ...*ViewCustomerAutoIncrement) *ViewCustomerAutoIncrements
- func (cc *ViewCustomerAutoIncrements) Clear() *ViewCustomerAutoIncrements
- func (cc *ViewCustomerAutoIncrements) Cut(i, j int) *ViewCustomerAutoIncrements
- func (cc *ViewCustomerAutoIncrements) DBLoad(ctx context.Context, dbm *DBM, pkIDs []uint32, opts ...dml.DBRFunc) (err error)
- func (cc *ViewCustomerAutoIncrements) Delete(i int) *ViewCustomerAutoIncrements
- func (cc *ViewCustomerAutoIncrements) Each(f func(*ViewCustomerAutoIncrement)) *ViewCustomerAutoIncrements
- func (cc *ViewCustomerAutoIncrements) Filter(f func(*ViewCustomerAutoIncrement) bool) *ViewCustomerAutoIncrements
- func (cc *ViewCustomerAutoIncrements) Insert(n *ViewCustomerAutoIncrement, i int) *ViewCustomerAutoIncrements
- func (cc *ViewCustomerAutoIncrements) Len() int
- func (cc *ViewCustomerAutoIncrements) MapColumns(cm *dml.ColumnMap) error
- func (v ViewCustomerAutoIncrements) MarshalEasyJSON(w *jwriter.Writer)
- func (v ViewCustomerAutoIncrements) MarshalJSON() ([]byte, error)
- func (cc *ViewCustomerAutoIncrements) Swap(i, j int)
- func (v *ViewCustomerAutoIncrements) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *ViewCustomerAutoIncrements) UnmarshalJSON(data []byte) error
- func (cc *ViewCustomerAutoIncrements) Validate() (err error)
- func (cc *ViewCustomerAutoIncrements) WriteTo(w io.Writer) (n int64, err error)
- type ViewCustomerNoAutoIncrement
- func (e *ViewCustomerNoAutoIncrement) Copy() *ViewCustomerNoAutoIncrement
- func (e *ViewCustomerNoAutoIncrement) Empty() *ViewCustomerNoAutoIncrement
- func (e *ViewCustomerNoAutoIncrement) MapColumns(cm *dml.ColumnMap) error
- func (v ViewCustomerNoAutoIncrement) MarshalEasyJSON(w *jwriter.Writer)
- func (v ViewCustomerNoAutoIncrement) MarshalJSON() ([]byte, error)
- func (v *ViewCustomerNoAutoIncrement) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *ViewCustomerNoAutoIncrement) UnmarshalJSON(data []byte) error
- func (e *ViewCustomerNoAutoIncrement) Validate() error
- func (e *ViewCustomerNoAutoIncrement) WriteTo(w io.Writer) (n int64, err error)
- type ViewCustomerNoAutoIncrements
- func (cc *ViewCustomerNoAutoIncrements) Append(n ...*ViewCustomerNoAutoIncrement) *ViewCustomerNoAutoIncrements
- func (cc *ViewCustomerNoAutoIncrements) Clear() *ViewCustomerNoAutoIncrements
- func (cc *ViewCustomerNoAutoIncrements) Cut(i, j int) *ViewCustomerNoAutoIncrements
- func (cc *ViewCustomerNoAutoIncrements) Delete(i int) *ViewCustomerNoAutoIncrements
- func (cc *ViewCustomerNoAutoIncrements) Each(f func(*ViewCustomerNoAutoIncrement)) *ViewCustomerNoAutoIncrements
- func (cc *ViewCustomerNoAutoIncrements) Filter(f func(*ViewCustomerNoAutoIncrement) bool) *ViewCustomerNoAutoIncrements
- func (cc *ViewCustomerNoAutoIncrements) Insert(n *ViewCustomerNoAutoIncrement, i int) *ViewCustomerNoAutoIncrements
- func (cc *ViewCustomerNoAutoIncrements) Len() int
- func (cc *ViewCustomerNoAutoIncrements) MapColumns(cm *dml.ColumnMap) error
- func (v ViewCustomerNoAutoIncrements) MarshalEasyJSON(w *jwriter.Writer)
- func (v ViewCustomerNoAutoIncrements) MarshalJSON() ([]byte, error)
- func (cc *ViewCustomerNoAutoIncrements) Swap(i, j int)
- func (v *ViewCustomerNoAutoIncrements) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *ViewCustomerNoAutoIncrements) UnmarshalJSON(data []byte) error
- func (cc *ViewCustomerNoAutoIncrements) Validate() (err error)
- func (cc *ViewCustomerNoAutoIncrements) WriteTo(w io.Writer) (n int64, err error)
Constants ¶
const ( TableNameCatalogProductIndexEAVDecimalIDX = "catalog_product_index_eav_decimal_idx" TableNameCoreConfiguration = "core_configuration" TableNameCustomerAddressEntity = "customer_address_entity" TableNameCustomerEntity = "customer_entity" TableNameDmlgenTypes = "dmlgen_types" TableNameSalesOrderStatusState = "sales_order_status_state" TableNameViewCustomerAutoIncrement = "view_customer_auto_increment" TableNameViewCustomerNoAutoIncrement = "view_customer_no_auto_increment" )
TableName constants define the names of all tables.
Variables ¶
var Columns = struct { CatalogProductIndexEAVDecimalIDX struct { EntityID string AttributeID string StoreID string SourceID string Value string } CoreConfiguration struct { ConfigID string Scope string ScopeID string Expires string Path string Value string VersionTs string VersionTe string } CustomerAddressEntity struct { EntityID string IncrementID string ParentID string CreatedAt string UpdatedAt string IsActive string City string Company string CountryID string Firstname string Lastname string Postcode string Region string Street string } CustomerEntity struct { EntityID string WebsiteID string Email string GroupID string StoreID string CreatedAt string UpdatedAt string IsActive string CreatedIn string Firstname string Lastname string Dob string PasswordHash string RpToken string RpTokenCreatedAt string DefaultBilling string DefaultShipping string Gender string } DmlgenTypes struct { ID string ColBigint1 string ColBigint2 string ColBigint3 string ColBigint4 string ColBlob string ColDate1 string ColDate2 string ColDatetime1 string ColDatetime2 string ColDecimal101 string ColDecimal124 string PriceA124 string PriceB124 string ColDecimal123 string ColDecimal206 string ColDecimal2412 string ColInt1 string ColInt2 string ColInt3 string ColInt4 string ColLongtext1 string ColLongtext2 string ColMediumblob string ColMediumtext1 string ColMediumtext2 string ColSmallint1 string ColSmallint2 string ColSmallint3 string ColSmallint4 string HasSmallint5 string IsSmallint5 string ColText string ColTimestamp1 string ColTimestamp2 string ColTinyint1 string ColVarchar1 string ColVarchar100 string ColVarchar16 string ColChar1 string ColChar2 string } SalesOrderStatusState struct { Status string State string IsDefault string VisibleOnFront string } ViewCustomerAutoIncrement struct { CeEntityID string Email string Firstname string Lastname string City string } ViewCustomerNoAutoIncrement struct { Email string Firstname string Lastname string City string } }{ CatalogProductIndexEAVDecimalIDX: struct { EntityID string AttributeID string StoreID string SourceID string Value string }{ EntityID: "entity_id", AttributeID: "attribute_id", StoreID: "store_id", SourceID: "source_id", Value: "value", }, CoreConfiguration: struct { ConfigID string Scope string ScopeID string Expires string Path string Value string VersionTs string VersionTe string }{ ConfigID: "config_id", Scope: "scope", ScopeID: "scope_id", Expires: "expires", Path: "path", Value: "value", VersionTs: "version_ts", VersionTe: "version_te", }, CustomerAddressEntity: struct { EntityID string IncrementID string ParentID string CreatedAt string UpdatedAt string IsActive string City string Company string CountryID string Firstname string Lastname string Postcode string Region string Street string }{ EntityID: "entity_id", IncrementID: "increment_id", ParentID: "parent_id", CreatedAt: "created_at", UpdatedAt: "updated_at", IsActive: "is_active", City: "city", Company: "company", CountryID: "country_id", Firstname: "firstname", Lastname: "lastname", Postcode: "postcode", Region: "region", Street: "street", }, CustomerEntity: struct { EntityID string WebsiteID string Email string GroupID string StoreID string CreatedAt string UpdatedAt string IsActive string CreatedIn string Firstname string Lastname string Dob string PasswordHash string RpToken string RpTokenCreatedAt string DefaultBilling string DefaultShipping string Gender string }{ EntityID: "entity_id", WebsiteID: "website_id", Email: "email", GroupID: "group_id", StoreID: "store_id", CreatedAt: "created_at", UpdatedAt: "updated_at", IsActive: "is_active", CreatedIn: "created_in", Firstname: "firstname", Lastname: "lastname", Dob: "dob", PasswordHash: "password_hash", RpToken: "rp_token", RpTokenCreatedAt: "rp_token_created_at", DefaultBilling: "default_billing", DefaultShipping: "default_shipping", Gender: "gender", }, DmlgenTypes: struct { ID string ColBigint1 string ColBigint2 string ColBigint3 string ColBigint4 string ColBlob string ColDate1 string ColDate2 string ColDatetime1 string ColDatetime2 string ColDecimal101 string ColDecimal124 string PriceA124 string PriceB124 string ColDecimal123 string ColDecimal206 string ColDecimal2412 string ColInt1 string ColInt2 string ColInt3 string ColInt4 string ColLongtext1 string ColLongtext2 string ColMediumblob string ColMediumtext1 string ColMediumtext2 string ColSmallint1 string ColSmallint2 string ColSmallint3 string ColSmallint4 string HasSmallint5 string IsSmallint5 string ColText string ColTimestamp1 string ColTimestamp2 string ColTinyint1 string ColVarchar1 string ColVarchar100 string ColVarchar16 string ColChar1 string ColChar2 string }{ ID: "id", ColBigint1: "col_bigint_1", ColBigint2: "col_bigint_2", ColBigint3: "col_bigint_3", ColBigint4: "col_bigint_4", ColBlob: "col_blob", ColDate1: "col_date_1", ColDate2: "col_date_2", ColDatetime1: "col_datetime_1", ColDatetime2: "col_datetime_2", ColDecimal101: "col_decimal_10_1", ColDecimal124: "col_decimal_12_4", PriceA124: "price_a_12_4", PriceB124: "price_b_12_4", ColDecimal123: "col_decimal_12_3", ColDecimal206: "col_decimal_20_6", ColDecimal2412: "col_decimal_24_12", ColInt1: "col_int_1", ColInt2: "col_int_2", ColInt3: "col_int_3", ColInt4: "col_int_4", ColLongtext1: "col_longtext_1", ColLongtext2: "col_longtext_2", ColMediumblob: "col_mediumblob", ColMediumtext1: "col_mediumtext_1", ColMediumtext2: "col_mediumtext_2", ColSmallint1: "col_smallint_1", ColSmallint2: "col_smallint_2", ColSmallint3: "col_smallint_3", ColSmallint4: "col_smallint_4", HasSmallint5: "has_smallint_5", IsSmallint5: "is_smallint_5", ColText: "col_text", ColTimestamp1: "col_timestamp_1", ColTimestamp2: "col_timestamp_2", ColTinyint1: "col_tinyint_1", ColVarchar1: "col_varchar_1", ColVarchar100: "col_varchar_100", ColVarchar16: "col_varchar_16", ColChar1: "col_char_1", ColChar2: "col_char_2", }, SalesOrderStatusState: struct { Status string State string IsDefault string VisibleOnFront string }{ Status: "status", State: "state", IsDefault: "is_default", VisibleOnFront: "visible_on_front", }, ViewCustomerAutoIncrement: struct { CeEntityID string Email string Firstname string Lastname string City string }{ CeEntityID: "ce_entity_id", Email: "email", Firstname: "firstname", Lastname: "lastname", City: "city", }, ViewCustomerNoAutoIncrement: struct { Email string Firstname string Lastname string City string }{ Email: "email", Firstname: "firstname", Lastname: "lastname", City: "city", }, }
Columns struct provides for all tables the name of the columns. Allows type safety.
Functions ¶
This section is empty.
Types ¶
type CatalogProductIndexEAVDecimalIDX ¶
type CatalogProductIndexEAVDecimalIDX struct { EntityID uint32 // entity_id int(10) unsigned NOT NULL PRI "Entity ID" AttributeID uint32 // attribute_id smallint(5) unsigned NOT NULL PRI "Attribute ID" StoreID uint32 // store_id smallint(5) unsigned NOT NULL PRI "Store ID" SourceID uint32 // source_id int(10) unsigned NOT NULL PRI DEFAULT '0' "Original entity Id for attribute value" Value null.Decimal // value decimal(12,4) NOT NULL MUL "Value" }
CatalogProductIndexEAVDecimalIDX represents a single row for DB table catalog_product_index_eav_decimal_idx. Auto generated. Table comment: Catalog Product EAV Decimal Indexer Index Table
func (*CatalogProductIndexEAVDecimalIDX) Copy ¶
func (e *CatalogProductIndexEAVDecimalIDX) Copy() *CatalogProductIndexEAVDecimalIDX
Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards
func (*CatalogProductIndexEAVDecimalIDX) Empty ¶
func (e *CatalogProductIndexEAVDecimalIDX) Empty() *CatalogProductIndexEAVDecimalIDX
Empty empties all the fields of the current object. Also known as Reset.
func (*CatalogProductIndexEAVDecimalIDX) IsSet ¶
func (e *CatalogProductIndexEAVDecimalIDX) IsSet() bool
IsSet returns true if the entity has non-empty primary keys.
func (*CatalogProductIndexEAVDecimalIDX) Load ¶
func (e *CatalogProductIndexEAVDecimalIDX) Load(ctx context.Context, dbm *DBM, arg CatalogProductIndexEAVDecimalIDXLoadArgs, opts ...dml.DBRFunc) (err error)
func (*CatalogProductIndexEAVDecimalIDX) MapColumns ¶
func (e *CatalogProductIndexEAVDecimalIDX) MapColumns(cm *dml.ColumnMap) error
MapColumns implements interface ColumnMapper only partially. Auto generated.
func (*CatalogProductIndexEAVDecimalIDX) Validate ¶
func (e *CatalogProductIndexEAVDecimalIDX) Validate() error
Validate runs internal consistency tests.
type CatalogProductIndexEAVDecimalIDXes ¶
type CatalogProductIndexEAVDecimalIDXes struct {
Data []*CatalogProductIndexEAVDecimalIDX `json:"data,omitempty"`
}
CatalogProductIndexEAVDecimalIDXes represents a collection type for DB table catalog_product_index_eav_decimal_idx Not thread safe. Auto generated.
func NewCatalogProductIndexEAVDecimalIDXes ¶
func NewCatalogProductIndexEAVDecimalIDXes() *CatalogProductIndexEAVDecimalIDXes
NewCatalogProductIndexEAVDecimalIDXes creates a new initialized collection. Auto generated.
func (*CatalogProductIndexEAVDecimalIDXes) Append ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) Append(n ...*CatalogProductIndexEAVDecimalIDX) *CatalogProductIndexEAVDecimalIDXes
Append will add a new item at the end of * CatalogProductIndexEAVDecimalIDXes . Auto generated via dmlgen.
func (*CatalogProductIndexEAVDecimalIDXes) AttributeIDs ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) AttributeIDs(ret ...uint32) []uint32
AttributeIDs returns a slice with the data or appends it to a slice. Auto generated.
func (*CatalogProductIndexEAVDecimalIDXes) Clear ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) Clear() *CatalogProductIndexEAVDecimalIDXes
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
func (*CatalogProductIndexEAVDecimalIDXes) Cut ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) Cut(i, j int) *CatalogProductIndexEAVDecimalIDXes
Cut will remove items i through j-1. Auto generated via dmlgen.
func (*CatalogProductIndexEAVDecimalIDXes) DBLoad ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) DBLoad(ctx context.Context, dbm *DBM, pkIDs []CatalogProductIndexEAVDecimalIDXesDBLoadArgs, opts ...dml.DBRFunc) (err error)
func (*CatalogProductIndexEAVDecimalIDXes) Delete ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) Delete(i int) *CatalogProductIndexEAVDecimalIDXes
Delete will remove an item from the slice. Auto generated via dmlgen.
func (*CatalogProductIndexEAVDecimalIDXes) Each ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) Each(f func(*CatalogProductIndexEAVDecimalIDX)) *CatalogProductIndexEAVDecimalIDXes
Each will run function f on all items in []* CatalogProductIndexEAVDecimalIDX . Auto generated via dmlgen.
func (*CatalogProductIndexEAVDecimalIDXes) EntityIDs ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) EntityIDs(ret ...uint32) []uint32
EntityIDs returns a slice with the data or appends it to a slice. Auto generated.
func (*CatalogProductIndexEAVDecimalIDXes) Filter ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) Filter(f func(*CatalogProductIndexEAVDecimalIDX) bool) *CatalogProductIndexEAVDecimalIDXes
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
func (*CatalogProductIndexEAVDecimalIDXes) Insert ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) Insert(n *CatalogProductIndexEAVDecimalIDX, i int) *CatalogProductIndexEAVDecimalIDXes
Insert will place a new item at position i. Auto generated via dmlgen.
func (*CatalogProductIndexEAVDecimalIDXes) Len ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) Len() int
Len will satisfy the sort.Interface. Auto generated via dmlgen.
func (*CatalogProductIndexEAVDecimalIDXes) MapColumns ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) MapColumns(cm *dml.ColumnMap) error
MapColumns implements dml.ColumnMapper interface. Auto generated.
func (*CatalogProductIndexEAVDecimalIDXes) SourceIDs ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) SourceIDs(ret ...uint32) []uint32
SourceIDs returns a slice with the data or appends it to a slice. Auto generated.
func (*CatalogProductIndexEAVDecimalIDXes) StoreIDs ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) StoreIDs(ret ...uint32) []uint32
StoreIDs returns a slice with the data or appends it to a slice. Auto generated.
func (*CatalogProductIndexEAVDecimalIDXes) Swap ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) Swap(i, j int)
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
func (*CatalogProductIndexEAVDecimalIDXes) Validate ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) Validate() (err error)
Validate runs internal consistency tests on all items.
func (*CatalogProductIndexEAVDecimalIDXes) WriteTo ¶
func (cc *CatalogProductIndexEAVDecimalIDXes) WriteTo(w io.Writer) (n int64, err error)
WriteTo implements io.WriterTo and writes the field names and their values to w. This is especially useful for debugging or or generating a hash of the struct.
type CoreConfiguration ¶
type CoreConfiguration struct { ConfigID uint32 `json:"config_id,omitempty" max_len:"10"` // config_id int(10) unsigned NOT NULL PRI auto_increment "Id" Scope string `json:"scope,omitempty" max_len:"8"` // scope varchar(8) NOT NULL MUL DEFAULT ”default” "Scope" ScopeID int32 `json:"scope_id" xml:"scope_id"` // scope_id int(11) NOT NULL DEFAULT '0' "Scope Id" Expires null.Time `json:"expires,omitempty" ` // expires datetime NULL DEFAULT 'NULL' "Value expiration time" Path string `json:"x_path" xml:"y_path" max_len:"255"` // path varchar(255) NOT NULL DEFAULT ”general” "Config Path overwritten" Value null.String `json:"value,omitempty" max_len:"65535"` // value text NULL DEFAULT 'NULL' "Value" VersionTs time.Time `json:"version_ts,omitempty" ` // version_ts timestamp(6) NOT NULL STORED GENERATED "Timestamp Start Versioning" VersionTe time.Time `json:"version_te,omitempty" ` // version_te timestamp(6) NOT NULL PRI STORED GENERATED "Timestamp End Versioning" }
CoreConfiguration represents a single row for DB table core_configuration. Auto generated. Table comment: Config Data
func (*CoreConfiguration) AssignLastInsertID ¶
func (e *CoreConfiguration) AssignLastInsertID(id int64)
AssignLastInsertID updates the increment ID field with the last inserted ID from an INSERT operation. Implements dml.InsertIDAssigner. Auto generated.
func (*CoreConfiguration) Copy ¶
func (e *CoreConfiguration) Copy() *CoreConfiguration
Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards
func (*CoreConfiguration) Empty ¶
func (e *CoreConfiguration) Empty() *CoreConfiguration
Empty empties all the fields of the current object. Also known as Reset.
func (*CoreConfiguration) IsSet ¶
func (e *CoreConfiguration) IsSet() bool
IsSet returns true if the entity has non-empty primary keys.
func (*CoreConfiguration) MapColumns ¶
func (e *CoreConfiguration) MapColumns(cm *dml.ColumnMap) error
MapColumns implements interface ColumnMapper only partially. Auto generated.
func (CoreConfiguration) MarshalEasyJSON ¶
func (v CoreConfiguration) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CoreConfiguration) MarshalJSON ¶
func (v CoreConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CoreConfiguration) UnmarshalEasyJSON ¶
func (v *CoreConfiguration) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CoreConfiguration) UnmarshalJSON ¶
func (v *CoreConfiguration) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*CoreConfiguration) Validate ¶
func (e *CoreConfiguration) Validate() error
Validate runs internal consistency tests.
type CoreConfigurations ¶
type CoreConfigurations struct {
Data []*CoreConfiguration `json:"data,omitempty"`
}
CoreConfigurations represents a collection type for DB table core_configuration Not thread safe. Auto generated.
func NewCoreConfigurations ¶
func NewCoreConfigurations() *CoreConfigurations
NewCoreConfigurations creates a new initialized collection. Auto generated.
func (*CoreConfigurations) Append ¶
func (cc *CoreConfigurations) Append(n ...*CoreConfiguration) *CoreConfigurations
Append will add a new item at the end of * CoreConfigurations . Auto generated via dmlgen.
func (*CoreConfigurations) AssignLastInsertID ¶
func (cc *CoreConfigurations) AssignLastInsertID(id int64)
AssignLastInsertID traverses through the slice and sets an incrementing new ID to each entity.
func (*CoreConfigurations) Clear ¶
func (cc *CoreConfigurations) Clear() *CoreConfigurations
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
func (*CoreConfigurations) ConfigIDs ¶
func (cc *CoreConfigurations) ConfigIDs(ret ...uint32) []uint32
ConfigIDs returns a slice with the data or appends it to a slice. Auto generated.
func (*CoreConfigurations) Cut ¶
func (cc *CoreConfigurations) Cut(i, j int) *CoreConfigurations
Cut will remove items i through j-1. Auto generated via dmlgen.
func (*CoreConfigurations) Delete ¶
func (cc *CoreConfigurations) Delete(i int) *CoreConfigurations
Delete will remove an item from the slice. Auto generated via dmlgen.
func (*CoreConfigurations) Each ¶
func (cc *CoreConfigurations) Each(f func(*CoreConfiguration)) *CoreConfigurations
Each will run function f on all items in []* CoreConfiguration . Auto generated via dmlgen.
func (*CoreConfigurations) Filter ¶
func (cc *CoreConfigurations) Filter(f func(*CoreConfiguration) bool) *CoreConfigurations
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
func (*CoreConfigurations) Insert ¶
func (cc *CoreConfigurations) Insert(n *CoreConfiguration, i int) *CoreConfigurations
Insert will place a new item at position i. Auto generated via dmlgen.
func (*CoreConfigurations) Len ¶
func (cc *CoreConfigurations) Len() int
Len will satisfy the sort.Interface. Auto generated via dmlgen.
func (*CoreConfigurations) MapColumns ¶
func (cc *CoreConfigurations) MapColumns(cm *dml.ColumnMap) error
MapColumns implements dml.ColumnMapper interface. Auto generated.
func (CoreConfigurations) MarshalEasyJSON ¶
func (v CoreConfigurations) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CoreConfigurations) MarshalJSON ¶
func (v CoreConfigurations) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CoreConfigurations) Swap ¶
func (cc *CoreConfigurations) Swap(i, j int)
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
func (*CoreConfigurations) UniquePaths ¶
func (cc *CoreConfigurations) UniquePaths(ret ...string) []string
Paths belongs to the column "path" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.
func (*CoreConfigurations) UnmarshalEasyJSON ¶
func (v *CoreConfigurations) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CoreConfigurations) UnmarshalJSON ¶
func (v *CoreConfigurations) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*CoreConfigurations) Validate ¶
func (cc *CoreConfigurations) Validate() (err error)
Validate runs internal consistency tests on all items.
type CustomerAddressEntities ¶
type CustomerAddressEntities struct {
Data []*CustomerAddressEntity `json:"data,omitempty"`
}
CustomerAddressEntities represents a collection type for DB table customer_address_entity Not thread safe. Auto generated.
func NewCustomerAddressEntities ¶
func NewCustomerAddressEntities() *CustomerAddressEntities
NewCustomerAddressEntities creates a new initialized collection. Auto generated.
func (*CustomerAddressEntities) Append ¶
func (cc *CustomerAddressEntities) Append(n ...*CustomerAddressEntity) *CustomerAddressEntities
Append will add a new item at the end of * CustomerAddressEntities . Auto generated via dmlgen.
func (*CustomerAddressEntities) AssignLastInsertID ¶
func (cc *CustomerAddressEntities) AssignLastInsertID(id int64)
AssignLastInsertID traverses through the slice and sets an incrementing new ID to each entity.
func (*CustomerAddressEntities) Clear ¶
func (cc *CustomerAddressEntities) Clear() *CustomerAddressEntities
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
func (*CustomerAddressEntities) Cut ¶
func (cc *CustomerAddressEntities) Cut(i, j int) *CustomerAddressEntities
Cut will remove items i through j-1. Auto generated via dmlgen.
func (*CustomerAddressEntities) Delete ¶
func (cc *CustomerAddressEntities) Delete(i int) *CustomerAddressEntities
Delete will remove an item from the slice. Auto generated via dmlgen.
func (*CustomerAddressEntities) Each ¶
func (cc *CustomerAddressEntities) Each(f func(*CustomerAddressEntity)) *CustomerAddressEntities
Each will run function f on all items in []* CustomerAddressEntity . Auto generated via dmlgen.
func (*CustomerAddressEntities) EntityIDs ¶
func (cc *CustomerAddressEntities) EntityIDs(ret ...uint32) []uint32
EntityIDs returns a slice with the data or appends it to a slice. Auto generated.
func (*CustomerAddressEntities) Filter ¶
func (cc *CustomerAddressEntities) Filter(f func(*CustomerAddressEntity) bool) *CustomerAddressEntities
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
func (*CustomerAddressEntities) Insert ¶
func (cc *CustomerAddressEntities) Insert(n *CustomerAddressEntity, i int) *CustomerAddressEntities
Insert will place a new item at position i. Auto generated via dmlgen.
func (*CustomerAddressEntities) Len ¶
func (cc *CustomerAddressEntities) Len() int
Len will satisfy the sort.Interface. Auto generated via dmlgen.
func (*CustomerAddressEntities) MapColumns ¶
func (cc *CustomerAddressEntities) MapColumns(cm *dml.ColumnMap) error
MapColumns implements dml.ColumnMapper interface. Auto generated.
func (CustomerAddressEntities) MarshalEasyJSON ¶
func (v CustomerAddressEntities) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CustomerAddressEntities) MarshalJSON ¶
func (v CustomerAddressEntities) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CustomerAddressEntities) Swap ¶
func (cc *CustomerAddressEntities) Swap(i, j int)
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
func (*CustomerAddressEntities) UnmarshalEasyJSON ¶
func (v *CustomerAddressEntities) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CustomerAddressEntities) UnmarshalJSON ¶
func (v *CustomerAddressEntities) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*CustomerAddressEntities) Validate ¶
func (cc *CustomerAddressEntities) Validate() (err error)
Validate runs internal consistency tests on all items.
type CustomerAddressEntity ¶
type CustomerAddressEntity struct { EntityID uint32 `max_len:"10"` // entity_id int(10) unsigned NOT NULL PRI auto_increment "Entity ID" IncrementID null.String `max_len:"50"` // increment_id varchar(50) NULL DEFAULT 'NULL' "Increment Id" ParentID null.Uint32 `max_len:"10"` // parent_id int(10) unsigned NULL MUL DEFAULT 'NULL' "Parent ID" CreatedAt time.Time // created_at timestamp NOT NULL DEFAULT 'current_timestamp()' "Created At" UpdatedAt time.Time // updated_at timestamp NOT NULL DEFAULT 'current_timestamp()' on update current_timestamp() "Updated At" IsActive bool `max_len:"5"` // is_active smallint(5) unsigned NOT NULL DEFAULT '1' "Is Active" City string `max_len:"255"` // city varchar(255) NOT NULL "City" Company null.String `max_len:"255"` // company varchar(255) NULL DEFAULT 'NULL' "Company" CountryID string `max_len:"255"` // country_id varchar(255) NOT NULL "Country" Firstname string `max_len:"255"` // firstname varchar(255) NOT NULL "First Name" Lastname string `max_len:"255"` // lastname varchar(255) NOT NULL "Last Name" Postcode null.String `max_len:"255"` // postcode varchar(255) NULL DEFAULT 'NULL' "Zip/Postal Code" Region null.String `max_len:"255"` // region varchar(255) NULL DEFAULT 'NULL' "State/Province" Street string `max_len:"65535"` // street text NOT NULL "Street Address" }
CustomerAddressEntity represents a single row for DB table customer_address_entity. Auto generated. Table comment: Customer Address Entity
func (*CustomerAddressEntity) AssignLastInsertID ¶
func (e *CustomerAddressEntity) AssignLastInsertID(id int64)
AssignLastInsertID updates the increment ID field with the last inserted ID from an INSERT operation. Implements dml.InsertIDAssigner. Auto generated.
func (*CustomerAddressEntity) Copy ¶
func (e *CustomerAddressEntity) Copy() *CustomerAddressEntity
Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards
func (*CustomerAddressEntity) Empty ¶
func (e *CustomerAddressEntity) Empty() *CustomerAddressEntity
Empty empties all the fields of the current object. Also known as Reset.
func (*CustomerAddressEntity) IsSet ¶
func (e *CustomerAddressEntity) IsSet() bool
IsSet returns true if the entity has non-empty primary keys.
func (*CustomerAddressEntity) MapColumns ¶
func (e *CustomerAddressEntity) MapColumns(cm *dml.ColumnMap) error
MapColumns implements interface ColumnMapper only partially. Auto generated.
func (CustomerAddressEntity) MarshalEasyJSON ¶
func (v CustomerAddressEntity) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CustomerAddressEntity) MarshalJSON ¶
func (v CustomerAddressEntity) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CustomerAddressEntity) UnmarshalEasyJSON ¶
func (v *CustomerAddressEntity) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CustomerAddressEntity) UnmarshalJSON ¶
func (v *CustomerAddressEntity) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*CustomerAddressEntity) Validate ¶
func (e *CustomerAddressEntity) Validate() error
Validate runs internal consistency tests.
type CustomerEntities ¶
type CustomerEntities struct {
Data []*CustomerEntity `json:"data,omitempty"`
}
CustomerEntities represents a collection type for DB table customer_entity Not thread safe. Auto generated.
func NewCustomerEntities ¶
func NewCustomerEntities() *CustomerEntities
NewCustomerEntities creates a new initialized collection. Auto generated.
func (*CustomerEntities) Append ¶
func (cc *CustomerEntities) Append(n ...*CustomerEntity) *CustomerEntities
Append will add a new item at the end of * CustomerEntities . Auto generated via dmlgen.
func (*CustomerEntities) AssignLastInsertID ¶
func (cc *CustomerEntities) AssignLastInsertID(id int64)
AssignLastInsertID traverses through the slice and sets an incrementing new ID to each entity.
func (*CustomerEntities) Clear ¶
func (cc *CustomerEntities) Clear() *CustomerEntities
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
func (*CustomerEntities) Cut ¶
func (cc *CustomerEntities) Cut(i, j int) *CustomerEntities
Cut will remove items i through j-1. Auto generated via dmlgen.
func (*CustomerEntities) Delete ¶
func (cc *CustomerEntities) Delete(i int) *CustomerEntities
Delete will remove an item from the slice. Auto generated via dmlgen.
func (*CustomerEntities) Each ¶
func (cc *CustomerEntities) Each(f func(*CustomerEntity)) *CustomerEntities
Each will run function f on all items in []* CustomerEntity . Auto generated via dmlgen.
func (*CustomerEntities) EntityIDs ¶
func (cc *CustomerEntities) EntityIDs(ret ...uint32) []uint32
EntityIDs returns a slice with the data or appends it to a slice. Auto generated.
func (*CustomerEntities) Filter ¶
func (cc *CustomerEntities) Filter(f func(*CustomerEntity) bool) *CustomerEntities
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
func (*CustomerEntities) Insert ¶
func (cc *CustomerEntities) Insert(n *CustomerEntity, i int) *CustomerEntities
Insert will place a new item at position i. Auto generated via dmlgen.
func (*CustomerEntities) Len ¶
func (cc *CustomerEntities) Len() int
Len will satisfy the sort.Interface. Auto generated via dmlgen.
func (*CustomerEntities) MapColumns ¶
func (cc *CustomerEntities) MapColumns(cm *dml.ColumnMap) error
MapColumns implements dml.ColumnMapper interface. Auto generated.
func (CustomerEntities) MarshalEasyJSON ¶
func (v CustomerEntities) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CustomerEntities) MarshalJSON ¶
func (v CustomerEntities) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CustomerEntities) Swap ¶
func (cc *CustomerEntities) Swap(i, j int)
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
func (*CustomerEntities) UnmarshalEasyJSON ¶
func (v *CustomerEntities) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CustomerEntities) UnmarshalJSON ¶
func (v *CustomerEntities) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*CustomerEntities) Validate ¶
func (cc *CustomerEntities) Validate() (err error)
Validate runs internal consistency tests on all items.
type CustomerEntity ¶
type CustomerEntity struct { EntityID uint32 `max_len:"10"` // entity_id int(10) unsigned NOT NULL PRI auto_increment "Entity ID" WebsiteID null.Uint32 `max_len:"5"` // website_id smallint(5) unsigned NULL MUL DEFAULT 'NULL' "Website ID" Email null.String `max_len:"255"` // email varchar(255) NULL MUL DEFAULT 'NULL' "Email" GroupID uint32 `max_len:"5"` // group_id smallint(5) unsigned NOT NULL DEFAULT '0' "Group ID" StoreID null.Uint32 `max_len:"5"` // store_id smallint(5) unsigned NULL MUL DEFAULT '0' "Store ID" CreatedAt time.Time // created_at timestamp NOT NULL DEFAULT 'current_timestamp()' "Created At" UpdatedAt time.Time // updated_at timestamp NOT NULL DEFAULT 'current_timestamp()' on update current_timestamp() "Updated At" IsActive bool `max_len:"5"` // is_active smallint(5) unsigned NOT NULL DEFAULT '1' "Is Active" CreatedIn null.String `max_len:"255"` // created_in varchar(255) NULL DEFAULT 'NULL' "Created From" Firstname null.String `max_len:"255"` // firstname varchar(255) NULL MUL DEFAULT 'NULL' "First Name" Lastname null.String `max_len:"255"` // lastname varchar(255) NULL MUL DEFAULT 'NULL' "Last Name" Dob null.Time // dob date NULL DEFAULT 'NULL' "Date of Birth" RpToken null.String `max_len:"128"` // rp_token varchar(128) NULL DEFAULT 'NULL' "Reset password token" RpTokenCreatedAt null.Time // rp_token_created_at datetime NULL DEFAULT 'NULL' "Reset password token creation time" DefaultBilling null.Uint32 `max_len:"10"` // default_billing int(10) unsigned NULL DEFAULT 'NULL' "Default Billing Address" DefaultShipping null.Uint32 `max_len:"10"` // default_shipping int(10) unsigned NULL DEFAULT 'NULL' "Default Shipping Address" Gender null.Uint32 `max_len:"5"` // gender smallint(5) unsigned NULL DEFAULT 'NULL' "Gender" Relations *customerEntityRelations // contains filtered or unexported fields }
CustomerEntity represents a single row for DB table customer_entity. Auto generated. Table comment: Customer Entity
func (*CustomerEntity) AssignLastInsertID ¶
func (e *CustomerEntity) AssignLastInsertID(id int64)
AssignLastInsertID updates the increment ID field with the last inserted ID from an INSERT operation. Implements dml.InsertIDAssigner. Auto generated.
func (*CustomerEntity) Copy ¶
func (e *CustomerEntity) Copy() *CustomerEntity
Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards
func (*CustomerEntity) Empty ¶
func (e *CustomerEntity) Empty() *CustomerEntity
Empty empties all the fields of the current object. Also known as Reset.
func (*CustomerEntity) GetPasswordHash ¶
func (e *CustomerEntity) GetPasswordHash() null.String
Get PasswordHash returns the data from a private and security sensitive field.
func (*CustomerEntity) IsSet ¶
func (e *CustomerEntity) IsSet() bool
IsSet returns true if the entity has non-empty primary keys.
func (*CustomerEntity) MapColumns ¶
func (e *CustomerEntity) MapColumns(cm *dml.ColumnMap) error
MapColumns implements interface ColumnMapper only partially. Auto generated.
func (CustomerEntity) MarshalEasyJSON ¶
func (v CustomerEntity) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (CustomerEntity) MarshalJSON ¶
func (v CustomerEntity) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*CustomerEntity) NewRelations ¶
func (e *CustomerEntity) NewRelations() *customerEntityRelations
func (*CustomerEntity) SetPasswordHash ¶
func (e *CustomerEntity) SetPasswordHash(d null.String) *CustomerEntity
Set PasswordHash sets the data for a private and security sensitive field.
func (*CustomerEntity) UnmarshalEasyJSON ¶
func (v *CustomerEntity) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*CustomerEntity) UnmarshalJSON ¶
func (v *CustomerEntity) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*CustomerEntity) Validate ¶
func (e *CustomerEntity) Validate() error
Validate runs internal consistency tests.
type DBM ¶
DBM defines the DataBaseManagement object for the tables catalog_product_index_eav_decimal_idx, core_configuration, customer_address_entity, customer_entity, dmlgen_types, sales_order_status_state, view_customer_auto_increment, view_customer_no_auto_increment
func NewDBManager ¶
NewDBManager returns a goified version of the MySQL/MariaDB table schema for the tables: catalog_product_index_eav_decimal_idx, core_configuration, customer_address_entity, customer_entity, dmlgen_types, sales_order_status_state, view_customer_auto_increment, view_customer_no_auto_increment Auto generated by dmlgen.
type DBMOption ¶
type DBMOption struct { Trace cstrace.Tracer TableOptions []ddl.TableOption // gets applied at the beginning TableOptionsAfter []ddl.TableOption // gets applied at the end InitSelectFn func(*dml.Select) *dml.Select InitUpdateFn func(*dml.Update) *dml.Update InitDeleteFn func(*dml.Delete) *dml.Delete InitInsertFn func(*dml.Insert) *dml.Insert // contains filtered or unexported fields }
DBMOption provides various options to the DBM object.
func (*DBMOption) AddEventCatalogProductIndexEAVDecimalIDX ¶
func (o *DBMOption) AddEventCatalogProductIndexEAVDecimalIDX(event dml.EventFlag, fn EventCatalogProductIndexEAVDecimalIDXFn) *DBMOption
AddEventCatalogProductIndexEAVDecimalIDX adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.
func (*DBMOption) AddEventCoreConfiguration ¶
func (o *DBMOption) AddEventCoreConfiguration(event dml.EventFlag, fn EventCoreConfigurationFn) *DBMOption
AddEventCoreConfiguration adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.
func (*DBMOption) AddEventCustomerAddressEntity ¶
func (o *DBMOption) AddEventCustomerAddressEntity(event dml.EventFlag, fn EventCustomerAddressEntityFn) *DBMOption
AddEventCustomerAddressEntity adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.
func (*DBMOption) AddEventCustomerEntity ¶
func (o *DBMOption) AddEventCustomerEntity(event dml.EventFlag, fn EventCustomerEntityFn) *DBMOption
AddEventCustomerEntity adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.
func (*DBMOption) AddEventDmlgenTypes ¶
func (o *DBMOption) AddEventDmlgenTypes(event dml.EventFlag, fn EventDmlgenTypesFn) *DBMOption
AddEventDmlgenTypes adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.
func (*DBMOption) AddEventSalesOrderStatusState ¶
func (o *DBMOption) AddEventSalesOrderStatusState(event dml.EventFlag, fn EventSalesOrderStatusStateFn) *DBMOption
AddEventSalesOrderStatusState adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.
func (*DBMOption) AddEventViewCustomerAutoIncrement ¶
func (o *DBMOption) AddEventViewCustomerAutoIncrement(event dml.EventFlag, fn EventViewCustomerAutoIncrementFn) *DBMOption
AddEventViewCustomerAutoIncrement adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.
func (*DBMOption) AddEventViewCustomerNoAutoIncrement ¶
func (o *DBMOption) AddEventViewCustomerNoAutoIncrement(event dml.EventFlag, fn EventViewCustomerNoAutoIncrementFn) *DBMOption
AddEventViewCustomerNoAutoIncrement adds a specific defined event call back to the DBM. It panics if the event argument is larger than dml.EventFlagMax.
type DmlgenTypes ¶
type DmlgenTypes struct { ID int32 `json:"id,omitempty" max_len:"10"` // id int(11) NOT NULL PRI auto_increment "" ColBigint1 null.Int64 `json:"col_bigint_1,omitempty" max_len:"19"` // col_bigint_1 bigint(20) NULL DEFAULT 'NULL' "" ColBigint2 int64 `json:"col_bigint_2,omitempty" max_len:"19"` // col_bigint_2 bigint(20) NOT NULL DEFAULT '0' "" ColBigint3 null.Uint64 `json:"col_bigint_3,omitempty" max_len:"20"` // col_bigint_3 bigint(20) unsigned NULL DEFAULT 'NULL' "" ColBigint4 uint64 `json:"col_bigint_4,omitempty" max_len:"20"` // col_bigint_4 bigint(20) unsigned NOT NULL DEFAULT '0' "" ColBlob []byte `json:"col_blob,omitempty" max_len:"65535"` // col_blob blob NULL DEFAULT 'NULL' "" ColDate1 null.Time `json:"col_date_1,omitempty" ` // col_date_1 date NULL DEFAULT 'NULL' "" ColDate2 time.Time `json:"col_date_2,omitempty" ` // col_date_2 date NOT NULL DEFAULT ”0000-00-00” "" ColDatetime1 null.Time `json:"col_datetime_1,omitempty" ` // col_datetime_1 datetime NULL DEFAULT 'NULL' "" ColDatetime2 time.Time `json:"col_datetime_2,omitempty" ` // col_datetime_2 datetime NOT NULL DEFAULT ”0000-00-00 00:00:00” "" ColDecimal101 null.Decimal `json:"col_decimal_10_1,omitempty" max_len:"10"` // col_decimal_10_1 decimal(10,1) unsigned NULL DEFAULT 'NULL' "" ColDecimal124 null.Decimal `json:"col_decimal_12_4,omitempty" max_len:"12"` // col_decimal_12_4 decimal(12,4) NULL DEFAULT 'NULL' "" PriceA124 null.Decimal `json:"price_a_12_4,omitempty" max_len:"12"` // price_a_12_4 decimal(12,4) NULL DEFAULT 'NULL' "" PriceB124 null.Decimal `json:"price_b_12_4,omitempty" max_len:"12"` // price_b_12_4 decimal(12,4) NOT NULL DEFAULT '0.0000' "" ColDecimal123 null.Decimal `json:"col_decimal_12_3,omitempty" max_len:"12"` // col_decimal_12_3 decimal(12,3) NOT NULL DEFAULT '0.000' "" ColDecimal206 null.Decimal `json:"col_decimal_20_6,omitempty" max_len:"20"` // col_decimal_20_6 decimal(20,6) NOT NULL DEFAULT '0.000000' "" ColDecimal2412 null.Decimal `json:"col_decimal_24_12,omitempty" max_len:"24"` // col_decimal_24_12 decimal(24,12) NOT NULL DEFAULT '0.000000000000' "" ColInt1 null.Int32 `json:"col_int_1,omitempty" max_len:"10"` // col_int_1 int(10) NULL DEFAULT 'NULL' "" ColInt2 int32 `json:"col_int_2,omitempty" max_len:"10"` // col_int_2 int(10) NOT NULL DEFAULT '0' "" ColInt3 null.Uint32 `json:"col_int_3,omitempty" max_len:"10"` // col_int_3 int(10) unsigned NULL DEFAULT 'NULL' "" ColInt4 uint32 `json:"col_int_4,omitempty" max_len:"10"` // col_int_4 int(10) unsigned NOT NULL DEFAULT '0' "" ColLongtext1 null.String `json:"col_longtext_1,omitempty" max_len:"4294967295"` // col_longtext_1 longtext NULL DEFAULT 'NULL' "" ColLongtext2 string `json:"col_longtext_2,omitempty" max_len:"4294967295"` // col_longtext_2 longtext NOT NULL DEFAULT ”” "" ColMediumblob []byte `json:"col_mediumblob,omitempty" max_len:"16777215"` // col_mediumblob mediumblob NULL DEFAULT 'NULL' "" ColMediumtext1 null.String `json:"col_mediumtext_1,omitempty" max_len:"16777215"` // col_mediumtext_1 mediumtext NULL DEFAULT 'NULL' "" ColMediumtext2 string `json:"col_mediumtext_2,omitempty" max_len:"16777215"` // col_mediumtext_2 mediumtext NOT NULL DEFAULT ”” "" ColSmallint1 null.Int32 `json:"col_smallint_1,omitempty" max_len:"5"` // col_smallint_1 smallint(5) NULL DEFAULT 'NULL' "" ColSmallint2 int32 `json:"col_smallint_2,omitempty" max_len:"5"` // col_smallint_2 smallint(5) NOT NULL DEFAULT '0' "" ColSmallint3 null.Uint32 `json:"col_smallint_3,omitempty" max_len:"5"` // col_smallint_3 smallint(5) unsigned NULL DEFAULT 'NULL' "" ColSmallint4 uint32 `json:"col_smallint_4,omitempty" max_len:"5"` // col_smallint_4 smallint(5) unsigned NOT NULL DEFAULT '0' "" HasSmallint5 bool `json:"has_smallint_5,omitempty" max_len:"5"` // has_smallint_5 smallint(5) unsigned NOT NULL DEFAULT '0' "" IsSmallint5 null.Bool `json:"is_smallint_5,omitempty" max_len:"5"` // is_smallint_5 smallint(5) NULL DEFAULT 'NULL' "" ColText null.String `json:"col_text,omitempty" max_len:"65535"` // col_text text NULL DEFAULT 'NULL' "" ColTimestamp1 time.Time `json:"col_timestamp_1,omitempty" ` // col_timestamp_1 timestamp NOT NULL DEFAULT 'current_timestamp()' "" ColTimestamp2 null.Time `json:"col_timestamp_2,omitempty" ` // col_timestamp_2 timestamp NULL DEFAULT 'NULL' "" ColTinyint1 int32 `json:"col_tinyint_1,omitempty" max_len:"3"` // col_tinyint_1 tinyint(1) NOT NULL DEFAULT '0' "" ColVarchar1 string `json:"col_varchar_1,omitempty" max_len:"1"` // col_varchar_1 varchar(1) NOT NULL DEFAULT ”0” "" ColVarchar100 null.String `json:"col_varchar_100,omitempty" max_len:"100"` // col_varchar_100 varchar(100) NULL DEFAULT 'NULL' "" ColVarchar16 string `json:"col_varchar_16,omitempty" max_len:"16"` // col_varchar_16 varchar(16) NOT NULL DEFAULT ”de_DE” "" ColChar1 null.String `json:"col_char_1,omitempty" max_len:"21"` // col_char_1 char(21) NULL DEFAULT 'NULL' "" ColChar2 string `json:"col_char_2,omitempty" max_len:"17"` // col_char_2 char(17) NOT NULL DEFAULT ”xchar” "" }
DmlgenTypes represents a single row for DB table dmlgen_types. Auto generated. // Just another comment.
func (*DmlgenTypes) AssignLastInsertID ¶
func (e *DmlgenTypes) AssignLastInsertID(id int64)
AssignLastInsertID updates the increment ID field with the last inserted ID from an INSERT operation. Implements dml.InsertIDAssigner. Auto generated.
func (*DmlgenTypes) Copy ¶
func (e *DmlgenTypes) Copy() *DmlgenTypes
Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards
func (*DmlgenTypes) Empty ¶
func (e *DmlgenTypes) Empty() *DmlgenTypes
Empty empties all the fields of the current object. Also known as Reset.
func (*DmlgenTypes) IsSet ¶
func (e *DmlgenTypes) IsSet() bool
IsSet returns true if the entity has non-empty primary keys.
func (*DmlgenTypes) MapColumns ¶
func (e *DmlgenTypes) MapColumns(cm *dml.ColumnMap) error
MapColumns implements interface ColumnMapper only partially. Auto generated.
func (DmlgenTypes) MarshalEasyJSON ¶
func (v DmlgenTypes) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DmlgenTypes) MarshalJSON ¶
func (v DmlgenTypes) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DmlgenTypes) UnmarshalEasyJSON ¶
func (v *DmlgenTypes) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DmlgenTypes) UnmarshalJSON ¶
func (v *DmlgenTypes) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*DmlgenTypes) Validate ¶
func (e *DmlgenTypes) Validate() error
Validate runs internal consistency tests.
type DmlgenTypesCollection ¶
type DmlgenTypesCollection struct {
Data []*DmlgenTypes `json:"data,omitempty"`
}
DmlgenTypesCollection represents a collection type for DB table dmlgen_types Not thread safe. Auto generated. // Just another comment.
func NewDmlgenTypesCollection ¶
func NewDmlgenTypesCollection() *DmlgenTypesCollection
NewDmlgenTypesCollection creates a new initialized collection. Auto generated.
func (*DmlgenTypesCollection) Append ¶
func (cc *DmlgenTypesCollection) Append(n ...*DmlgenTypes) *DmlgenTypesCollection
Append will add a new item at the end of * DmlgenTypesCollection . Auto generated via dmlgen.
func (*DmlgenTypesCollection) AssignLastInsertID ¶
func (cc *DmlgenTypesCollection) AssignLastInsertID(id int64)
AssignLastInsertID traverses through the slice and sets an incrementing new ID to each entity.
func (*DmlgenTypesCollection) Clear ¶
func (cc *DmlgenTypesCollection) Clear() *DmlgenTypesCollection
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
func (*DmlgenTypesCollection) Cut ¶
func (cc *DmlgenTypesCollection) Cut(i, j int) *DmlgenTypesCollection
Cut will remove items i through j-1. Auto generated via dmlgen.
func (*DmlgenTypesCollection) Delete ¶
func (cc *DmlgenTypesCollection) Delete(i int) *DmlgenTypesCollection
Delete will remove an item from the slice. Auto generated via dmlgen.
func (*DmlgenTypesCollection) Each ¶
func (cc *DmlgenTypesCollection) Each(f func(*DmlgenTypes)) *DmlgenTypesCollection
Each will run function f on all items in []* DmlgenTypes . Auto generated via dmlgen.
func (*DmlgenTypesCollection) Filter ¶
func (cc *DmlgenTypesCollection) Filter(f func(*DmlgenTypes) bool) *DmlgenTypesCollection
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
func (*DmlgenTypesCollection) IDs ¶
func (cc *DmlgenTypesCollection) IDs(ret ...int32) []int32
IDs returns a slice with the data or appends it to a slice. Auto generated.
func (*DmlgenTypesCollection) Insert ¶
func (cc *DmlgenTypesCollection) Insert(n *DmlgenTypes, i int) *DmlgenTypesCollection
Insert will place a new item at position i. Auto generated via dmlgen.
func (*DmlgenTypesCollection) Len ¶
func (cc *DmlgenTypesCollection) Len() int
Len will satisfy the sort.Interface. Auto generated via dmlgen.
func (*DmlgenTypesCollection) MapColumns ¶
func (cc *DmlgenTypesCollection) MapColumns(cm *dml.ColumnMap) error
MapColumns implements dml.ColumnMapper interface. Auto generated.
func (DmlgenTypesCollection) MarshalEasyJSON ¶
func (v DmlgenTypesCollection) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (DmlgenTypesCollection) MarshalJSON ¶
func (v DmlgenTypesCollection) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*DmlgenTypesCollection) Swap ¶
func (cc *DmlgenTypesCollection) Swap(i, j int)
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
func (*DmlgenTypesCollection) UniqueColDate2s ¶
func (cc *DmlgenTypesCollection) UniqueColDate2s(ret ...time.Time) []time.Time
ColDate2s belongs to the column "col_date_2" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.
func (*DmlgenTypesCollection) UniqueColInt1s ¶
func (cc *DmlgenTypesCollection) UniqueColInt1s(ret ...int32) []int32
ColInt1s belongs to the column "col_int_1" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.
func (*DmlgenTypesCollection) UniqueColInt2s ¶
func (cc *DmlgenTypesCollection) UniqueColInt2s(ret ...int32) []int32
ColInt2s belongs to the column "col_int_2" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.
func (*DmlgenTypesCollection) UniqueColVarchar100s ¶
func (cc *DmlgenTypesCollection) UniqueColVarchar100s(ret ...string) []string
ColVarchar100s belongs to the column "col_varchar_100" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.
func (*DmlgenTypesCollection) UniqueHasSmallint5s ¶
func (cc *DmlgenTypesCollection) UniqueHasSmallint5s(ret ...bool) []bool
HasSmallint5s belongs to the column "has_smallint_5" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.
func (*DmlgenTypesCollection) UniquePriceA124s ¶
func (cc *DmlgenTypesCollection) UniquePriceA124s(ret ...null.Decimal) []null.Decimal
PriceA124s belongs to the column "price_a_12_4" and returns a slice or appends to a slice only unique values of that column. The values will be filtered internally in a Go map. No DB query gets executed. Auto generated.
func (*DmlgenTypesCollection) UnmarshalEasyJSON ¶
func (v *DmlgenTypesCollection) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*DmlgenTypesCollection) UnmarshalJSON ¶
func (v *DmlgenTypesCollection) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*DmlgenTypesCollection) Validate ¶
func (cc *DmlgenTypesCollection) Validate() (err error)
Validate runs internal consistency tests on all items.
type EventCatalogProductIndexEAVDecimalIDXFn ¶
type EventCatalogProductIndexEAVDecimalIDXFn func(context.Context, *CatalogProductIndexEAVDecimalIDXes, *CatalogProductIndexEAVDecimalIDX) error
Event functions are getting dispatched during before or after handling a collection or an entity. Context is always non-nil but either collection or entity pointer will be set.
type EventCoreConfigurationFn ¶
type EventCoreConfigurationFn func(context.Context, *CoreConfigurations, *CoreConfiguration) error
Event functions are getting dispatched during before or after handling a collection or an entity. Context is always non-nil but either collection or entity pointer will be set.
type EventCustomerAddressEntityFn ¶
type EventCustomerAddressEntityFn func(context.Context, *CustomerAddressEntities, *CustomerAddressEntity) error
Event functions are getting dispatched during before or after handling a collection or an entity. Context is always non-nil but either collection or entity pointer will be set.
type EventCustomerEntityFn ¶
type EventCustomerEntityFn func(context.Context, *CustomerEntities, *CustomerEntity) error
Event functions are getting dispatched during before or after handling a collection or an entity. Context is always non-nil but either collection or entity pointer will be set.
type EventDmlgenTypesFn ¶
type EventDmlgenTypesFn func(context.Context, *DmlgenTypesCollection, *DmlgenTypes) error
Event functions are getting dispatched during before or after handling a collection or an entity. Context is always non-nil but either collection or entity pointer will be set.
type EventSalesOrderStatusStateFn ¶
type EventSalesOrderStatusStateFn func(context.Context, *SalesOrderStatusStates, *SalesOrderStatusState) error
Event functions are getting dispatched during before or after handling a collection or an entity. Context is always non-nil but either collection or entity pointer will be set.
type EventViewCustomerAutoIncrementFn ¶
type EventViewCustomerAutoIncrementFn func(context.Context, *ViewCustomerAutoIncrements, *ViewCustomerAutoIncrement) error
Event functions are getting dispatched during before or after handling a collection or an entity. Context is always non-nil but either collection or entity pointer will be set.
type EventViewCustomerNoAutoIncrementFn ¶
type EventViewCustomerNoAutoIncrementFn func(context.Context, *ViewCustomerNoAutoIncrements, *ViewCustomerNoAutoIncrement) error
Event functions are getting dispatched during before or after handling a collection or an entity. Context is always non-nil but either collection or entity pointer will be set.
type SalesOrderStatusState ¶
type SalesOrderStatusState struct { Status string `max_len:"32"` // status varchar(32) NOT NULL PRI "Status" State string `max_len:"32"` // state varchar(32) NOT NULL PRI "Label" IsDefault bool `max_len:"5"` // is_default smallint(5) unsigned NOT NULL DEFAULT '0' "Is Default" VisibleOnFront uint32 `max_len:"5"` // visible_on_front smallint(5) unsigned NOT NULL DEFAULT '0' "Visible on front" }
SalesOrderStatusState represents a single row for DB table sales_order_status_state. Auto generated. Table comment: Sales Order Status Table
func (*SalesOrderStatusState) Copy ¶
func (e *SalesOrderStatusState) Copy() *SalesOrderStatusState
Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards
func (*SalesOrderStatusState) Empty ¶
func (e *SalesOrderStatusState) Empty() *SalesOrderStatusState
Empty empties all the fields of the current object. Also known as Reset.
func (*SalesOrderStatusState) IsSet ¶
func (e *SalesOrderStatusState) IsSet() bool
IsSet returns true if the entity has non-empty primary keys.
func (*SalesOrderStatusState) Load ¶
func (e *SalesOrderStatusState) Load(ctx context.Context, dbm *DBM, arg SalesOrderStatusStateLoadArgs, opts ...dml.DBRFunc) (err error)
func (*SalesOrderStatusState) MapColumns ¶
func (e *SalesOrderStatusState) MapColumns(cm *dml.ColumnMap) error
MapColumns implements interface ColumnMapper only partially. Auto generated.
func (SalesOrderStatusState) MarshalEasyJSON ¶
func (v SalesOrderStatusState) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SalesOrderStatusState) MarshalJSON ¶
func (v SalesOrderStatusState) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SalesOrderStatusState) UnmarshalEasyJSON ¶
func (v *SalesOrderStatusState) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SalesOrderStatusState) UnmarshalJSON ¶
func (v *SalesOrderStatusState) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*SalesOrderStatusState) Validate ¶
func (e *SalesOrderStatusState) Validate() error
Validate runs internal consistency tests.
type SalesOrderStatusStates ¶
type SalesOrderStatusStates struct {
Data []*SalesOrderStatusState `json:"data,omitempty"`
}
SalesOrderStatusStates represents a collection type for DB table sales_order_status_state Not thread safe. Auto generated.
func NewSalesOrderStatusStates ¶
func NewSalesOrderStatusStates() *SalesOrderStatusStates
NewSalesOrderStatusStates creates a new initialized collection. Auto generated.
func (*SalesOrderStatusStates) Append ¶
func (cc *SalesOrderStatusStates) Append(n ...*SalesOrderStatusState) *SalesOrderStatusStates
Append will add a new item at the end of * SalesOrderStatusStates . Auto generated via dmlgen.
func (*SalesOrderStatusStates) Clear ¶
func (cc *SalesOrderStatusStates) Clear() *SalesOrderStatusStates
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
func (*SalesOrderStatusStates) Cut ¶
func (cc *SalesOrderStatusStates) Cut(i, j int) *SalesOrderStatusStates
Cut will remove items i through j-1. Auto generated via dmlgen.
func (*SalesOrderStatusStates) DBLoad ¶
func (cc *SalesOrderStatusStates) DBLoad(ctx context.Context, dbm *DBM, pkIDs []SalesOrderStatusStatesDBLoadArgs, opts ...dml.DBRFunc) (err error)
func (*SalesOrderStatusStates) Delete ¶
func (cc *SalesOrderStatusStates) Delete(i int) *SalesOrderStatusStates
Delete will remove an item from the slice. Auto generated via dmlgen.
func (*SalesOrderStatusStates) Each ¶
func (cc *SalesOrderStatusStates) Each(f func(*SalesOrderStatusState)) *SalesOrderStatusStates
Each will run function f on all items in []* SalesOrderStatusState . Auto generated via dmlgen.
func (*SalesOrderStatusStates) Filter ¶
func (cc *SalesOrderStatusStates) Filter(f func(*SalesOrderStatusState) bool) *SalesOrderStatusStates
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
func (*SalesOrderStatusStates) Insert ¶
func (cc *SalesOrderStatusStates) Insert(n *SalesOrderStatusState, i int) *SalesOrderStatusStates
Insert will place a new item at position i. Auto generated via dmlgen.
func (*SalesOrderStatusStates) Len ¶
func (cc *SalesOrderStatusStates) Len() int
Len will satisfy the sort.Interface. Auto generated via dmlgen.
func (*SalesOrderStatusStates) MapColumns ¶
func (cc *SalesOrderStatusStates) MapColumns(cm *dml.ColumnMap) error
MapColumns implements dml.ColumnMapper interface. Auto generated.
func (SalesOrderStatusStates) MarshalEasyJSON ¶
func (v SalesOrderStatusStates) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SalesOrderStatusStates) MarshalJSON ¶
func (v SalesOrderStatusStates) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SalesOrderStatusStates) States ¶
func (cc *SalesOrderStatusStates) States(ret ...string) []string
States returns a slice with the data or appends it to a slice. Auto generated.
func (*SalesOrderStatusStates) Statuss ¶
func (cc *SalesOrderStatusStates) Statuss(ret ...string) []string
Statuss returns a slice with the data or appends it to a slice. Auto generated.
func (*SalesOrderStatusStates) Swap ¶
func (cc *SalesOrderStatusStates) Swap(i, j int)
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
func (*SalesOrderStatusStates) UnmarshalEasyJSON ¶
func (v *SalesOrderStatusStates) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SalesOrderStatusStates) UnmarshalJSON ¶
func (v *SalesOrderStatusStates) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*SalesOrderStatusStates) Validate ¶
func (cc *SalesOrderStatusStates) Validate() (err error)
Validate runs internal consistency tests on all items.
type ViewCustomerAutoIncrement ¶
type ViewCustomerAutoIncrement struct { CeEntityID uint32 `max_len:"10"` // ce_entity_id int(10) unsigned NOT NULL DEFAULT '0' "Entity ID" Email null.String `max_len:"255"` // email varchar(255) NULL DEFAULT 'NULL' "Email" Firstname string `max_len:"255"` // firstname varchar(255) NOT NULL "First Name" Lastname string `max_len:"255"` // lastname varchar(255) NOT NULL "Last Name" City string `max_len:"255"` // city varchar(255) NOT NULL "City" }
ViewCustomerAutoIncrement represents a single row for DB table view_customer_auto_increment. Auto generated. Table comment: VIEW
func (*ViewCustomerAutoIncrement) Copy ¶
func (e *ViewCustomerAutoIncrement) Copy() *ViewCustomerAutoIncrement
Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards
func (*ViewCustomerAutoIncrement) Empty ¶
func (e *ViewCustomerAutoIncrement) Empty() *ViewCustomerAutoIncrement
Empty empties all the fields of the current object. Also known as Reset.
func (*ViewCustomerAutoIncrement) IsSet ¶
func (e *ViewCustomerAutoIncrement) IsSet() bool
IsSet returns true if the entity has non-empty primary keys.
func (*ViewCustomerAutoIncrement) MapColumns ¶
func (e *ViewCustomerAutoIncrement) MapColumns(cm *dml.ColumnMap) error
MapColumns implements interface ColumnMapper only partially. Auto generated.
func (ViewCustomerAutoIncrement) MarshalEasyJSON ¶
func (v ViewCustomerAutoIncrement) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ViewCustomerAutoIncrement) MarshalJSON ¶
func (v ViewCustomerAutoIncrement) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ViewCustomerAutoIncrement) UnmarshalEasyJSON ¶
func (v *ViewCustomerAutoIncrement) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ViewCustomerAutoIncrement) UnmarshalJSON ¶
func (v *ViewCustomerAutoIncrement) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*ViewCustomerAutoIncrement) Validate ¶
func (e *ViewCustomerAutoIncrement) Validate() error
Validate runs internal consistency tests.
type ViewCustomerAutoIncrements ¶
type ViewCustomerAutoIncrements struct {
Data []*ViewCustomerAutoIncrement `json:"data,omitempty"`
}
ViewCustomerAutoIncrements represents a collection type for DB table view_customer_auto_increment Not thread safe. Auto generated.
func NewViewCustomerAutoIncrements ¶
func NewViewCustomerAutoIncrements() *ViewCustomerAutoIncrements
NewViewCustomerAutoIncrements creates a new initialized collection. Auto generated.
func (*ViewCustomerAutoIncrements) Append ¶
func (cc *ViewCustomerAutoIncrements) Append(n ...*ViewCustomerAutoIncrement) *ViewCustomerAutoIncrements
Append will add a new item at the end of * ViewCustomerAutoIncrements . Auto generated via dmlgen.
func (*ViewCustomerAutoIncrements) Clear ¶
func (cc *ViewCustomerAutoIncrements) Clear() *ViewCustomerAutoIncrements
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
func (*ViewCustomerAutoIncrements) Cut ¶
func (cc *ViewCustomerAutoIncrements) Cut(i, j int) *ViewCustomerAutoIncrements
Cut will remove items i through j-1. Auto generated via dmlgen.
func (*ViewCustomerAutoIncrements) Delete ¶
func (cc *ViewCustomerAutoIncrements) Delete(i int) *ViewCustomerAutoIncrements
Delete will remove an item from the slice. Auto generated via dmlgen.
func (*ViewCustomerAutoIncrements) Each ¶
func (cc *ViewCustomerAutoIncrements) Each(f func(*ViewCustomerAutoIncrement)) *ViewCustomerAutoIncrements
Each will run function f on all items in []* ViewCustomerAutoIncrement . Auto generated via dmlgen.
func (*ViewCustomerAutoIncrements) Filter ¶
func (cc *ViewCustomerAutoIncrements) Filter(f func(*ViewCustomerAutoIncrement) bool) *ViewCustomerAutoIncrements
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
func (*ViewCustomerAutoIncrements) Insert ¶
func (cc *ViewCustomerAutoIncrements) Insert(n *ViewCustomerAutoIncrement, i int) *ViewCustomerAutoIncrements
Insert will place a new item at position i. Auto generated via dmlgen.
func (*ViewCustomerAutoIncrements) Len ¶
func (cc *ViewCustomerAutoIncrements) Len() int
Len will satisfy the sort.Interface. Auto generated via dmlgen.
func (*ViewCustomerAutoIncrements) MapColumns ¶
func (cc *ViewCustomerAutoIncrements) MapColumns(cm *dml.ColumnMap) error
MapColumns implements dml.ColumnMapper interface. Auto generated.
func (ViewCustomerAutoIncrements) MarshalEasyJSON ¶
func (v ViewCustomerAutoIncrements) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ViewCustomerAutoIncrements) MarshalJSON ¶
func (v ViewCustomerAutoIncrements) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ViewCustomerAutoIncrements) Swap ¶
func (cc *ViewCustomerAutoIncrements) Swap(i, j int)
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
func (*ViewCustomerAutoIncrements) UnmarshalEasyJSON ¶
func (v *ViewCustomerAutoIncrements) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ViewCustomerAutoIncrements) UnmarshalJSON ¶
func (v *ViewCustomerAutoIncrements) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*ViewCustomerAutoIncrements) Validate ¶
func (cc *ViewCustomerAutoIncrements) Validate() (err error)
Validate runs internal consistency tests on all items.
type ViewCustomerNoAutoIncrement ¶
type ViewCustomerNoAutoIncrement struct { Email null.String `max_len:"255"` // email varchar(255) NULL DEFAULT 'NULL' "Email" Firstname string `max_len:"255"` // firstname varchar(255) NOT NULL "First Name" Lastname string `max_len:"255"` // lastname varchar(255) NOT NULL "Last Name" City string `max_len:"255"` // city varchar(255) NOT NULL "City" }
ViewCustomerNoAutoIncrement represents a single row for DB table view_customer_no_auto_increment. Auto generated. Table comment: VIEW
func (*ViewCustomerNoAutoIncrement) Copy ¶
func (e *ViewCustomerNoAutoIncrement) Copy() *ViewCustomerNoAutoIncrement
Copy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards
func (*ViewCustomerNoAutoIncrement) Empty ¶
func (e *ViewCustomerNoAutoIncrement) Empty() *ViewCustomerNoAutoIncrement
Empty empties all the fields of the current object. Also known as Reset.
func (*ViewCustomerNoAutoIncrement) MapColumns ¶
func (e *ViewCustomerNoAutoIncrement) MapColumns(cm *dml.ColumnMap) error
MapColumns implements interface ColumnMapper only partially. Auto generated.
func (ViewCustomerNoAutoIncrement) MarshalEasyJSON ¶
func (v ViewCustomerNoAutoIncrement) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ViewCustomerNoAutoIncrement) MarshalJSON ¶
func (v ViewCustomerNoAutoIncrement) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ViewCustomerNoAutoIncrement) UnmarshalEasyJSON ¶
func (v *ViewCustomerNoAutoIncrement) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ViewCustomerNoAutoIncrement) UnmarshalJSON ¶
func (v *ViewCustomerNoAutoIncrement) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*ViewCustomerNoAutoIncrement) Validate ¶
func (e *ViewCustomerNoAutoIncrement) Validate() error
Validate runs internal consistency tests.
type ViewCustomerNoAutoIncrements ¶
type ViewCustomerNoAutoIncrements struct {
Data []*ViewCustomerNoAutoIncrement `json:"data,omitempty"`
}
ViewCustomerNoAutoIncrements represents a collection type for DB table view_customer_no_auto_increment Not thread safe. Auto generated.
func NewViewCustomerNoAutoIncrements ¶
func NewViewCustomerNoAutoIncrements() *ViewCustomerNoAutoIncrements
NewViewCustomerNoAutoIncrements creates a new initialized collection. Auto generated.
func (*ViewCustomerNoAutoIncrements) Append ¶
func (cc *ViewCustomerNoAutoIncrements) Append(n ...*ViewCustomerNoAutoIncrement) *ViewCustomerNoAutoIncrements
Append will add a new item at the end of * ViewCustomerNoAutoIncrements . Auto generated via dmlgen.
func (*ViewCustomerNoAutoIncrements) Clear ¶
func (cc *ViewCustomerNoAutoIncrements) Clear() *ViewCustomerNoAutoIncrements
Clear will reset the data slice or create a new type. Useful for reusing the underlying backing slice array. Auto generated via dmlgen.
func (*ViewCustomerNoAutoIncrements) Cut ¶
func (cc *ViewCustomerNoAutoIncrements) Cut(i, j int) *ViewCustomerNoAutoIncrements
Cut will remove items i through j-1. Auto generated via dmlgen.
func (*ViewCustomerNoAutoIncrements) Delete ¶
func (cc *ViewCustomerNoAutoIncrements) Delete(i int) *ViewCustomerNoAutoIncrements
Delete will remove an item from the slice. Auto generated via dmlgen.
func (*ViewCustomerNoAutoIncrements) Each ¶
func (cc *ViewCustomerNoAutoIncrements) Each(f func(*ViewCustomerNoAutoIncrement)) *ViewCustomerNoAutoIncrements
Each will run function f on all items in []* ViewCustomerNoAutoIncrement . Auto generated via dmlgen.
func (*ViewCustomerNoAutoIncrements) Filter ¶
func (cc *ViewCustomerNoAutoIncrements) Filter(f func(*ViewCustomerNoAutoIncrement) bool) *ViewCustomerNoAutoIncrements
Filter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.
func (*ViewCustomerNoAutoIncrements) Insert ¶
func (cc *ViewCustomerNoAutoIncrements) Insert(n *ViewCustomerNoAutoIncrement, i int) *ViewCustomerNoAutoIncrements
Insert will place a new item at position i. Auto generated via dmlgen.
func (*ViewCustomerNoAutoIncrements) Len ¶
func (cc *ViewCustomerNoAutoIncrements) Len() int
Len will satisfy the sort.Interface. Auto generated via dmlgen.
func (*ViewCustomerNoAutoIncrements) MapColumns ¶
func (cc *ViewCustomerNoAutoIncrements) MapColumns(cm *dml.ColumnMap) error
MapColumns implements dml.ColumnMapper interface. Auto generated.
func (ViewCustomerNoAutoIncrements) MarshalEasyJSON ¶
func (v ViewCustomerNoAutoIncrements) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (ViewCustomerNoAutoIncrements) MarshalJSON ¶
func (v ViewCustomerNoAutoIncrements) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*ViewCustomerNoAutoIncrements) Swap ¶
func (cc *ViewCustomerNoAutoIncrements) Swap(i, j int)
Swap will satisfy the sort.Interface. Auto generated via dmlgen.
func (*ViewCustomerNoAutoIncrements) UnmarshalEasyJSON ¶
func (v *ViewCustomerNoAutoIncrements) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*ViewCustomerNoAutoIncrements) UnmarshalJSON ¶
func (v *ViewCustomerNoAutoIncrements) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
func (*ViewCustomerNoAutoIncrements) Validate ¶
func (cc *ViewCustomerNoAutoIncrements) Validate() (err error)
Validate runs internal consistency tests on all items.