Documentation ¶
Index ¶
- Variables
- type Account
- func (m *Account) ColAccountID() *builder.Column
- func (m *Account) ColCreatedAt() *builder.Column
- func (m *Account) ColDeletedAt() *builder.Column
- func (*Account) ColDesc() map[string][]string
- func (m *Account) ColIdentityType() *builder.Column
- func (m *Account) ColMeta() *builder.Column
- func (m *Account) ColPassword() *builder.Column
- func (*Account) ColRel() map[string][]string
- func (m *Account) ColState() *builder.Column
- func (m *Account) ColUpdatedAt() *builder.Column
- func (m *Account) ColUsername() *builder.Column
- func (m *Account) ColVendor() *builder.Column
- func (*Account) Comments() map[string]string
- func (m *Account) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Account) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Account) Create(db sqlx.DBExecutor) error
- func (m *Account) Delete(db sqlx.DBExecutor) error
- func (m *Account) DeleteByAccountID(db sqlx.DBExecutor) error
- func (m *Account) DeleteByUsername(db sqlx.DBExecutor) error
- func (m *Account) FetchByAccountID(db sqlx.DBExecutor) error
- func (m *Account) FetchByUsername(db sqlx.DBExecutor) error
- func (*Account) FieldAccountID() string
- func (*Account) FieldCreatedAt() string
- func (*Account) FieldDeletedAt() string
- func (*Account) FieldIdentityType() string
- func (*Account) FieldMeta() string
- func (*Account) FieldPassword() string
- func (*Account) FieldState() string
- func (*Account) FieldUpdatedAt() string
- func (*Account) FieldUsername() string
- func (*Account) FieldVendor() string
- func (m *Account) IndexFieldNames() []string
- func (m *Account) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Account, error)
- func (*Account) PrimaryKey() []string
- func (m *Account) SoftDeleteByAccountID(db sqlx.DBExecutor) error
- func (m *Account) SoftDeleteByUsername(db sqlx.DBExecutor) error
- func (*Account) TableDesc() []string
- func (*Account) TableName() string
- func (*Account) UniqueIndexUIUsername() string
- func (*Account) UniqueIndexes() builder.Indexes
- func (m *Account) UpdateByAccountID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Account) UpdateByAccountIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Account) UpdateByUsername(db sqlx.DBExecutor, zeros ...string) error
- func (m *Account) UpdateByUsernameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type AccountInfo
- type AccountIterator
- type AccountPassword
- type AccountVendor
- type Applet
- func (m *Applet) ColAppletID() *builder.Column
- func (m *Applet) ColCreatedAt() *builder.Column
- func (*Applet) ColDesc() map[string][]string
- func (m *Applet) ColID() *builder.Column
- func (m *Applet) ColName() *builder.Column
- func (m *Applet) ColProjectID() *builder.Column
- func (*Applet) ColRel() map[string][]string
- func (m *Applet) ColResourceID() *builder.Column
- func (m *Applet) ColUpdatedAt() *builder.Column
- func (m *Applet) ColWasmName() *builder.Column
- func (*Applet) Comments() map[string]string
- func (m *Applet) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Applet) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Applet) Create(db sqlx.DBExecutor) error
- func (m *Applet) Delete(db sqlx.DBExecutor) error
- func (m *Applet) DeleteByAppletID(db sqlx.DBExecutor) error
- func (m *Applet) DeleteByID(db sqlx.DBExecutor) error
- func (m *Applet) DeleteByProjectIDAndName(db sqlx.DBExecutor) error
- func (m *Applet) FetchByAppletID(db sqlx.DBExecutor) error
- func (m *Applet) FetchByID(db sqlx.DBExecutor) error
- func (m *Applet) FetchByProjectIDAndName(db sqlx.DBExecutor) error
- func (*Applet) FieldAppletID() string
- func (*Applet) FieldCreatedAt() string
- func (*Applet) FieldID() string
- func (*Applet) FieldName() string
- func (*Applet) FieldProjectID() string
- func (*Applet) FieldResourceID() string
- func (*Applet) FieldUpdatedAt() string
- func (*Applet) FieldWasmName() string
- func (m *Applet) IndexFieldNames() []string
- func (m *Applet) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Applet, error)
- func (*Applet) PrimaryKey() []string
- func (*Applet) TableDesc() []string
- func (*Applet) TableName() string
- func (*Applet) UniqueIndexUIAppletID() string
- func (*Applet) UniqueIndexUIProjectName() string
- func (*Applet) UniqueIndexes() builder.Indexes
- func (m *Applet) UpdateByAppletID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Applet) UpdateByAppletIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Applet) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Applet) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Applet) UpdateByProjectIDAndName(db sqlx.DBExecutor, zeros ...string) error
- func (m *Applet) UpdateByProjectIDAndNameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type AppletInfo
- type AppletIterator
- type Blockchain
- func (m *Blockchain) ColAddress() *builder.Column
- func (m *Blockchain) ColChainID() *builder.Column
- func (m *Blockchain) ColCreatedAt() *builder.Column
- func (*Blockchain) ColDesc() map[string][]string
- func (m *Blockchain) ColID() *builder.Column
- func (*Blockchain) ColRel() map[string][]string
- func (m *Blockchain) ColUpdatedAt() *builder.Column
- func (*Blockchain) Comments() map[string]string
- func (m *Blockchain) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Blockchain) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Blockchain) Create(db sqlx.DBExecutor) error
- func (m *Blockchain) Delete(db sqlx.DBExecutor) error
- func (m *Blockchain) DeleteByChainID(db sqlx.DBExecutor) error
- func (m *Blockchain) DeleteByID(db sqlx.DBExecutor) error
- func (m *Blockchain) FetchByChainID(db sqlx.DBExecutor) error
- func (m *Blockchain) FetchByID(db sqlx.DBExecutor) error
- func (*Blockchain) FieldAddress() string
- func (*Blockchain) FieldChainID() string
- func (*Blockchain) FieldCreatedAt() string
- func (*Blockchain) FieldID() string
- func (*Blockchain) FieldUpdatedAt() string
- func (m *Blockchain) IndexFieldNames() []string
- func (m *Blockchain) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Blockchain, error)
- func (*Blockchain) PrimaryKey() []string
- func (*Blockchain) TableDesc() []string
- func (*Blockchain) TableName() string
- func (*Blockchain) UniqueIndexUIChainID() string
- func (*Blockchain) UniqueIndexes() builder.Indexes
- func (m *Blockchain) UpdateByChainID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Blockchain) UpdateByChainIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Blockchain) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Blockchain) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type BlockchainInfo
- type BlockchainIterator
- type ChainHeight
- func (m *ChainHeight) ColChainHeightID() *builder.Column
- func (m *ChainHeight) ColChainID() *builder.Column
- func (m *ChainHeight) ColCreatedAt() *builder.Column
- func (*ChainHeight) ColDesc() map[string][]string
- func (m *ChainHeight) ColEventType() *builder.Column
- func (m *ChainHeight) ColFinished() *builder.Column
- func (m *ChainHeight) ColHeight() *builder.Column
- func (m *ChainHeight) ColID() *builder.Column
- func (m *ChainHeight) ColProjectName() *builder.Column
- func (*ChainHeight) ColRel() map[string][]string
- func (m *ChainHeight) ColUniq() *builder.Column
- func (m *ChainHeight) ColUpdatedAt() *builder.Column
- func (*ChainHeight) Comments() map[string]string
- func (m *ChainHeight) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *ChainHeight) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *ChainHeight) Create(db sqlx.DBExecutor) error
- func (m *ChainHeight) Delete(db sqlx.DBExecutor) error
- func (m *ChainHeight) DeleteByChainHeightID(db sqlx.DBExecutor) error
- func (m *ChainHeight) DeleteByID(db sqlx.DBExecutor) error
- func (m *ChainHeight) DeleteByProjectNameAndEventTypeAndChainIDAndHeightAndUniq(db sqlx.DBExecutor) error
- func (m *ChainHeight) FetchByChainHeightID(db sqlx.DBExecutor) error
- func (m *ChainHeight) FetchByID(db sqlx.DBExecutor) error
- func (m *ChainHeight) FetchByProjectNameAndEventTypeAndChainIDAndHeightAndUniq(db sqlx.DBExecutor) error
- func (*ChainHeight) FieldChainHeightID() string
- func (*ChainHeight) FieldChainID() string
- func (*ChainHeight) FieldCreatedAt() string
- func (*ChainHeight) FieldEventType() string
- func (*ChainHeight) FieldFinished() string
- func (*ChainHeight) FieldHeight() string
- func (*ChainHeight) FieldID() string
- func (*ChainHeight) FieldProjectName() string
- func (*ChainHeight) FieldUniq() string
- func (*ChainHeight) FieldUpdatedAt() string
- func (m *ChainHeight) IndexFieldNames() []string
- func (m *ChainHeight) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ChainHeight, error)
- func (*ChainHeight) PrimaryKey() []string
- func (*ChainHeight) TableDesc() []string
- func (*ChainHeight) TableName() string
- func (*ChainHeight) UniqueIndexUIChainHeightID() string
- func (*ChainHeight) UniqueIndexUIChainHeightUniq() string
- func (*ChainHeight) UniqueIndexes() builder.Indexes
- func (m *ChainHeight) UpdateByChainHeightID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ChainHeight) UpdateByChainHeightIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ChainHeight) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ChainHeight) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ChainHeight) UpdateByProjectNameAndEventTypeAndChainIDAndHeightAndUniq(db sqlx.DBExecutor, zeros ...string) error
- func (m *ChainHeight) UpdateByProjectNameAndEventTypeAndChainIDAndHeightAndUniqWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ChainHeightData
- type ChainHeightInfo
- type ChainHeightIterator
- type ChainTx
- func (m *ChainTx) ColChainID() *builder.Column
- func (m *ChainTx) ColChainTxID() *builder.Column
- func (m *ChainTx) ColCreatedAt() *builder.Column
- func (*ChainTx) ColDesc() map[string][]string
- func (m *ChainTx) ColEventType() *builder.Column
- func (m *ChainTx) ColFinished() *builder.Column
- func (m *ChainTx) ColID() *builder.Column
- func (m *ChainTx) ColProjectName() *builder.Column
- func (*ChainTx) ColRel() map[string][]string
- func (m *ChainTx) ColTxAddress() *builder.Column
- func (m *ChainTx) ColUniq() *builder.Column
- func (m *ChainTx) ColUpdatedAt() *builder.Column
- func (*ChainTx) Comments() map[string]string
- func (m *ChainTx) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *ChainTx) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *ChainTx) Create(db sqlx.DBExecutor) error
- func (m *ChainTx) Delete(db sqlx.DBExecutor) error
- func (m *ChainTx) DeleteByChainTxID(db sqlx.DBExecutor) error
- func (m *ChainTx) DeleteByID(db sqlx.DBExecutor) error
- func (m *ChainTx) DeleteByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq(db sqlx.DBExecutor) error
- func (m *ChainTx) FetchByChainTxID(db sqlx.DBExecutor) error
- func (m *ChainTx) FetchByID(db sqlx.DBExecutor) error
- func (m *ChainTx) FetchByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq(db sqlx.DBExecutor) error
- func (*ChainTx) FieldChainID() string
- func (*ChainTx) FieldChainTxID() string
- func (*ChainTx) FieldCreatedAt() string
- func (*ChainTx) FieldEventType() string
- func (*ChainTx) FieldFinished() string
- func (*ChainTx) FieldID() string
- func (*ChainTx) FieldProjectName() string
- func (*ChainTx) FieldTxAddress() string
- func (*ChainTx) FieldUniq() string
- func (*ChainTx) FieldUpdatedAt() string
- func (m *ChainTx) IndexFieldNames() []string
- func (m *ChainTx) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ChainTx, error)
- func (*ChainTx) PrimaryKey() []string
- func (*ChainTx) TableDesc() []string
- func (*ChainTx) TableName() string
- func (*ChainTx) UniqueIndexUIChainTxID() string
- func (*ChainTx) UniqueIndexUIChainTxUniq() string
- func (*ChainTx) UniqueIndexes() builder.Indexes
- func (m *ChainTx) UpdateByChainTxID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ChainTx) UpdateByChainTxIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ChainTx) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ChainTx) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ChainTx) UpdateByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq(db sqlx.DBExecutor, zeros ...string) error
- func (m *ChainTx) UpdateByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniqWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ChainTxData
- type ChainTxInfo
- type ChainTxIterator
- type Config
- func (m *Config) ColConfigID() *builder.Column
- func (m *Config) ColCreatedAt() *builder.Column
- func (*Config) ColDesc() map[string][]string
- func (m *Config) ColID() *builder.Column
- func (*Config) ColRel() map[string][]string
- func (m *Config) ColRelID() *builder.Column
- func (m *Config) ColType() *builder.Column
- func (m *Config) ColUpdatedAt() *builder.Column
- func (m *Config) ColValue() *builder.Column
- func (*Config) Comments() map[string]string
- func (m *Config) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Config) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Config) Create(db sqlx.DBExecutor) error
- func (m *Config) Delete(db sqlx.DBExecutor) error
- func (m *Config) DeleteByConfigID(db sqlx.DBExecutor) error
- func (m *Config) DeleteByID(db sqlx.DBExecutor) error
- func (m *Config) DeleteByRelIDAndType(db sqlx.DBExecutor) error
- func (m *Config) FetchByConfigID(db sqlx.DBExecutor) error
- func (m *Config) FetchByID(db sqlx.DBExecutor) error
- func (m *Config) FetchByRelIDAndType(db sqlx.DBExecutor) error
- func (*Config) FieldConfigID() string
- func (*Config) FieldCreatedAt() string
- func (*Config) FieldID() string
- func (*Config) FieldRelID() string
- func (*Config) FieldType() string
- func (*Config) FieldUpdatedAt() string
- func (*Config) FieldValue() string
- func (m *Config) IndexFieldNames() []string
- func (m *Config) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Config, error)
- func (*Config) PrimaryKey() []string
- func (*Config) TableDesc() []string
- func (*Config) TableName() string
- func (*Config) UniqueIndexUIConfigID() string
- func (*Config) UniqueIndexUIRelType() string
- func (*Config) UniqueIndexes() builder.Indexes
- func (m *Config) UpdateByConfigID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Config) UpdateByConfigIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Config) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Config) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Config) UpdateByRelIDAndType(db sqlx.DBExecutor, zeros ...string) error
- func (m *Config) UpdateByRelIDAndTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ConfigBase
- type ConfigIterator
- type ContractLog
- func (m *ContractLog) ColBlockCurrent() *builder.Column
- func (m *ContractLog) ColBlockEnd() *builder.Column
- func (m *ContractLog) ColBlockStart() *builder.Column
- func (m *ContractLog) ColChainID() *builder.Column
- func (m *ContractLog) ColContractAddress() *builder.Column
- func (m *ContractLog) ColContractLogID() *builder.Column
- func (m *ContractLog) ColCreatedAt() *builder.Column
- func (*ContractLog) ColDesc() map[string][]string
- func (m *ContractLog) ColEventType() *builder.Column
- func (m *ContractLog) ColID() *builder.Column
- func (m *ContractLog) ColProjectName() *builder.Column
- func (*ContractLog) ColRel() map[string][]string
- func (m *ContractLog) ColTopic0() *builder.Column
- func (m *ContractLog) ColTopic1() *builder.Column
- func (m *ContractLog) ColTopic2() *builder.Column
- func (m *ContractLog) ColTopic3() *builder.Column
- func (m *ContractLog) ColUniq() *builder.Column
- func (m *ContractLog) ColUpdatedAt() *builder.Column
- func (*ContractLog) Comments() map[string]string
- func (m *ContractLog) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *ContractLog) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *ContractLog) Create(db sqlx.DBExecutor) error
- func (m *ContractLog) Delete(db sqlx.DBExecutor) error
- func (m *ContractLog) DeleteByContractLogID(db sqlx.DBExecutor) error
- func (m *ContractLog) DeleteByID(db sqlx.DBExecutor) error
- func (m *ContractLog) DeleteByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(db sqlx.DBExecutor) error
- func (m *ContractLog) FetchByContractLogID(db sqlx.DBExecutor) error
- func (m *ContractLog) FetchByID(db sqlx.DBExecutor) error
- func (m *ContractLog) FetchByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(db sqlx.DBExecutor) error
- func (*ContractLog) FieldBlockCurrent() string
- func (*ContractLog) FieldBlockEnd() string
- func (*ContractLog) FieldBlockStart() string
- func (*ContractLog) FieldChainID() string
- func (*ContractLog) FieldContractAddress() string
- func (*ContractLog) FieldContractLogID() string
- func (*ContractLog) FieldCreatedAt() string
- func (*ContractLog) FieldEventType() string
- func (*ContractLog) FieldID() string
- func (*ContractLog) FieldProjectName() string
- func (*ContractLog) FieldTopic0() string
- func (*ContractLog) FieldTopic1() string
- func (*ContractLog) FieldTopic2() string
- func (*ContractLog) FieldTopic3() string
- func (*ContractLog) FieldUniq() string
- func (*ContractLog) FieldUpdatedAt() string
- func (m *ContractLog) IndexFieldNames() []string
- func (m *ContractLog) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ContractLog, error)
- func (*ContractLog) PrimaryKey() []string
- func (*ContractLog) TableDesc() []string
- func (*ContractLog) TableName() string
- func (*ContractLog) UniqueIndexUIContractLogID() string
- func (*ContractLog) UniqueIndexUIContractLogUniq() string
- func (*ContractLog) UniqueIndexes() builder.Indexes
- func (m *ContractLog) UpdateByContractLogID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ContractLog) UpdateByContractLogIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ContractLog) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *ContractLog) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(db sqlx.DBExecutor, zeros ...string) error
- func (m *ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniqWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ContractLogData
- type ContractLogInfo
- type ContractLogIterator
- type EventInfo
- type EventLog
- func (m *EventLog) ColAppletID() *builder.Column
- func (m *EventLog) ColCreatedAt() *builder.Column
- func (*EventLog) ColDesc() map[string][]string
- func (m *EventLog) ColEventID() *builder.Column
- func (m *EventLog) ColID() *builder.Column
- func (m *EventLog) ColProjectID() *builder.Column
- func (m *EventLog) ColPublisherID() *builder.Column
- func (*EventLog) ColRel() map[string][]string
- func (m *EventLog) ColUpdatedAt() *builder.Column
- func (*EventLog) Comments() map[string]string
- func (m *EventLog) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *EventLog) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *EventLog) Create(db sqlx.DBExecutor) error
- func (m *EventLog) Delete(db sqlx.DBExecutor) error
- func (m *EventLog) DeleteByEventID(db sqlx.DBExecutor) error
- func (m *EventLog) DeleteByID(db sqlx.DBExecutor) error
- func (m *EventLog) FetchByEventID(db sqlx.DBExecutor) error
- func (m *EventLog) FetchByID(db sqlx.DBExecutor) error
- func (*EventLog) FieldAppletID() string
- func (*EventLog) FieldCreatedAt() string
- func (*EventLog) FieldEventID() string
- func (*EventLog) FieldID() string
- func (*EventLog) FieldProjectID() string
- func (*EventLog) FieldPublisherID() string
- func (*EventLog) FieldUpdatedAt() string
- func (m *EventLog) IndexFieldNames() []string
- func (*EventLog) Indexes() builder.Indexes
- func (m *EventLog) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]EventLog, error)
- func (*EventLog) PrimaryKey() []string
- func (*EventLog) TableDesc() []string
- func (*EventLog) TableName() string
- func (*EventLog) UniqueIndexUIEventID() string
- func (*EventLog) UniqueIndexes() builder.Indexes
- func (m *EventLog) UpdateByEventID(db sqlx.DBExecutor, zeros ...string) error
- func (m *EventLog) UpdateByEventIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *EventLog) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *EventLog) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type EventLogIterator
- type Instance
- func (m *Instance) ColAppletID() *builder.Column
- func (m *Instance) ColCreatedAt() *builder.Column
- func (m *Instance) ColDeletedAt() *builder.Column
- func (*Instance) ColDesc() map[string][]string
- func (m *Instance) ColID() *builder.Column
- func (m *Instance) ColInstanceID() *builder.Column
- func (*Instance) ColRel() map[string][]string
- func (m *Instance) ColState() *builder.Column
- func (m *Instance) ColUpdatedAt() *builder.Column
- func (*Instance) Comments() map[string]string
- func (m *Instance) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Instance) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Instance) Create(db sqlx.DBExecutor) error
- func (m *Instance) Delete(db sqlx.DBExecutor) error
- func (m *Instance) DeleteByAppletID(db sqlx.DBExecutor) error
- func (m *Instance) DeleteByID(db sqlx.DBExecutor) error
- func (m *Instance) DeleteByInstanceID(db sqlx.DBExecutor) error
- func (m *Instance) FetchByAppletID(db sqlx.DBExecutor) error
- func (m *Instance) FetchByID(db sqlx.DBExecutor) error
- func (m *Instance) FetchByInstanceID(db sqlx.DBExecutor) error
- func (*Instance) FieldAppletID() string
- func (*Instance) FieldCreatedAt() string
- func (*Instance) FieldDeletedAt() string
- func (*Instance) FieldID() string
- func (*Instance) FieldInstanceID() string
- func (*Instance) FieldState() string
- func (*Instance) FieldUpdatedAt() string
- func (m *Instance) IndexFieldNames() []string
- func (m *Instance) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Instance, error)
- func (*Instance) PrimaryKey() []string
- func (m *Instance) SoftDeleteByAppletID(db sqlx.DBExecutor) error
- func (m *Instance) SoftDeleteByID(db sqlx.DBExecutor) error
- func (m *Instance) SoftDeleteByInstanceID(db sqlx.DBExecutor) error
- func (*Instance) TableDesc() []string
- func (*Instance) TableName() string
- func (*Instance) UniqueIndexUIAppletID() string
- func (*Instance) UniqueIndexUIInstanceID() string
- func (*Instance) UniqueIndexes() builder.Indexes
- func (m *Instance) UpdateByAppletID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Instance) UpdateByAppletIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Instance) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Instance) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Instance) UpdateByInstanceID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Instance) UpdateByInstanceIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type InstanceInfo
- type InstanceIterator
- type Meta
- type Project
- func (m *Project) ColAccountID() *builder.Column
- func (m *Project) ColCreatedAt() *builder.Column
- func (m *Project) ColDeletedAt() *builder.Column
- func (*Project) ColDesc() map[string][]string
- func (m *Project) ColID() *builder.Column
- func (m *Project) ColName() *builder.Column
- func (m *Project) ColProjectID() *builder.Column
- func (m *Project) ColProto() *builder.Column
- func (*Project) ColRel() map[string][]string
- func (m *Project) ColUpdatedAt() *builder.Column
- func (m *Project) ColVersion() *builder.Column
- func (*Project) Comments() map[string]string
- func (m *Project) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Project) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Project) Create(db sqlx.DBExecutor) error
- func (m *Project) Delete(db sqlx.DBExecutor) error
- func (m *Project) DeleteByID(db sqlx.DBExecutor) error
- func (m *Project) DeleteByName(db sqlx.DBExecutor) error
- func (m *Project) DeleteByProjectID(db sqlx.DBExecutor) error
- func (m *Project) FetchByID(db sqlx.DBExecutor) error
- func (m *Project) FetchByName(db sqlx.DBExecutor) error
- func (m *Project) FetchByProjectID(db sqlx.DBExecutor) error
- func (*Project) FieldAccountID() string
- func (*Project) FieldCreatedAt() string
- func (*Project) FieldDeletedAt() string
- func (*Project) FieldID() string
- func (*Project) FieldName() string
- func (*Project) FieldProjectID() string
- func (*Project) FieldProto() string
- func (*Project) FieldUpdatedAt() string
- func (*Project) FieldVersion() string
- func (m *Project) IndexFieldNames() []string
- func (m *Project) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Project, error)
- func (*Project) PrimaryKey() []string
- func (m *Project) SoftDeleteByID(db sqlx.DBExecutor) error
- func (m *Project) SoftDeleteByName(db sqlx.DBExecutor) error
- func (m *Project) SoftDeleteByProjectID(db sqlx.DBExecutor) error
- func (*Project) TableDesc() []string
- func (*Project) TableName() string
- func (*Project) UniqueIndexUIName() string
- func (*Project) UniqueIndexUIProjectID() string
- func (*Project) UniqueIndexes() builder.Indexes
- func (m *Project) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Project) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Project) UpdateByName(db sqlx.DBExecutor, zeros ...string) error
- func (m *Project) UpdateByNameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Project) UpdateByProjectID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Project) UpdateByProjectIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ProjectBase
- type ProjectIterator
- type ProjectName
- type Publisher
- func (m *Publisher) ColCreatedAt() *builder.Column
- func (*Publisher) ColDesc() map[string][]string
- func (m *Publisher) ColID() *builder.Column
- func (m *Publisher) ColKey() *builder.Column
- func (m *Publisher) ColName() *builder.Column
- func (m *Publisher) ColProjectID() *builder.Column
- func (m *Publisher) ColPublisherID() *builder.Column
- func (*Publisher) ColRel() map[string][]string
- func (m *Publisher) ColToken() *builder.Column
- func (m *Publisher) ColUpdatedAt() *builder.Column
- func (*Publisher) Comments() map[string]string
- func (m *Publisher) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Publisher) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Publisher) Create(db sqlx.DBExecutor) error
- func (m *Publisher) Delete(db sqlx.DBExecutor) error
- func (m *Publisher) DeleteByID(db sqlx.DBExecutor) error
- func (m *Publisher) DeleteByKey(db sqlx.DBExecutor) error
- func (m *Publisher) DeleteByPublisherID(db sqlx.DBExecutor) error
- func (m *Publisher) FetchByID(db sqlx.DBExecutor) error
- func (m *Publisher) FetchByKey(db sqlx.DBExecutor) error
- func (m *Publisher) FetchByPublisherID(db sqlx.DBExecutor) error
- func (*Publisher) FieldCreatedAt() string
- func (*Publisher) FieldID() string
- func (*Publisher) FieldKey() string
- func (*Publisher) FieldName() string
- func (*Publisher) FieldProjectID() string
- func (*Publisher) FieldPublisherID() string
- func (*Publisher) FieldToken() string
- func (*Publisher) FieldUpdatedAt() string
- func (m *Publisher) IndexFieldNames() []string
- func (m *Publisher) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Publisher, error)
- func (*Publisher) PrimaryKey() []string
- func (*Publisher) TableDesc() []string
- func (*Publisher) TableName() string
- func (*Publisher) UniqueIndexUIPublisherID() string
- func (*Publisher) UniqueIndexUIPublisherKey() string
- func (*Publisher) UniqueIndexes() builder.Indexes
- func (m *Publisher) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Publisher) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Publisher) UpdateByKey(db sqlx.DBExecutor, zeros ...string) error
- func (m *Publisher) UpdateByKeyWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Publisher) UpdateByPublisherID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Publisher) UpdateByPublisherIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type PublisherInfo
- type PublisherIterator
- type RefEventID
- type RelAccount
- type RelApplet
- type RelBlockchain
- type RelChainHeight
- type RelChainTx
- type RelConfig
- type RelContractLog
- type RelInstance
- type RelProject
- type RelPublisher
- type RelResource
- type RelStrategy
- type Resource
- func (m *Resource) ColCreatedAt() *builder.Column
- func (*Resource) ColDesc() map[string][]string
- func (m *Resource) ColID() *builder.Column
- func (m *Resource) ColMd5() *builder.Column
- func (m *Resource) ColPath() *builder.Column
- func (*Resource) ColRel() map[string][]string
- func (m *Resource) ColResourceID() *builder.Column
- func (m *Resource) ColUpdatedAt() *builder.Column
- func (*Resource) Comments() map[string]string
- func (m *Resource) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Resource) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Resource) Create(db sqlx.DBExecutor) error
- func (m *Resource) Delete(db sqlx.DBExecutor) error
- func (m *Resource) DeleteByID(db sqlx.DBExecutor) error
- func (m *Resource) DeleteByMd5(db sqlx.DBExecutor) error
- func (m *Resource) DeleteByResourceID(db sqlx.DBExecutor) error
- func (m *Resource) FetchByID(db sqlx.DBExecutor) error
- func (m *Resource) FetchByMd5(db sqlx.DBExecutor) error
- func (m *Resource) FetchByResourceID(db sqlx.DBExecutor) error
- func (*Resource) FieldCreatedAt() string
- func (*Resource) FieldID() string
- func (*Resource) FieldMd5() string
- func (*Resource) FieldPath() string
- func (*Resource) FieldResourceID() string
- func (*Resource) FieldUpdatedAt() string
- func (m *Resource) IndexFieldNames() []string
- func (m *Resource) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Resource, error)
- func (*Resource) PrimaryKey() []string
- func (*Resource) TableDesc() []string
- func (*Resource) TableName() string
- func (*Resource) UniqueIndexUIMd5() string
- func (*Resource) UniqueIndexUIResourceID() string
- func (*Resource) UniqueIndexes() builder.Indexes
- func (m *Resource) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Resource) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Resource) UpdateByMd5(db sqlx.DBExecutor, zeros ...string) error
- func (m *Resource) UpdateByMd5WithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Resource) UpdateByResourceID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Resource) UpdateByResourceIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type ResourceInfo
- type ResourceIterator
- type Strategy
- func (m *Strategy) ColAppletID() *builder.Column
- func (m *Strategy) ColCreatedAt() *builder.Column
- func (m *Strategy) ColDeletedAt() *builder.Column
- func (*Strategy) ColDesc() map[string][]string
- func (m *Strategy) ColEventType() *builder.Column
- func (m *Strategy) ColHandler() *builder.Column
- func (m *Strategy) ColID() *builder.Column
- func (m *Strategy) ColProjectID() *builder.Column
- func (*Strategy) ColRel() map[string][]string
- func (m *Strategy) ColStrategyID() *builder.Column
- func (m *Strategy) ColUpdatedAt() *builder.Column
- func (*Strategy) Comments() map[string]string
- func (m *Strategy) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
- func (m *Strategy) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
- func (m *Strategy) Create(db sqlx.DBExecutor) error
- func (m *Strategy) Delete(db sqlx.DBExecutor) error
- func (m *Strategy) DeleteByID(db sqlx.DBExecutor) error
- func (m *Strategy) DeleteByProjectIDAndAppletIDAndEventTypeAndHandler(db sqlx.DBExecutor) error
- func (m *Strategy) DeleteByStrategyID(db sqlx.DBExecutor) error
- func (m *Strategy) FetchByID(db sqlx.DBExecutor) error
- func (m *Strategy) FetchByProjectIDAndAppletIDAndEventTypeAndHandler(db sqlx.DBExecutor) error
- func (m *Strategy) FetchByStrategyID(db sqlx.DBExecutor) error
- func (*Strategy) FieldAppletID() string
- func (*Strategy) FieldCreatedAt() string
- func (*Strategy) FieldDeletedAt() string
- func (*Strategy) FieldEventType() string
- func (*Strategy) FieldHandler() string
- func (*Strategy) FieldID() string
- func (*Strategy) FieldProjectID() string
- func (*Strategy) FieldStrategyID() string
- func (*Strategy) FieldUpdatedAt() string
- func (m *Strategy) IndexFieldNames() []string
- func (m *Strategy) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Strategy, error)
- func (*Strategy) PrimaryKey() []string
- func (m *Strategy) SoftDeleteByID(db sqlx.DBExecutor) error
- func (m *Strategy) SoftDeleteByProjectIDAndAppletIDAndEventTypeAndHandler(db sqlx.DBExecutor) error
- func (m *Strategy) SoftDeleteByStrategyID(db sqlx.DBExecutor) error
- func (*Strategy) TableDesc() []string
- func (*Strategy) TableName() string
- func (*Strategy) UniqueIndexUIPrjAppEvent() string
- func (*Strategy) UniqueIndexUIStrategyID() string
- func (*Strategy) UniqueIndexes() builder.Indexes
- func (m *Strategy) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Strategy) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Strategy) UpdateByProjectIDAndAppletIDAndEventTypeAndHandler(db sqlx.DBExecutor, zeros ...string) error
- func (m *Strategy) UpdateByProjectIDAndAppletIDAndEventTypeAndHandlerWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- func (m *Strategy) UpdateByStrategyID(db sqlx.DBExecutor, zeros ...string) error
- func (m *Strategy) UpdateByStrategyIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
- type StrategyInfo
- type StrategyIterator
- type Text
Constants ¶
This section is empty.
Variables ¶
var ( DB = sqlx.NewDatabase("demo").WithSchema("applet_management") MonitorDB = sqlx.NewDatabase("demo").WithSchema("monitor") WasmDB = sqlx.NewDatabase("wasm_storage") )
var AccountTable *builder.Table
var AppletTable *builder.Table
var BlockchainTable *builder.Table
var ChainHeightTable *builder.Table
var ChainTxTable *builder.Table
var ConfigTable *builder.Table
var ContractLogTable *builder.Table
var DefaultStrategyInfo = StrategyInfo{ EventType: enums.EVENTTYPEDEFAULT, Handler: "start", }
var EventLogTable *builder.Table
var InstanceTable *builder.Table
var ProjectTable *builder.Table
var PublisherTable *builder.Table
var ResourceTable *builder.Table
var StrategyTable *builder.Table
Functions ¶
This section is empty.
Types ¶
type Account ¶
type Account struct { RelAccount AccountInfo datatypes.OperationTimesWithDeleted }
Account w3bstream account @def primary AccountID DeletedAt @def unique_index ui_username Username
func (*Account) ColAccountID ¶
func (*Account) ColCreatedAt ¶
func (*Account) ColDeletedAt ¶
func (*Account) ColIdentityType ¶
func (*Account) ColPassword ¶
func (*Account) ColUpdatedAt ¶
func (*Account) ColUsername ¶
func (*Account) CondByValue ¶
func (m *Account) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Account) Count ¶
func (m *Account) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Account) DeleteByAccountID ¶
func (m *Account) DeleteByAccountID(db sqlx.DBExecutor) error
func (*Account) DeleteByUsername ¶
func (m *Account) DeleteByUsername(db sqlx.DBExecutor) error
func (*Account) FetchByAccountID ¶
func (m *Account) FetchByAccountID(db sqlx.DBExecutor) error
func (*Account) FetchByUsername ¶
func (m *Account) FetchByUsername(db sqlx.DBExecutor) error
func (*Account) FieldAccountID ¶
func (*Account) FieldCreatedAt ¶
func (*Account) FieldDeletedAt ¶
func (*Account) FieldIdentityType ¶
func (*Account) FieldPassword ¶
func (*Account) FieldState ¶
func (*Account) FieldUpdatedAt ¶
func (*Account) FieldUsername ¶
func (*Account) FieldVendor ¶
func (*Account) IndexFieldNames ¶
func (*Account) List ¶
func (m *Account) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Account, error)
func (*Account) PrimaryKey ¶
func (*Account) SoftDeleteByAccountID ¶
func (m *Account) SoftDeleteByAccountID(db sqlx.DBExecutor) error
func (*Account) SoftDeleteByUsername ¶
func (m *Account) SoftDeleteByUsername(db sqlx.DBExecutor) error
func (*Account) UniqueIndexUIUsername ¶
func (*Account) UniqueIndexes ¶
func (*Account) UpdateByAccountID ¶
func (m *Account) UpdateByAccountID(db sqlx.DBExecutor, zeros ...string) error
func (*Account) UpdateByAccountIDWithFVs ¶
func (m *Account) UpdateByAccountIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Account) UpdateByUsername ¶
func (m *Account) UpdateByUsername(db sqlx.DBExecutor, zeros ...string) error
func (*Account) UpdateByUsernameWithFVs ¶
func (m *Account) UpdateByUsernameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type AccountInfo ¶
type AccountInfo struct { Username string `db:"f_username" json:"username"` IdentityType enums.AccountIdentityType `db:"f_identity_type,default='0'" json:"identityType"` State enums.AccountState `db:"f_state,default='0'" json:"-"` Password AccountPassword `db:"f_password" json:"-"` Vendor AccountVendor `db:"f_vendor,default=''" json:"-"` Meta Meta `db:"f_meta,default=''" json:"meta"` }
type AccountIterator ¶
type AccountIterator struct { }
func (*AccountIterator) New ¶
func (*AccountIterator) New() interface{}
func (*AccountIterator) Resolve ¶
func (*AccountIterator) Resolve(v interface{}) *Account
type AccountPassword ¶
type AccountPassword struct { Type enums.PasswordType `json:"type,omitempty"` Password string `json:"password"` Scope string `json:"scope,omitempty"` Desc string `json:"desc,omitempty"` }
func (AccountPassword) DataType ¶
func (AccountPassword) DataType(drv string) string
func (*AccountPassword) Scan ¶
func (v *AccountPassword) Scan(src interface{}) error
type AccountVendor ¶
AccountVendor third part vendor
func (AccountVendor) DataType ¶
func (AccountVendor) DataType(drv string) string
func (*AccountVendor) Scan ¶
func (v *AccountVendor) Scan(src interface{}) error
type Applet ¶
type Applet struct { datatypes.PrimaryID RelProject RelApplet RelResource AppletInfo datatypes.OperationTimes }
Applet database model applet @def primary ID @def unique_index UI_applet_id AppletID @def unique_index UI_project_name ProjectID Name
func (*Applet) ColAppletID ¶
func (*Applet) ColCreatedAt ¶
func (*Applet) ColProjectID ¶
func (*Applet) ColResourceID ¶
func (*Applet) ColUpdatedAt ¶
func (*Applet) ColWasmName ¶
func (*Applet) CondByValue ¶
func (m *Applet) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Applet) Count ¶
func (m *Applet) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Applet) DeleteByAppletID ¶
func (m *Applet) DeleteByAppletID(db sqlx.DBExecutor) error
func (*Applet) DeleteByID ¶
func (m *Applet) DeleteByID(db sqlx.DBExecutor) error
func (*Applet) DeleteByProjectIDAndName ¶
func (m *Applet) DeleteByProjectIDAndName(db sqlx.DBExecutor) error
func (*Applet) FetchByAppletID ¶
func (m *Applet) FetchByAppletID(db sqlx.DBExecutor) error
func (*Applet) FetchByProjectIDAndName ¶
func (m *Applet) FetchByProjectIDAndName(db sqlx.DBExecutor) error
func (*Applet) FieldAppletID ¶
func (*Applet) FieldCreatedAt ¶
func (*Applet) FieldProjectID ¶
func (*Applet) FieldResourceID ¶
func (*Applet) FieldUpdatedAt ¶
func (*Applet) FieldWasmName ¶
func (*Applet) IndexFieldNames ¶
func (*Applet) List ¶
func (m *Applet) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Applet, error)
func (*Applet) PrimaryKey ¶
func (*Applet) UniqueIndexUIAppletID ¶
func (*Applet) UniqueIndexUIProjectName ¶
func (*Applet) UniqueIndexes ¶
func (*Applet) UpdateByAppletID ¶
func (m *Applet) UpdateByAppletID(db sqlx.DBExecutor, zeros ...string) error
func (*Applet) UpdateByAppletIDWithFVs ¶
func (m *Applet) UpdateByAppletIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Applet) UpdateByID ¶
func (m *Applet) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Applet) UpdateByIDWithFVs ¶
func (m *Applet) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Applet) UpdateByProjectIDAndName ¶
func (m *Applet) UpdateByProjectIDAndName(db sqlx.DBExecutor, zeros ...string) error
func (*Applet) UpdateByProjectIDAndNameWithFVs ¶
func (m *Applet) UpdateByProjectIDAndNameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type AppletInfo ¶
type AppletIterator ¶
type AppletIterator struct { }
func (*AppletIterator) New ¶
func (*AppletIterator) New() interface{}
func (*AppletIterator) Resolve ¶
func (*AppletIterator) Resolve(v interface{}) *Applet
type Blockchain ¶
type Blockchain struct { datatypes.PrimaryID RelBlockchain BlockchainInfo datatypes.OperationTimes }
Blockchain database model blockchain @def primary ID @def unique_index UI_chain_id ChainID
func (*Blockchain) ColAddress ¶
func (m *Blockchain) ColAddress() *builder.Column
func (*Blockchain) ColChainID ¶
func (m *Blockchain) ColChainID() *builder.Column
func (*Blockchain) ColCreatedAt ¶
func (m *Blockchain) ColCreatedAt() *builder.Column
func (*Blockchain) ColDesc ¶
func (*Blockchain) ColDesc() map[string][]string
func (*Blockchain) ColID ¶
func (m *Blockchain) ColID() *builder.Column
func (*Blockchain) ColRel ¶
func (*Blockchain) ColRel() map[string][]string
func (*Blockchain) ColUpdatedAt ¶
func (m *Blockchain) ColUpdatedAt() *builder.Column
func (*Blockchain) Comments ¶
func (*Blockchain) Comments() map[string]string
func (*Blockchain) CondByValue ¶
func (m *Blockchain) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Blockchain) Count ¶
func (m *Blockchain) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Blockchain) Create ¶
func (m *Blockchain) Create(db sqlx.DBExecutor) error
func (*Blockchain) Delete ¶
func (m *Blockchain) Delete(db sqlx.DBExecutor) error
func (*Blockchain) DeleteByChainID ¶
func (m *Blockchain) DeleteByChainID(db sqlx.DBExecutor) error
func (*Blockchain) DeleteByID ¶
func (m *Blockchain) DeleteByID(db sqlx.DBExecutor) error
func (*Blockchain) FetchByChainID ¶
func (m *Blockchain) FetchByChainID(db sqlx.DBExecutor) error
func (*Blockchain) FetchByID ¶
func (m *Blockchain) FetchByID(db sqlx.DBExecutor) error
func (*Blockchain) FieldAddress ¶
func (*Blockchain) FieldAddress() string
func (*Blockchain) FieldChainID ¶
func (*Blockchain) FieldChainID() string
func (*Blockchain) FieldCreatedAt ¶
func (*Blockchain) FieldCreatedAt() string
func (*Blockchain) FieldID ¶
func (*Blockchain) FieldID() string
func (*Blockchain) FieldUpdatedAt ¶
func (*Blockchain) FieldUpdatedAt() string
func (*Blockchain) IndexFieldNames ¶
func (m *Blockchain) IndexFieldNames() []string
func (*Blockchain) List ¶
func (m *Blockchain) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Blockchain, error)
func (*Blockchain) PrimaryKey ¶
func (*Blockchain) PrimaryKey() []string
func (*Blockchain) TableDesc ¶
func (*Blockchain) TableDesc() []string
func (*Blockchain) TableName ¶
func (*Blockchain) TableName() string
func (*Blockchain) UniqueIndexUIChainID ¶
func (*Blockchain) UniqueIndexUIChainID() string
func (*Blockchain) UniqueIndexes ¶
func (*Blockchain) UniqueIndexes() builder.Indexes
func (*Blockchain) UpdateByChainID ¶
func (m *Blockchain) UpdateByChainID(db sqlx.DBExecutor, zeros ...string) error
func (*Blockchain) UpdateByChainIDWithFVs ¶
func (m *Blockchain) UpdateByChainIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Blockchain) UpdateByID ¶
func (m *Blockchain) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Blockchain) UpdateByIDWithFVs ¶
func (m *Blockchain) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type BlockchainInfo ¶
type BlockchainInfo struct {
Address string `db:"f_chain_address" json:"chainAddress"`
}
type BlockchainIterator ¶
type BlockchainIterator struct { }
func (*BlockchainIterator) New ¶
func (*BlockchainIterator) New() interface{}
func (*BlockchainIterator) Resolve ¶
func (*BlockchainIterator) Resolve(v interface{}) *Blockchain
type ChainHeight ¶
type ChainHeight struct { datatypes.PrimaryID RelChainHeight ChainHeightData datatypes.OperationTimes }
ChainHeight database model chainheight @def primary ID @def unique_index UI_chain_height_id ChainHeightID @def unique_index UI_chain_height_uniq ProjectName EventType ChainID Height Uniq
func (*ChainHeight) ColChainHeightID ¶
func (m *ChainHeight) ColChainHeightID() *builder.Column
func (*ChainHeight) ColChainID ¶
func (m *ChainHeight) ColChainID() *builder.Column
func (*ChainHeight) ColCreatedAt ¶
func (m *ChainHeight) ColCreatedAt() *builder.Column
func (*ChainHeight) ColDesc ¶
func (*ChainHeight) ColDesc() map[string][]string
func (*ChainHeight) ColEventType ¶
func (m *ChainHeight) ColEventType() *builder.Column
func (*ChainHeight) ColFinished ¶
func (m *ChainHeight) ColFinished() *builder.Column
func (*ChainHeight) ColHeight ¶
func (m *ChainHeight) ColHeight() *builder.Column
func (*ChainHeight) ColID ¶
func (m *ChainHeight) ColID() *builder.Column
func (*ChainHeight) ColProjectName ¶
func (m *ChainHeight) ColProjectName() *builder.Column
func (*ChainHeight) ColRel ¶
func (*ChainHeight) ColRel() map[string][]string
func (*ChainHeight) ColUniq ¶
func (m *ChainHeight) ColUniq() *builder.Column
func (*ChainHeight) ColUpdatedAt ¶
func (m *ChainHeight) ColUpdatedAt() *builder.Column
func (*ChainHeight) Comments ¶
func (*ChainHeight) Comments() map[string]string
func (*ChainHeight) CondByValue ¶
func (m *ChainHeight) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*ChainHeight) Count ¶
func (m *ChainHeight) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*ChainHeight) Create ¶
func (m *ChainHeight) Create(db sqlx.DBExecutor) error
func (*ChainHeight) Delete ¶
func (m *ChainHeight) Delete(db sqlx.DBExecutor) error
func (*ChainHeight) DeleteByChainHeightID ¶
func (m *ChainHeight) DeleteByChainHeightID(db sqlx.DBExecutor) error
func (*ChainHeight) DeleteByID ¶
func (m *ChainHeight) DeleteByID(db sqlx.DBExecutor) error
func (*ChainHeight) DeleteByProjectNameAndEventTypeAndChainIDAndHeightAndUniq ¶
func (m *ChainHeight) DeleteByProjectNameAndEventTypeAndChainIDAndHeightAndUniq(db sqlx.DBExecutor) error
func (*ChainHeight) FetchByChainHeightID ¶
func (m *ChainHeight) FetchByChainHeightID(db sqlx.DBExecutor) error
func (*ChainHeight) FetchByID ¶
func (m *ChainHeight) FetchByID(db sqlx.DBExecutor) error
func (*ChainHeight) FetchByProjectNameAndEventTypeAndChainIDAndHeightAndUniq ¶
func (m *ChainHeight) FetchByProjectNameAndEventTypeAndChainIDAndHeightAndUniq(db sqlx.DBExecutor) error
func (*ChainHeight) FieldChainHeightID ¶
func (*ChainHeight) FieldChainHeightID() string
func (*ChainHeight) FieldChainID ¶
func (*ChainHeight) FieldChainID() string
func (*ChainHeight) FieldCreatedAt ¶
func (*ChainHeight) FieldCreatedAt() string
func (*ChainHeight) FieldEventType ¶
func (*ChainHeight) FieldEventType() string
func (*ChainHeight) FieldFinished ¶
func (*ChainHeight) FieldFinished() string
func (*ChainHeight) FieldHeight ¶
func (*ChainHeight) FieldHeight() string
func (*ChainHeight) FieldID ¶
func (*ChainHeight) FieldID() string
func (*ChainHeight) FieldProjectName ¶
func (*ChainHeight) FieldProjectName() string
func (*ChainHeight) FieldUniq ¶
func (*ChainHeight) FieldUniq() string
func (*ChainHeight) FieldUpdatedAt ¶
func (*ChainHeight) FieldUpdatedAt() string
func (*ChainHeight) IndexFieldNames ¶
func (m *ChainHeight) IndexFieldNames() []string
func (*ChainHeight) List ¶
func (m *ChainHeight) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ChainHeight, error)
func (*ChainHeight) PrimaryKey ¶
func (*ChainHeight) PrimaryKey() []string
func (*ChainHeight) TableDesc ¶
func (*ChainHeight) TableDesc() []string
func (*ChainHeight) TableName ¶
func (*ChainHeight) TableName() string
func (*ChainHeight) UniqueIndexUIChainHeightID ¶
func (*ChainHeight) UniqueIndexUIChainHeightID() string
func (*ChainHeight) UniqueIndexUIChainHeightUniq ¶
func (*ChainHeight) UniqueIndexUIChainHeightUniq() string
func (*ChainHeight) UniqueIndexes ¶
func (*ChainHeight) UniqueIndexes() builder.Indexes
func (*ChainHeight) UpdateByChainHeightID ¶
func (m *ChainHeight) UpdateByChainHeightID(db sqlx.DBExecutor, zeros ...string) error
func (*ChainHeight) UpdateByChainHeightIDWithFVs ¶
func (m *ChainHeight) UpdateByChainHeightIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ChainHeight) UpdateByID ¶
func (m *ChainHeight) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*ChainHeight) UpdateByIDWithFVs ¶
func (m *ChainHeight) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ChainHeight) UpdateByProjectNameAndEventTypeAndChainIDAndHeightAndUniq ¶
func (m *ChainHeight) UpdateByProjectNameAndEventTypeAndChainIDAndHeightAndUniq(db sqlx.DBExecutor, zeros ...string) error
func (*ChainHeight) UpdateByProjectNameAndEventTypeAndChainIDAndHeightAndUniqWithFVs ¶
func (m *ChainHeight) UpdateByProjectNameAndEventTypeAndChainIDAndHeightAndUniqWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ChainHeightData ¶
type ChainHeightInfo ¶
type ChainHeightIterator ¶
type ChainHeightIterator struct { }
func (*ChainHeightIterator) New ¶
func (*ChainHeightIterator) New() interface{}
func (*ChainHeightIterator) Resolve ¶
func (*ChainHeightIterator) Resolve(v interface{}) *ChainHeight
type ChainTx ¶
type ChainTx struct { datatypes.PrimaryID RelChainTx ChainTxData datatypes.OperationTimes }
ChainTx database model chain tx @def primary ID @def unique_index UI_chain_tx_id ChainTxID @def unique_index UI_chain_tx_uniq ProjectName EventType ChainID TxAddress Uniq
func (*ChainTx) ColChainID ¶
func (*ChainTx) ColChainTxID ¶
func (*ChainTx) ColCreatedAt ¶
func (*ChainTx) ColEventType ¶
func (*ChainTx) ColFinished ¶
func (*ChainTx) ColProjectName ¶
func (*ChainTx) ColTxAddress ¶
func (*ChainTx) ColUpdatedAt ¶
func (*ChainTx) CondByValue ¶
func (m *ChainTx) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*ChainTx) Count ¶
func (m *ChainTx) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*ChainTx) DeleteByChainTxID ¶
func (m *ChainTx) DeleteByChainTxID(db sqlx.DBExecutor) error
func (*ChainTx) DeleteByID ¶
func (m *ChainTx) DeleteByID(db sqlx.DBExecutor) error
func (*ChainTx) DeleteByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq ¶
func (m *ChainTx) DeleteByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq(db sqlx.DBExecutor) error
func (*ChainTx) FetchByChainTxID ¶
func (m *ChainTx) FetchByChainTxID(db sqlx.DBExecutor) error
func (*ChainTx) FetchByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq ¶
func (m *ChainTx) FetchByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq(db sqlx.DBExecutor) error
func (*ChainTx) FieldChainID ¶
func (*ChainTx) FieldChainTxID ¶
func (*ChainTx) FieldCreatedAt ¶
func (*ChainTx) FieldEventType ¶
func (*ChainTx) FieldFinished ¶
func (*ChainTx) FieldProjectName ¶
func (*ChainTx) FieldTxAddress ¶
func (*ChainTx) FieldUpdatedAt ¶
func (*ChainTx) IndexFieldNames ¶
func (*ChainTx) List ¶
func (m *ChainTx) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ChainTx, error)
func (*ChainTx) PrimaryKey ¶
func (*ChainTx) UniqueIndexUIChainTxID ¶
func (*ChainTx) UniqueIndexUIChainTxUniq ¶
func (*ChainTx) UniqueIndexes ¶
func (*ChainTx) UpdateByChainTxID ¶
func (m *ChainTx) UpdateByChainTxID(db sqlx.DBExecutor, zeros ...string) error
func (*ChainTx) UpdateByChainTxIDWithFVs ¶
func (m *ChainTx) UpdateByChainTxIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ChainTx) UpdateByID ¶
func (m *ChainTx) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*ChainTx) UpdateByIDWithFVs ¶
func (m *ChainTx) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ChainTx) UpdateByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq ¶
func (m *ChainTx) UpdateByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniq(db sqlx.DBExecutor, zeros ...string) error
func (*ChainTx) UpdateByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniqWithFVs ¶
func (m *ChainTx) UpdateByProjectNameAndEventTypeAndChainIDAndTxAddressAndUniqWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ChainTxData ¶
type ChainTxInfo ¶
type ChainTxIterator ¶
type ChainTxIterator struct { }
func (*ChainTxIterator) New ¶
func (*ChainTxIterator) New() interface{}
func (*ChainTxIterator) Resolve ¶
func (*ChainTxIterator) Resolve(v interface{}) *ChainTx
type Config ¶ added in v1.0.0
type Config struct { datatypes.PrimaryID RelConfig ConfigBase datatypes.OperationTimes }
Config database model config for configuration management @def primary ID @def unique_index UI_config_id ConfigID @def unique_index UI_rel_type RelID Type
func (*Config) ColConfigID ¶ added in v1.0.0
func (*Config) ColCreatedAt ¶ added in v1.0.0
func (*Config) ColUpdatedAt ¶ added in v1.0.0
func (*Config) CondByValue ¶ added in v1.0.0
func (m *Config) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Config) Count ¶ added in v1.0.0
func (m *Config) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Config) DeleteByConfigID ¶ added in v1.0.0
func (m *Config) DeleteByConfigID(db sqlx.DBExecutor) error
func (*Config) DeleteByID ¶ added in v1.0.0
func (m *Config) DeleteByID(db sqlx.DBExecutor) error
func (*Config) DeleteByRelIDAndType ¶ added in v1.0.0
func (m *Config) DeleteByRelIDAndType(db sqlx.DBExecutor) error
func (*Config) FetchByConfigID ¶ added in v1.0.0
func (m *Config) FetchByConfigID(db sqlx.DBExecutor) error
func (*Config) FetchByRelIDAndType ¶ added in v1.0.0
func (m *Config) FetchByRelIDAndType(db sqlx.DBExecutor) error
func (*Config) FieldConfigID ¶ added in v1.0.0
func (*Config) FieldCreatedAt ¶ added in v1.0.0
func (*Config) FieldRelID ¶ added in v1.0.0
func (*Config) FieldUpdatedAt ¶ added in v1.0.0
func (*Config) FieldValue ¶ added in v1.0.0
func (*Config) IndexFieldNames ¶ added in v1.0.0
func (*Config) List ¶ added in v1.0.0
func (m *Config) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Config, error)
func (*Config) PrimaryKey ¶ added in v1.0.0
func (*Config) UniqueIndexUIConfigID ¶ added in v1.0.0
func (*Config) UniqueIndexUIRelType ¶ added in v1.0.0
func (*Config) UniqueIndexes ¶ added in v1.0.0
func (*Config) UpdateByConfigID ¶ added in v1.0.0
func (m *Config) UpdateByConfigID(db sqlx.DBExecutor, zeros ...string) error
func (*Config) UpdateByConfigIDWithFVs ¶ added in v1.0.0
func (m *Config) UpdateByConfigIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Config) UpdateByID ¶ added in v1.0.0
func (m *Config) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Config) UpdateByIDWithFVs ¶ added in v1.0.0
func (m *Config) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Config) UpdateByRelIDAndType ¶ added in v1.0.0
func (m *Config) UpdateByRelIDAndType(db sqlx.DBExecutor, zeros ...string) error
func (*Config) UpdateByRelIDAndTypeWithFVs ¶ added in v1.0.0
func (m *Config) UpdateByRelIDAndTypeWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ConfigBase ¶ added in v1.0.0
type ConfigBase struct { RelID types.SFID `db:"f_rel_id" json:"relID"` Type enums.ConfigType `db:"f_type" json:"type"` Value []byte `db:"f_value,default=''" json:"-"` }
type ConfigIterator ¶ added in v1.0.0
type ConfigIterator struct { }
func (*ConfigIterator) New ¶ added in v1.0.0
func (*ConfigIterator) New() interface{}
func (*ConfigIterator) Resolve ¶ added in v1.0.0
func (*ConfigIterator) Resolve(v interface{}) *Config
type ContractLog ¶
type ContractLog struct { datatypes.PrimaryID RelContractLog ContractLogData datatypes.OperationTimes }
ContractLog database model contract log @def primary ID @def unique_index UI_contract_log_id ContractLogID @def unique_index UI_contract_log_uniq ProjectName EventType ChainID ContractAddress Topic0 Topic1 Topic2 Topic3 Uniq
func (*ContractLog) ColBlockCurrent ¶
func (m *ContractLog) ColBlockCurrent() *builder.Column
func (*ContractLog) ColBlockEnd ¶
func (m *ContractLog) ColBlockEnd() *builder.Column
func (*ContractLog) ColBlockStart ¶
func (m *ContractLog) ColBlockStart() *builder.Column
func (*ContractLog) ColChainID ¶
func (m *ContractLog) ColChainID() *builder.Column
func (*ContractLog) ColContractAddress ¶
func (m *ContractLog) ColContractAddress() *builder.Column
func (*ContractLog) ColContractLogID ¶
func (m *ContractLog) ColContractLogID() *builder.Column
func (*ContractLog) ColCreatedAt ¶
func (m *ContractLog) ColCreatedAt() *builder.Column
func (*ContractLog) ColDesc ¶
func (*ContractLog) ColDesc() map[string][]string
func (*ContractLog) ColEventType ¶
func (m *ContractLog) ColEventType() *builder.Column
func (*ContractLog) ColID ¶
func (m *ContractLog) ColID() *builder.Column
func (*ContractLog) ColProjectName ¶
func (m *ContractLog) ColProjectName() *builder.Column
func (*ContractLog) ColRel ¶
func (*ContractLog) ColRel() map[string][]string
func (*ContractLog) ColTopic0 ¶
func (m *ContractLog) ColTopic0() *builder.Column
func (*ContractLog) ColTopic1 ¶
func (m *ContractLog) ColTopic1() *builder.Column
func (*ContractLog) ColTopic2 ¶
func (m *ContractLog) ColTopic2() *builder.Column
func (*ContractLog) ColTopic3 ¶
func (m *ContractLog) ColTopic3() *builder.Column
func (*ContractLog) ColUniq ¶
func (m *ContractLog) ColUniq() *builder.Column
func (*ContractLog) ColUpdatedAt ¶
func (m *ContractLog) ColUpdatedAt() *builder.Column
func (*ContractLog) Comments ¶
func (*ContractLog) Comments() map[string]string
func (*ContractLog) CondByValue ¶
func (m *ContractLog) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*ContractLog) Count ¶
func (m *ContractLog) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*ContractLog) Create ¶
func (m *ContractLog) Create(db sqlx.DBExecutor) error
func (*ContractLog) Delete ¶
func (m *ContractLog) Delete(db sqlx.DBExecutor) error
func (*ContractLog) DeleteByContractLogID ¶
func (m *ContractLog) DeleteByContractLogID(db sqlx.DBExecutor) error
func (*ContractLog) DeleteByID ¶
func (m *ContractLog) DeleteByID(db sqlx.DBExecutor) error
func (*ContractLog) DeleteByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq ¶
func (m *ContractLog) DeleteByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(db sqlx.DBExecutor) error
func (*ContractLog) FetchByContractLogID ¶
func (m *ContractLog) FetchByContractLogID(db sqlx.DBExecutor) error
func (*ContractLog) FetchByID ¶
func (m *ContractLog) FetchByID(db sqlx.DBExecutor) error
func (*ContractLog) FetchByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq ¶
func (m *ContractLog) FetchByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(db sqlx.DBExecutor) error
func (*ContractLog) FieldBlockCurrent ¶
func (*ContractLog) FieldBlockCurrent() string
func (*ContractLog) FieldBlockEnd ¶
func (*ContractLog) FieldBlockEnd() string
func (*ContractLog) FieldBlockStart ¶
func (*ContractLog) FieldBlockStart() string
func (*ContractLog) FieldChainID ¶
func (*ContractLog) FieldChainID() string
func (*ContractLog) FieldContractAddress ¶
func (*ContractLog) FieldContractAddress() string
func (*ContractLog) FieldContractLogID ¶
func (*ContractLog) FieldContractLogID() string
func (*ContractLog) FieldCreatedAt ¶
func (*ContractLog) FieldCreatedAt() string
func (*ContractLog) FieldEventType ¶
func (*ContractLog) FieldEventType() string
func (*ContractLog) FieldID ¶
func (*ContractLog) FieldID() string
func (*ContractLog) FieldProjectName ¶
func (*ContractLog) FieldProjectName() string
func (*ContractLog) FieldTopic0 ¶
func (*ContractLog) FieldTopic0() string
func (*ContractLog) FieldTopic1 ¶
func (*ContractLog) FieldTopic1() string
func (*ContractLog) FieldTopic2 ¶
func (*ContractLog) FieldTopic2() string
func (*ContractLog) FieldTopic3 ¶
func (*ContractLog) FieldTopic3() string
func (*ContractLog) FieldUniq ¶
func (*ContractLog) FieldUniq() string
func (*ContractLog) FieldUpdatedAt ¶
func (*ContractLog) FieldUpdatedAt() string
func (*ContractLog) IndexFieldNames ¶
func (m *ContractLog) IndexFieldNames() []string
func (*ContractLog) List ¶
func (m *ContractLog) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]ContractLog, error)
func (*ContractLog) PrimaryKey ¶
func (*ContractLog) PrimaryKey() []string
func (*ContractLog) TableDesc ¶
func (*ContractLog) TableDesc() []string
func (*ContractLog) TableName ¶
func (*ContractLog) TableName() string
func (*ContractLog) UniqueIndexUIContractLogID ¶
func (*ContractLog) UniqueIndexUIContractLogID() string
func (*ContractLog) UniqueIndexUIContractLogUniq ¶
func (*ContractLog) UniqueIndexUIContractLogUniq() string
func (*ContractLog) UniqueIndexes ¶
func (*ContractLog) UniqueIndexes() builder.Indexes
func (*ContractLog) UpdateByContractLogID ¶
func (m *ContractLog) UpdateByContractLogID(db sqlx.DBExecutor, zeros ...string) error
func (*ContractLog) UpdateByContractLogIDWithFVs ¶
func (m *ContractLog) UpdateByContractLogIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ContractLog) UpdateByID ¶
func (m *ContractLog) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*ContractLog) UpdateByIDWithFVs ¶
func (m *ContractLog) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq ¶
func (m *ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniq(db sqlx.DBExecutor, zeros ...string) error
func (*ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniqWithFVs ¶
func (m *ContractLog) UpdateByProjectNameAndEventTypeAndChainIDAndContractAddressAndTopic0AndTopic1AndTopic2AndTopic3AndUniqWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ContractLogData ¶
type ContractLogData struct { ProjectName string `db:"f_project_name" json:"projectName"` Uniq types.SFID `db:"f_uniq,default='0'" json:"-"` ContractLogInfo }
type ContractLogInfo ¶
type ContractLogInfo struct { EventType string `db:"f_event_type" json:"eventType,omitempty"` ChainID uint64 `db:"f_chain_id" json:"chainID"` ContractAddress string `db:"f_contract_address" json:"contractAddress"` BlockStart uint64 `db:"f_block_start" json:"blockStart"` BlockCurrent uint64 `db:"f_block_current" json:"blockCurrent,omitempty"` BlockEnd uint64 `db:"f_block_end,default='0'" json:"blockEnd,omitempty"` Topic0 string `db:"f_topic0,default=''" json:"topic0,omitempty"` Topic1 string `db:"f_topic1,default=''" json:"topic1,omitempty"` Topic2 string `db:"f_topic2,default=''" json:"topic2,omitempty"` Topic3 string `db:"f_topic3,default=''" json:"topic3,omitempty"` }
type ContractLogIterator ¶
type ContractLogIterator struct { }
func (*ContractLogIterator) New ¶
func (*ContractLogIterator) New() interface{}
func (*ContractLogIterator) Resolve ¶
func (*ContractLogIterator) Resolve(v interface{}) *ContractLog
type EventInfo ¶
type EventInfo struct { RelProject RelApplet RelPublisher }
type EventLog ¶
type EventLog struct { datatypes.PrimaryID RefEventID EventInfo datatypes.OperationTimes }
EventLog database model event @def primary ID @def unique_index UI_event_id EventID @def index I_project_id ProjectID @def index I_applet_id ProjectID @def index I_publisher_id PublisherID
func (*EventLog) ColAppletID ¶
func (*EventLog) ColCreatedAt ¶
func (*EventLog) ColEventID ¶
func (*EventLog) ColProjectID ¶
func (*EventLog) ColPublisherID ¶
func (*EventLog) ColUpdatedAt ¶
func (*EventLog) CondByValue ¶
func (m *EventLog) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*EventLog) Count ¶
func (m *EventLog) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*EventLog) DeleteByEventID ¶
func (m *EventLog) DeleteByEventID(db sqlx.DBExecutor) error
func (*EventLog) DeleteByID ¶
func (m *EventLog) DeleteByID(db sqlx.DBExecutor) error
func (*EventLog) FetchByEventID ¶
func (m *EventLog) FetchByEventID(db sqlx.DBExecutor) error
func (*EventLog) FieldAppletID ¶
func (*EventLog) FieldCreatedAt ¶
func (*EventLog) FieldEventID ¶
func (*EventLog) FieldProjectID ¶
func (*EventLog) FieldPublisherID ¶
func (*EventLog) FieldUpdatedAt ¶
func (*EventLog) IndexFieldNames ¶
func (*EventLog) List ¶
func (m *EventLog) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]EventLog, error)
func (*EventLog) PrimaryKey ¶
func (*EventLog) UniqueIndexUIEventID ¶
func (*EventLog) UniqueIndexes ¶
func (*EventLog) UpdateByEventID ¶
func (m *EventLog) UpdateByEventID(db sqlx.DBExecutor, zeros ...string) error
func (*EventLog) UpdateByEventIDWithFVs ¶
func (m *EventLog) UpdateByEventIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*EventLog) UpdateByID ¶
func (m *EventLog) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*EventLog) UpdateByIDWithFVs ¶
func (m *EventLog) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type EventLogIterator ¶
type EventLogIterator struct { }
func (*EventLogIterator) New ¶
func (*EventLogIterator) New() interface{}
func (*EventLogIterator) Resolve ¶
func (*EventLogIterator) Resolve(v interface{}) *EventLog
type Instance ¶
type Instance struct { datatypes.PrimaryID RelInstance RelApplet InstanceInfo datatypes.OperationTimesWithDeleted }
Instance database model instance @def primary ID @def unique_index UI_instance_id InstanceID @def unique_index UI_applet_id AppletID
func (*Instance) ColAppletID ¶
func (*Instance) ColCreatedAt ¶
func (*Instance) ColDeletedAt ¶
func (*Instance) ColInstanceID ¶
func (*Instance) ColUpdatedAt ¶
func (*Instance) CondByValue ¶
func (m *Instance) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Instance) Count ¶
func (m *Instance) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Instance) DeleteByAppletID ¶ added in v1.0.0
func (m *Instance) DeleteByAppletID(db sqlx.DBExecutor) error
func (*Instance) DeleteByID ¶
func (m *Instance) DeleteByID(db sqlx.DBExecutor) error
func (*Instance) DeleteByInstanceID ¶
func (m *Instance) DeleteByInstanceID(db sqlx.DBExecutor) error
func (*Instance) FetchByAppletID ¶ added in v1.0.0
func (m *Instance) FetchByAppletID(db sqlx.DBExecutor) error
func (*Instance) FetchByInstanceID ¶
func (m *Instance) FetchByInstanceID(db sqlx.DBExecutor) error
func (*Instance) FieldAppletID ¶
func (*Instance) FieldCreatedAt ¶
func (*Instance) FieldDeletedAt ¶
func (*Instance) FieldInstanceID ¶
func (*Instance) FieldState ¶
func (*Instance) FieldUpdatedAt ¶
func (*Instance) IndexFieldNames ¶
func (*Instance) List ¶
func (m *Instance) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Instance, error)
func (*Instance) PrimaryKey ¶
func (*Instance) SoftDeleteByAppletID ¶ added in v1.0.0
func (m *Instance) SoftDeleteByAppletID(db sqlx.DBExecutor) error
func (*Instance) SoftDeleteByID ¶
func (m *Instance) SoftDeleteByID(db sqlx.DBExecutor) error
func (*Instance) SoftDeleteByInstanceID ¶
func (m *Instance) SoftDeleteByInstanceID(db sqlx.DBExecutor) error
func (*Instance) UniqueIndexUIAppletID ¶ added in v1.0.0
func (*Instance) UniqueIndexUIInstanceID ¶
func (*Instance) UniqueIndexes ¶
func (*Instance) UpdateByAppletID ¶ added in v1.0.0
func (m *Instance) UpdateByAppletID(db sqlx.DBExecutor, zeros ...string) error
func (*Instance) UpdateByAppletIDWithFVs ¶ added in v1.0.0
func (m *Instance) UpdateByAppletIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Instance) UpdateByID ¶
func (m *Instance) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Instance) UpdateByIDWithFVs ¶
func (m *Instance) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Instance) UpdateByInstanceID ¶
func (m *Instance) UpdateByInstanceID(db sqlx.DBExecutor, zeros ...string) error
func (*Instance) UpdateByInstanceIDWithFVs ¶
func (m *Instance) UpdateByInstanceIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type InstanceInfo ¶
type InstanceInfo struct {
State enums.InstanceState `db:"f_state" json:"state"`
}
type InstanceIterator ¶
type InstanceIterator struct { }
func (*InstanceIterator) New ¶
func (*InstanceIterator) New() interface{}
func (*InstanceIterator) Resolve ¶
func (*InstanceIterator) Resolve(v interface{}) *Instance
type Project ¶
type Project struct { datatypes.PrimaryID RelProject RelAccount ProjectName ProjectBase datatypes.OperationTimesWithDeleted }
Project schema for project information @def primary ID @def unique_index UI_project_id ProjectID @def unique_index UI_name Name
func (*Project) ColAccountID ¶
func (*Project) ColCreatedAt ¶
func (*Project) ColDeletedAt ¶
func (*Project) ColProjectID ¶
func (*Project) ColUpdatedAt ¶
func (*Project) ColVersion ¶
func (*Project) CondByValue ¶
func (m *Project) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Project) Count ¶
func (m *Project) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Project) DeleteByID ¶
func (m *Project) DeleteByID(db sqlx.DBExecutor) error
func (*Project) DeleteByName ¶
func (m *Project) DeleteByName(db sqlx.DBExecutor) error
func (*Project) DeleteByProjectID ¶
func (m *Project) DeleteByProjectID(db sqlx.DBExecutor) error
func (*Project) FetchByName ¶
func (m *Project) FetchByName(db sqlx.DBExecutor) error
func (*Project) FetchByProjectID ¶
func (m *Project) FetchByProjectID(db sqlx.DBExecutor) error
func (*Project) FieldAccountID ¶
func (*Project) FieldCreatedAt ¶
func (*Project) FieldDeletedAt ¶
func (*Project) FieldProjectID ¶
func (*Project) FieldProto ¶
func (*Project) FieldUpdatedAt ¶
func (*Project) FieldVersion ¶
func (*Project) IndexFieldNames ¶
func (*Project) List ¶
func (m *Project) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Project, error)
func (*Project) PrimaryKey ¶
func (*Project) SoftDeleteByID ¶
func (m *Project) SoftDeleteByID(db sqlx.DBExecutor) error
func (*Project) SoftDeleteByName ¶
func (m *Project) SoftDeleteByName(db sqlx.DBExecutor) error
func (*Project) SoftDeleteByProjectID ¶
func (m *Project) SoftDeleteByProjectID(db sqlx.DBExecutor) error
func (*Project) UniqueIndexUIName ¶
func (*Project) UniqueIndexUIProjectID ¶
func (*Project) UniqueIndexes ¶
func (*Project) UpdateByID ¶
func (m *Project) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Project) UpdateByIDWithFVs ¶
func (m *Project) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Project) UpdateByName ¶
func (m *Project) UpdateByName(db sqlx.DBExecutor, zeros ...string) error
func (*Project) UpdateByNameWithFVs ¶
func (m *Project) UpdateByNameWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Project) UpdateByProjectID ¶
func (m *Project) UpdateByProjectID(db sqlx.DBExecutor, zeros ...string) error
func (*Project) UpdateByProjectIDWithFVs ¶
func (m *Project) UpdateByProjectIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ProjectBase ¶
type ProjectIterator ¶
type ProjectIterator struct { }
func (*ProjectIterator) New ¶
func (*ProjectIterator) New() interface{}
func (*ProjectIterator) Resolve ¶
func (*ProjectIterator) Resolve(v interface{}) *Project
type ProjectName ¶
type ProjectName struct {
Name string `db:"f_name" json:"name"` // Name project name
}
type Publisher ¶
type Publisher struct { datatypes.PrimaryID RelProject RelPublisher PublisherInfo datatypes.OperationTimes }
Publisher database model demo @def primary ID @def unique_index UI_publisher_id PublisherID @def unique_index UI_publisher_key Key
func (*Publisher) ColCreatedAt ¶
func (*Publisher) ColProjectID ¶
func (*Publisher) ColPublisherID ¶
func (*Publisher) ColUpdatedAt ¶
func (*Publisher) CondByValue ¶
func (m *Publisher) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Publisher) Count ¶
func (m *Publisher) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Publisher) DeleteByID ¶
func (m *Publisher) DeleteByID(db sqlx.DBExecutor) error
func (*Publisher) DeleteByKey ¶
func (m *Publisher) DeleteByKey(db sqlx.DBExecutor) error
func (*Publisher) DeleteByPublisherID ¶
func (m *Publisher) DeleteByPublisherID(db sqlx.DBExecutor) error
func (*Publisher) FetchByKey ¶
func (m *Publisher) FetchByKey(db sqlx.DBExecutor) error
func (*Publisher) FetchByPublisherID ¶
func (m *Publisher) FetchByPublisherID(db sqlx.DBExecutor) error
func (*Publisher) FieldCreatedAt ¶
func (*Publisher) FieldProjectID ¶
func (*Publisher) FieldPublisherID ¶
func (*Publisher) FieldToken ¶
func (*Publisher) FieldUpdatedAt ¶
func (*Publisher) IndexFieldNames ¶
func (*Publisher) List ¶
func (m *Publisher) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Publisher, error)
func (*Publisher) PrimaryKey ¶
func (*Publisher) UniqueIndexUIPublisherID ¶
func (*Publisher) UniqueIndexUIPublisherKey ¶
func (*Publisher) UniqueIndexes ¶
func (*Publisher) UpdateByID ¶
func (m *Publisher) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Publisher) UpdateByIDWithFVs ¶
func (m *Publisher) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Publisher) UpdateByKey ¶
func (m *Publisher) UpdateByKey(db sqlx.DBExecutor, zeros ...string) error
func (*Publisher) UpdateByKeyWithFVs ¶
func (m *Publisher) UpdateByKeyWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Publisher) UpdateByPublisherID ¶
func (m *Publisher) UpdateByPublisherID(db sqlx.DBExecutor, zeros ...string) error
func (*Publisher) UpdateByPublisherIDWithFVs ¶
func (m *Publisher) UpdateByPublisherIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type PublisherInfo ¶
type PublisherIterator ¶
type PublisherIterator struct { }
func (*PublisherIterator) New ¶
func (*PublisherIterator) New() interface{}
func (*PublisherIterator) Resolve ¶
func (*PublisherIterator) Resolve(v interface{}) *Publisher
type RefEventID ¶
type RelAccount ¶
type RelBlockchain ¶
type RelBlockchain struct {
ChainID uint64 `db:"f_chain_id" json:"chainID"`
}
type RelChainHeight ¶
type RelChainTx ¶
type RelContractLog ¶
type RelInstance ¶
type RelProject ¶
type RelPublisher ¶
type RelResource ¶
type RelStrategy ¶
type Resource ¶
type Resource struct { datatypes.PrimaryID RelResource ResourceInfo datatypes.OperationTimes }
Resource database model wasm_resource @def primary ID @def unique_index UI_resource_id ResourceID @def unique_index UI_md5 Md5
func (*Resource) ColCreatedAt ¶
func (*Resource) ColResourceID ¶
func (*Resource) ColUpdatedAt ¶
func (*Resource) CondByValue ¶
func (m *Resource) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Resource) Count ¶
func (m *Resource) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Resource) DeleteByID ¶
func (m *Resource) DeleteByID(db sqlx.DBExecutor) error
func (*Resource) DeleteByMd5 ¶
func (m *Resource) DeleteByMd5(db sqlx.DBExecutor) error
func (*Resource) DeleteByResourceID ¶
func (m *Resource) DeleteByResourceID(db sqlx.DBExecutor) error
func (*Resource) FetchByMd5 ¶
func (m *Resource) FetchByMd5(db sqlx.DBExecutor) error
func (*Resource) FetchByResourceID ¶
func (m *Resource) FetchByResourceID(db sqlx.DBExecutor) error
func (*Resource) FieldCreatedAt ¶
func (*Resource) FieldResourceID ¶
func (*Resource) FieldUpdatedAt ¶
func (*Resource) IndexFieldNames ¶
func (*Resource) List ¶
func (m *Resource) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Resource, error)
func (*Resource) PrimaryKey ¶
func (*Resource) UniqueIndexUIMd5 ¶
func (*Resource) UniqueIndexUIResourceID ¶
func (*Resource) UniqueIndexes ¶
func (*Resource) UpdateByID ¶
func (m *Resource) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Resource) UpdateByIDWithFVs ¶
func (m *Resource) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Resource) UpdateByMd5 ¶
func (m *Resource) UpdateByMd5(db sqlx.DBExecutor, zeros ...string) error
func (*Resource) UpdateByMd5WithFVs ¶
func (m *Resource) UpdateByMd5WithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Resource) UpdateByResourceID ¶
func (m *Resource) UpdateByResourceID(db sqlx.DBExecutor, zeros ...string) error
func (*Resource) UpdateByResourceIDWithFVs ¶
func (m *Resource) UpdateByResourceIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type ResourceInfo ¶
type ResourceIterator ¶
type ResourceIterator struct { }
func (*ResourceIterator) New ¶
func (*ResourceIterator) New() interface{}
func (*ResourceIterator) Resolve ¶
func (*ResourceIterator) Resolve(v interface{}) *Resource
type Strategy ¶
type Strategy struct { datatypes.PrimaryID RelStrategy RelProject RelApplet StrategyInfo datatypes.OperationTimesWithDeleted }
Strategy event route strategy @def primary ID @def unique_index UI_strategy_id StrategyID @def unique_index UI_prj_app_event ProjectID AppletID EventType Handler
func (*Strategy) ColAppletID ¶
func (*Strategy) ColCreatedAt ¶
func (*Strategy) ColDeletedAt ¶
func (*Strategy) ColEventType ¶
func (*Strategy) ColHandler ¶
func (*Strategy) ColProjectID ¶
func (*Strategy) ColStrategyID ¶
func (*Strategy) ColUpdatedAt ¶
func (*Strategy) CondByValue ¶
func (m *Strategy) CondByValue(db sqlx.DBExecutor) builder.SqlCondition
func (*Strategy) Count ¶
func (m *Strategy) Count(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) (cnt int64, err error)
func (*Strategy) DeleteByID ¶
func (m *Strategy) DeleteByID(db sqlx.DBExecutor) error
func (*Strategy) DeleteByProjectIDAndAppletIDAndEventTypeAndHandler ¶
func (m *Strategy) DeleteByProjectIDAndAppletIDAndEventTypeAndHandler(db sqlx.DBExecutor) error
func (*Strategy) DeleteByStrategyID ¶
func (m *Strategy) DeleteByStrategyID(db sqlx.DBExecutor) error
func (*Strategy) FetchByProjectIDAndAppletIDAndEventTypeAndHandler ¶
func (m *Strategy) FetchByProjectIDAndAppletIDAndEventTypeAndHandler(db sqlx.DBExecutor) error
func (*Strategy) FetchByStrategyID ¶
func (m *Strategy) FetchByStrategyID(db sqlx.DBExecutor) error
func (*Strategy) FieldAppletID ¶
func (*Strategy) FieldCreatedAt ¶
func (*Strategy) FieldDeletedAt ¶
func (*Strategy) FieldEventType ¶
func (*Strategy) FieldHandler ¶
func (*Strategy) FieldProjectID ¶
func (*Strategy) FieldStrategyID ¶
func (*Strategy) FieldUpdatedAt ¶
func (*Strategy) IndexFieldNames ¶
func (*Strategy) List ¶
func (m *Strategy) List(db sqlx.DBExecutor, cond builder.SqlCondition, adds ...builder.Addition) ([]Strategy, error)
func (*Strategy) PrimaryKey ¶
func (*Strategy) SoftDeleteByID ¶
func (m *Strategy) SoftDeleteByID(db sqlx.DBExecutor) error
func (*Strategy) SoftDeleteByProjectIDAndAppletIDAndEventTypeAndHandler ¶
func (m *Strategy) SoftDeleteByProjectIDAndAppletIDAndEventTypeAndHandler(db sqlx.DBExecutor) error
func (*Strategy) SoftDeleteByStrategyID ¶
func (m *Strategy) SoftDeleteByStrategyID(db sqlx.DBExecutor) error
func (*Strategy) UniqueIndexUIPrjAppEvent ¶
func (*Strategy) UniqueIndexUIStrategyID ¶
func (*Strategy) UniqueIndexes ¶
func (*Strategy) UpdateByID ¶
func (m *Strategy) UpdateByID(db sqlx.DBExecutor, zeros ...string) error
func (*Strategy) UpdateByIDWithFVs ¶
func (m *Strategy) UpdateByIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Strategy) UpdateByProjectIDAndAppletIDAndEventTypeAndHandler ¶
func (m *Strategy) UpdateByProjectIDAndAppletIDAndEventTypeAndHandler(db sqlx.DBExecutor, zeros ...string) error
func (*Strategy) UpdateByProjectIDAndAppletIDAndEventTypeAndHandlerWithFVs ¶
func (m *Strategy) UpdateByProjectIDAndAppletIDAndEventTypeAndHandlerWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
func (*Strategy) UpdateByStrategyID ¶
func (m *Strategy) UpdateByStrategyID(db sqlx.DBExecutor, zeros ...string) error
func (*Strategy) UpdateByStrategyIDWithFVs ¶
func (m *Strategy) UpdateByStrategyIDWithFVs(db sqlx.DBExecutor, fvs builder.FieldValues) error
type StrategyInfo ¶
type StrategyIterator ¶
type StrategyIterator struct { }
func (*StrategyIterator) New ¶
func (*StrategyIterator) New() interface{}
func (*StrategyIterator) Resolve ¶
func (*StrategyIterator) Resolve(v interface{}) *Strategy
Source Files ¶
- account.go
- account__generated.go
- applet.go
- applet__generated.go
- blockchain.go
- blockchain__generated.go
- chain_height.go
- chain_height__generated.go
- chain_tx.go
- chain_tx__generated.go
- config.go
- config__generated.go
- contract_log.go
- contract_log__generated.go
- database.go
- event_log.go
- event_log__generated.go
- instance.go
- instance__generated.go
- project.go
- project__generated.go
- publisher.go
- publisher__generated.go
- resource.go
- resource__generated.go
- strategy.go
- strategy__generated.go