{"modulePath":"github.com/weiwolves/pkg","version":"v0.0.0-20200322065615-581c8d33cff6","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package dmltestgenerated2\n\nCode generated by codegen. DO NOT EDIT. Generated by sql/dmlgen. DO NOT EDIT.\n\n## Types\n\n```go\ntype CoreConfiguration struct {\n\tConfigID  uint32      // config_id int(10) unsigned NOT NULL PRI  auto_increment \"Id\"\n\tScope     string      // scope varchar(8) NOT NULL MUL DEFAULT ''default''  \"Scope\"\n\tScopeID   int32       // scope_id int(11) NOT NULL  DEFAULT '0'  \"Scope Id\"\n\tExpires   null.Time   // expires datetime NULL  DEFAULT 'NULL'  \"Value expiration time\"\n\tPath      string      // path varchar(255) NOT NULL    \"Path\"\n\tValue     null.String // value text NULL  DEFAULT 'NULL'  \"Value\"\n\tVersionTs time.Time   // version_ts timestamp(6) NOT NULL   STORED GENERATED \"Timestamp Start Versioning\"\n\tVersionTe time.Time   // version_te timestamp(6) NOT NULL PRI  STORED GENERATED \"Timestamp End Versioning\"\n}\n```\nCoreConfiguration represents a single row for DB table core\\_configuration. Auto generated. Table comment: Config Data\n\n```go\nfunc (e *CoreConfiguration) Copy() *CoreConfiguration\n```\nCopy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards\n\n```go\nfunc (e *CoreConfiguration) Empty() *CoreConfiguration\n```\nEmpty empties all the fields of the current object. Also known as Reset.\n\n```go\nfunc (e *CoreConfiguration) Validate() error\n```\nValidate runs internal consistency tests.\n\n```go\nfunc (e *CoreConfiguration) WriteTo(w io.Writer) (n int64, err error)\n```\nWriteTo 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.\n\n```go\ntype CoreConfigurations struct {\n\tData []*CoreConfiguration `json:\"data,omitempty\"`\n}\n```\nCoreConfigurations represents a collection type for DB table core\\_configuration Not thread safe. Auto generated.\n\n```go\nfunc NewCoreConfigurations() *CoreConfigurations\n```\nNewCoreConfigurations  creates a new initialized collection. Auto generated.\n\n```go\nfunc (cc *CoreConfigurations) Append(n ...*CoreConfiguration) *CoreConfigurations\n```\nAppend will add a new item at the end of \\* CoreConfigurations . Auto generated via dmlgen.\n\n```go\nfunc (cc *CoreConfigurations) Cut(i, j int) *CoreConfigurations\n```\nCut will remove items i through j-1. Auto generated via dmlgen.\n\n```go\nfunc (cc *CoreConfigurations) Delete(i int) *CoreConfigurations\n```\nDelete will remove an item from the slice. Auto generated via dmlgen.\n\n```go\nfunc (cc *CoreConfigurations) Each(f func(*CoreConfiguration)) *CoreConfigurations\n```\nEach will run function f on all items in \\[]\\* CoreConfiguration . Auto generated via dmlgen.\n\n```go\nfunc (cc *CoreConfigurations) Filter(f func(*CoreConfiguration) bool) *CoreConfigurations\n```\nFilter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.\n\n```go\nfunc (cc *CoreConfigurations) Insert(n *CoreConfiguration, i int) *CoreConfigurations\n```\nInsert will place a new item at position i. Auto generated via dmlgen.\n\n```go\nfunc (cc *CoreConfigurations) Len() int\n```\nLen will satisfy the sort.Interface. Auto generated via dmlgen.\n\n```go\nfunc (cc *CoreConfigurations) Swap(i, j int)\n```\nSwap will satisfy the sort.Interface. Auto generated via dmlgen.\n\n```go\nfunc (cc *CoreConfigurations) Validate() (err error)\n```\nValidate runs internal consistency tests on all items.\n\n```go\nfunc (cc *CoreConfigurations) WriteTo(w io.Writer) (n int64, err error)\n```\nWriteTo 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.\n\n```go\ntype SalesOrderStatusState struct {\n\tStatus         string // status varchar(32) NOT NULL PRI   \"Status\"\n\tState          string // state varchar(32) NOT NULL PRI   \"Label\"\n\tIsDefault      bool   // is_default smallint(5) unsigned NOT NULL  DEFAULT '0'  \"Is Default\"\n\tVisibleOnFront uint16 // visible_on_front smallint(5) unsigned NOT NULL  DEFAULT '0'  \"Visible on front\"\n}\n```\nSalesOrderStatusState represents a single row for DB table sales\\_order\\_status\\_state. Auto generated. Table comment: Sales Order Status Table\n\n```go\nfunc (e *SalesOrderStatusState) Copy() *SalesOrderStatusState\n```\nCopy copies the struct and returns a new pointer. TODO use deepcopy tool to generate code afterwards\n\n```go\nfunc (e *SalesOrderStatusState) Empty() *SalesOrderStatusState\n```\nEmpty empties all the fields of the current object. Also known as Reset.\n\n```go\nfunc (e *SalesOrderStatusState) Validate() error\n```\nValidate runs internal consistency tests.\n\n```go\nfunc (e *SalesOrderStatusState) WriteTo(w io.Writer) (n int64, err error)\n```\nWriteTo 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.\n\n```go\ntype SalesOrderStatusStates struct {\n\tData []*SalesOrderStatusState `json:\"data,omitempty\"`\n}\n```\nSalesOrderStatusStates represents a collection type for DB table sales\\_order\\_status\\_state Not thread safe. Auto generated.\n\n```go\nfunc NewSalesOrderStatusStates() *SalesOrderStatusStates\n```\nNewSalesOrderStatusStates  creates a new initialized collection. Auto generated.\n\n```go\nfunc (cc *SalesOrderStatusStates) Append(n ...*SalesOrderStatusState) *SalesOrderStatusStates\n```\nAppend will add a new item at the end of \\* SalesOrderStatusStates . Auto generated via dmlgen.\n\n```go\nfunc (cc *SalesOrderStatusStates) Cut(i, j int) *SalesOrderStatusStates\n```\nCut will remove items i through j-1. Auto generated via dmlgen.\n\n```go\nfunc (cc *SalesOrderStatusStates) Delete(i int) *SalesOrderStatusStates\n```\nDelete will remove an item from the slice. Auto generated via dmlgen.\n\n```go\nfunc (cc *SalesOrderStatusStates) Each(f func(*SalesOrderStatusState)) *SalesOrderStatusStates\n```\nEach will run function f on all items in \\[]\\* SalesOrderStatusState . Auto generated via dmlgen.\n\n```go\nfunc (cc *SalesOrderStatusStates) Filter(f func(*SalesOrderStatusState) bool) *SalesOrderStatusStates\n```\nFilter filters the current slice by predicate f without memory allocation. Auto generated via dmlgen.\n\n```go\nfunc (cc *SalesOrderStatusStates) Insert(n *SalesOrderStatusState, i int) *SalesOrderStatusStates\n```\nInsert will place a new item at position i. Auto generated via dmlgen.\n\n```go\nfunc (cc *SalesOrderStatusStates) Len() int\n```\nLen will satisfy the sort.Interface. Auto generated via dmlgen.\n\n```go\nfunc (cc *SalesOrderStatusStates) Swap(i, j int)\n```\nSwap will satisfy the sort.Interface. Auto generated via dmlgen.\n\n```go\nfunc (cc *SalesOrderStatusStates) Validate() (err error)\n```\nValidate runs internal consistency tests on all items.\n\n```go\nfunc (cc *SalesOrderStatusStates) WriteTo(w io.Writer) (n int64, err error)\n```\nWriteTo 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.\n\n","path":"github.com/weiwolves/pkg/sql/dmlgen/dmltestgenerated2","name":"dmltestgenerated2","synopsis":"Code generated by codegen.","isRedistributable":true}
