Documentation ¶
Index ¶
- Variables
- func AddressExists(exec boil.Executor, id uint64) (bool, error)
- func AddressExistsG(id uint64) (bool, error)
- func AddressExistsGP(id uint64) bool
- func AddressExistsP(exec boil.Executor, id uint64) bool
- func Addresses(exec boil.Executor, mods ...qm.QueryMod) addressQuery
- func AddressesG(mods ...qm.QueryMod) addressQuery
- func ApplicationStatusExists(exec boil.Executor, id uint64) (bool, error)
- func ApplicationStatusExistsG(id uint64) (bool, error)
- func ApplicationStatusExistsGP(id uint64) bool
- func ApplicationStatusExistsP(exec boil.Executor, id uint64) bool
- func ApplicationStatuses(exec boil.Executor, mods ...qm.QueryMod) applicationStatusQuery
- func ApplicationStatusesG(mods ...qm.QueryMod) applicationStatusQuery
- func BlockExists(exec boil.Executor, id uint64) (bool, error)
- func BlockExistsG(id uint64) (bool, error)
- func BlockExistsGP(id uint64) bool
- func BlockExistsP(exec boil.Executor, id uint64) bool
- func Blocks(exec boil.Executor, mods ...qm.QueryMod) blockQuery
- func BlocksG(mods ...qm.QueryMod) blockQuery
- func ClaimCheckpointExists(exec boil.Executor, id uint64) (bool, error)
- func ClaimCheckpointExistsG(id uint64) (bool, error)
- func ClaimCheckpointExistsGP(id uint64) bool
- func ClaimCheckpointExistsP(exec boil.Executor, id uint64) bool
- func ClaimCheckpoints(exec boil.Executor, mods ...qm.QueryMod) claimCheckpointQuery
- func ClaimCheckpointsG(mods ...qm.QueryMod) claimCheckpointQuery
- func ClaimExists(exec boil.Executor, id uint64) (bool, error)
- func ClaimExistsG(id uint64) (bool, error)
- func ClaimExistsGP(id uint64) bool
- func ClaimExistsP(exec boil.Executor, id uint64) bool
- func Claims(exec boil.Executor, mods ...qm.QueryMod) claimQuery
- func ClaimsG(mods ...qm.QueryMod) claimQuery
- func InputExists(exec boil.Executor, id uint64) (bool, error)
- func InputExistsG(id uint64) (bool, error)
- func InputExistsGP(id uint64) bool
- func InputExistsP(exec boil.Executor, id uint64) bool
- func Inputs(exec boil.Executor, mods ...qm.QueryMod) inputQuery
- func InputsG(mods ...qm.QueryMod) inputQuery
- func JobStatusExists(exec boil.Executor, jobName string) (bool, error)
- func JobStatusExistsG(jobName string) (bool, error)
- func JobStatusExistsGP(jobName string) bool
- func JobStatusExistsP(exec boil.Executor, jobName string) bool
- func JobStatuses(exec boil.Executor, mods ...qm.QueryMod) jobStatusQuery
- func JobStatusesG(mods ...qm.QueryMod) jobStatusQuery
- func NewQuery(exec boil.Executor, mods ...qm.QueryMod) *queries.Query
- func NewQueryG(mods ...qm.QueryMod) *queries.Query
- func OutputExists(exec boil.Executor, id uint64) (bool, error)
- func OutputExistsG(id uint64) (bool, error)
- func OutputExistsGP(id uint64) bool
- func OutputExistsP(exec boil.Executor, id uint64) bool
- func Outputs(exec boil.Executor, mods ...qm.QueryMod) outputQuery
- func OutputsG(mods ...qm.QueryMod) outputQuery
- func PeerClaimCheckpointExists(exec boil.Executor, id uint64) (bool, error)
- func PeerClaimCheckpointExistsG(id uint64) (bool, error)
- func PeerClaimCheckpointExistsGP(id uint64) bool
- func PeerClaimCheckpointExistsP(exec boil.Executor, id uint64) bool
- func PeerClaimCheckpoints(exec boil.Executor, mods ...qm.QueryMod) peerClaimCheckpointQuery
- func PeerClaimCheckpointsG(mods ...qm.QueryMod) peerClaimCheckpointQuery
- func PeerClaimExists(exec boil.Executor, peerID string, claimID string) (bool, error)
- func PeerClaimExistsG(peerID string, claimID string) (bool, error)
- func PeerClaimExistsGP(peerID string, claimID string) bool
- func PeerClaimExistsP(exec boil.Executor, peerID string, claimID string) bool
- func PeerClaims(exec boil.Executor, mods ...qm.QueryMod) peerClaimQuery
- func PeerClaimsG(mods ...qm.QueryMod) peerClaimQuery
- func PeerExists(exec boil.Executor, nodeID string) (bool, error)
- func PeerExistsG(nodeID string) (bool, error)
- func PeerExistsGP(nodeID string) bool
- func PeerExistsP(exec boil.Executor, nodeID string) bool
- func Peers(exec boil.Executor, mods ...qm.QueryMod) peerQuery
- func PeersG(mods ...qm.QueryMod) peerQuery
- func SupportExists(exec boil.Executor, id uint64) (bool, error)
- func SupportExistsG(id uint64) (bool, error)
- func SupportExistsGP(id uint64) bool
- func SupportExistsP(exec boil.Executor, id uint64) bool
- func Supports(exec boil.Executor, mods ...qm.QueryMod) supportQuery
- func SupportsG(mods ...qm.QueryMod) supportQuery
- func TransactionAddressExists(exec boil.Executor, transactionID uint64, addressID uint64) (bool, error)
- func TransactionAddressExistsG(transactionID uint64, addressID uint64) (bool, error)
- func TransactionAddressExistsGP(transactionID uint64, addressID uint64) bool
- func TransactionAddressExistsP(exec boil.Executor, transactionID uint64, addressID uint64) bool
- func TransactionAddresses(exec boil.Executor, mods ...qm.QueryMod) transactionAddressQuery
- func TransactionAddressesG(mods ...qm.QueryMod) transactionAddressQuery
- func TransactionExists(exec boil.Executor, id uint64) (bool, error)
- func TransactionExistsG(id uint64) (bool, error)
- func TransactionExistsGP(id uint64) bool
- func TransactionExistsP(exec boil.Executor, id uint64) bool
- func Transactions(exec boil.Executor, mods ...qm.QueryMod) transactionQuery
- func TransactionsG(mods ...qm.QueryMod) transactionQuery
- func UnknownClaimExists(exec boil.Executor, id uint64) (bool, error)
- func UnknownClaimExistsG(id uint64) (bool, error)
- func UnknownClaimExistsGP(id uint64) bool
- func UnknownClaimExistsP(exec boil.Executor, id uint64) bool
- func UnknownClaims(exec boil.Executor, mods ...qm.QueryMod) unknownClaimQuery
- func UnknownClaimsG(mods ...qm.QueryMod) unknownClaimQuery
- type Address
- func (o *Address) AddInputAddressInputs(exec boil.Executor, insert bool, related ...*Input) error
- func (o *Address) AddInputAddressInputsG(insert bool, related ...*Input) error
- func (o *Address) AddInputAddressInputsGP(insert bool, related ...*Input)
- func (o *Address) AddInputAddressInputsP(exec boil.Executor, insert bool, related ...*Input)
- func (o *Address) AddInputs(exec boil.Executor, insert bool, related ...*Input) error
- func (o *Address) AddInputsG(insert bool, related ...*Input) error
- func (o *Address) AddInputsGP(insert bool, related ...*Input)
- func (o *Address) AddInputsP(exec boil.Executor, insert bool, related ...*Input)
- func (o *Address) AddOutputs(exec boil.Executor, insert bool, related ...*Output) error
- func (o *Address) AddOutputsG(insert bool, related ...*Output) error
- func (o *Address) AddOutputsGP(insert bool, related ...*Output)
- func (o *Address) AddOutputsP(exec boil.Executor, insert bool, related ...*Output)
- func (o *Address) AddTransactionAddresses(exec boil.Executor, insert bool, related ...*TransactionAddress) error
- func (o *Address) AddTransactionAddressesG(insert bool, related ...*TransactionAddress) error
- func (o *Address) AddTransactionAddressesGP(insert bool, related ...*TransactionAddress)
- func (o *Address) AddTransactionAddressesP(exec boil.Executor, insert bool, related ...*TransactionAddress)
- func (o *Address) Delete(exec boil.Executor) error
- func (o *Address) DeleteG() error
- func (o *Address) DeleteGP()
- func (o *Address) DeleteP(exec boil.Executor)
- func (o *Address) InputAddressInputs(exec boil.Executor, mods ...qm.QueryMod) inputQuery
- func (o *Address) InputAddressInputsG(mods ...qm.QueryMod) inputQuery
- func (o *Address) Inputs(exec boil.Executor, mods ...qm.QueryMod) inputQuery
- func (o *Address) InputsG(mods ...qm.QueryMod) inputQuery
- func (o *Address) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Address) InsertG(whitelist ...string) error
- func (o *Address) InsertGP(whitelist ...string)
- func (o *Address) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Address) Outputs(exec boil.Executor, mods ...qm.QueryMod) outputQuery
- func (o *Address) OutputsG(mods ...qm.QueryMod) outputQuery
- func (o *Address) Reload(exec boil.Executor) error
- func (o *Address) ReloadG() error
- func (o *Address) ReloadGP()
- func (o *Address) ReloadP(exec boil.Executor)
- func (o *Address) RemoveInputAddressInputs(exec boil.Executor, related ...*Input) error
- func (o *Address) RemoveInputAddressInputsG(related ...*Input) error
- func (o *Address) RemoveInputAddressInputsGP(related ...*Input)
- func (o *Address) RemoveInputAddressInputsP(exec boil.Executor, related ...*Input)
- func (o *Address) RemoveInputs(exec boil.Executor, related ...*Input) error
- func (o *Address) RemoveInputsG(related ...*Input) error
- func (o *Address) RemoveInputsGP(related ...*Input)
- func (o *Address) RemoveInputsP(exec boil.Executor, related ...*Input)
- func (o *Address) RemoveOutputs(exec boil.Executor, related ...*Output) error
- func (o *Address) RemoveOutputsG(related ...*Output) error
- func (o *Address) RemoveOutputsGP(related ...*Output)
- func (o *Address) RemoveOutputsP(exec boil.Executor, related ...*Output)
- func (o *Address) SetInputAddressInputs(exec boil.Executor, insert bool, related ...*Input) error
- func (o *Address) SetInputAddressInputsG(insert bool, related ...*Input) error
- func (o *Address) SetInputAddressInputsGP(insert bool, related ...*Input)
- func (o *Address) SetInputAddressInputsP(exec boil.Executor, insert bool, related ...*Input)
- func (o *Address) SetInputs(exec boil.Executor, insert bool, related ...*Input) error
- func (o *Address) SetInputsG(insert bool, related ...*Input) error
- func (o *Address) SetInputsGP(insert bool, related ...*Input)
- func (o *Address) SetInputsP(exec boil.Executor, insert bool, related ...*Input)
- func (o *Address) SetOutputs(exec boil.Executor, insert bool, related ...*Output) error
- func (o *Address) SetOutputsG(insert bool, related ...*Output) error
- func (o *Address) SetOutputsGP(insert bool, related ...*Output)
- func (o *Address) SetOutputsP(exec boil.Executor, insert bool, related ...*Output)
- func (o *Address) TransactionAddresses(exec boil.Executor, mods ...qm.QueryMod) transactionAddressQuery
- func (o *Address) TransactionAddressesG(mods ...qm.QueryMod) transactionAddressQuery
- func (o *Address) Update(exec boil.Executor, whitelist ...string) error
- func (o *Address) UpdateG(whitelist ...string) error
- func (o *Address) UpdateGP(whitelist ...string)
- func (o *Address) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Address) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *Address) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *Address) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *Address) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type AddressSlice
- func (o AddressSlice) DeleteAll(exec boil.Executor) error
- func (o AddressSlice) DeleteAllG() error
- func (o AddressSlice) DeleteAllGP()
- func (o AddressSlice) DeleteAllP(exec boil.Executor)
- func (o *AddressSlice) ReloadAll(exec boil.Executor) error
- func (o *AddressSlice) ReloadAllG() error
- func (o *AddressSlice) ReloadAllGP()
- func (o *AddressSlice) ReloadAllP(exec boil.Executor)
- func (o AddressSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o AddressSlice) UpdateAllG(cols M) error
- func (o AddressSlice) UpdateAllGP(cols M)
- func (o AddressSlice) UpdateAllP(exec boil.Executor, cols M)
- type ApplicationStatus
- func FindApplicationStatus(exec boil.Executor, id uint64, selectCols ...string) (*ApplicationStatus, error)
- func FindApplicationStatusG(id uint64, selectCols ...string) (*ApplicationStatus, error)
- func FindApplicationStatusGP(id uint64, selectCols ...string) *ApplicationStatus
- func FindApplicationStatusP(exec boil.Executor, id uint64, selectCols ...string) *ApplicationStatus
- func (o *ApplicationStatus) Delete(exec boil.Executor) error
- func (o *ApplicationStatus) DeleteG() error
- func (o *ApplicationStatus) DeleteGP()
- func (o *ApplicationStatus) DeleteP(exec boil.Executor)
- func (o *ApplicationStatus) Insert(exec boil.Executor, whitelist ...string) error
- func (o *ApplicationStatus) InsertG(whitelist ...string) error
- func (o *ApplicationStatus) InsertGP(whitelist ...string)
- func (o *ApplicationStatus) InsertP(exec boil.Executor, whitelist ...string)
- func (o *ApplicationStatus) Reload(exec boil.Executor) error
- func (o *ApplicationStatus) ReloadG() error
- func (o *ApplicationStatus) ReloadGP()
- func (o *ApplicationStatus) ReloadP(exec boil.Executor)
- func (o *ApplicationStatus) Update(exec boil.Executor, whitelist ...string) error
- func (o *ApplicationStatus) UpdateG(whitelist ...string) error
- func (o *ApplicationStatus) UpdateGP(whitelist ...string)
- func (o *ApplicationStatus) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *ApplicationStatus) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *ApplicationStatus) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *ApplicationStatus) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *ApplicationStatus) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type ApplicationStatusSlice
- func (o ApplicationStatusSlice) DeleteAll(exec boil.Executor) error
- func (o ApplicationStatusSlice) DeleteAllG() error
- func (o ApplicationStatusSlice) DeleteAllGP()
- func (o ApplicationStatusSlice) DeleteAllP(exec boil.Executor)
- func (o *ApplicationStatusSlice) ReloadAll(exec boil.Executor) error
- func (o *ApplicationStatusSlice) ReloadAllG() error
- func (o *ApplicationStatusSlice) ReloadAllGP()
- func (o *ApplicationStatusSlice) ReloadAllP(exec boil.Executor)
- func (o ApplicationStatusSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o ApplicationStatusSlice) UpdateAllG(cols M) error
- func (o ApplicationStatusSlice) UpdateAllGP(cols M)
- func (o ApplicationStatusSlice) UpdateAllP(exec boil.Executor, cols M)
- type Block
- func (o *Block) AddBlockByHashTransactions(exec boil.Executor, insert bool, related ...*Transaction) error
- func (o *Block) AddBlockByHashTransactionsG(insert bool, related ...*Transaction) error
- func (o *Block) AddBlockByHashTransactionsGP(insert bool, related ...*Transaction)
- func (o *Block) AddBlockByHashTransactionsP(exec boil.Executor, insert bool, related ...*Transaction)
- func (o *Block) BlockByHashTransactions(exec boil.Executor, mods ...qm.QueryMod) transactionQuery
- func (o *Block) BlockByHashTransactionsG(mods ...qm.QueryMod) transactionQuery
- func (o *Block) Delete(exec boil.Executor) error
- func (o *Block) DeleteG() error
- func (o *Block) DeleteGP()
- func (o *Block) DeleteP(exec boil.Executor)
- func (o *Block) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Block) InsertG(whitelist ...string) error
- func (o *Block) InsertGP(whitelist ...string)
- func (o *Block) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Block) Reload(exec boil.Executor) error
- func (o *Block) ReloadG() error
- func (o *Block) ReloadGP()
- func (o *Block) ReloadP(exec boil.Executor)
- func (o *Block) RemoveBlockByHashTransactions(exec boil.Executor, related ...*Transaction) error
- func (o *Block) RemoveBlockByHashTransactionsG(related ...*Transaction) error
- func (o *Block) RemoveBlockByHashTransactionsGP(related ...*Transaction)
- func (o *Block) RemoveBlockByHashTransactionsP(exec boil.Executor, related ...*Transaction)
- func (o *Block) SetBlockByHashTransactions(exec boil.Executor, insert bool, related ...*Transaction) error
- func (o *Block) SetBlockByHashTransactionsG(insert bool, related ...*Transaction) error
- func (o *Block) SetBlockByHashTransactionsGP(insert bool, related ...*Transaction)
- func (o *Block) SetBlockByHashTransactionsP(exec boil.Executor, insert bool, related ...*Transaction)
- func (o *Block) Update(exec boil.Executor, whitelist ...string) error
- func (o *Block) UpdateG(whitelist ...string) error
- func (o *Block) UpdateGP(whitelist ...string)
- func (o *Block) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Block) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *Block) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *Block) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *Block) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type BlockSlice
- func (o BlockSlice) DeleteAll(exec boil.Executor) error
- func (o BlockSlice) DeleteAllG() error
- func (o BlockSlice) DeleteAllGP()
- func (o BlockSlice) DeleteAllP(exec boil.Executor)
- func (o *BlockSlice) ReloadAll(exec boil.Executor) error
- func (o *BlockSlice) ReloadAllG() error
- func (o *BlockSlice) ReloadAllGP()
- func (o *BlockSlice) ReloadAllP(exec boil.Executor)
- func (o BlockSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o BlockSlice) UpdateAllG(cols M) error
- func (o BlockSlice) UpdateAllGP(cols M)
- func (o BlockSlice) UpdateAllP(exec boil.Executor, cols M)
- type Claim
- func (o *Claim) AddOutputs(exec boil.Executor, insert bool, related ...*Output) error
- func (o *Claim) AddOutputsG(insert bool, related ...*Output) error
- func (o *Claim) AddOutputsGP(insert bool, related ...*Output)
- func (o *Claim) AddOutputsP(exec boil.Executor, insert bool, related ...*Output)
- func (o *Claim) AddPublisherClaims(exec boil.Executor, insert bool, related ...*Claim) error
- func (o *Claim) AddPublisherClaimsG(insert bool, related ...*Claim) error
- func (o *Claim) AddPublisherClaimsGP(insert bool, related ...*Claim)
- func (o *Claim) AddPublisherClaimsP(exec boil.Executor, insert bool, related ...*Claim)
- func (o *Claim) AddSupportedClaimSupports(exec boil.Executor, insert bool, related ...*Support) error
- func (o *Claim) AddSupportedClaimSupportsG(insert bool, related ...*Support) error
- func (o *Claim) AddSupportedClaimSupportsGP(insert bool, related ...*Support)
- func (o *Claim) AddSupportedClaimSupportsP(exec boil.Executor, insert bool, related ...*Support)
- func (o *Claim) Delete(exec boil.Executor) error
- func (o *Claim) DeleteG() error
- func (o *Claim) DeleteGP()
- func (o *Claim) DeleteP(exec boil.Executor)
- func (o *Claim) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Claim) InsertG(whitelist ...string) error
- func (o *Claim) InsertGP(whitelist ...string)
- func (o *Claim) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Claim) Outputs(exec boil.Executor, mods ...qm.QueryMod) outputQuery
- func (o *Claim) OutputsG(mods ...qm.QueryMod) outputQuery
- func (o *Claim) Publisher(exec boil.Executor, mods ...qm.QueryMod) claimQuery
- func (o *Claim) PublisherClaims(exec boil.Executor, mods ...qm.QueryMod) claimQuery
- func (o *Claim) PublisherClaimsG(mods ...qm.QueryMod) claimQuery
- func (o *Claim) PublisherG(mods ...qm.QueryMod) claimQuery
- func (o *Claim) Reload(exec boil.Executor) error
- func (o *Claim) ReloadG() error
- func (o *Claim) ReloadGP()
- func (o *Claim) ReloadP(exec boil.Executor)
- func (o *Claim) RemoveOutputs(exec boil.Executor, related ...*Output) error
- func (o *Claim) RemoveOutputsG(related ...*Output) error
- func (o *Claim) RemoveOutputsGP(related ...*Output)
- func (o *Claim) RemoveOutputsP(exec boil.Executor, related ...*Output)
- func (o *Claim) RemovePublisher(exec boil.Executor, related *Claim) error
- func (o *Claim) RemovePublisherClaims(exec boil.Executor, related ...*Claim) error
- func (o *Claim) RemovePublisherClaimsG(related ...*Claim) error
- func (o *Claim) RemovePublisherClaimsGP(related ...*Claim)
- func (o *Claim) RemovePublisherClaimsP(exec boil.Executor, related ...*Claim)
- func (o *Claim) RemovePublisherG(related *Claim) error
- func (o *Claim) RemovePublisherGP(related *Claim)
- func (o *Claim) RemovePublisherP(exec boil.Executor, related *Claim)
- func (o *Claim) RemoveTransactionByHash(exec boil.Executor, related *Transaction) error
- func (o *Claim) RemoveTransactionByHashG(related *Transaction) error
- func (o *Claim) RemoveTransactionByHashGP(related *Transaction)
- func (o *Claim) RemoveTransactionByHashP(exec boil.Executor, related *Transaction)
- func (o *Claim) SetOutputs(exec boil.Executor, insert bool, related ...*Output) error
- func (o *Claim) SetOutputsG(insert bool, related ...*Output) error
- func (o *Claim) SetOutputsGP(insert bool, related ...*Output)
- func (o *Claim) SetOutputsP(exec boil.Executor, insert bool, related ...*Output)
- func (o *Claim) SetPublisher(exec boil.Executor, insert bool, related *Claim) error
- func (o *Claim) SetPublisherClaims(exec boil.Executor, insert bool, related ...*Claim) error
- func (o *Claim) SetPublisherClaimsG(insert bool, related ...*Claim) error
- func (o *Claim) SetPublisherClaimsGP(insert bool, related ...*Claim)
- func (o *Claim) SetPublisherClaimsP(exec boil.Executor, insert bool, related ...*Claim)
- func (o *Claim) SetPublisherG(insert bool, related *Claim) error
- func (o *Claim) SetPublisherGP(insert bool, related *Claim)
- func (o *Claim) SetPublisherP(exec boil.Executor, insert bool, related *Claim)
- func (o *Claim) SetTransactionByHash(exec boil.Executor, insert bool, related *Transaction) error
- func (o *Claim) SetTransactionByHashG(insert bool, related *Transaction) error
- func (o *Claim) SetTransactionByHashGP(insert bool, related *Transaction)
- func (o *Claim) SetTransactionByHashP(exec boil.Executor, insert bool, related *Transaction)
- func (o *Claim) SupportedClaimSupports(exec boil.Executor, mods ...qm.QueryMod) supportQuery
- func (o *Claim) SupportedClaimSupportsG(mods ...qm.QueryMod) supportQuery
- func (o *Claim) TransactionByHash(exec boil.Executor, mods ...qm.QueryMod) transactionQuery
- func (o *Claim) TransactionByHashG(mods ...qm.QueryMod) transactionQuery
- func (o *Claim) Update(exec boil.Executor, whitelist ...string) error
- func (o *Claim) UpdateG(whitelist ...string) error
- func (o *Claim) UpdateGP(whitelist ...string)
- func (o *Claim) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Claim) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *Claim) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *Claim) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *Claim) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type ClaimCheckpoint
- func FindClaimCheckpoint(exec boil.Executor, id uint64, selectCols ...string) (*ClaimCheckpoint, error)
- func FindClaimCheckpointG(id uint64, selectCols ...string) (*ClaimCheckpoint, error)
- func FindClaimCheckpointGP(id uint64, selectCols ...string) *ClaimCheckpoint
- func FindClaimCheckpointP(exec boil.Executor, id uint64, selectCols ...string) *ClaimCheckpoint
- func (o *ClaimCheckpoint) Delete(exec boil.Executor) error
- func (o *ClaimCheckpoint) DeleteG() error
- func (o *ClaimCheckpoint) DeleteGP()
- func (o *ClaimCheckpoint) DeleteP(exec boil.Executor)
- func (o *ClaimCheckpoint) Insert(exec boil.Executor, whitelist ...string) error
- func (o *ClaimCheckpoint) InsertG(whitelist ...string) error
- func (o *ClaimCheckpoint) InsertGP(whitelist ...string)
- func (o *ClaimCheckpoint) InsertP(exec boil.Executor, whitelist ...string)
- func (o *ClaimCheckpoint) Reload(exec boil.Executor) error
- func (o *ClaimCheckpoint) ReloadG() error
- func (o *ClaimCheckpoint) ReloadGP()
- func (o *ClaimCheckpoint) ReloadP(exec boil.Executor)
- func (o *ClaimCheckpoint) Update(exec boil.Executor, whitelist ...string) error
- func (o *ClaimCheckpoint) UpdateG(whitelist ...string) error
- func (o *ClaimCheckpoint) UpdateGP(whitelist ...string)
- func (o *ClaimCheckpoint) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *ClaimCheckpoint) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *ClaimCheckpoint) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *ClaimCheckpoint) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *ClaimCheckpoint) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type ClaimCheckpointSlice
- func (o ClaimCheckpointSlice) DeleteAll(exec boil.Executor) error
- func (o ClaimCheckpointSlice) DeleteAllG() error
- func (o ClaimCheckpointSlice) DeleteAllGP()
- func (o ClaimCheckpointSlice) DeleteAllP(exec boil.Executor)
- func (o *ClaimCheckpointSlice) ReloadAll(exec boil.Executor) error
- func (o *ClaimCheckpointSlice) ReloadAllG() error
- func (o *ClaimCheckpointSlice) ReloadAllGP()
- func (o *ClaimCheckpointSlice) ReloadAllP(exec boil.Executor)
- func (o ClaimCheckpointSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o ClaimCheckpointSlice) UpdateAllG(cols M) error
- func (o ClaimCheckpointSlice) UpdateAllGP(cols M)
- func (o ClaimCheckpointSlice) UpdateAllP(exec boil.Executor, cols M)
- type ClaimSlice
- func (o ClaimSlice) DeleteAll(exec boil.Executor) error
- func (o ClaimSlice) DeleteAllG() error
- func (o ClaimSlice) DeleteAllGP()
- func (o ClaimSlice) DeleteAllP(exec boil.Executor)
- func (o *ClaimSlice) ReloadAll(exec boil.Executor) error
- func (o *ClaimSlice) ReloadAllG() error
- func (o *ClaimSlice) ReloadAllGP()
- func (o *ClaimSlice) ReloadAllP(exec boil.Executor)
- func (o ClaimSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o ClaimSlice) UpdateAllG(cols M) error
- func (o ClaimSlice) UpdateAllGP(cols M)
- func (o ClaimSlice) UpdateAllP(exec boil.Executor, cols M)
- type Input
- func (o *Input) AddAddresses(exec boil.Executor, insert bool, related ...*Address) error
- func (o *Input) AddAddressesG(insert bool, related ...*Address) error
- func (o *Input) AddAddressesGP(insert bool, related ...*Address)
- func (o *Input) AddAddressesP(exec boil.Executor, insert bool, related ...*Address)
- func (o *Input) AddSpentByInputOutputs(exec boil.Executor, insert bool, related ...*Output) error
- func (o *Input) AddSpentByInputOutputsG(insert bool, related ...*Output) error
- func (o *Input) AddSpentByInputOutputsGP(insert bool, related ...*Output)
- func (o *Input) AddSpentByInputOutputsP(exec boil.Executor, insert bool, related ...*Output)
- func (o *Input) Addresses(exec boil.Executor, mods ...qm.QueryMod) addressQuery
- func (o *Input) AddressesG(mods ...qm.QueryMod) addressQuery
- func (o *Input) Delete(exec boil.Executor) error
- func (o *Input) DeleteG() error
- func (o *Input) DeleteGP()
- func (o *Input) DeleteP(exec boil.Executor)
- func (o *Input) InputAddress(exec boil.Executor, mods ...qm.QueryMod) addressQuery
- func (o *Input) InputAddressG(mods ...qm.QueryMod) addressQuery
- func (o *Input) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Input) InsertG(whitelist ...string) error
- func (o *Input) InsertGP(whitelist ...string)
- func (o *Input) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Input) Reload(exec boil.Executor) error
- func (o *Input) ReloadG() error
- func (o *Input) ReloadGP()
- func (o *Input) ReloadP(exec boil.Executor)
- func (o *Input) RemoveAddresses(exec boil.Executor, related ...*Address) error
- func (o *Input) RemoveAddressesG(related ...*Address) error
- func (o *Input) RemoveAddressesGP(related ...*Address)
- func (o *Input) RemoveAddressesP(exec boil.Executor, related ...*Address)
- func (o *Input) RemoveInputAddress(exec boil.Executor, related *Address) error
- func (o *Input) RemoveInputAddressG(related *Address) error
- func (o *Input) RemoveInputAddressGP(related *Address)
- func (o *Input) RemoveInputAddressP(exec boil.Executor, related *Address)
- func (o *Input) RemoveSpentByInputOutputs(exec boil.Executor, related ...*Output) error
- func (o *Input) RemoveSpentByInputOutputsG(related ...*Output) error
- func (o *Input) RemoveSpentByInputOutputsGP(related ...*Output)
- func (o *Input) RemoveSpentByInputOutputsP(exec boil.Executor, related ...*Output)
- func (o *Input) SetAddresses(exec boil.Executor, insert bool, related ...*Address) error
- func (o *Input) SetAddressesG(insert bool, related ...*Address) error
- func (o *Input) SetAddressesGP(insert bool, related ...*Address)
- func (o *Input) SetAddressesP(exec boil.Executor, insert bool, related ...*Address)
- func (o *Input) SetInputAddress(exec boil.Executor, insert bool, related *Address) error
- func (o *Input) SetInputAddressG(insert bool, related *Address) error
- func (o *Input) SetInputAddressGP(insert bool, related *Address)
- func (o *Input) SetInputAddressP(exec boil.Executor, insert bool, related *Address)
- func (o *Input) SetSpentByInputOutputs(exec boil.Executor, insert bool, related ...*Output) error
- func (o *Input) SetSpentByInputOutputsG(insert bool, related ...*Output) error
- func (o *Input) SetSpentByInputOutputsGP(insert bool, related ...*Output)
- func (o *Input) SetSpentByInputOutputsP(exec boil.Executor, insert bool, related ...*Output)
- func (o *Input) SetTransaction(exec boil.Executor, insert bool, related *Transaction) error
- func (o *Input) SetTransactionG(insert bool, related *Transaction) error
- func (o *Input) SetTransactionGP(insert bool, related *Transaction)
- func (o *Input) SetTransactionP(exec boil.Executor, insert bool, related *Transaction)
- func (o *Input) SpentByInputOutputs(exec boil.Executor, mods ...qm.QueryMod) outputQuery
- func (o *Input) SpentByInputOutputsG(mods ...qm.QueryMod) outputQuery
- func (o *Input) Transaction(exec boil.Executor, mods ...qm.QueryMod) transactionQuery
- func (o *Input) TransactionG(mods ...qm.QueryMod) transactionQuery
- func (o *Input) Update(exec boil.Executor, whitelist ...string) error
- func (o *Input) UpdateG(whitelist ...string) error
- func (o *Input) UpdateGP(whitelist ...string)
- func (o *Input) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Input) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *Input) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *Input) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *Input) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type InputSlice
- func (o InputSlice) DeleteAll(exec boil.Executor) error
- func (o InputSlice) DeleteAllG() error
- func (o InputSlice) DeleteAllGP()
- func (o InputSlice) DeleteAllP(exec boil.Executor)
- func (o *InputSlice) ReloadAll(exec boil.Executor) error
- func (o *InputSlice) ReloadAllG() error
- func (o *InputSlice) ReloadAllGP()
- func (o *InputSlice) ReloadAllP(exec boil.Executor)
- func (o InputSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o InputSlice) UpdateAllG(cols M) error
- func (o InputSlice) UpdateAllGP(cols M)
- func (o InputSlice) UpdateAllP(exec boil.Executor, cols M)
- type JobStatus
- func FindJobStatus(exec boil.Executor, jobName string, selectCols ...string) (*JobStatus, error)
- func FindJobStatusG(jobName string, selectCols ...string) (*JobStatus, error)
- func FindJobStatusGP(jobName string, selectCols ...string) *JobStatus
- func FindJobStatusP(exec boil.Executor, jobName string, selectCols ...string) *JobStatus
- func (o *JobStatus) Delete(exec boil.Executor) error
- func (o *JobStatus) DeleteG() error
- func (o *JobStatus) DeleteGP()
- func (o *JobStatus) DeleteP(exec boil.Executor)
- func (o *JobStatus) Insert(exec boil.Executor, whitelist ...string) error
- func (o *JobStatus) InsertG(whitelist ...string) error
- func (o *JobStatus) InsertGP(whitelist ...string)
- func (o *JobStatus) InsertP(exec boil.Executor, whitelist ...string)
- func (o *JobStatus) Reload(exec boil.Executor) error
- func (o *JobStatus) ReloadG() error
- func (o *JobStatus) ReloadGP()
- func (o *JobStatus) ReloadP(exec boil.Executor)
- func (o *JobStatus) Update(exec boil.Executor, whitelist ...string) error
- func (o *JobStatus) UpdateG(whitelist ...string) error
- func (o *JobStatus) UpdateGP(whitelist ...string)
- func (o *JobStatus) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *JobStatus) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *JobStatus) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *JobStatus) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *JobStatus) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type JobStatusSlice
- func (o JobStatusSlice) DeleteAll(exec boil.Executor) error
- func (o JobStatusSlice) DeleteAllG() error
- func (o JobStatusSlice) DeleteAllGP()
- func (o JobStatusSlice) DeleteAllP(exec boil.Executor)
- func (o *JobStatusSlice) ReloadAll(exec boil.Executor) error
- func (o *JobStatusSlice) ReloadAllG() error
- func (o *JobStatusSlice) ReloadAllGP()
- func (o *JobStatusSlice) ReloadAllP(exec boil.Executor)
- func (o JobStatusSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o JobStatusSlice) UpdateAllG(cols M) error
- func (o JobStatusSlice) UpdateAllGP(cols M)
- func (o JobStatusSlice) UpdateAllP(exec boil.Executor, cols M)
- type M
- type Output
- func (o *Output) AddAddresses(exec boil.Executor, insert bool, related ...*Address) error
- func (o *Output) AddAddressesG(insert bool, related ...*Address) error
- func (o *Output) AddAddressesGP(insert bool, related ...*Address)
- func (o *Output) AddAddressesP(exec boil.Executor, insert bool, related ...*Address)
- func (o *Output) AddUnknownClaims(exec boil.Executor, insert bool, related ...*UnknownClaim) error
- func (o *Output) AddUnknownClaimsG(insert bool, related ...*UnknownClaim) error
- func (o *Output) AddUnknownClaimsGP(insert bool, related ...*UnknownClaim)
- func (o *Output) AddUnknownClaimsP(exec boil.Executor, insert bool, related ...*UnknownClaim)
- func (o *Output) Addresses(exec boil.Executor, mods ...qm.QueryMod) addressQuery
- func (o *Output) AddressesG(mods ...qm.QueryMod) addressQuery
- func (o *Output) Claim(exec boil.Executor, mods ...qm.QueryMod) claimQuery
- func (o *Output) ClaimG(mods ...qm.QueryMod) claimQuery
- func (o *Output) Delete(exec boil.Executor) error
- func (o *Output) DeleteG() error
- func (o *Output) DeleteGP()
- func (o *Output) DeleteP(exec boil.Executor)
- func (o *Output) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Output) InsertG(whitelist ...string) error
- func (o *Output) InsertGP(whitelist ...string)
- func (o *Output) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Output) Reload(exec boil.Executor) error
- func (o *Output) ReloadG() error
- func (o *Output) ReloadGP()
- func (o *Output) ReloadP(exec boil.Executor)
- func (o *Output) RemoveAddresses(exec boil.Executor, related ...*Address) error
- func (o *Output) RemoveAddressesG(related ...*Address) error
- func (o *Output) RemoveAddressesGP(related ...*Address)
- func (o *Output) RemoveAddressesP(exec boil.Executor, related ...*Address)
- func (o *Output) RemoveClaim(exec boil.Executor, related *Claim) error
- func (o *Output) RemoveClaimG(related *Claim) error
- func (o *Output) RemoveClaimGP(related *Claim)
- func (o *Output) RemoveClaimP(exec boil.Executor, related *Claim)
- func (o *Output) RemoveSpentByInput(exec boil.Executor, related *Input) error
- func (o *Output) RemoveSpentByInputG(related *Input) error
- func (o *Output) RemoveSpentByInputGP(related *Input)
- func (o *Output) RemoveSpentByInputP(exec boil.Executor, related *Input)
- func (o *Output) SetAddresses(exec boil.Executor, insert bool, related ...*Address) error
- func (o *Output) SetAddressesG(insert bool, related ...*Address) error
- func (o *Output) SetAddressesGP(insert bool, related ...*Address)
- func (o *Output) SetAddressesP(exec boil.Executor, insert bool, related ...*Address)
- func (o *Output) SetClaim(exec boil.Executor, insert bool, related *Claim) error
- func (o *Output) SetClaimG(insert bool, related *Claim) error
- func (o *Output) SetClaimGP(insert bool, related *Claim)
- func (o *Output) SetClaimP(exec boil.Executor, insert bool, related *Claim)
- func (o *Output) SetSpentByInput(exec boil.Executor, insert bool, related *Input) error
- func (o *Output) SetSpentByInputG(insert bool, related *Input) error
- func (o *Output) SetSpentByInputGP(insert bool, related *Input)
- func (o *Output) SetSpentByInputP(exec boil.Executor, insert bool, related *Input)
- func (o *Output) SetTransaction(exec boil.Executor, insert bool, related *Transaction) error
- func (o *Output) SetTransactionG(insert bool, related *Transaction) error
- func (o *Output) SetTransactionGP(insert bool, related *Transaction)
- func (o *Output) SetTransactionP(exec boil.Executor, insert bool, related *Transaction)
- func (o *Output) SpentByInput(exec boil.Executor, mods ...qm.QueryMod) inputQuery
- func (o *Output) SpentByInputG(mods ...qm.QueryMod) inputQuery
- func (o *Output) Transaction(exec boil.Executor, mods ...qm.QueryMod) transactionQuery
- func (o *Output) TransactionG(mods ...qm.QueryMod) transactionQuery
- func (o *Output) UnknownClaims(exec boil.Executor, mods ...qm.QueryMod) unknownClaimQuery
- func (o *Output) UnknownClaimsG(mods ...qm.QueryMod) unknownClaimQuery
- func (o *Output) Update(exec boil.Executor, whitelist ...string) error
- func (o *Output) UpdateG(whitelist ...string) error
- func (o *Output) UpdateGP(whitelist ...string)
- func (o *Output) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Output) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *Output) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *Output) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *Output) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type OutputSlice
- func (o OutputSlice) DeleteAll(exec boil.Executor) error
- func (o OutputSlice) DeleteAllG() error
- func (o OutputSlice) DeleteAllGP()
- func (o OutputSlice) DeleteAllP(exec boil.Executor)
- func (o *OutputSlice) ReloadAll(exec boil.Executor) error
- func (o *OutputSlice) ReloadAllG() error
- func (o *OutputSlice) ReloadAllGP()
- func (o *OutputSlice) ReloadAllP(exec boil.Executor)
- func (o OutputSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o OutputSlice) UpdateAllG(cols M) error
- func (o OutputSlice) UpdateAllGP(cols M)
- func (o OutputSlice) UpdateAllP(exec boil.Executor, cols M)
- type Peer
- func (o *Peer) Delete(exec boil.Executor) error
- func (o *Peer) DeleteG() error
- func (o *Peer) DeleteGP()
- func (o *Peer) DeleteP(exec boil.Executor)
- func (o *Peer) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Peer) InsertG(whitelist ...string) error
- func (o *Peer) InsertGP(whitelist ...string)
- func (o *Peer) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Peer) Reload(exec boil.Executor) error
- func (o *Peer) ReloadG() error
- func (o *Peer) ReloadGP()
- func (o *Peer) ReloadP(exec boil.Executor)
- func (o *Peer) Update(exec boil.Executor, whitelist ...string) error
- func (o *Peer) UpdateG(whitelist ...string) error
- func (o *Peer) UpdateGP(whitelist ...string)
- func (o *Peer) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Peer) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *Peer) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *Peer) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *Peer) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type PeerClaim
- func FindPeerClaim(exec boil.Executor, peerID string, claimID string, selectCols ...string) (*PeerClaim, error)
- func FindPeerClaimG(peerID string, claimID string, selectCols ...string) (*PeerClaim, error)
- func FindPeerClaimGP(peerID string, claimID string, selectCols ...string) *PeerClaim
- func FindPeerClaimP(exec boil.Executor, peerID string, claimID string, selectCols ...string) *PeerClaim
- func (o *PeerClaim) Delete(exec boil.Executor) error
- func (o *PeerClaim) DeleteG() error
- func (o *PeerClaim) DeleteGP()
- func (o *PeerClaim) DeleteP(exec boil.Executor)
- func (o *PeerClaim) Insert(exec boil.Executor, whitelist ...string) error
- func (o *PeerClaim) InsertG(whitelist ...string) error
- func (o *PeerClaim) InsertGP(whitelist ...string)
- func (o *PeerClaim) InsertP(exec boil.Executor, whitelist ...string)
- func (o *PeerClaim) Reload(exec boil.Executor) error
- func (o *PeerClaim) ReloadG() error
- func (o *PeerClaim) ReloadGP()
- func (o *PeerClaim) ReloadP(exec boil.Executor)
- func (o *PeerClaim) Update(exec boil.Executor, whitelist ...string) error
- func (o *PeerClaim) UpdateG(whitelist ...string) error
- func (o *PeerClaim) UpdateGP(whitelist ...string)
- func (o *PeerClaim) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *PeerClaim) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *PeerClaim) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *PeerClaim) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *PeerClaim) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type PeerClaimCheckpoint
- func FindPeerClaimCheckpoint(exec boil.Executor, id uint64, selectCols ...string) (*PeerClaimCheckpoint, error)
- func FindPeerClaimCheckpointG(id uint64, selectCols ...string) (*PeerClaimCheckpoint, error)
- func FindPeerClaimCheckpointGP(id uint64, selectCols ...string) *PeerClaimCheckpoint
- func FindPeerClaimCheckpointP(exec boil.Executor, id uint64, selectCols ...string) *PeerClaimCheckpoint
- func (o *PeerClaimCheckpoint) Delete(exec boil.Executor) error
- func (o *PeerClaimCheckpoint) DeleteG() error
- func (o *PeerClaimCheckpoint) DeleteGP()
- func (o *PeerClaimCheckpoint) DeleteP(exec boil.Executor)
- func (o *PeerClaimCheckpoint) Insert(exec boil.Executor, whitelist ...string) error
- func (o *PeerClaimCheckpoint) InsertG(whitelist ...string) error
- func (o *PeerClaimCheckpoint) InsertGP(whitelist ...string)
- func (o *PeerClaimCheckpoint) InsertP(exec boil.Executor, whitelist ...string)
- func (o *PeerClaimCheckpoint) Reload(exec boil.Executor) error
- func (o *PeerClaimCheckpoint) ReloadG() error
- func (o *PeerClaimCheckpoint) ReloadGP()
- func (o *PeerClaimCheckpoint) ReloadP(exec boil.Executor)
- func (o *PeerClaimCheckpoint) Update(exec boil.Executor, whitelist ...string) error
- func (o *PeerClaimCheckpoint) UpdateG(whitelist ...string) error
- func (o *PeerClaimCheckpoint) UpdateGP(whitelist ...string)
- func (o *PeerClaimCheckpoint) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *PeerClaimCheckpoint) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *PeerClaimCheckpoint) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *PeerClaimCheckpoint) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *PeerClaimCheckpoint) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type PeerClaimCheckpointSlice
- func (o PeerClaimCheckpointSlice) DeleteAll(exec boil.Executor) error
- func (o PeerClaimCheckpointSlice) DeleteAllG() error
- func (o PeerClaimCheckpointSlice) DeleteAllGP()
- func (o PeerClaimCheckpointSlice) DeleteAllP(exec boil.Executor)
- func (o *PeerClaimCheckpointSlice) ReloadAll(exec boil.Executor) error
- func (o *PeerClaimCheckpointSlice) ReloadAllG() error
- func (o *PeerClaimCheckpointSlice) ReloadAllGP()
- func (o *PeerClaimCheckpointSlice) ReloadAllP(exec boil.Executor)
- func (o PeerClaimCheckpointSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o PeerClaimCheckpointSlice) UpdateAllG(cols M) error
- func (o PeerClaimCheckpointSlice) UpdateAllGP(cols M)
- func (o PeerClaimCheckpointSlice) UpdateAllP(exec boil.Executor, cols M)
- type PeerClaimSlice
- func (o PeerClaimSlice) DeleteAll(exec boil.Executor) error
- func (o PeerClaimSlice) DeleteAllG() error
- func (o PeerClaimSlice) DeleteAllGP()
- func (o PeerClaimSlice) DeleteAllP(exec boil.Executor)
- func (o *PeerClaimSlice) ReloadAll(exec boil.Executor) error
- func (o *PeerClaimSlice) ReloadAllG() error
- func (o *PeerClaimSlice) ReloadAllGP()
- func (o *PeerClaimSlice) ReloadAllP(exec boil.Executor)
- func (o PeerClaimSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o PeerClaimSlice) UpdateAllG(cols M) error
- func (o PeerClaimSlice) UpdateAllGP(cols M)
- func (o PeerClaimSlice) UpdateAllP(exec boil.Executor, cols M)
- type PeerSlice
- func (o PeerSlice) DeleteAll(exec boil.Executor) error
- func (o PeerSlice) DeleteAllG() error
- func (o PeerSlice) DeleteAllGP()
- func (o PeerSlice) DeleteAllP(exec boil.Executor)
- func (o *PeerSlice) ReloadAll(exec boil.Executor) error
- func (o *PeerSlice) ReloadAllG() error
- func (o *PeerSlice) ReloadAllGP()
- func (o *PeerSlice) ReloadAllP(exec boil.Executor)
- func (o PeerSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o PeerSlice) UpdateAllG(cols M) error
- func (o PeerSlice) UpdateAllGP(cols M)
- func (o PeerSlice) UpdateAllP(exec boil.Executor, cols M)
- type Support
- func (o *Support) Delete(exec boil.Executor) error
- func (o *Support) DeleteG() error
- func (o *Support) DeleteGP()
- func (o *Support) DeleteP(exec boil.Executor)
- func (o *Support) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Support) InsertG(whitelist ...string) error
- func (o *Support) InsertGP(whitelist ...string)
- func (o *Support) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Support) Reload(exec boil.Executor) error
- func (o *Support) ReloadG() error
- func (o *Support) ReloadGP()
- func (o *Support) ReloadP(exec boil.Executor)
- func (o *Support) SetSupportedClaim(exec boil.Executor, insert bool, related *Claim) error
- func (o *Support) SetSupportedClaimG(insert bool, related *Claim) error
- func (o *Support) SetSupportedClaimGP(insert bool, related *Claim)
- func (o *Support) SetSupportedClaimP(exec boil.Executor, insert bool, related *Claim)
- func (o *Support) SupportedClaim(exec boil.Executor, mods ...qm.QueryMod) claimQuery
- func (o *Support) SupportedClaimG(mods ...qm.QueryMod) claimQuery
- func (o *Support) Update(exec boil.Executor, whitelist ...string) error
- func (o *Support) UpdateG(whitelist ...string) error
- func (o *Support) UpdateGP(whitelist ...string)
- func (o *Support) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Support) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *Support) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *Support) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *Support) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type SupportSlice
- func (o SupportSlice) DeleteAll(exec boil.Executor) error
- func (o SupportSlice) DeleteAllG() error
- func (o SupportSlice) DeleteAllGP()
- func (o SupportSlice) DeleteAllP(exec boil.Executor)
- func (o *SupportSlice) ReloadAll(exec boil.Executor) error
- func (o *SupportSlice) ReloadAllG() error
- func (o *SupportSlice) ReloadAllGP()
- func (o *SupportSlice) ReloadAllP(exec boil.Executor)
- func (o SupportSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o SupportSlice) UpdateAllG(cols M) error
- func (o SupportSlice) UpdateAllGP(cols M)
- func (o SupportSlice) UpdateAllP(exec boil.Executor, cols M)
- type Transaction
- func FindTransaction(exec boil.Executor, id uint64, selectCols ...string) (*Transaction, error)
- func FindTransactionG(id uint64, selectCols ...string) (*Transaction, error)
- func FindTransactionGP(id uint64, selectCols ...string) *Transaction
- func FindTransactionP(exec boil.Executor, id uint64, selectCols ...string) *Transaction
- func (o *Transaction) AddInputs(exec boil.Executor, insert bool, related ...*Input) error
- func (o *Transaction) AddInputsG(insert bool, related ...*Input) error
- func (o *Transaction) AddInputsGP(insert bool, related ...*Input)
- func (o *Transaction) AddInputsP(exec boil.Executor, insert bool, related ...*Input)
- func (o *Transaction) AddOutputs(exec boil.Executor, insert bool, related ...*Output) error
- func (o *Transaction) AddOutputsG(insert bool, related ...*Output) error
- func (o *Transaction) AddOutputsGP(insert bool, related ...*Output)
- func (o *Transaction) AddOutputsP(exec boil.Executor, insert bool, related ...*Output)
- func (o *Transaction) AddTransactionAddresses(exec boil.Executor, insert bool, related ...*TransactionAddress) error
- func (o *Transaction) AddTransactionAddressesG(insert bool, related ...*TransactionAddress) error
- func (o *Transaction) AddTransactionAddressesGP(insert bool, related ...*TransactionAddress)
- func (o *Transaction) AddTransactionAddressesP(exec boil.Executor, insert bool, related ...*TransactionAddress)
- func (o *Transaction) AddTransactionByHashClaims(exec boil.Executor, insert bool, related ...*Claim) error
- func (o *Transaction) AddTransactionByHashClaimsG(insert bool, related ...*Claim) error
- func (o *Transaction) AddTransactionByHashClaimsGP(insert bool, related ...*Claim)
- func (o *Transaction) AddTransactionByHashClaimsP(exec boil.Executor, insert bool, related ...*Claim)
- func (o *Transaction) BlockByHash(exec boil.Executor, mods ...qm.QueryMod) blockQuery
- func (o *Transaction) BlockByHashG(mods ...qm.QueryMod) blockQuery
- func (o *Transaction) Delete(exec boil.Executor) error
- func (o *Transaction) DeleteG() error
- func (o *Transaction) DeleteGP()
- func (o *Transaction) DeleteP(exec boil.Executor)
- func (o *Transaction) Inputs(exec boil.Executor, mods ...qm.QueryMod) inputQuery
- func (o *Transaction) InputsG(mods ...qm.QueryMod) inputQuery
- func (o *Transaction) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Transaction) InsertG(whitelist ...string) error
- func (o *Transaction) InsertGP(whitelist ...string)
- func (o *Transaction) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Transaction) Outputs(exec boil.Executor, mods ...qm.QueryMod) outputQuery
- func (o *Transaction) OutputsG(mods ...qm.QueryMod) outputQuery
- func (o *Transaction) Reload(exec boil.Executor) error
- func (o *Transaction) ReloadG() error
- func (o *Transaction) ReloadGP()
- func (o *Transaction) ReloadP(exec boil.Executor)
- func (o *Transaction) RemoveBlockByHash(exec boil.Executor, related *Block) error
- func (o *Transaction) RemoveBlockByHashG(related *Block) error
- func (o *Transaction) RemoveBlockByHashGP(related *Block)
- func (o *Transaction) RemoveBlockByHashP(exec boil.Executor, related *Block)
- func (o *Transaction) RemoveTransactionByHashClaims(exec boil.Executor, related ...*Claim) error
- func (o *Transaction) RemoveTransactionByHashClaimsG(related ...*Claim) error
- func (o *Transaction) RemoveTransactionByHashClaimsGP(related ...*Claim)
- func (o *Transaction) RemoveTransactionByHashClaimsP(exec boil.Executor, related ...*Claim)
- func (o *Transaction) SetBlockByHash(exec boil.Executor, insert bool, related *Block) error
- func (o *Transaction) SetBlockByHashG(insert bool, related *Block) error
- func (o *Transaction) SetBlockByHashGP(insert bool, related *Block)
- func (o *Transaction) SetBlockByHashP(exec boil.Executor, insert bool, related *Block)
- func (o *Transaction) SetTransactionByHashClaims(exec boil.Executor, insert bool, related ...*Claim) error
- func (o *Transaction) SetTransactionByHashClaimsG(insert bool, related ...*Claim) error
- func (o *Transaction) SetTransactionByHashClaimsGP(insert bool, related ...*Claim)
- func (o *Transaction) SetTransactionByHashClaimsP(exec boil.Executor, insert bool, related ...*Claim)
- func (o *Transaction) TransactionAddresses(exec boil.Executor, mods ...qm.QueryMod) transactionAddressQuery
- func (o *Transaction) TransactionAddressesG(mods ...qm.QueryMod) transactionAddressQuery
- func (o *Transaction) TransactionByHashClaims(exec boil.Executor, mods ...qm.QueryMod) claimQuery
- func (o *Transaction) TransactionByHashClaimsG(mods ...qm.QueryMod) claimQuery
- func (o *Transaction) Update(exec boil.Executor, whitelist ...string) error
- func (o *Transaction) UpdateG(whitelist ...string) error
- func (o *Transaction) UpdateGP(whitelist ...string)
- func (o *Transaction) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Transaction) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *Transaction) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *Transaction) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *Transaction) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type TransactionAddress
- func FindTransactionAddress(exec boil.Executor, transactionID uint64, addressID uint64, ...) (*TransactionAddress, error)
- func FindTransactionAddressG(transactionID uint64, addressID uint64, selectCols ...string) (*TransactionAddress, error)
- func FindTransactionAddressGP(transactionID uint64, addressID uint64, selectCols ...string) *TransactionAddress
- func FindTransactionAddressP(exec boil.Executor, transactionID uint64, addressID uint64, ...) *TransactionAddress
- func (o *TransactionAddress) Address(exec boil.Executor, mods ...qm.QueryMod) addressQuery
- func (o *TransactionAddress) AddressG(mods ...qm.QueryMod) addressQuery
- func (o *TransactionAddress) Delete(exec boil.Executor) error
- func (o *TransactionAddress) DeleteG() error
- func (o *TransactionAddress) DeleteGP()
- func (o *TransactionAddress) DeleteP(exec boil.Executor)
- func (o *TransactionAddress) Insert(exec boil.Executor, whitelist ...string) error
- func (o *TransactionAddress) InsertG(whitelist ...string) error
- func (o *TransactionAddress) InsertGP(whitelist ...string)
- func (o *TransactionAddress) InsertP(exec boil.Executor, whitelist ...string)
- func (o *TransactionAddress) Reload(exec boil.Executor) error
- func (o *TransactionAddress) ReloadG() error
- func (o *TransactionAddress) ReloadGP()
- func (o *TransactionAddress) ReloadP(exec boil.Executor)
- func (o *TransactionAddress) SetAddress(exec boil.Executor, insert bool, related *Address) error
- func (o *TransactionAddress) SetAddressG(insert bool, related *Address) error
- func (o *TransactionAddress) SetAddressGP(insert bool, related *Address)
- func (o *TransactionAddress) SetAddressP(exec boil.Executor, insert bool, related *Address)
- func (o *TransactionAddress) SetTransaction(exec boil.Executor, insert bool, related *Transaction) error
- func (o *TransactionAddress) SetTransactionG(insert bool, related *Transaction) error
- func (o *TransactionAddress) SetTransactionGP(insert bool, related *Transaction)
- func (o *TransactionAddress) SetTransactionP(exec boil.Executor, insert bool, related *Transaction)
- func (o *TransactionAddress) Transaction(exec boil.Executor, mods ...qm.QueryMod) transactionQuery
- func (o *TransactionAddress) TransactionG(mods ...qm.QueryMod) transactionQuery
- func (o *TransactionAddress) Update(exec boil.Executor, whitelist ...string) error
- func (o *TransactionAddress) UpdateG(whitelist ...string) error
- func (o *TransactionAddress) UpdateGP(whitelist ...string)
- func (o *TransactionAddress) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *TransactionAddress) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *TransactionAddress) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *TransactionAddress) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *TransactionAddress) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type TransactionAddressSlice
- func (o TransactionAddressSlice) DeleteAll(exec boil.Executor) error
- func (o TransactionAddressSlice) DeleteAllG() error
- func (o TransactionAddressSlice) DeleteAllGP()
- func (o TransactionAddressSlice) DeleteAllP(exec boil.Executor)
- func (o *TransactionAddressSlice) ReloadAll(exec boil.Executor) error
- func (o *TransactionAddressSlice) ReloadAllG() error
- func (o *TransactionAddressSlice) ReloadAllGP()
- func (o *TransactionAddressSlice) ReloadAllP(exec boil.Executor)
- func (o TransactionAddressSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o TransactionAddressSlice) UpdateAllG(cols M) error
- func (o TransactionAddressSlice) UpdateAllGP(cols M)
- func (o TransactionAddressSlice) UpdateAllP(exec boil.Executor, cols M)
- type TransactionSlice
- func (o TransactionSlice) DeleteAll(exec boil.Executor) error
- func (o TransactionSlice) DeleteAllG() error
- func (o TransactionSlice) DeleteAllGP()
- func (o TransactionSlice) DeleteAllP(exec boil.Executor)
- func (o *TransactionSlice) ReloadAll(exec boil.Executor) error
- func (o *TransactionSlice) ReloadAllG() error
- func (o *TransactionSlice) ReloadAllGP()
- func (o *TransactionSlice) ReloadAllP(exec boil.Executor)
- func (o TransactionSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o TransactionSlice) UpdateAllG(cols M) error
- func (o TransactionSlice) UpdateAllGP(cols M)
- func (o TransactionSlice) UpdateAllP(exec boil.Executor, cols M)
- type UnknownClaim
- func FindUnknownClaim(exec boil.Executor, id uint64, selectCols ...string) (*UnknownClaim, error)
- func FindUnknownClaimG(id uint64, selectCols ...string) (*UnknownClaim, error)
- func FindUnknownClaimGP(id uint64, selectCols ...string) *UnknownClaim
- func FindUnknownClaimP(exec boil.Executor, id uint64, selectCols ...string) *UnknownClaim
- func (o *UnknownClaim) Delete(exec boil.Executor) error
- func (o *UnknownClaim) DeleteG() error
- func (o *UnknownClaim) DeleteGP()
- func (o *UnknownClaim) DeleteP(exec boil.Executor)
- func (o *UnknownClaim) Insert(exec boil.Executor, whitelist ...string) error
- func (o *UnknownClaim) InsertG(whitelist ...string) error
- func (o *UnknownClaim) InsertGP(whitelist ...string)
- func (o *UnknownClaim) InsertP(exec boil.Executor, whitelist ...string)
- func (o *UnknownClaim) Output(exec boil.Executor, mods ...qm.QueryMod) outputQuery
- func (o *UnknownClaim) OutputG(mods ...qm.QueryMod) outputQuery
- func (o *UnknownClaim) Reload(exec boil.Executor) error
- func (o *UnknownClaim) ReloadG() error
- func (o *UnknownClaim) ReloadGP()
- func (o *UnknownClaim) ReloadP(exec boil.Executor)
- func (o *UnknownClaim) SetOutput(exec boil.Executor, insert bool, related *Output) error
- func (o *UnknownClaim) SetOutputG(insert bool, related *Output) error
- func (o *UnknownClaim) SetOutputGP(insert bool, related *Output)
- func (o *UnknownClaim) SetOutputP(exec boil.Executor, insert bool, related *Output)
- func (o *UnknownClaim) Update(exec boil.Executor, whitelist ...string) error
- func (o *UnknownClaim) UpdateG(whitelist ...string) error
- func (o *UnknownClaim) UpdateGP(whitelist ...string)
- func (o *UnknownClaim) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *UnknownClaim) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
- func (o *UnknownClaim) UpsertG(updateColumns []string, whitelist ...string) error
- func (o *UnknownClaim) UpsertGP(updateColumns []string, whitelist ...string)
- func (o *UnknownClaim) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)
- type UnknownClaimSlice
- func (o UnknownClaimSlice) DeleteAll(exec boil.Executor) error
- func (o UnknownClaimSlice) DeleteAllG() error
- func (o UnknownClaimSlice) DeleteAllGP()
- func (o UnknownClaimSlice) DeleteAllP(exec boil.Executor)
- func (o *UnknownClaimSlice) ReloadAll(exec boil.Executor) error
- func (o *UnknownClaimSlice) ReloadAllG() error
- func (o *UnknownClaimSlice) ReloadAllGP()
- func (o *UnknownClaimSlice) ReloadAllP(exec boil.Executor)
- func (o UnknownClaimSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o UnknownClaimSlice) UpdateAllG(cols M) error
- func (o UnknownClaimSlice) UpdateAllGP(cols M)
- func (o UnknownClaimSlice) UpdateAllP(exec boil.Executor, cols M)
Constants ¶
This section is empty.
Variables ¶
var AddressColumns = struct { ID string Address string FirstSeen string Tag string TagURL string Created string Modified string }{ ID: "id", Address: "address", FirstSeen: "first_seen", Tag: "tag", TagURL: "tag_url", Created: "created", Modified: "modified", }
var ApplicationStatusColumns = struct { ID string AppVersion string DataVersion string APIVersion string }{ ID: "id", AppVersion: "app_version", DataVersion: "data_version", APIVersion: "api_version", }
var BlockColumns = struct { ID string Bits string Chainwork string Confirmations string Difficulty string Hash string Height string MedianTime string MerkleRoot string NameClaimRoot string Nonce string PreviousBlockHash string NextBlockHash string BlockSize string Target string BlockTime string Version string VersionHex string TransactionHashes string TransactionsProcessed string Created string Modified string }{ ID: "id", Bits: "bits", Chainwork: "chainwork", Confirmations: "confirmations", Difficulty: "difficulty", Hash: "hash", Height: "height", MedianTime: "median_time", MerkleRoot: "merkle_root", NameClaimRoot: "name_claim_root", Nonce: "nonce", PreviousBlockHash: "previous_block_hash", NextBlockHash: "next_block_hash", BlockSize: "block_size", Target: "target", BlockTime: "block_time", Version: "version", VersionHex: "version_hex", TransactionHashes: "transaction_hashes", TransactionsProcessed: "transactions_processed", Created: "created", Modified: "modified", }
var ClaimCheckpointColumns = struct { ID string ClaimID string Checkpoint string IsAvailable string HeadAvailable string SDAvailable string }{ ID: "id", ClaimID: "claim_id", Checkpoint: "checkpoint", IsAvailable: "is_available", HeadAvailable: "head_available", SDAvailable: "s_d_available", }
var ClaimColumns = struct { ID string TransactionByHashID string Vout string Name string ClaimID string ClaimType string PublisherID string PublisherSig string Certificate string SDHash string TransactionTime string Version string ValueAsHex string ValueAsJSON string ValidAtHeight string Height string EffectiveAmount string Author string Description string ContentType string IsNSFW string Language string ThumbnailURL string Title string Fee string FeeCurrency string IsFiltered string BidState string Created string Modified string FeeAddress string ClaimAddress string }{ ID: "id", TransactionByHashID: "transaction_by_hash_id", Vout: "vout", Name: "name", ClaimID: "claim_id", ClaimType: "claim_type", PublisherID: "publisher_id", PublisherSig: "publisher_sig", Certificate: "certificate", SDHash: "sd_hash", TransactionTime: "transaction_time", Version: "version", ValueAsHex: "value_as_hex", ValueAsJSON: "value_as_json", ValidAtHeight: "valid_at_height", Height: "height", EffectiveAmount: "effective_amount", Author: "author", Description: "description", ContentType: "content_type", IsNSFW: "is_n_s_f_w", Language: "language", ThumbnailURL: "thumbnail_url", Title: "title", Fee: "fee", FeeCurrency: "fee_currency", IsFiltered: "is_filtered", BidState: "bid_state", Created: "created", Modified: "modified", FeeAddress: "fee_address", ClaimAddress: "claim_address", }
var ErrSyncFail = errors.New("model: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
var InputColumns = struct { ID string TransactionID string TransactionHash string InputAddressID string IsCoinbase string Coinbase string PrevoutHash string PrevoutN string PrevoutSpendUpdated string Sequence string Value string ScriptSigAsm string ScriptSigHex string Created string Modified string }{ ID: "id", TransactionID: "transaction_id", TransactionHash: "transaction_hash", InputAddressID: "input_address_id", IsCoinbase: "is_coinbase", Coinbase: "coinbase", PrevoutHash: "prevout_hash", PrevoutN: "prevout_n", PrevoutSpendUpdated: "prevout_spend_updated", Sequence: "sequence", Value: "value", ScriptSigAsm: "script_sig_asm", ScriptSigHex: "script_sig_hex", Created: "created", Modified: "modified", }
var JobStatusColumns = struct { JobName string LastSync string IsSuccess string ErrorMessage string }{ JobName: "job_name", LastSync: "last_sync", IsSuccess: "is_success", ErrorMessage: "error_message", }
var OutputColumns = struct { ID string TransactionID string TransactionHash string Value string Vout string Type string ScriptPubKeyAsm string ScriptPubKeyHex string RequiredSignatures string Hash160 string AddressList string IsSpent string SpentByInputID string Created string Modified string ClaimID string }{ ID: "id", TransactionID: "transaction_id", TransactionHash: "transaction_hash", Value: "value", Vout: "vout", Type: "type", ScriptPubKeyAsm: "script_pub_key_asm", ScriptPubKeyHex: "script_pub_key_hex", RequiredSignatures: "required_signatures", Hash160: "hash160", AddressList: "address_list", IsSpent: "is_spent", SpentByInputID: "spent_by_input_id", Created: "created", Modified: "modified", ClaimID: "claim_id", }
var PeerClaimCheckpointColumns = struct { ID string PeerID string ClaimID string Checkpoint string IsAvailable string }{ ID: "id", PeerID: "peer_id", ClaimID: "claim_id", Checkpoint: "checkpoint", IsAvailable: "is_available", }
var PeerClaimColumns = struct { PeerID string ClaimID string Created string LastSeen string }{ PeerID: "peer_id", ClaimID: "claim_id", Created: "created", LastSeen: "last_seen", }
var PeerColumns = struct { NodeID string KnownIPList string }{ NodeID: "node_id", KnownIPList: "known_i_p_list", }
var SupportColumns = struct { ID string SupportedClaimID string SupportAmount string BidState string TransactionHash string Vout string Created string Modified string }{ ID: "id", SupportedClaimID: "supported_claim_id", SupportAmount: "support_amount", BidState: "bid_state", TransactionHash: "transaction_hash", Vout: "vout", Created: "created", Modified: "modified", }
var TableNames = struct { Address string ApplicationStatus string Block string Claim string ClaimCheckpoint string Input string InputAddress string JobStatus string Output string OutputAddress string Peer string PeerClaim string PeerClaimCheckpoint string Support string Transaction string TransactionAddress string UnknownClaim string }{ Address: "address", ApplicationStatus: "application_status", Block: "block", Claim: "claim", ClaimCheckpoint: "claim_checkpoint", Input: "input", InputAddress: "input_address", JobStatus: "job_status", Output: "output", OutputAddress: "output_address", Peer: "peer", PeerClaim: "peer_claim", PeerClaimCheckpoint: "peer_claim_checkpoint", Support: "support", Transaction: "transaction", TransactionAddress: "transaction_address", UnknownClaim: "unknown_claim", }
var TransactionAddressColumns = struct { TransactionID string AddressID string DebitAmount string CreditAmount string LatestTransactionTime string }{ TransactionID: "transaction_id", AddressID: "address_id", DebitAmount: "debit_amount", CreditAmount: "credit_amount", LatestTransactionTime: "latest_transaction_time", }
var TransactionColumns = struct { ID string BlockByHashID string InputCount string OutputCount string Value string Fee string TransactionTime string TransactionSize string Hash string Version string LockTime string Raw string Created string Modified string CreatedTime string }{ ID: "id", BlockByHashID: "block_by_hash_id", InputCount: "input_count", OutputCount: "output_count", Value: "value", Fee: "fee", TransactionTime: "transaction_time", TransactionSize: "transaction_size", Hash: "hash", Version: "version", LockTime: "lock_time", Raw: "raw", Created: "created", Modified: "modified", CreatedTime: "created_time", }
var UnknownClaimColumns = struct { ID string Name string ClaimID string IsUpdate string BlockHash string TransactionHash string Vout string OutputID string ValueAsHex string ValueAsJSON string }{ ID: "id", Name: "name", ClaimID: "claim_id", IsUpdate: "is_update", BlockHash: "block_hash", TransactionHash: "transaction_hash", Vout: "vout", OutputID: "output_id", ValueAsHex: "value_as_hex", ValueAsJSON: "value_as_json", }
Functions ¶
func AddressExists ¶
AddressExists checks if the Address row exists.
func AddressExistsG ¶
AddressExistsG checks if the Address row exists.
func AddressExistsGP ¶
AddressExistsGP checks if the Address row exists. Panics on error.
func AddressExistsP ¶
AddressExistsP checks if the Address row exists. Panics on error.
func AddressesG ¶
AddressesG retrieves all records.
func ApplicationStatusExists ¶
ApplicationStatusExists checks if the ApplicationStatus row exists.
func ApplicationStatusExistsG ¶
ApplicationStatusExistsG checks if the ApplicationStatus row exists.
func ApplicationStatusExistsGP ¶
ApplicationStatusExistsGP checks if the ApplicationStatus row exists. Panics on error.
func ApplicationStatusExistsP ¶
ApplicationStatusExistsP checks if the ApplicationStatus row exists. Panics on error.
func ApplicationStatuses ¶
ApplicationStatuses retrieves all the records using an executor.
func ApplicationStatusesG ¶
ApplicationStatusesG retrieves all records.
func BlockExists ¶
BlockExists checks if the Block row exists.
func BlockExistsG ¶
BlockExistsG checks if the Block row exists.
func BlockExistsGP ¶
BlockExistsGP checks if the Block row exists. Panics on error.
func BlockExistsP ¶
BlockExistsP checks if the Block row exists. Panics on error.
func ClaimCheckpointExists ¶ added in v0.2.0
ClaimCheckpointExists checks if the ClaimCheckpoint row exists.
func ClaimCheckpointExistsG ¶ added in v0.2.0
ClaimCheckpointExistsG checks if the ClaimCheckpoint row exists.
func ClaimCheckpointExistsGP ¶ added in v0.2.0
ClaimCheckpointExistsGP checks if the ClaimCheckpoint row exists. Panics on error.
func ClaimCheckpointExistsP ¶ added in v0.2.0
ClaimCheckpointExistsP checks if the ClaimCheckpoint row exists. Panics on error.
func ClaimCheckpoints ¶ added in v0.2.0
ClaimCheckpoints retrieves all the records using an executor.
func ClaimCheckpointsG ¶ added in v0.2.0
ClaimCheckpointsG retrieves all records.
func ClaimExists ¶
ClaimExists checks if the Claim row exists.
func ClaimExistsG ¶
ClaimExistsG checks if the Claim row exists.
func ClaimExistsGP ¶
ClaimExistsGP checks if the Claim row exists. Panics on error.
func ClaimExistsP ¶
ClaimExistsP checks if the Claim row exists. Panics on error.
func InputExists ¶
InputExists checks if the Input row exists.
func InputExistsG ¶
InputExistsG checks if the Input row exists.
func InputExistsGP ¶
InputExistsGP checks if the Input row exists. Panics on error.
func InputExistsP ¶
InputExistsP checks if the Input row exists. Panics on error.
func JobStatusExists ¶
JobStatusExists checks if the JobStatus row exists.
func JobStatusExistsG ¶
JobStatusExistsG checks if the JobStatus row exists.
func JobStatusExistsGP ¶
JobStatusExistsGP checks if the JobStatus row exists. Panics on error.
func JobStatusExistsP ¶
JobStatusExistsP checks if the JobStatus row exists. Panics on error.
func JobStatuses ¶
JobStatuses retrieves all the records using an executor.
func JobStatusesG ¶
JobStatusesG retrieves all records.
func OutputExists ¶
OutputExists checks if the Output row exists.
func OutputExistsG ¶
OutputExistsG checks if the Output row exists.
func OutputExistsGP ¶
OutputExistsGP checks if the Output row exists. Panics on error.
func OutputExistsP ¶
OutputExistsP checks if the Output row exists. Panics on error.
func PeerClaimCheckpointExists ¶ added in v0.2.0
PeerClaimCheckpointExists checks if the PeerClaimCheckpoint row exists.
func PeerClaimCheckpointExistsG ¶ added in v0.2.0
PeerClaimCheckpointExistsG checks if the PeerClaimCheckpoint row exists.
func PeerClaimCheckpointExistsGP ¶ added in v0.2.0
PeerClaimCheckpointExistsGP checks if the PeerClaimCheckpoint row exists. Panics on error.
func PeerClaimCheckpointExistsP ¶ added in v0.2.0
PeerClaimCheckpointExistsP checks if the PeerClaimCheckpoint row exists. Panics on error.
func PeerClaimCheckpoints ¶ added in v0.2.0
PeerClaimCheckpoints retrieves all the records using an executor.
func PeerClaimCheckpointsG ¶ added in v0.2.0
PeerClaimCheckpointsG retrieves all records.
func PeerClaimExists ¶ added in v0.2.0
PeerClaimExists checks if the PeerClaim row exists.
func PeerClaimExistsG ¶ added in v0.2.0
PeerClaimExistsG checks if the PeerClaim row exists.
func PeerClaimExistsGP ¶ added in v0.2.0
PeerClaimExistsGP checks if the PeerClaim row exists. Panics on error.
func PeerClaimExistsP ¶ added in v0.2.0
PeerClaimExistsP checks if the PeerClaim row exists. Panics on error.
func PeerClaims ¶ added in v0.2.0
PeerClaims retrieves all the records using an executor.
func PeerClaimsG ¶ added in v0.2.0
PeerClaimsG retrieves all records.
func PeerExists ¶ added in v0.2.0
PeerExists checks if the Peer row exists.
func PeerExistsG ¶ added in v0.2.0
PeerExistsG checks if the Peer row exists.
func PeerExistsGP ¶ added in v0.2.0
PeerExistsGP checks if the Peer row exists. Panics on error.
func PeerExistsP ¶ added in v0.2.0
PeerExistsP checks if the Peer row exists. Panics on error.
func SupportExists ¶
SupportExists checks if the Support row exists.
func SupportExistsG ¶
SupportExistsG checks if the Support row exists.
func SupportExistsGP ¶
SupportExistsGP checks if the Support row exists. Panics on error.
func SupportExistsP ¶
SupportExistsP checks if the Support row exists. Panics on error.
func TransactionAddressExists ¶
func TransactionAddressExists(exec boil.Executor, transactionID uint64, addressID uint64) (bool, error)
TransactionAddressExists checks if the TransactionAddress row exists.
func TransactionAddressExistsG ¶
TransactionAddressExistsG checks if the TransactionAddress row exists.
func TransactionAddressExistsGP ¶
TransactionAddressExistsGP checks if the TransactionAddress row exists. Panics on error.
func TransactionAddressExistsP ¶
TransactionAddressExistsP checks if the TransactionAddress row exists. Panics on error.
func TransactionAddresses ¶
TransactionAddresses retrieves all the records using an executor.
func TransactionAddressesG ¶
TransactionAddressesG retrieves all records.
func TransactionExists ¶
TransactionExists checks if the Transaction row exists.
func TransactionExistsG ¶
TransactionExistsG checks if the Transaction row exists.
func TransactionExistsGP ¶
TransactionExistsGP checks if the Transaction row exists. Panics on error.
func TransactionExistsP ¶
TransactionExistsP checks if the Transaction row exists. Panics on error.
func Transactions ¶
Transactions retrieves all the records using an executor.
func TransactionsG ¶
TransactionsG retrieves all records.
func UnknownClaimExists ¶
UnknownClaimExists checks if the UnknownClaim row exists.
func UnknownClaimExistsG ¶
UnknownClaimExistsG checks if the UnknownClaim row exists.
func UnknownClaimExistsGP ¶
UnknownClaimExistsGP checks if the UnknownClaim row exists. Panics on error.
func UnknownClaimExistsP ¶
UnknownClaimExistsP checks if the UnknownClaim row exists. Panics on error.
func UnknownClaims ¶
UnknownClaims retrieves all the records using an executor.
func UnknownClaimsG ¶
UnknownClaimsG retrieves all records.
Types ¶
type Address ¶
type Address struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` Address string `boil:"address" json:"address" toml:"address" yaml:"address"` FirstSeen null.Time `boil:"first_seen" json:"first_seen,omitempty" toml:"first_seen" yaml:"first_seen,omitempty"` Tag null.String `boil:"tag" json:"tag,omitempty" toml:"tag" yaml:"tag,omitempty"` TagURL null.String `boil:"tag_url" json:"tag_url,omitempty" toml:"tag_url" yaml:"tag_url,omitempty"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Modified time.Time `boil:"modified" json:"modified" toml:"modified" yaml:"modified"` R *addressR `boil:"-" json:"-" toml:"-" yaml:"-"` L addressL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Address is an object representing the database table.
func FindAddress ¶
FindAddress retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindAddressG ¶
FindAddressG retrieves a single record by ID.
func FindAddressGP ¶
FindAddressGP retrieves a single record by ID, and panics on error.
func FindAddressP ¶
FindAddressP retrieves a single record by ID with an executor, and panics on error.
func (*Address) AddInputAddressInputs ¶
AddInputAddressInputs adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.InputAddressInputs. Sets related.R.InputAddress appropriately.
func (*Address) AddInputAddressInputsG ¶
AddInputAddressInputsG adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.InputAddressInputs. Sets related.R.InputAddress appropriately. Uses the global database handle.
func (*Address) AddInputAddressInputsGP ¶
AddInputAddressInputsGP adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.InputAddressInputs. Sets related.R.InputAddress appropriately. Uses the global database handle and panics on error.
func (*Address) AddInputAddressInputsP ¶
AddInputAddressInputsP adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.InputAddressInputs. Sets related.R.InputAddress appropriately. Panics on error.
func (*Address) AddInputs ¶
AddInputs adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.Inputs. Sets related.R.Addresses appropriately.
func (*Address) AddInputsG ¶
AddInputsG adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.Inputs. Sets related.R.Addresses appropriately. Uses the global database handle.
func (*Address) AddInputsGP ¶
AddInputsGP adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.Inputs. Sets related.R.Addresses appropriately. Uses the global database handle and panics on error.
func (*Address) AddInputsP ¶
AddInputsP adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.Inputs. Sets related.R.Addresses appropriately. Panics on error.
func (*Address) AddOutputs ¶
AddOutputs adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.Outputs. Sets related.R.Addresses appropriately.
func (*Address) AddOutputsG ¶
AddOutputsG adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.Outputs. Sets related.R.Addresses appropriately. Uses the global database handle.
func (*Address) AddOutputsGP ¶
AddOutputsGP adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.Outputs. Sets related.R.Addresses appropriately. Uses the global database handle and panics on error.
func (*Address) AddOutputsP ¶
AddOutputsP adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.Outputs. Sets related.R.Addresses appropriately. Panics on error.
func (*Address) AddTransactionAddresses ¶
func (o *Address) AddTransactionAddresses(exec boil.Executor, insert bool, related ...*TransactionAddress) error
AddTransactionAddresses adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.TransactionAddresses. Sets related.R.Address appropriately.
func (*Address) AddTransactionAddressesG ¶
func (o *Address) AddTransactionAddressesG(insert bool, related ...*TransactionAddress) error
AddTransactionAddressesG adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.TransactionAddresses. Sets related.R.Address appropriately. Uses the global database handle.
func (*Address) AddTransactionAddressesGP ¶
func (o *Address) AddTransactionAddressesGP(insert bool, related ...*TransactionAddress)
AddTransactionAddressesGP adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.TransactionAddresses. Sets related.R.Address appropriately. Uses the global database handle and panics on error.
func (*Address) AddTransactionAddressesP ¶
func (o *Address) AddTransactionAddressesP(exec boil.Executor, insert bool, related ...*TransactionAddress)
AddTransactionAddressesP adds the given related objects to the existing relationships of the address, optionally inserting them as new records. Appends related to o.R.TransactionAddresses. Sets related.R.Address appropriately. Panics on error.
func (*Address) Delete ¶
Delete deletes a single Address record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Address) DeleteG ¶
DeleteG deletes a single Address record. DeleteG will match against the primary key column to find the record to delete.
func (*Address) DeleteGP ¶
func (o *Address) DeleteGP()
DeleteGP deletes a single Address record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Address) DeleteP ¶
DeleteP deletes a single Address record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Address) InputAddressInputs ¶
InputAddressInputs retrieves all the input's input with an executor via input_address_id column.
func (*Address) InputAddressInputsG ¶
InputAddressInputsG retrieves all the input's input via input_address_id column.
func (*Address) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Address) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Address) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Address) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Address) ReloadGP ¶
func (o *Address) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Address) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Address) RemoveInputAddressInputs ¶
RemoveInputAddressInputs relationships from objects passed in. Removes related items from R.InputAddressInputs (uses pointer comparison, removal does not keep order) Sets related.R.InputAddress.
func (*Address) RemoveInputAddressInputsG ¶
RemoveInputAddressInputsG relationships from objects passed in. Removes related items from R.InputAddressInputs (uses pointer comparison, removal does not keep order) Sets related.R.InputAddress. Uses the global database handle.
func (*Address) RemoveInputAddressInputsGP ¶
RemoveInputAddressInputsGP relationships from objects passed in. Removes related items from R.InputAddressInputs (uses pointer comparison, removal does not keep order) Sets related.R.InputAddress. Uses the global database handle and panics on error.
func (*Address) RemoveInputAddressInputsP ¶
RemoveInputAddressInputsP relationships from objects passed in. Removes related items from R.InputAddressInputs (uses pointer comparison, removal does not keep order) Sets related.R.InputAddress. Panics on error.
func (*Address) RemoveInputs ¶
RemoveInputs relationships from objects passed in. Removes related items from R.Inputs (uses pointer comparison, removal does not keep order) Sets related.R.Addresses.
func (*Address) RemoveInputsG ¶
RemoveInputsG relationships from objects passed in. Removes related items from R.Inputs (uses pointer comparison, removal does not keep order) Sets related.R.Addresses. Uses the global database handle.
func (*Address) RemoveInputsGP ¶
RemoveInputsGP relationships from objects passed in. Removes related items from R.Inputs (uses pointer comparison, removal does not keep order) Sets related.R.Addresses. Uses the global database handle and panics on error.
func (*Address) RemoveInputsP ¶
RemoveInputsP relationships from objects passed in. Removes related items from R.Inputs (uses pointer comparison, removal does not keep order) Sets related.R.Addresses. Panics on error.
func (*Address) RemoveOutputs ¶
RemoveOutputs relationships from objects passed in. Removes related items from R.Outputs (uses pointer comparison, removal does not keep order) Sets related.R.Addresses.
func (*Address) RemoveOutputsG ¶
RemoveOutputsG relationships from objects passed in. Removes related items from R.Outputs (uses pointer comparison, removal does not keep order) Sets related.R.Addresses. Uses the global database handle.
func (*Address) RemoveOutputsGP ¶
RemoveOutputsGP relationships from objects passed in. Removes related items from R.Outputs (uses pointer comparison, removal does not keep order) Sets related.R.Addresses. Uses the global database handle and panics on error.
func (*Address) RemoveOutputsP ¶
RemoveOutputsP relationships from objects passed in. Removes related items from R.Outputs (uses pointer comparison, removal does not keep order) Sets related.R.Addresses. Panics on error.
func (*Address) SetInputAddressInputs ¶
SetInputAddressInputs removes all previously related items of the address replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.InputAddress's InputAddressInputs accordingly. Replaces o.R.InputAddressInputs with related. Sets related.R.InputAddress's InputAddressInputs accordingly.
func (*Address) SetInputAddressInputsG ¶
SetInputAddressInputsG removes all previously related items of the address replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.InputAddress's InputAddressInputs accordingly. Replaces o.R.InputAddressInputs with related. Sets related.R.InputAddress's InputAddressInputs accordingly. Uses the global database handle.
func (*Address) SetInputAddressInputsGP ¶
SetInputAddressInputsGP removes all previously related items of the address replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.InputAddress's InputAddressInputs accordingly. Replaces o.R.InputAddressInputs with related. Sets related.R.InputAddress's InputAddressInputs accordingly. Uses the global database handle and panics on error.
func (*Address) SetInputAddressInputsP ¶
SetInputAddressInputsP removes all previously related items of the address replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.InputAddress's InputAddressInputs accordingly. Replaces o.R.InputAddressInputs with related. Sets related.R.InputAddress's InputAddressInputs accordingly. Panics on error.
func (*Address) SetInputs ¶
SetInputs removes all previously related items of the address replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Addresses's Inputs accordingly. Replaces o.R.Inputs with related. Sets related.R.Addresses's Inputs accordingly.
func (*Address) SetInputsG ¶
SetInputsG removes all previously related items of the address replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Addresses's Inputs accordingly. Replaces o.R.Inputs with related. Sets related.R.Addresses's Inputs accordingly. Uses the global database handle.
func (*Address) SetInputsGP ¶
SetInputsGP removes all previously related items of the address replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Addresses's Inputs accordingly. Replaces o.R.Inputs with related. Sets related.R.Addresses's Inputs accordingly. Uses the global database handle and panics on error.
func (*Address) SetInputsP ¶
SetInputsP removes all previously related items of the address replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Addresses's Inputs accordingly. Replaces o.R.Inputs with related. Sets related.R.Addresses's Inputs accordingly. Panics on error.
func (*Address) SetOutputs ¶
SetOutputs removes all previously related items of the address replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Addresses's Outputs accordingly. Replaces o.R.Outputs with related. Sets related.R.Addresses's Outputs accordingly.
func (*Address) SetOutputsG ¶
SetOutputsG removes all previously related items of the address replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Addresses's Outputs accordingly. Replaces o.R.Outputs with related. Sets related.R.Addresses's Outputs accordingly. Uses the global database handle.
func (*Address) SetOutputsGP ¶
SetOutputsGP removes all previously related items of the address replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Addresses's Outputs accordingly. Replaces o.R.Outputs with related. Sets related.R.Addresses's Outputs accordingly. Uses the global database handle and panics on error.
func (*Address) SetOutputsP ¶
SetOutputsP removes all previously related items of the address replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Addresses's Outputs accordingly. Replaces o.R.Outputs with related. Sets related.R.Addresses's Outputs accordingly. Panics on error.
func (*Address) TransactionAddresses ¶
func (o *Address) TransactionAddresses(exec boil.Executor, mods ...qm.QueryMod) transactionAddressQuery
TransactionAddresses retrieves all the transaction_address's transaction address with an executor.
func (*Address) TransactionAddressesG ¶
TransactionAddressesG retrieves all the transaction_address's transaction address.
func (*Address) Update ¶
Update uses an executor to update the Address. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Address) UpdateG ¶
UpdateG a single Address record. See Update for whitelist behavior description.
func (*Address) UpdateGP ¶
UpdateGP a single Address record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Address) UpdateP ¶
UpdateP uses an executor to update the Address, and panics on error. See Update for whitelist behavior description.
func (*Address) Upsert ¶
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
type AddressSlice ¶
type AddressSlice []*Address
AddressSlice is an alias for a slice of pointers to Address. This should generally be used opposed to []Address.
func (AddressSlice) DeleteAll ¶
func (o AddressSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (AddressSlice) DeleteAllG ¶
func (o AddressSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (AddressSlice) DeleteAllGP ¶
func (o AddressSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (AddressSlice) DeleteAllP ¶
func (o AddressSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*AddressSlice) ReloadAll ¶
func (o *AddressSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*AddressSlice) ReloadAllG ¶
func (o *AddressSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*AddressSlice) ReloadAllGP ¶
func (o *AddressSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*AddressSlice) ReloadAllP ¶
func (o *AddressSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (AddressSlice) UpdateAll ¶
func (o AddressSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (AddressSlice) UpdateAllG ¶
func (o AddressSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (AddressSlice) UpdateAllGP ¶
func (o AddressSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (AddressSlice) UpdateAllP ¶
func (o AddressSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type ApplicationStatus ¶
type ApplicationStatus struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` AppVersion int `boil:"app_version" json:"app_version" toml:"app_version" yaml:"app_version"` DataVersion int `boil:"data_version" json:"data_version" toml:"data_version" yaml:"data_version"` APIVersion int `boil:"api_version" json:"api_version" toml:"api_version" yaml:"api_version"` R *applicationStatusR `boil:"-" json:"-" toml:"-" yaml:"-"` L applicationStatusL `boil:"-" json:"-" toml:"-" yaml:"-"` }
ApplicationStatus is an object representing the database table.
func FindApplicationStatus ¶
func FindApplicationStatus(exec boil.Executor, id uint64, selectCols ...string) (*ApplicationStatus, error)
FindApplicationStatus retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindApplicationStatusG ¶
func FindApplicationStatusG(id uint64, selectCols ...string) (*ApplicationStatus, error)
FindApplicationStatusG retrieves a single record by ID.
func FindApplicationStatusGP ¶
func FindApplicationStatusGP(id uint64, selectCols ...string) *ApplicationStatus
FindApplicationStatusGP retrieves a single record by ID, and panics on error.
func FindApplicationStatusP ¶
func FindApplicationStatusP(exec boil.Executor, id uint64, selectCols ...string) *ApplicationStatus
FindApplicationStatusP retrieves a single record by ID with an executor, and panics on error.
func (*ApplicationStatus) Delete ¶
func (o *ApplicationStatus) Delete(exec boil.Executor) error
Delete deletes a single ApplicationStatus record with an executor. Delete will match against the primary key column to find the record to delete.
func (*ApplicationStatus) DeleteG ¶
func (o *ApplicationStatus) DeleteG() error
DeleteG deletes a single ApplicationStatus record. DeleteG will match against the primary key column to find the record to delete.
func (*ApplicationStatus) DeleteGP ¶
func (o *ApplicationStatus) DeleteGP()
DeleteGP deletes a single ApplicationStatus record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*ApplicationStatus) DeleteP ¶
func (o *ApplicationStatus) DeleteP(exec boil.Executor)
DeleteP deletes a single ApplicationStatus record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*ApplicationStatus) Insert ¶
func (o *ApplicationStatus) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*ApplicationStatus) InsertG ¶
func (o *ApplicationStatus) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*ApplicationStatus) InsertGP ¶
func (o *ApplicationStatus) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*ApplicationStatus) InsertP ¶
func (o *ApplicationStatus) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*ApplicationStatus) Reload ¶
func (o *ApplicationStatus) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ApplicationStatus) ReloadG ¶
func (o *ApplicationStatus) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*ApplicationStatus) ReloadGP ¶
func (o *ApplicationStatus) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*ApplicationStatus) ReloadP ¶
func (o *ApplicationStatus) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*ApplicationStatus) Update ¶
func (o *ApplicationStatus) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the ApplicationStatus. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*ApplicationStatus) UpdateG ¶
func (o *ApplicationStatus) UpdateG(whitelist ...string) error
UpdateG a single ApplicationStatus record. See Update for whitelist behavior description.
func (*ApplicationStatus) UpdateGP ¶
func (o *ApplicationStatus) UpdateGP(whitelist ...string)
UpdateGP a single ApplicationStatus record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*ApplicationStatus) UpdateP ¶
func (o *ApplicationStatus) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the ApplicationStatus, and panics on error. See Update for whitelist behavior description.
func (*ApplicationStatus) Upsert ¶
func (o *ApplicationStatus) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*ApplicationStatus) UpsertG ¶
func (o *ApplicationStatus) UpsertG(updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*ApplicationStatus) UpsertGP ¶
func (o *ApplicationStatus) UpsertGP(updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
type ApplicationStatusSlice ¶
type ApplicationStatusSlice []*ApplicationStatus
ApplicationStatusSlice is an alias for a slice of pointers to ApplicationStatus. This should generally be used opposed to []ApplicationStatus.
func (ApplicationStatusSlice) DeleteAll ¶
func (o ApplicationStatusSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (ApplicationStatusSlice) DeleteAllG ¶
func (o ApplicationStatusSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (ApplicationStatusSlice) DeleteAllGP ¶
func (o ApplicationStatusSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (ApplicationStatusSlice) DeleteAllP ¶
func (o ApplicationStatusSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*ApplicationStatusSlice) ReloadAll ¶
func (o *ApplicationStatusSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ApplicationStatusSlice) ReloadAllG ¶
func (o *ApplicationStatusSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ApplicationStatusSlice) ReloadAllGP ¶
func (o *ApplicationStatusSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*ApplicationStatusSlice) ReloadAllP ¶
func (o *ApplicationStatusSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (ApplicationStatusSlice) UpdateAll ¶
func (o ApplicationStatusSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (ApplicationStatusSlice) UpdateAllG ¶
func (o ApplicationStatusSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (ApplicationStatusSlice) UpdateAllGP ¶
func (o ApplicationStatusSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (ApplicationStatusSlice) UpdateAllP ¶
func (o ApplicationStatusSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Block ¶
type Block struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` Bits string `boil:"bits" json:"bits" toml:"bits" yaml:"bits"` Chainwork string `boil:"chainwork" json:"chainwork" toml:"chainwork" yaml:"chainwork"` Confirmations uint `boil:"confirmations" json:"confirmations" toml:"confirmations" yaml:"confirmations"` Difficulty float64 `boil:"difficulty" json:"difficulty" toml:"difficulty" yaml:"difficulty"` Hash string `boil:"hash" json:"hash" toml:"hash" yaml:"hash"` Height uint64 `boil:"height" json:"height" toml:"height" yaml:"height"` MedianTime uint64 `boil:"median_time" json:"median_time" toml:"median_time" yaml:"median_time"` MerkleRoot string `boil:"merkle_root" json:"merkle_root" toml:"merkle_root" yaml:"merkle_root"` NameClaimRoot string `boil:"name_claim_root" json:"name_claim_root" toml:"name_claim_root" yaml:"name_claim_root"` Nonce uint64 `boil:"nonce" json:"nonce" toml:"nonce" yaml:"nonce"` PreviousBlockHash null.String `` /* 127-byte string literal not displayed */ NextBlockHash null.String `boil:"next_block_hash" json:"next_block_hash,omitempty" toml:"next_block_hash" yaml:"next_block_hash,omitempty"` BlockSize uint64 `boil:"block_size" json:"block_size" toml:"block_size" yaml:"block_size"` Target string `boil:"target" json:"target" toml:"target" yaml:"target"` BlockTime uint64 `boil:"block_time" json:"block_time" toml:"block_time" yaml:"block_time"` Version uint64 `boil:"version" json:"version" toml:"version" yaml:"version"` VersionHex string `boil:"version_hex" json:"version_hex" toml:"version_hex" yaml:"version_hex"` TransactionHashes null.String `boil:"transaction_hashes" json:"transaction_hashes,omitempty" toml:"transaction_hashes" yaml:"transaction_hashes,omitempty"` TransactionsProcessed bool `boil:"transactions_processed" json:"transactions_processed" toml:"transactions_processed" yaml:"transactions_processed"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Modified time.Time `boil:"modified" json:"modified" toml:"modified" yaml:"modified"` R *blockR `boil:"-" json:"-" toml:"-" yaml:"-"` L blockL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Block is an object representing the database table.
func FindBlock ¶
FindBlock retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindBlockG ¶
FindBlockG retrieves a single record by ID.
func FindBlockGP ¶
FindBlockGP retrieves a single record by ID, and panics on error.
func FindBlockP ¶
FindBlockP retrieves a single record by ID with an executor, and panics on error.
func (*Block) AddBlockByHashTransactions ¶
func (o *Block) AddBlockByHashTransactions(exec boil.Executor, insert bool, related ...*Transaction) error
AddBlockByHashTransactions adds the given related objects to the existing relationships of the block, optionally inserting them as new records. Appends related to o.R.BlockByHashTransactions. Sets related.R.BlockByHash appropriately.
func (*Block) AddBlockByHashTransactionsG ¶
func (o *Block) AddBlockByHashTransactionsG(insert bool, related ...*Transaction) error
AddBlockByHashTransactionsG adds the given related objects to the existing relationships of the block, optionally inserting them as new records. Appends related to o.R.BlockByHashTransactions. Sets related.R.BlockByHash appropriately. Uses the global database handle.
func (*Block) AddBlockByHashTransactionsGP ¶
func (o *Block) AddBlockByHashTransactionsGP(insert bool, related ...*Transaction)
AddBlockByHashTransactionsGP adds the given related objects to the existing relationships of the block, optionally inserting them as new records. Appends related to o.R.BlockByHashTransactions. Sets related.R.BlockByHash appropriately. Uses the global database handle and panics on error.
func (*Block) AddBlockByHashTransactionsP ¶
func (o *Block) AddBlockByHashTransactionsP(exec boil.Executor, insert bool, related ...*Transaction)
AddBlockByHashTransactionsP adds the given related objects to the existing relationships of the block, optionally inserting them as new records. Appends related to o.R.BlockByHashTransactions. Sets related.R.BlockByHash appropriately. Panics on error.
func (*Block) BlockByHashTransactions ¶
BlockByHashTransactions retrieves all the transaction's transaction with an executor via block_by_hash_id column.
func (*Block) BlockByHashTransactionsG ¶
BlockByHashTransactionsG retrieves all the transaction's transaction via block_by_hash_id column.
func (*Block) Delete ¶
Delete deletes a single Block record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Block) DeleteG ¶
DeleteG deletes a single Block record. DeleteG will match against the primary key column to find the record to delete.
func (*Block) DeleteGP ¶
func (o *Block) DeleteGP()
DeleteGP deletes a single Block record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Block) DeleteP ¶
DeleteP deletes a single Block record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Block) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Block) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Block) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Block) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Block) ReloadGP ¶
func (o *Block) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Block) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Block) RemoveBlockByHashTransactions ¶
func (o *Block) RemoveBlockByHashTransactions(exec boil.Executor, related ...*Transaction) error
RemoveBlockByHashTransactions relationships from objects passed in. Removes related items from R.BlockByHashTransactions (uses pointer comparison, removal does not keep order) Sets related.R.BlockByHash.
func (*Block) RemoveBlockByHashTransactionsG ¶
func (o *Block) RemoveBlockByHashTransactionsG(related ...*Transaction) error
RemoveBlockByHashTransactionsG relationships from objects passed in. Removes related items from R.BlockByHashTransactions (uses pointer comparison, removal does not keep order) Sets related.R.BlockByHash. Uses the global database handle.
func (*Block) RemoveBlockByHashTransactionsGP ¶
func (o *Block) RemoveBlockByHashTransactionsGP(related ...*Transaction)
RemoveBlockByHashTransactionsGP relationships from objects passed in. Removes related items from R.BlockByHashTransactions (uses pointer comparison, removal does not keep order) Sets related.R.BlockByHash. Uses the global database handle and panics on error.
func (*Block) RemoveBlockByHashTransactionsP ¶
func (o *Block) RemoveBlockByHashTransactionsP(exec boil.Executor, related ...*Transaction)
RemoveBlockByHashTransactionsP relationships from objects passed in. Removes related items from R.BlockByHashTransactions (uses pointer comparison, removal does not keep order) Sets related.R.BlockByHash. Panics on error.
func (*Block) SetBlockByHashTransactions ¶
func (o *Block) SetBlockByHashTransactions(exec boil.Executor, insert bool, related ...*Transaction) error
SetBlockByHashTransactions removes all previously related items of the block replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.BlockByHash's BlockByHashTransactions accordingly. Replaces o.R.BlockByHashTransactions with related. Sets related.R.BlockByHash's BlockByHashTransactions accordingly.
func (*Block) SetBlockByHashTransactionsG ¶
func (o *Block) SetBlockByHashTransactionsG(insert bool, related ...*Transaction) error
SetBlockByHashTransactionsG removes all previously related items of the block replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.BlockByHash's BlockByHashTransactions accordingly. Replaces o.R.BlockByHashTransactions with related. Sets related.R.BlockByHash's BlockByHashTransactions accordingly. Uses the global database handle.
func (*Block) SetBlockByHashTransactionsGP ¶
func (o *Block) SetBlockByHashTransactionsGP(insert bool, related ...*Transaction)
SetBlockByHashTransactionsGP removes all previously related items of the block replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.BlockByHash's BlockByHashTransactions accordingly. Replaces o.R.BlockByHashTransactions with related. Sets related.R.BlockByHash's BlockByHashTransactions accordingly. Uses the global database handle and panics on error.
func (*Block) SetBlockByHashTransactionsP ¶
func (o *Block) SetBlockByHashTransactionsP(exec boil.Executor, insert bool, related ...*Transaction)
SetBlockByHashTransactionsP removes all previously related items of the block replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.BlockByHash's BlockByHashTransactions accordingly. Replaces o.R.BlockByHashTransactions with related. Sets related.R.BlockByHash's BlockByHashTransactions accordingly. Panics on error.
func (*Block) Update ¶
Update uses an executor to update the Block. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Block) UpdateG ¶
UpdateG a single Block record. See Update for whitelist behavior description.
func (*Block) UpdateGP ¶
UpdateGP a single Block record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Block) UpdateP ¶
UpdateP uses an executor to update the Block, and panics on error. See Update for whitelist behavior description.
func (*Block) Upsert ¶
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
type BlockSlice ¶
type BlockSlice []*Block
BlockSlice is an alias for a slice of pointers to Block. This should generally be used opposed to []Block.
func (BlockSlice) DeleteAll ¶
func (o BlockSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (BlockSlice) DeleteAllG ¶
func (o BlockSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (BlockSlice) DeleteAllGP ¶
func (o BlockSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (BlockSlice) DeleteAllP ¶
func (o BlockSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*BlockSlice) ReloadAll ¶
func (o *BlockSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*BlockSlice) ReloadAllG ¶
func (o *BlockSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*BlockSlice) ReloadAllGP ¶
func (o *BlockSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*BlockSlice) ReloadAllP ¶
func (o *BlockSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (BlockSlice) UpdateAll ¶
func (o BlockSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (BlockSlice) UpdateAllG ¶
func (o BlockSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (BlockSlice) UpdateAllGP ¶
func (o BlockSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (BlockSlice) UpdateAllP ¶
func (o BlockSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Claim ¶
type Claim struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` TransactionByHashID null.String `` /* 139-byte string literal not displayed */ Vout uint `boil:"vout" json:"vout" toml:"vout" yaml:"vout"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` ClaimID string `boil:"claim_id" json:"claim_id" toml:"claim_id" yaml:"claim_id"` ClaimType int8 `boil:"claim_type" json:"claim_type" toml:"claim_type" yaml:"claim_type"` PublisherID null.String `boil:"publisher_id" json:"publisher_id,omitempty" toml:"publisher_id" yaml:"publisher_id,omitempty"` PublisherSig null.String `boil:"publisher_sig" json:"publisher_sig,omitempty" toml:"publisher_sig" yaml:"publisher_sig,omitempty"` Certificate null.String `boil:"certificate" json:"certificate,omitempty" toml:"certificate" yaml:"certificate,omitempty"` SDHash null.String `boil:"sd_hash" json:"sd_hash,omitempty" toml:"sd_hash" yaml:"sd_hash,omitempty"` TransactionTime null.Uint64 `boil:"transaction_time" json:"transaction_time,omitempty" toml:"transaction_time" yaml:"transaction_time,omitempty"` Version string `boil:"version" json:"version" toml:"version" yaml:"version"` ValueAsHex string `boil:"value_as_hex" json:"value_as_hex" toml:"value_as_hex" yaml:"value_as_hex"` ValueAsJSON null.String `boil:"value_as_json" json:"value_as_json,omitempty" toml:"value_as_json" yaml:"value_as_json,omitempty"` ValidAtHeight uint `boil:"valid_at_height" json:"valid_at_height" toml:"valid_at_height" yaml:"valid_at_height"` Height uint `boil:"height" json:"height" toml:"height" yaml:"height"` EffectiveAmount uint64 `boil:"effective_amount" json:"effective_amount" toml:"effective_amount" yaml:"effective_amount"` Author null.String `boil:"author" json:"author,omitempty" toml:"author" yaml:"author,omitempty"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` ContentType null.String `boil:"content_type" json:"content_type,omitempty" toml:"content_type" yaml:"content_type,omitempty"` IsNSFW bool `boil:"is_n_s_f_w" json:"is_n_s_f_w" toml:"is_n_s_f_w" yaml:"is_n_s_f_w"` Language null.String `boil:"language" json:"language,omitempty" toml:"language" yaml:"language,omitempty"` ThumbnailURL null.String `boil:"thumbnail_url" json:"thumbnail_url,omitempty" toml:"thumbnail_url" yaml:"thumbnail_url,omitempty"` Title null.String `boil:"title" json:"title,omitempty" toml:"title" yaml:"title,omitempty"` Fee float64 `boil:"fee" json:"fee" toml:"fee" yaml:"fee"` FeeCurrency null.String `boil:"fee_currency" json:"fee_currency,omitempty" toml:"fee_currency" yaml:"fee_currency,omitempty"` IsFiltered bool `boil:"is_filtered" json:"is_filtered" toml:"is_filtered" yaml:"is_filtered"` BidState string `boil:"bid_state" json:"bid_state" toml:"bid_state" yaml:"bid_state"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Modified time.Time `boil:"modified" json:"modified" toml:"modified" yaml:"modified"` FeeAddress string `boil:"fee_address" json:"fee_address" toml:"fee_address" yaml:"fee_address"` ClaimAddress string `boil:"claim_address" json:"claim_address" toml:"claim_address" yaml:"claim_address"` R *claimR `boil:"-" json:"-" toml:"-" yaml:"-"` L claimL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Claim is an object representing the database table.
func FindClaim ¶
FindClaim retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindClaimG ¶
FindClaimG retrieves a single record by ID.
func FindClaimGP ¶
FindClaimGP retrieves a single record by ID, and panics on error.
func FindClaimP ¶
FindClaimP retrieves a single record by ID with an executor, and panics on error.
func (*Claim) AddOutputs ¶
AddOutputs adds the given related objects to the existing relationships of the claim, optionally inserting them as new records. Appends related to o.R.Outputs. Sets related.R.Claim appropriately.
func (*Claim) AddOutputsG ¶
AddOutputsG adds the given related objects to the existing relationships of the claim, optionally inserting them as new records. Appends related to o.R.Outputs. Sets related.R.Claim appropriately. Uses the global database handle.
func (*Claim) AddOutputsGP ¶
AddOutputsGP adds the given related objects to the existing relationships of the claim, optionally inserting them as new records. Appends related to o.R.Outputs. Sets related.R.Claim appropriately. Uses the global database handle and panics on error.
func (*Claim) AddOutputsP ¶
AddOutputsP adds the given related objects to the existing relationships of the claim, optionally inserting them as new records. Appends related to o.R.Outputs. Sets related.R.Claim appropriately. Panics on error.
func (*Claim) AddPublisherClaims ¶
AddPublisherClaims adds the given related objects to the existing relationships of the claim, optionally inserting them as new records. Appends related to o.R.PublisherClaims. Sets related.R.Publisher appropriately.
func (*Claim) AddPublisherClaimsG ¶
AddPublisherClaimsG adds the given related objects to the existing relationships of the claim, optionally inserting them as new records. Appends related to o.R.PublisherClaims. Sets related.R.Publisher appropriately. Uses the global database handle.
func (*Claim) AddPublisherClaimsGP ¶
AddPublisherClaimsGP adds the given related objects to the existing relationships of the claim, optionally inserting them as new records. Appends related to o.R.PublisherClaims. Sets related.R.Publisher appropriately. Uses the global database handle and panics on error.
func (*Claim) AddPublisherClaimsP ¶
AddPublisherClaimsP adds the given related objects to the existing relationships of the claim, optionally inserting them as new records. Appends related to o.R.PublisherClaims. Sets related.R.Publisher appropriately. Panics on error.
func (*Claim) AddSupportedClaimSupports ¶
func (o *Claim) AddSupportedClaimSupports(exec boil.Executor, insert bool, related ...*Support) error
AddSupportedClaimSupports adds the given related objects to the existing relationships of the claim, optionally inserting them as new records. Appends related to o.R.SupportedClaimSupports. Sets related.R.SupportedClaim appropriately.
func (*Claim) AddSupportedClaimSupportsG ¶
AddSupportedClaimSupportsG adds the given related objects to the existing relationships of the claim, optionally inserting them as new records. Appends related to o.R.SupportedClaimSupports. Sets related.R.SupportedClaim appropriately. Uses the global database handle.
func (*Claim) AddSupportedClaimSupportsGP ¶
AddSupportedClaimSupportsGP adds the given related objects to the existing relationships of the claim, optionally inserting them as new records. Appends related to o.R.SupportedClaimSupports. Sets related.R.SupportedClaim appropriately. Uses the global database handle and panics on error.
func (*Claim) AddSupportedClaimSupportsP ¶
AddSupportedClaimSupportsP adds the given related objects to the existing relationships of the claim, optionally inserting them as new records. Appends related to o.R.SupportedClaimSupports. Sets related.R.SupportedClaim appropriately. Panics on error.
func (*Claim) Delete ¶
Delete deletes a single Claim record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Claim) DeleteG ¶
DeleteG deletes a single Claim record. DeleteG will match against the primary key column to find the record to delete.
func (*Claim) DeleteGP ¶
func (o *Claim) DeleteGP()
DeleteGP deletes a single Claim record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Claim) DeleteP ¶
DeleteP deletes a single Claim record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Claim) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Claim) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Claim) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Claim) PublisherClaims ¶
PublisherClaims retrieves all the claim's claim with an executor via publisher_id column.
func (*Claim) PublisherClaimsG ¶
PublisherClaimsG retrieves all the claim's claim via publisher_id column.
func (*Claim) PublisherG ¶
PublisherG pointed to by the foreign key.
func (*Claim) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Claim) ReloadGP ¶
func (o *Claim) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Claim) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Claim) RemoveOutputs ¶
RemoveOutputs relationships from objects passed in. Removes related items from R.Outputs (uses pointer comparison, removal does not keep order) Sets related.R.Claim.
func (*Claim) RemoveOutputsG ¶
RemoveOutputsG relationships from objects passed in. Removes related items from R.Outputs (uses pointer comparison, removal does not keep order) Sets related.R.Claim. Uses the global database handle.
func (*Claim) RemoveOutputsGP ¶
RemoveOutputsGP relationships from objects passed in. Removes related items from R.Outputs (uses pointer comparison, removal does not keep order) Sets related.R.Claim. Uses the global database handle and panics on error.
func (*Claim) RemoveOutputsP ¶
RemoveOutputsP relationships from objects passed in. Removes related items from R.Outputs (uses pointer comparison, removal does not keep order) Sets related.R.Claim. Panics on error.
func (*Claim) RemovePublisher ¶
RemovePublisher relationship. Sets o.R.Publisher to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*Claim) RemovePublisherClaims ¶
RemovePublisherClaims relationships from objects passed in. Removes related items from R.PublisherClaims (uses pointer comparison, removal does not keep order) Sets related.R.Publisher.
func (*Claim) RemovePublisherClaimsG ¶
RemovePublisherClaimsG relationships from objects passed in. Removes related items from R.PublisherClaims (uses pointer comparison, removal does not keep order) Sets related.R.Publisher. Uses the global database handle.
func (*Claim) RemovePublisherClaimsGP ¶
RemovePublisherClaimsGP relationships from objects passed in. Removes related items from R.PublisherClaims (uses pointer comparison, removal does not keep order) Sets related.R.Publisher. Uses the global database handle and panics on error.
func (*Claim) RemovePublisherClaimsP ¶
RemovePublisherClaimsP relationships from objects passed in. Removes related items from R.PublisherClaims (uses pointer comparison, removal does not keep order) Sets related.R.Publisher. Panics on error.
func (*Claim) RemovePublisherG ¶
RemovePublisherG relationship. Sets o.R.Publisher to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*Claim) RemovePublisherGP ¶
RemovePublisherGP relationship. Sets o.R.Publisher to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*Claim) RemovePublisherP ¶
RemovePublisherP relationship. Sets o.R.Publisher to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*Claim) RemoveTransactionByHash ¶
func (o *Claim) RemoveTransactionByHash(exec boil.Executor, related *Transaction) error
RemoveTransactionByHash relationship. Sets o.R.TransactionByHash to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*Claim) RemoveTransactionByHashG ¶
func (o *Claim) RemoveTransactionByHashG(related *Transaction) error
RemoveTransactionByHashG relationship. Sets o.R.TransactionByHash to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*Claim) RemoveTransactionByHashGP ¶
func (o *Claim) RemoveTransactionByHashGP(related *Transaction)
RemoveTransactionByHashGP relationship. Sets o.R.TransactionByHash to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*Claim) RemoveTransactionByHashP ¶
func (o *Claim) RemoveTransactionByHashP(exec boil.Executor, related *Transaction)
RemoveTransactionByHashP relationship. Sets o.R.TransactionByHash to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*Claim) SetOutputs ¶
SetOutputs removes all previously related items of the claim replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Claim's Outputs accordingly. Replaces o.R.Outputs with related. Sets related.R.Claim's Outputs accordingly.
func (*Claim) SetOutputsG ¶
SetOutputsG removes all previously related items of the claim replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Claim's Outputs accordingly. Replaces o.R.Outputs with related. Sets related.R.Claim's Outputs accordingly. Uses the global database handle.
func (*Claim) SetOutputsGP ¶
SetOutputsGP removes all previously related items of the claim replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Claim's Outputs accordingly. Replaces o.R.Outputs with related. Sets related.R.Claim's Outputs accordingly. Uses the global database handle and panics on error.
func (*Claim) SetOutputsP ¶
SetOutputsP removes all previously related items of the claim replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Claim's Outputs accordingly. Replaces o.R.Outputs with related. Sets related.R.Claim's Outputs accordingly. Panics on error.
func (*Claim) SetPublisher ¶
SetPublisher of the claim to the related item. Sets o.R.Publisher to related. Adds o to related.R.PublisherClaims.
func (*Claim) SetPublisherClaims ¶
SetPublisherClaims removes all previously related items of the claim replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Publisher's PublisherClaims accordingly. Replaces o.R.PublisherClaims with related. Sets related.R.Publisher's PublisherClaims accordingly.
func (*Claim) SetPublisherClaimsG ¶
SetPublisherClaimsG removes all previously related items of the claim replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Publisher's PublisherClaims accordingly. Replaces o.R.PublisherClaims with related. Sets related.R.Publisher's PublisherClaims accordingly. Uses the global database handle.
func (*Claim) SetPublisherClaimsGP ¶
SetPublisherClaimsGP removes all previously related items of the claim replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Publisher's PublisherClaims accordingly. Replaces o.R.PublisherClaims with related. Sets related.R.Publisher's PublisherClaims accordingly. Uses the global database handle and panics on error.
func (*Claim) SetPublisherClaimsP ¶
SetPublisherClaimsP removes all previously related items of the claim replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Publisher's PublisherClaims accordingly. Replaces o.R.PublisherClaims with related. Sets related.R.Publisher's PublisherClaims accordingly. Panics on error.
func (*Claim) SetPublisherG ¶
SetPublisherG of the claim to the related item. Sets o.R.Publisher to related. Adds o to related.R.PublisherClaims. Uses the global database handle.
func (*Claim) SetPublisherGP ¶
SetPublisherGP of the claim to the related item. Sets o.R.Publisher to related. Adds o to related.R.PublisherClaims. Uses the global database handle and panics on error.
func (*Claim) SetPublisherP ¶
SetPublisherP of the claim to the related item. Sets o.R.Publisher to related. Adds o to related.R.PublisherClaims. Panics on error.
func (*Claim) SetTransactionByHash ¶
SetTransactionByHash of the claim to the related item. Sets o.R.TransactionByHash to related. Adds o to related.R.TransactionByHashClaims.
func (*Claim) SetTransactionByHashG ¶
func (o *Claim) SetTransactionByHashG(insert bool, related *Transaction) error
SetTransactionByHashG of the claim to the related item. Sets o.R.TransactionByHash to related. Adds o to related.R.TransactionByHashClaims. Uses the global database handle.
func (*Claim) SetTransactionByHashGP ¶
func (o *Claim) SetTransactionByHashGP(insert bool, related *Transaction)
SetTransactionByHashGP of the claim to the related item. Sets o.R.TransactionByHash to related. Adds o to related.R.TransactionByHashClaims. Uses the global database handle and panics on error.
func (*Claim) SetTransactionByHashP ¶
func (o *Claim) SetTransactionByHashP(exec boil.Executor, insert bool, related *Transaction)
SetTransactionByHashP of the claim to the related item. Sets o.R.TransactionByHash to related. Adds o to related.R.TransactionByHashClaims. Panics on error.
func (*Claim) SupportedClaimSupports ¶
SupportedClaimSupports retrieves all the support's support with an executor via supported_claim_id column.
func (*Claim) SupportedClaimSupportsG ¶
SupportedClaimSupportsG retrieves all the support's support via supported_claim_id column.
func (*Claim) TransactionByHash ¶
TransactionByHash pointed to by the foreign key.
func (*Claim) TransactionByHashG ¶
TransactionByHashG pointed to by the foreign key.
func (*Claim) Update ¶
Update uses an executor to update the Claim. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Claim) UpdateG ¶
UpdateG a single Claim record. See Update for whitelist behavior description.
func (*Claim) UpdateGP ¶
UpdateGP a single Claim record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Claim) UpdateP ¶
UpdateP uses an executor to update the Claim, and panics on error. See Update for whitelist behavior description.
func (*Claim) Upsert ¶
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
type ClaimCheckpoint ¶ added in v0.2.0
type ClaimCheckpoint struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` ClaimID string `boil:"claim_id" json:"claim_id" toml:"claim_id" yaml:"claim_id"` Checkpoint time.Time `boil:"checkpoint" json:"checkpoint" toml:"checkpoint" yaml:"checkpoint"` IsAvailable bool `boil:"is_available" json:"is_available" toml:"is_available" yaml:"is_available"` HeadAvailable bool `boil:"head_available" json:"head_available" toml:"head_available" yaml:"head_available"` SDAvailable bool `boil:"s_d_available" json:"s_d_available" toml:"s_d_available" yaml:"s_d_available"` R *claimCheckpointR `boil:"-" json:"-" toml:"-" yaml:"-"` L claimCheckpointL `boil:"-" json:"-" toml:"-" yaml:"-"` }
ClaimCheckpoint is an object representing the database table.
func FindClaimCheckpoint ¶ added in v0.2.0
func FindClaimCheckpoint(exec boil.Executor, id uint64, selectCols ...string) (*ClaimCheckpoint, error)
FindClaimCheckpoint retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindClaimCheckpointG ¶ added in v0.2.0
func FindClaimCheckpointG(id uint64, selectCols ...string) (*ClaimCheckpoint, error)
FindClaimCheckpointG retrieves a single record by ID.
func FindClaimCheckpointGP ¶ added in v0.2.0
func FindClaimCheckpointGP(id uint64, selectCols ...string) *ClaimCheckpoint
FindClaimCheckpointGP retrieves a single record by ID, and panics on error.
func FindClaimCheckpointP ¶ added in v0.2.0
func FindClaimCheckpointP(exec boil.Executor, id uint64, selectCols ...string) *ClaimCheckpoint
FindClaimCheckpointP retrieves a single record by ID with an executor, and panics on error.
func (*ClaimCheckpoint) Delete ¶ added in v0.2.0
func (o *ClaimCheckpoint) Delete(exec boil.Executor) error
Delete deletes a single ClaimCheckpoint record with an executor. Delete will match against the primary key column to find the record to delete.
func (*ClaimCheckpoint) DeleteG ¶ added in v0.2.0
func (o *ClaimCheckpoint) DeleteG() error
DeleteG deletes a single ClaimCheckpoint record. DeleteG will match against the primary key column to find the record to delete.
func (*ClaimCheckpoint) DeleteGP ¶ added in v0.2.0
func (o *ClaimCheckpoint) DeleteGP()
DeleteGP deletes a single ClaimCheckpoint record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*ClaimCheckpoint) DeleteP ¶ added in v0.2.0
func (o *ClaimCheckpoint) DeleteP(exec boil.Executor)
DeleteP deletes a single ClaimCheckpoint record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*ClaimCheckpoint) Insert ¶ added in v0.2.0
func (o *ClaimCheckpoint) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*ClaimCheckpoint) InsertG ¶ added in v0.2.0
func (o *ClaimCheckpoint) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*ClaimCheckpoint) InsertGP ¶ added in v0.2.0
func (o *ClaimCheckpoint) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*ClaimCheckpoint) InsertP ¶ added in v0.2.0
func (o *ClaimCheckpoint) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*ClaimCheckpoint) Reload ¶ added in v0.2.0
func (o *ClaimCheckpoint) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*ClaimCheckpoint) ReloadG ¶ added in v0.2.0
func (o *ClaimCheckpoint) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*ClaimCheckpoint) ReloadGP ¶ added in v0.2.0
func (o *ClaimCheckpoint) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*ClaimCheckpoint) ReloadP ¶ added in v0.2.0
func (o *ClaimCheckpoint) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*ClaimCheckpoint) Update ¶ added in v0.2.0
func (o *ClaimCheckpoint) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the ClaimCheckpoint. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*ClaimCheckpoint) UpdateG ¶ added in v0.2.0
func (o *ClaimCheckpoint) UpdateG(whitelist ...string) error
UpdateG a single ClaimCheckpoint record. See Update for whitelist behavior description.
func (*ClaimCheckpoint) UpdateGP ¶ added in v0.2.0
func (o *ClaimCheckpoint) UpdateGP(whitelist ...string)
UpdateGP a single ClaimCheckpoint record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*ClaimCheckpoint) UpdateP ¶ added in v0.2.0
func (o *ClaimCheckpoint) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the ClaimCheckpoint, and panics on error. See Update for whitelist behavior description.
func (*ClaimCheckpoint) Upsert ¶ added in v0.2.0
func (o *ClaimCheckpoint) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*ClaimCheckpoint) UpsertG ¶ added in v0.2.0
func (o *ClaimCheckpoint) UpsertG(updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*ClaimCheckpoint) UpsertGP ¶ added in v0.2.0
func (o *ClaimCheckpoint) UpsertGP(updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
type ClaimCheckpointSlice ¶ added in v0.2.0
type ClaimCheckpointSlice []*ClaimCheckpoint
ClaimCheckpointSlice is an alias for a slice of pointers to ClaimCheckpoint. This should generally be used opposed to []ClaimCheckpoint.
func (ClaimCheckpointSlice) DeleteAll ¶ added in v0.2.0
func (o ClaimCheckpointSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (ClaimCheckpointSlice) DeleteAllG ¶ added in v0.2.0
func (o ClaimCheckpointSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (ClaimCheckpointSlice) DeleteAllGP ¶ added in v0.2.0
func (o ClaimCheckpointSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (ClaimCheckpointSlice) DeleteAllP ¶ added in v0.2.0
func (o ClaimCheckpointSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*ClaimCheckpointSlice) ReloadAll ¶ added in v0.2.0
func (o *ClaimCheckpointSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ClaimCheckpointSlice) ReloadAllG ¶ added in v0.2.0
func (o *ClaimCheckpointSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ClaimCheckpointSlice) ReloadAllGP ¶ added in v0.2.0
func (o *ClaimCheckpointSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*ClaimCheckpointSlice) ReloadAllP ¶ added in v0.2.0
func (o *ClaimCheckpointSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (ClaimCheckpointSlice) UpdateAll ¶ added in v0.2.0
func (o ClaimCheckpointSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (ClaimCheckpointSlice) UpdateAllG ¶ added in v0.2.0
func (o ClaimCheckpointSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (ClaimCheckpointSlice) UpdateAllGP ¶ added in v0.2.0
func (o ClaimCheckpointSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (ClaimCheckpointSlice) UpdateAllP ¶ added in v0.2.0
func (o ClaimCheckpointSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type ClaimSlice ¶
type ClaimSlice []*Claim
ClaimSlice is an alias for a slice of pointers to Claim. This should generally be used opposed to []Claim.
func (ClaimSlice) DeleteAll ¶
func (o ClaimSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (ClaimSlice) DeleteAllG ¶
func (o ClaimSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (ClaimSlice) DeleteAllGP ¶
func (o ClaimSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (ClaimSlice) DeleteAllP ¶
func (o ClaimSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*ClaimSlice) ReloadAll ¶
func (o *ClaimSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ClaimSlice) ReloadAllG ¶
func (o *ClaimSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*ClaimSlice) ReloadAllGP ¶
func (o *ClaimSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*ClaimSlice) ReloadAllP ¶
func (o *ClaimSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (ClaimSlice) UpdateAll ¶
func (o ClaimSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (ClaimSlice) UpdateAllG ¶
func (o ClaimSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (ClaimSlice) UpdateAllGP ¶
func (o ClaimSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (ClaimSlice) UpdateAllP ¶
func (o ClaimSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Input ¶
type Input struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` TransactionID uint64 `boil:"transaction_id" json:"transaction_id" toml:"transaction_id" yaml:"transaction_id"` TransactionHash string `boil:"transaction_hash" json:"transaction_hash" toml:"transaction_hash" yaml:"transaction_hash"` InputAddressID null.Uint64 `boil:"input_address_id" json:"input_address_id,omitempty" toml:"input_address_id" yaml:"input_address_id,omitempty"` IsCoinbase bool `boil:"is_coinbase" json:"is_coinbase" toml:"is_coinbase" yaml:"is_coinbase"` Coinbase null.String `boil:"coinbase" json:"coinbase,omitempty" toml:"coinbase" yaml:"coinbase,omitempty"` PrevoutHash null.String `boil:"prevout_hash" json:"prevout_hash,omitempty" toml:"prevout_hash" yaml:"prevout_hash,omitempty"` PrevoutN null.Uint `boil:"prevout_n" json:"prevout_n,omitempty" toml:"prevout_n" yaml:"prevout_n,omitempty"` PrevoutSpendUpdated bool `boil:"prevout_spend_updated" json:"prevout_spend_updated" toml:"prevout_spend_updated" yaml:"prevout_spend_updated"` Sequence uint `boil:"sequence" json:"sequence" toml:"sequence" yaml:"sequence"` Value null.Float64 `boil:"value" json:"value,omitempty" toml:"value" yaml:"value,omitempty"` ScriptSigAsm null.String `boil:"script_sig_asm" json:"script_sig_asm,omitempty" toml:"script_sig_asm" yaml:"script_sig_asm,omitempty"` ScriptSigHex null.String `boil:"script_sig_hex" json:"script_sig_hex,omitempty" toml:"script_sig_hex" yaml:"script_sig_hex,omitempty"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Modified time.Time `boil:"modified" json:"modified" toml:"modified" yaml:"modified"` R *inputR `boil:"-" json:"-" toml:"-" yaml:"-"` L inputL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Input is an object representing the database table.
func FindInput ¶
FindInput retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindInputG ¶
FindInputG retrieves a single record by ID.
func FindInputGP ¶
FindInputGP retrieves a single record by ID, and panics on error.
func FindInputP ¶
FindInputP retrieves a single record by ID with an executor, and panics on error.
func (*Input) AddAddresses ¶
AddAddresses adds the given related objects to the existing relationships of the input, optionally inserting them as new records. Appends related to o.R.Addresses. Sets related.R.Inputs appropriately.
func (*Input) AddAddressesG ¶
AddAddressesG adds the given related objects to the existing relationships of the input, optionally inserting them as new records. Appends related to o.R.Addresses. Sets related.R.Inputs appropriately. Uses the global database handle.
func (*Input) AddAddressesGP ¶
AddAddressesGP adds the given related objects to the existing relationships of the input, optionally inserting them as new records. Appends related to o.R.Addresses. Sets related.R.Inputs appropriately. Uses the global database handle and panics on error.
func (*Input) AddAddressesP ¶
AddAddressesP adds the given related objects to the existing relationships of the input, optionally inserting them as new records. Appends related to o.R.Addresses. Sets related.R.Inputs appropriately. Panics on error.
func (*Input) AddSpentByInputOutputs ¶
AddSpentByInputOutputs adds the given related objects to the existing relationships of the input, optionally inserting them as new records. Appends related to o.R.SpentByInputOutputs. Sets related.R.SpentByInput appropriately.
func (*Input) AddSpentByInputOutputsG ¶
AddSpentByInputOutputsG adds the given related objects to the existing relationships of the input, optionally inserting them as new records. Appends related to o.R.SpentByInputOutputs. Sets related.R.SpentByInput appropriately. Uses the global database handle.
func (*Input) AddSpentByInputOutputsGP ¶
AddSpentByInputOutputsGP adds the given related objects to the existing relationships of the input, optionally inserting them as new records. Appends related to o.R.SpentByInputOutputs. Sets related.R.SpentByInput appropriately. Uses the global database handle and panics on error.
func (*Input) AddSpentByInputOutputsP ¶
AddSpentByInputOutputsP adds the given related objects to the existing relationships of the input, optionally inserting them as new records. Appends related to o.R.SpentByInputOutputs. Sets related.R.SpentByInput appropriately. Panics on error.
func (*Input) AddressesG ¶
AddressesG retrieves all the address's address.
func (*Input) Delete ¶
Delete deletes a single Input record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Input) DeleteG ¶
DeleteG deletes a single Input record. DeleteG will match against the primary key column to find the record to delete.
func (*Input) DeleteGP ¶
func (o *Input) DeleteGP()
DeleteGP deletes a single Input record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Input) DeleteP ¶
DeleteP deletes a single Input record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Input) InputAddress ¶
InputAddress pointed to by the foreign key.
func (*Input) InputAddressG ¶
InputAddressG pointed to by the foreign key.
func (*Input) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Input) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Input) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Input) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Input) ReloadGP ¶
func (o *Input) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Input) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Input) RemoveAddresses ¶
RemoveAddresses relationships from objects passed in. Removes related items from R.Addresses (uses pointer comparison, removal does not keep order) Sets related.R.Inputs.
func (*Input) RemoveAddressesG ¶
RemoveAddressesG relationships from objects passed in. Removes related items from R.Addresses (uses pointer comparison, removal does not keep order) Sets related.R.Inputs. Uses the global database handle.
func (*Input) RemoveAddressesGP ¶
RemoveAddressesGP relationships from objects passed in. Removes related items from R.Addresses (uses pointer comparison, removal does not keep order) Sets related.R.Inputs. Uses the global database handle and panics on error.
func (*Input) RemoveAddressesP ¶
RemoveAddressesP relationships from objects passed in. Removes related items from R.Addresses (uses pointer comparison, removal does not keep order) Sets related.R.Inputs. Panics on error.
func (*Input) RemoveInputAddress ¶
RemoveInputAddress relationship. Sets o.R.InputAddress to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*Input) RemoveInputAddressG ¶
RemoveInputAddressG relationship. Sets o.R.InputAddress to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*Input) RemoveInputAddressGP ¶
RemoveInputAddressGP relationship. Sets o.R.InputAddress to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*Input) RemoveInputAddressP ¶
RemoveInputAddressP relationship. Sets o.R.InputAddress to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*Input) RemoveSpentByInputOutputs ¶
RemoveSpentByInputOutputs relationships from objects passed in. Removes related items from R.SpentByInputOutputs (uses pointer comparison, removal does not keep order) Sets related.R.SpentByInput.
func (*Input) RemoveSpentByInputOutputsG ¶
RemoveSpentByInputOutputsG relationships from objects passed in. Removes related items from R.SpentByInputOutputs (uses pointer comparison, removal does not keep order) Sets related.R.SpentByInput. Uses the global database handle.
func (*Input) RemoveSpentByInputOutputsGP ¶
RemoveSpentByInputOutputsGP relationships from objects passed in. Removes related items from R.SpentByInputOutputs (uses pointer comparison, removal does not keep order) Sets related.R.SpentByInput. Uses the global database handle and panics on error.
func (*Input) RemoveSpentByInputOutputsP ¶
RemoveSpentByInputOutputsP relationships from objects passed in. Removes related items from R.SpentByInputOutputs (uses pointer comparison, removal does not keep order) Sets related.R.SpentByInput. Panics on error.
func (*Input) SetAddresses ¶
SetAddresses removes all previously related items of the input replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Inputs's Addresses accordingly. Replaces o.R.Addresses with related. Sets related.R.Inputs's Addresses accordingly.
func (*Input) SetAddressesG ¶
SetAddressesG removes all previously related items of the input replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Inputs's Addresses accordingly. Replaces o.R.Addresses with related. Sets related.R.Inputs's Addresses accordingly. Uses the global database handle.
func (*Input) SetAddressesGP ¶
SetAddressesGP removes all previously related items of the input replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Inputs's Addresses accordingly. Replaces o.R.Addresses with related. Sets related.R.Inputs's Addresses accordingly. Uses the global database handle and panics on error.
func (*Input) SetAddressesP ¶
SetAddressesP removes all previously related items of the input replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Inputs's Addresses accordingly. Replaces o.R.Addresses with related. Sets related.R.Inputs's Addresses accordingly. Panics on error.
func (*Input) SetInputAddress ¶
SetInputAddress of the input to the related item. Sets o.R.InputAddress to related. Adds o to related.R.InputAddressInputs.
func (*Input) SetInputAddressG ¶
SetInputAddressG of the input to the related item. Sets o.R.InputAddress to related. Adds o to related.R.InputAddressInputs. Uses the global database handle.
func (*Input) SetInputAddressGP ¶
SetInputAddressGP of the input to the related item. Sets o.R.InputAddress to related. Adds o to related.R.InputAddressInputs. Uses the global database handle and panics on error.
func (*Input) SetInputAddressP ¶
SetInputAddressP of the input to the related item. Sets o.R.InputAddress to related. Adds o to related.R.InputAddressInputs. Panics on error.
func (*Input) SetSpentByInputOutputs ¶
SetSpentByInputOutputs removes all previously related items of the input replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SpentByInput's SpentByInputOutputs accordingly. Replaces o.R.SpentByInputOutputs with related. Sets related.R.SpentByInput's SpentByInputOutputs accordingly.
func (*Input) SetSpentByInputOutputsG ¶
SetSpentByInputOutputsG removes all previously related items of the input replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SpentByInput's SpentByInputOutputs accordingly. Replaces o.R.SpentByInputOutputs with related. Sets related.R.SpentByInput's SpentByInputOutputs accordingly. Uses the global database handle.
func (*Input) SetSpentByInputOutputsGP ¶
SetSpentByInputOutputsGP removes all previously related items of the input replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SpentByInput's SpentByInputOutputs accordingly. Replaces o.R.SpentByInputOutputs with related. Sets related.R.SpentByInput's SpentByInputOutputs accordingly. Uses the global database handle and panics on error.
func (*Input) SetSpentByInputOutputsP ¶
SetSpentByInputOutputsP removes all previously related items of the input replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SpentByInput's SpentByInputOutputs accordingly. Replaces o.R.SpentByInputOutputs with related. Sets related.R.SpentByInput's SpentByInputOutputs accordingly. Panics on error.
func (*Input) SetTransaction ¶
SetTransaction of the input to the related item. Sets o.R.Transaction to related. Adds o to related.R.Inputs.
func (*Input) SetTransactionG ¶
func (o *Input) SetTransactionG(insert bool, related *Transaction) error
SetTransactionG of the input to the related item. Sets o.R.Transaction to related. Adds o to related.R.Inputs. Uses the global database handle.
func (*Input) SetTransactionGP ¶
func (o *Input) SetTransactionGP(insert bool, related *Transaction)
SetTransactionGP of the input to the related item. Sets o.R.Transaction to related. Adds o to related.R.Inputs. Uses the global database handle and panics on error.
func (*Input) SetTransactionP ¶
func (o *Input) SetTransactionP(exec boil.Executor, insert bool, related *Transaction)
SetTransactionP of the input to the related item. Sets o.R.Transaction to related. Adds o to related.R.Inputs. Panics on error.
func (*Input) SpentByInputOutputs ¶
SpentByInputOutputs retrieves all the output's output with an executor via spent_by_input_id column.
func (*Input) SpentByInputOutputsG ¶
SpentByInputOutputsG retrieves all the output's output via spent_by_input_id column.
func (*Input) Transaction ¶
Transaction pointed to by the foreign key.
func (*Input) TransactionG ¶
TransactionG pointed to by the foreign key.
func (*Input) Update ¶
Update uses an executor to update the Input. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Input) UpdateG ¶
UpdateG a single Input record. See Update for whitelist behavior description.
func (*Input) UpdateGP ¶
UpdateGP a single Input record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Input) UpdateP ¶
UpdateP uses an executor to update the Input, and panics on error. See Update for whitelist behavior description.
func (*Input) Upsert ¶
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
type InputSlice ¶
type InputSlice []*Input
InputSlice is an alias for a slice of pointers to Input. This should generally be used opposed to []Input.
func (InputSlice) DeleteAll ¶
func (o InputSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (InputSlice) DeleteAllG ¶
func (o InputSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (InputSlice) DeleteAllGP ¶
func (o InputSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (InputSlice) DeleteAllP ¶
func (o InputSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*InputSlice) ReloadAll ¶
func (o *InputSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InputSlice) ReloadAllG ¶
func (o *InputSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InputSlice) ReloadAllGP ¶
func (o *InputSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*InputSlice) ReloadAllP ¶
func (o *InputSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (InputSlice) UpdateAll ¶
func (o InputSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (InputSlice) UpdateAllG ¶
func (o InputSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (InputSlice) UpdateAllGP ¶
func (o InputSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (InputSlice) UpdateAllP ¶
func (o InputSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type JobStatus ¶
type JobStatus struct { JobName string `boil:"job_name" json:"job_name" toml:"job_name" yaml:"job_name"` LastSync time.Time `boil:"last_sync" json:"last_sync" toml:"last_sync" yaml:"last_sync"` IsSuccess bool `boil:"is_success" json:"is_success" toml:"is_success" yaml:"is_success"` ErrorMessage null.String `boil:"error_message" json:"error_message,omitempty" toml:"error_message" yaml:"error_message,omitempty"` R *jobStatusR `boil:"-" json:"-" toml:"-" yaml:"-"` L jobStatusL `boil:"-" json:"-" toml:"-" yaml:"-"` }
JobStatus is an object representing the database table.
func FindJobStatus ¶
FindJobStatus retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindJobStatusG ¶
FindJobStatusG retrieves a single record by ID.
func FindJobStatusGP ¶
FindJobStatusGP retrieves a single record by ID, and panics on error.
func FindJobStatusP ¶
FindJobStatusP retrieves a single record by ID with an executor, and panics on error.
func (*JobStatus) Delete ¶
Delete deletes a single JobStatus record with an executor. Delete will match against the primary key column to find the record to delete.
func (*JobStatus) DeleteG ¶
DeleteG deletes a single JobStatus record. DeleteG will match against the primary key column to find the record to delete.
func (*JobStatus) DeleteGP ¶
func (o *JobStatus) DeleteGP()
DeleteGP deletes a single JobStatus record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*JobStatus) DeleteP ¶
DeleteP deletes a single JobStatus record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*JobStatus) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*JobStatus) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*JobStatus) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*JobStatus) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*JobStatus) ReloadGP ¶
func (o *JobStatus) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*JobStatus) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*JobStatus) Update ¶
Update uses an executor to update the JobStatus. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*JobStatus) UpdateG ¶
UpdateG a single JobStatus record. See Update for whitelist behavior description.
func (*JobStatus) UpdateGP ¶
UpdateGP a single JobStatus record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*JobStatus) UpdateP ¶
UpdateP uses an executor to update the JobStatus, and panics on error. See Update for whitelist behavior description.
func (*JobStatus) Upsert ¶
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
type JobStatusSlice ¶
type JobStatusSlice []*JobStatus
JobStatusSlice is an alias for a slice of pointers to JobStatus. This should generally be used opposed to []JobStatus.
func (JobStatusSlice) DeleteAll ¶
func (o JobStatusSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (JobStatusSlice) DeleteAllG ¶
func (o JobStatusSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (JobStatusSlice) DeleteAllGP ¶
func (o JobStatusSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (JobStatusSlice) DeleteAllP ¶
func (o JobStatusSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*JobStatusSlice) ReloadAll ¶
func (o *JobStatusSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*JobStatusSlice) ReloadAllG ¶
func (o *JobStatusSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*JobStatusSlice) ReloadAllGP ¶
func (o *JobStatusSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*JobStatusSlice) ReloadAllP ¶
func (o *JobStatusSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (JobStatusSlice) UpdateAll ¶
func (o JobStatusSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (JobStatusSlice) UpdateAllG ¶
func (o JobStatusSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (JobStatusSlice) UpdateAllGP ¶
func (o JobStatusSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (JobStatusSlice) UpdateAllP ¶
func (o JobStatusSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type Output ¶
type Output struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` TransactionID uint64 `boil:"transaction_id" json:"transaction_id" toml:"transaction_id" yaml:"transaction_id"` TransactionHash string `boil:"transaction_hash" json:"transaction_hash" toml:"transaction_hash" yaml:"transaction_hash"` Value null.Float64 `boil:"value" json:"value,omitempty" toml:"value" yaml:"value,omitempty"` Vout uint `boil:"vout" json:"vout" toml:"vout" yaml:"vout"` Type null.String `boil:"type" json:"type,omitempty" toml:"type" yaml:"type,omitempty"` ScriptPubKeyAsm null.String `boil:"script_pub_key_asm" json:"script_pub_key_asm,omitempty" toml:"script_pub_key_asm" yaml:"script_pub_key_asm,omitempty"` ScriptPubKeyHex null.String `boil:"script_pub_key_hex" json:"script_pub_key_hex,omitempty" toml:"script_pub_key_hex" yaml:"script_pub_key_hex,omitempty"` RequiredSignatures null.Uint `` /* 127-byte string literal not displayed */ Hash160 null.String `boil:"hash160" json:"hash160,omitempty" toml:"hash160" yaml:"hash160,omitempty"` AddressList null.String `boil:"address_list" json:"address_list,omitempty" toml:"address_list" yaml:"address_list,omitempty"` IsSpent bool `boil:"is_spent" json:"is_spent" toml:"is_spent" yaml:"is_spent"` SpentByInputID null.Uint64 `boil:"spent_by_input_id" json:"spent_by_input_id,omitempty" toml:"spent_by_input_id" yaml:"spent_by_input_id,omitempty"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Modified time.Time `boil:"modified" json:"modified" toml:"modified" yaml:"modified"` ClaimID null.String `boil:"claim_id" json:"claim_id,omitempty" toml:"claim_id" yaml:"claim_id,omitempty"` R *outputR `boil:"-" json:"-" toml:"-" yaml:"-"` L outputL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Output is an object representing the database table.
func FindOutput ¶
FindOutput retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindOutputG ¶
FindOutputG retrieves a single record by ID.
func FindOutputGP ¶
FindOutputGP retrieves a single record by ID, and panics on error.
func FindOutputP ¶
FindOutputP retrieves a single record by ID with an executor, and panics on error.
func (*Output) AddAddresses ¶
AddAddresses adds the given related objects to the existing relationships of the output, optionally inserting them as new records. Appends related to o.R.Addresses. Sets related.R.Outputs appropriately.
func (*Output) AddAddressesG ¶
AddAddressesG adds the given related objects to the existing relationships of the output, optionally inserting them as new records. Appends related to o.R.Addresses. Sets related.R.Outputs appropriately. Uses the global database handle.
func (*Output) AddAddressesGP ¶
AddAddressesGP adds the given related objects to the existing relationships of the output, optionally inserting them as new records. Appends related to o.R.Addresses. Sets related.R.Outputs appropriately. Uses the global database handle and panics on error.
func (*Output) AddAddressesP ¶
AddAddressesP adds the given related objects to the existing relationships of the output, optionally inserting them as new records. Appends related to o.R.Addresses. Sets related.R.Outputs appropriately. Panics on error.
func (*Output) AddUnknownClaims ¶
AddUnknownClaims adds the given related objects to the existing relationships of the output, optionally inserting them as new records. Appends related to o.R.UnknownClaims. Sets related.R.Output appropriately.
func (*Output) AddUnknownClaimsG ¶
func (o *Output) AddUnknownClaimsG(insert bool, related ...*UnknownClaim) error
AddUnknownClaimsG adds the given related objects to the existing relationships of the output, optionally inserting them as new records. Appends related to o.R.UnknownClaims. Sets related.R.Output appropriately. Uses the global database handle.
func (*Output) AddUnknownClaimsGP ¶
func (o *Output) AddUnknownClaimsGP(insert bool, related ...*UnknownClaim)
AddUnknownClaimsGP adds the given related objects to the existing relationships of the output, optionally inserting them as new records. Appends related to o.R.UnknownClaims. Sets related.R.Output appropriately. Uses the global database handle and panics on error.
func (*Output) AddUnknownClaimsP ¶
func (o *Output) AddUnknownClaimsP(exec boil.Executor, insert bool, related ...*UnknownClaim)
AddUnknownClaimsP adds the given related objects to the existing relationships of the output, optionally inserting them as new records. Appends related to o.R.UnknownClaims. Sets related.R.Output appropriately. Panics on error.
func (*Output) AddressesG ¶
AddressesG retrieves all the address's address.
func (*Output) Delete ¶
Delete deletes a single Output record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Output) DeleteG ¶
DeleteG deletes a single Output record. DeleteG will match against the primary key column to find the record to delete.
func (*Output) DeleteGP ¶
func (o *Output) DeleteGP()
DeleteGP deletes a single Output record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Output) DeleteP ¶
DeleteP deletes a single Output record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Output) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Output) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Output) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Output) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Output) ReloadGP ¶
func (o *Output) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Output) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Output) RemoveAddresses ¶
RemoveAddresses relationships from objects passed in. Removes related items from R.Addresses (uses pointer comparison, removal does not keep order) Sets related.R.Outputs.
func (*Output) RemoveAddressesG ¶
RemoveAddressesG relationships from objects passed in. Removes related items from R.Addresses (uses pointer comparison, removal does not keep order) Sets related.R.Outputs. Uses the global database handle.
func (*Output) RemoveAddressesGP ¶
RemoveAddressesGP relationships from objects passed in. Removes related items from R.Addresses (uses pointer comparison, removal does not keep order) Sets related.R.Outputs. Uses the global database handle and panics on error.
func (*Output) RemoveAddressesP ¶
RemoveAddressesP relationships from objects passed in. Removes related items from R.Addresses (uses pointer comparison, removal does not keep order) Sets related.R.Outputs. Panics on error.
func (*Output) RemoveClaim ¶
RemoveClaim relationship. Sets o.R.Claim to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*Output) RemoveClaimG ¶
RemoveClaimG relationship. Sets o.R.Claim to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*Output) RemoveClaimGP ¶
RemoveClaimGP relationship. Sets o.R.Claim to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*Output) RemoveClaimP ¶
RemoveClaimP relationship. Sets o.R.Claim to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*Output) RemoveSpentByInput ¶
RemoveSpentByInput relationship. Sets o.R.SpentByInput to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*Output) RemoveSpentByInputG ¶
RemoveSpentByInputG relationship. Sets o.R.SpentByInput to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*Output) RemoveSpentByInputGP ¶
RemoveSpentByInputGP relationship. Sets o.R.SpentByInput to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*Output) RemoveSpentByInputP ¶
RemoveSpentByInputP relationship. Sets o.R.SpentByInput to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*Output) SetAddresses ¶
SetAddresses removes all previously related items of the output replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Outputs's Addresses accordingly. Replaces o.R.Addresses with related. Sets related.R.Outputs's Addresses accordingly.
func (*Output) SetAddressesG ¶
SetAddressesG removes all previously related items of the output replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Outputs's Addresses accordingly. Replaces o.R.Addresses with related. Sets related.R.Outputs's Addresses accordingly. Uses the global database handle.
func (*Output) SetAddressesGP ¶
SetAddressesGP removes all previously related items of the output replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Outputs's Addresses accordingly. Replaces o.R.Addresses with related. Sets related.R.Outputs's Addresses accordingly. Uses the global database handle and panics on error.
func (*Output) SetAddressesP ¶
SetAddressesP removes all previously related items of the output replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Outputs's Addresses accordingly. Replaces o.R.Addresses with related. Sets related.R.Outputs's Addresses accordingly. Panics on error.
func (*Output) SetClaim ¶
SetClaim of the output to the related item. Sets o.R.Claim to related. Adds o to related.R.Outputs.
func (*Output) SetClaimG ¶
SetClaimG of the output to the related item. Sets o.R.Claim to related. Adds o to related.R.Outputs. Uses the global database handle.
func (*Output) SetClaimGP ¶
SetClaimGP of the output to the related item. Sets o.R.Claim to related. Adds o to related.R.Outputs. Uses the global database handle and panics on error.
func (*Output) SetClaimP ¶
SetClaimP of the output to the related item. Sets o.R.Claim to related. Adds o to related.R.Outputs. Panics on error.
func (*Output) SetSpentByInput ¶
SetSpentByInput of the output to the related item. Sets o.R.SpentByInput to related. Adds o to related.R.SpentByInputOutputs.
func (*Output) SetSpentByInputG ¶
SetSpentByInputG of the output to the related item. Sets o.R.SpentByInput to related. Adds o to related.R.SpentByInputOutputs. Uses the global database handle.
func (*Output) SetSpentByInputGP ¶
SetSpentByInputGP of the output to the related item. Sets o.R.SpentByInput to related. Adds o to related.R.SpentByInputOutputs. Uses the global database handle and panics on error.
func (*Output) SetSpentByInputP ¶
SetSpentByInputP of the output to the related item. Sets o.R.SpentByInput to related. Adds o to related.R.SpentByInputOutputs. Panics on error.
func (*Output) SetTransaction ¶
SetTransaction of the output to the related item. Sets o.R.Transaction to related. Adds o to related.R.Outputs.
func (*Output) SetTransactionG ¶
func (o *Output) SetTransactionG(insert bool, related *Transaction) error
SetTransactionG of the output to the related item. Sets o.R.Transaction to related. Adds o to related.R.Outputs. Uses the global database handle.
func (*Output) SetTransactionGP ¶
func (o *Output) SetTransactionGP(insert bool, related *Transaction)
SetTransactionGP of the output to the related item. Sets o.R.Transaction to related. Adds o to related.R.Outputs. Uses the global database handle and panics on error.
func (*Output) SetTransactionP ¶
func (o *Output) SetTransactionP(exec boil.Executor, insert bool, related *Transaction)
SetTransactionP of the output to the related item. Sets o.R.Transaction to related. Adds o to related.R.Outputs. Panics on error.
func (*Output) SpentByInput ¶
SpentByInput pointed to by the foreign key.
func (*Output) SpentByInputG ¶
SpentByInputG pointed to by the foreign key.
func (*Output) Transaction ¶
Transaction pointed to by the foreign key.
func (*Output) TransactionG ¶
TransactionG pointed to by the foreign key.
func (*Output) UnknownClaims ¶
UnknownClaims retrieves all the unknown_claim's unknown claim with an executor.
func (*Output) UnknownClaimsG ¶
UnknownClaimsG retrieves all the unknown_claim's unknown claim.
func (*Output) Update ¶
Update uses an executor to update the Output. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Output) UpdateG ¶
UpdateG a single Output record. See Update for whitelist behavior description.
func (*Output) UpdateGP ¶
UpdateGP a single Output record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Output) UpdateP ¶
UpdateP uses an executor to update the Output, and panics on error. See Update for whitelist behavior description.
func (*Output) Upsert ¶
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
type OutputSlice ¶
type OutputSlice []*Output
OutputSlice is an alias for a slice of pointers to Output. This should generally be used opposed to []Output.
func (OutputSlice) DeleteAll ¶
func (o OutputSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (OutputSlice) DeleteAllG ¶
func (o OutputSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (OutputSlice) DeleteAllGP ¶
func (o OutputSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (OutputSlice) DeleteAllP ¶
func (o OutputSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*OutputSlice) ReloadAll ¶
func (o *OutputSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OutputSlice) ReloadAllG ¶
func (o *OutputSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*OutputSlice) ReloadAllGP ¶
func (o *OutputSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*OutputSlice) ReloadAllP ¶
func (o *OutputSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (OutputSlice) UpdateAll ¶
func (o OutputSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (OutputSlice) UpdateAllG ¶
func (o OutputSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (OutputSlice) UpdateAllGP ¶
func (o OutputSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (OutputSlice) UpdateAllP ¶
func (o OutputSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Peer ¶ added in v0.2.0
type Peer struct { NodeID string `boil:"node_id" json:"node_id" toml:"node_id" yaml:"node_id"` KnownIPList null.String `boil:"known_i_p_list" json:"known_i_p_list,omitempty" toml:"known_i_p_list" yaml:"known_i_p_list,omitempty"` R *peerR `boil:"-" json:"-" toml:"-" yaml:"-"` L peerL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Peer is an object representing the database table.
func FindPeer ¶ added in v0.2.0
FindPeer retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPeerGP ¶ added in v0.2.0
FindPeerGP retrieves a single record by ID, and panics on error.
func FindPeerP ¶ added in v0.2.0
FindPeerP retrieves a single record by ID with an executor, and panics on error.
func (*Peer) Delete ¶ added in v0.2.0
Delete deletes a single Peer record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Peer) DeleteG ¶ added in v0.2.0
DeleteG deletes a single Peer record. DeleteG will match against the primary key column to find the record to delete.
func (*Peer) DeleteGP ¶ added in v0.2.0
func (o *Peer) DeleteGP()
DeleteGP deletes a single Peer record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Peer) DeleteP ¶ added in v0.2.0
DeleteP deletes a single Peer record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Peer) Insert ¶ added in v0.2.0
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Peer) InsertG ¶ added in v0.2.0
InsertG a single record. See Insert for whitelist behavior description.
func (*Peer) InsertGP ¶ added in v0.2.0
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Peer) InsertP ¶ added in v0.2.0
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Peer) Reload ¶ added in v0.2.0
Reload refetches the object from the database using the primary keys with an executor.
func (*Peer) ReloadG ¶ added in v0.2.0
ReloadG refetches the object from the database using the primary keys.
func (*Peer) ReloadGP ¶ added in v0.2.0
func (o *Peer) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Peer) ReloadP ¶ added in v0.2.0
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Peer) Update ¶ added in v0.2.0
Update uses an executor to update the Peer. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Peer) UpdateG ¶ added in v0.2.0
UpdateG a single Peer record. See Update for whitelist behavior description.
func (*Peer) UpdateGP ¶ added in v0.2.0
UpdateGP a single Peer record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Peer) UpdateP ¶ added in v0.2.0
UpdateP uses an executor to update the Peer, and panics on error. See Update for whitelist behavior description.
func (*Peer) Upsert ¶ added in v0.2.0
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Peer) UpsertG ¶ added in v0.2.0
UpsertG attempts an insert, and does an update or ignore on conflict.
type PeerClaim ¶ added in v0.2.0
type PeerClaim struct { PeerID string `boil:"peer_id" json:"peer_id" toml:"peer_id" yaml:"peer_id"` ClaimID string `boil:"claim_id" json:"claim_id" toml:"claim_id" yaml:"claim_id"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` LastSeen time.Time `boil:"last_seen" json:"last_seen" toml:"last_seen" yaml:"last_seen"` R *peerClaimR `boil:"-" json:"-" toml:"-" yaml:"-"` L peerClaimL `boil:"-" json:"-" toml:"-" yaml:"-"` }
PeerClaim is an object representing the database table.
func FindPeerClaim ¶ added in v0.2.0
func FindPeerClaim(exec boil.Executor, peerID string, claimID string, selectCols ...string) (*PeerClaim, error)
FindPeerClaim retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPeerClaimG ¶ added in v0.2.0
FindPeerClaimG retrieves a single record by ID.
func FindPeerClaimGP ¶ added in v0.2.0
FindPeerClaimGP retrieves a single record by ID, and panics on error.
func FindPeerClaimP ¶ added in v0.2.0
func FindPeerClaimP(exec boil.Executor, peerID string, claimID string, selectCols ...string) *PeerClaim
FindPeerClaimP retrieves a single record by ID with an executor, and panics on error.
func (*PeerClaim) Delete ¶ added in v0.2.0
Delete deletes a single PeerClaim record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PeerClaim) DeleteG ¶ added in v0.2.0
DeleteG deletes a single PeerClaim record. DeleteG will match against the primary key column to find the record to delete.
func (*PeerClaim) DeleteGP ¶ added in v0.2.0
func (o *PeerClaim) DeleteGP()
DeleteGP deletes a single PeerClaim record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*PeerClaim) DeleteP ¶ added in v0.2.0
DeleteP deletes a single PeerClaim record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*PeerClaim) Insert ¶ added in v0.2.0
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*PeerClaim) InsertG ¶ added in v0.2.0
InsertG a single record. See Insert for whitelist behavior description.
func (*PeerClaim) InsertGP ¶ added in v0.2.0
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*PeerClaim) InsertP ¶ added in v0.2.0
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*PeerClaim) Reload ¶ added in v0.2.0
Reload refetches the object from the database using the primary keys with an executor.
func (*PeerClaim) ReloadG ¶ added in v0.2.0
ReloadG refetches the object from the database using the primary keys.
func (*PeerClaim) ReloadGP ¶ added in v0.2.0
func (o *PeerClaim) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*PeerClaim) ReloadP ¶ added in v0.2.0
ReloadP refetches the object from the database with an executor. Panics on error.
func (*PeerClaim) Update ¶ added in v0.2.0
Update uses an executor to update the PeerClaim. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*PeerClaim) UpdateG ¶ added in v0.2.0
UpdateG a single PeerClaim record. See Update for whitelist behavior description.
func (*PeerClaim) UpdateGP ¶ added in v0.2.0
UpdateGP a single PeerClaim record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*PeerClaim) UpdateP ¶ added in v0.2.0
UpdateP uses an executor to update the PeerClaim, and panics on error. See Update for whitelist behavior description.
func (*PeerClaim) Upsert ¶ added in v0.2.0
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*PeerClaim) UpsertG ¶ added in v0.2.0
UpsertG attempts an insert, and does an update or ignore on conflict.
type PeerClaimCheckpoint ¶ added in v0.2.0
type PeerClaimCheckpoint struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` PeerID string `boil:"peer_id" json:"peer_id" toml:"peer_id" yaml:"peer_id"` ClaimID string `boil:"claim_id" json:"claim_id" toml:"claim_id" yaml:"claim_id"` Checkpoint time.Time `boil:"checkpoint" json:"checkpoint" toml:"checkpoint" yaml:"checkpoint"` IsAvailable bool `boil:"is_available" json:"is_available" toml:"is_available" yaml:"is_available"` R *peerClaimCheckpointR `boil:"-" json:"-" toml:"-" yaml:"-"` L peerClaimCheckpointL `boil:"-" json:"-" toml:"-" yaml:"-"` }
PeerClaimCheckpoint is an object representing the database table.
func FindPeerClaimCheckpoint ¶ added in v0.2.0
func FindPeerClaimCheckpoint(exec boil.Executor, id uint64, selectCols ...string) (*PeerClaimCheckpoint, error)
FindPeerClaimCheckpoint retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindPeerClaimCheckpointG ¶ added in v0.2.0
func FindPeerClaimCheckpointG(id uint64, selectCols ...string) (*PeerClaimCheckpoint, error)
FindPeerClaimCheckpointG retrieves a single record by ID.
func FindPeerClaimCheckpointGP ¶ added in v0.2.0
func FindPeerClaimCheckpointGP(id uint64, selectCols ...string) *PeerClaimCheckpoint
FindPeerClaimCheckpointGP retrieves a single record by ID, and panics on error.
func FindPeerClaimCheckpointP ¶ added in v0.2.0
func FindPeerClaimCheckpointP(exec boil.Executor, id uint64, selectCols ...string) *PeerClaimCheckpoint
FindPeerClaimCheckpointP retrieves a single record by ID with an executor, and panics on error.
func (*PeerClaimCheckpoint) Delete ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) Delete(exec boil.Executor) error
Delete deletes a single PeerClaimCheckpoint record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PeerClaimCheckpoint) DeleteG ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) DeleteG() error
DeleteG deletes a single PeerClaimCheckpoint record. DeleteG will match against the primary key column to find the record to delete.
func (*PeerClaimCheckpoint) DeleteGP ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) DeleteGP()
DeleteGP deletes a single PeerClaimCheckpoint record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*PeerClaimCheckpoint) DeleteP ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) DeleteP(exec boil.Executor)
DeleteP deletes a single PeerClaimCheckpoint record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*PeerClaimCheckpoint) Insert ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*PeerClaimCheckpoint) InsertG ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*PeerClaimCheckpoint) InsertGP ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*PeerClaimCheckpoint) InsertP ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*PeerClaimCheckpoint) Reload ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PeerClaimCheckpoint) ReloadG ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*PeerClaimCheckpoint) ReloadGP ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*PeerClaimCheckpoint) ReloadP ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*PeerClaimCheckpoint) Update ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the PeerClaimCheckpoint. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*PeerClaimCheckpoint) UpdateG ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) UpdateG(whitelist ...string) error
UpdateG a single PeerClaimCheckpoint record. See Update for whitelist behavior description.
func (*PeerClaimCheckpoint) UpdateGP ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) UpdateGP(whitelist ...string)
UpdateGP a single PeerClaimCheckpoint record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*PeerClaimCheckpoint) UpdateP ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the PeerClaimCheckpoint, and panics on error. See Update for whitelist behavior description.
func (*PeerClaimCheckpoint) Upsert ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*PeerClaimCheckpoint) UpsertG ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) UpsertG(updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*PeerClaimCheckpoint) UpsertGP ¶ added in v0.2.0
func (o *PeerClaimCheckpoint) UpsertGP(updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
type PeerClaimCheckpointSlice ¶ added in v0.2.0
type PeerClaimCheckpointSlice []*PeerClaimCheckpoint
PeerClaimCheckpointSlice is an alias for a slice of pointers to PeerClaimCheckpoint. This should generally be used opposed to []PeerClaimCheckpoint.
func (PeerClaimCheckpointSlice) DeleteAll ¶ added in v0.2.0
func (o PeerClaimCheckpointSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (PeerClaimCheckpointSlice) DeleteAllG ¶ added in v0.2.0
func (o PeerClaimCheckpointSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (PeerClaimCheckpointSlice) DeleteAllGP ¶ added in v0.2.0
func (o PeerClaimCheckpointSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (PeerClaimCheckpointSlice) DeleteAllP ¶ added in v0.2.0
func (o PeerClaimCheckpointSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*PeerClaimCheckpointSlice) ReloadAll ¶ added in v0.2.0
func (o *PeerClaimCheckpointSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PeerClaimCheckpointSlice) ReloadAllG ¶ added in v0.2.0
func (o *PeerClaimCheckpointSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PeerClaimCheckpointSlice) ReloadAllGP ¶ added in v0.2.0
func (o *PeerClaimCheckpointSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*PeerClaimCheckpointSlice) ReloadAllP ¶ added in v0.2.0
func (o *PeerClaimCheckpointSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (PeerClaimCheckpointSlice) UpdateAll ¶ added in v0.2.0
func (o PeerClaimCheckpointSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (PeerClaimCheckpointSlice) UpdateAllG ¶ added in v0.2.0
func (o PeerClaimCheckpointSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (PeerClaimCheckpointSlice) UpdateAllGP ¶ added in v0.2.0
func (o PeerClaimCheckpointSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (PeerClaimCheckpointSlice) UpdateAllP ¶ added in v0.2.0
func (o PeerClaimCheckpointSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type PeerClaimSlice ¶ added in v0.2.0
type PeerClaimSlice []*PeerClaim
PeerClaimSlice is an alias for a slice of pointers to PeerClaim. This should generally be used opposed to []PeerClaim.
func (PeerClaimSlice) DeleteAll ¶ added in v0.2.0
func (o PeerClaimSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (PeerClaimSlice) DeleteAllG ¶ added in v0.2.0
func (o PeerClaimSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (PeerClaimSlice) DeleteAllGP ¶ added in v0.2.0
func (o PeerClaimSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (PeerClaimSlice) DeleteAllP ¶ added in v0.2.0
func (o PeerClaimSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*PeerClaimSlice) ReloadAll ¶ added in v0.2.0
func (o *PeerClaimSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PeerClaimSlice) ReloadAllG ¶ added in v0.2.0
func (o *PeerClaimSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PeerClaimSlice) ReloadAllGP ¶ added in v0.2.0
func (o *PeerClaimSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*PeerClaimSlice) ReloadAllP ¶ added in v0.2.0
func (o *PeerClaimSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (PeerClaimSlice) UpdateAll ¶ added in v0.2.0
func (o PeerClaimSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (PeerClaimSlice) UpdateAllG ¶ added in v0.2.0
func (o PeerClaimSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (PeerClaimSlice) UpdateAllGP ¶ added in v0.2.0
func (o PeerClaimSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (PeerClaimSlice) UpdateAllP ¶ added in v0.2.0
func (o PeerClaimSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type PeerSlice ¶ added in v0.2.0
type PeerSlice []*Peer
PeerSlice is an alias for a slice of pointers to Peer. This should generally be used opposed to []Peer.
func (PeerSlice) DeleteAll ¶ added in v0.2.0
DeleteAll deletes all rows in the slice, using an executor.
func (PeerSlice) DeleteAllG ¶ added in v0.2.0
DeleteAllG deletes all rows in the slice.
func (PeerSlice) DeleteAllGP ¶ added in v0.2.0
func (o PeerSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (PeerSlice) DeleteAllP ¶ added in v0.2.0
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*PeerSlice) ReloadAll ¶ added in v0.2.0
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PeerSlice) ReloadAllG ¶ added in v0.2.0
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*PeerSlice) ReloadAllGP ¶ added in v0.2.0
func (o *PeerSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*PeerSlice) ReloadAllP ¶ added in v0.2.0
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (PeerSlice) UpdateAll ¶ added in v0.2.0
UpdateAll updates all rows with the specified column values, using an executor.
func (PeerSlice) UpdateAllG ¶ added in v0.2.0
UpdateAllG updates all rows with the specified column values.
func (PeerSlice) UpdateAllGP ¶ added in v0.2.0
UpdateAllGP updates all rows with the specified column values, and panics on error.
type Support ¶
type Support struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` SupportedClaimID string `boil:"supported_claim_id" json:"supported_claim_id" toml:"supported_claim_id" yaml:"supported_claim_id"` SupportAmount float64 `boil:"support_amount" json:"support_amount" toml:"support_amount" yaml:"support_amount"` BidState string `boil:"bid_state" json:"bid_state" toml:"bid_state" yaml:"bid_state"` TransactionHash null.String `boil:"transaction_hash" json:"transaction_hash,omitempty" toml:"transaction_hash" yaml:"transaction_hash,omitempty"` Vout uint `boil:"vout" json:"vout" toml:"vout" yaml:"vout"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Modified time.Time `boil:"modified" json:"modified" toml:"modified" yaml:"modified"` R *supportR `boil:"-" json:"-" toml:"-" yaml:"-"` L supportL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Support is an object representing the database table.
func FindSupport ¶
FindSupport retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindSupportG ¶
FindSupportG retrieves a single record by ID.
func FindSupportGP ¶
FindSupportGP retrieves a single record by ID, and panics on error.
func FindSupportP ¶
FindSupportP retrieves a single record by ID with an executor, and panics on error.
func (*Support) Delete ¶
Delete deletes a single Support record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Support) DeleteG ¶
DeleteG deletes a single Support record. DeleteG will match against the primary key column to find the record to delete.
func (*Support) DeleteGP ¶
func (o *Support) DeleteGP()
DeleteGP deletes a single Support record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Support) DeleteP ¶
DeleteP deletes a single Support record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Support) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Support) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Support) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Support) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Support) ReloadGP ¶
func (o *Support) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Support) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Support) SetSupportedClaim ¶
SetSupportedClaim of the support to the related item. Sets o.R.SupportedClaim to related. Adds o to related.R.SupportedClaimSupports.
func (*Support) SetSupportedClaimG ¶
SetSupportedClaimG of the support to the related item. Sets o.R.SupportedClaim to related. Adds o to related.R.SupportedClaimSupports. Uses the global database handle.
func (*Support) SetSupportedClaimGP ¶
SetSupportedClaimGP of the support to the related item. Sets o.R.SupportedClaim to related. Adds o to related.R.SupportedClaimSupports. Uses the global database handle and panics on error.
func (*Support) SetSupportedClaimP ¶
SetSupportedClaimP of the support to the related item. Sets o.R.SupportedClaim to related. Adds o to related.R.SupportedClaimSupports. Panics on error.
func (*Support) SupportedClaim ¶
SupportedClaim pointed to by the foreign key.
func (*Support) SupportedClaimG ¶
SupportedClaimG pointed to by the foreign key.
func (*Support) Update ¶
Update uses an executor to update the Support. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Support) UpdateG ¶
UpdateG a single Support record. See Update for whitelist behavior description.
func (*Support) UpdateGP ¶
UpdateGP a single Support record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Support) UpdateP ¶
UpdateP uses an executor to update the Support, and panics on error. See Update for whitelist behavior description.
func (*Support) Upsert ¶
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
type SupportSlice ¶
type SupportSlice []*Support
SupportSlice is an alias for a slice of pointers to Support. This should generally be used opposed to []Support.
func (SupportSlice) DeleteAll ¶
func (o SupportSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (SupportSlice) DeleteAllG ¶
func (o SupportSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (SupportSlice) DeleteAllGP ¶
func (o SupportSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (SupportSlice) DeleteAllP ¶
func (o SupportSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*SupportSlice) ReloadAll ¶
func (o *SupportSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*SupportSlice) ReloadAllG ¶
func (o *SupportSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*SupportSlice) ReloadAllGP ¶
func (o *SupportSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*SupportSlice) ReloadAllP ¶
func (o *SupportSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (SupportSlice) UpdateAll ¶
func (o SupportSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (SupportSlice) UpdateAllG ¶
func (o SupportSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (SupportSlice) UpdateAllGP ¶
func (o SupportSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (SupportSlice) UpdateAllP ¶
func (o SupportSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Transaction ¶
type Transaction struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` BlockByHashID null.String `boil:"block_by_hash_id" json:"block_by_hash_id,omitempty" toml:"block_by_hash_id" yaml:"block_by_hash_id,omitempty"` InputCount uint `boil:"input_count" json:"input_count" toml:"input_count" yaml:"input_count"` OutputCount uint `boil:"output_count" json:"output_count" toml:"output_count" yaml:"output_count"` Value float64 `boil:"value" json:"value" toml:"value" yaml:"value"` Fee float64 `boil:"fee" json:"fee" toml:"fee" yaml:"fee"` TransactionTime null.Uint64 `boil:"transaction_time" json:"transaction_time,omitempty" toml:"transaction_time" yaml:"transaction_time,omitempty"` TransactionSize uint64 `boil:"transaction_size" json:"transaction_size" toml:"transaction_size" yaml:"transaction_size"` Hash string `boil:"hash" json:"hash" toml:"hash" yaml:"hash"` Version int `boil:"version" json:"version" toml:"version" yaml:"version"` LockTime uint `boil:"lock_time" json:"lock_time" toml:"lock_time" yaml:"lock_time"` Raw null.String `boil:"raw" json:"raw,omitempty" toml:"raw" yaml:"raw,omitempty"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Modified time.Time `boil:"modified" json:"modified" toml:"modified" yaml:"modified"` CreatedTime time.Time `boil:"created_time" json:"created_time" toml:"created_time" yaml:"created_time"` R *transactionR `boil:"-" json:"-" toml:"-" yaml:"-"` L transactionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Transaction is an object representing the database table.
func FindTransaction ¶
FindTransaction retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindTransactionG ¶
func FindTransactionG(id uint64, selectCols ...string) (*Transaction, error)
FindTransactionG retrieves a single record by ID.
func FindTransactionGP ¶
func FindTransactionGP(id uint64, selectCols ...string) *Transaction
FindTransactionGP retrieves a single record by ID, and panics on error.
func FindTransactionP ¶
func FindTransactionP(exec boil.Executor, id uint64, selectCols ...string) *Transaction
FindTransactionP retrieves a single record by ID with an executor, and panics on error.
func (*Transaction) AddInputs ¶
AddInputs adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.Inputs. Sets related.R.Transaction appropriately.
func (*Transaction) AddInputsG ¶
func (o *Transaction) AddInputsG(insert bool, related ...*Input) error
AddInputsG adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.Inputs. Sets related.R.Transaction appropriately. Uses the global database handle.
func (*Transaction) AddInputsGP ¶
func (o *Transaction) AddInputsGP(insert bool, related ...*Input)
AddInputsGP adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.Inputs. Sets related.R.Transaction appropriately. Uses the global database handle and panics on error.
func (*Transaction) AddInputsP ¶
func (o *Transaction) AddInputsP(exec boil.Executor, insert bool, related ...*Input)
AddInputsP adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.Inputs. Sets related.R.Transaction appropriately. Panics on error.
func (*Transaction) AddOutputs ¶
AddOutputs adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.Outputs. Sets related.R.Transaction appropriately.
func (*Transaction) AddOutputsG ¶
func (o *Transaction) AddOutputsG(insert bool, related ...*Output) error
AddOutputsG adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.Outputs. Sets related.R.Transaction appropriately. Uses the global database handle.
func (*Transaction) AddOutputsGP ¶
func (o *Transaction) AddOutputsGP(insert bool, related ...*Output)
AddOutputsGP adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.Outputs. Sets related.R.Transaction appropriately. Uses the global database handle and panics on error.
func (*Transaction) AddOutputsP ¶
func (o *Transaction) AddOutputsP(exec boil.Executor, insert bool, related ...*Output)
AddOutputsP adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.Outputs. Sets related.R.Transaction appropriately. Panics on error.
func (*Transaction) AddTransactionAddresses ¶
func (o *Transaction) AddTransactionAddresses(exec boil.Executor, insert bool, related ...*TransactionAddress) error
AddTransactionAddresses adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionAddresses. Sets related.R.Transaction appropriately.
func (*Transaction) AddTransactionAddressesG ¶
func (o *Transaction) AddTransactionAddressesG(insert bool, related ...*TransactionAddress) error
AddTransactionAddressesG adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionAddresses. Sets related.R.Transaction appropriately. Uses the global database handle.
func (*Transaction) AddTransactionAddressesGP ¶
func (o *Transaction) AddTransactionAddressesGP(insert bool, related ...*TransactionAddress)
AddTransactionAddressesGP adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionAddresses. Sets related.R.Transaction appropriately. Uses the global database handle and panics on error.
func (*Transaction) AddTransactionAddressesP ¶
func (o *Transaction) AddTransactionAddressesP(exec boil.Executor, insert bool, related ...*TransactionAddress)
AddTransactionAddressesP adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionAddresses. Sets related.R.Transaction appropriately. Panics on error.
func (*Transaction) AddTransactionByHashClaims ¶
func (o *Transaction) AddTransactionByHashClaims(exec boil.Executor, insert bool, related ...*Claim) error
AddTransactionByHashClaims adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionByHashClaims. Sets related.R.TransactionByHash appropriately.
func (*Transaction) AddTransactionByHashClaimsG ¶
func (o *Transaction) AddTransactionByHashClaimsG(insert bool, related ...*Claim) error
AddTransactionByHashClaimsG adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionByHashClaims. Sets related.R.TransactionByHash appropriately. Uses the global database handle.
func (*Transaction) AddTransactionByHashClaimsGP ¶
func (o *Transaction) AddTransactionByHashClaimsGP(insert bool, related ...*Claim)
AddTransactionByHashClaimsGP adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionByHashClaims. Sets related.R.TransactionByHash appropriately. Uses the global database handle and panics on error.
func (*Transaction) AddTransactionByHashClaimsP ¶
func (o *Transaction) AddTransactionByHashClaimsP(exec boil.Executor, insert bool, related ...*Claim)
AddTransactionByHashClaimsP adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionByHashClaims. Sets related.R.TransactionByHash appropriately. Panics on error.
func (*Transaction) BlockByHash ¶
func (o *Transaction) BlockByHash(exec boil.Executor, mods ...qm.QueryMod) blockQuery
BlockByHash pointed to by the foreign key.
func (*Transaction) BlockByHashG ¶
func (o *Transaction) BlockByHashG(mods ...qm.QueryMod) blockQuery
BlockByHashG pointed to by the foreign key.
func (*Transaction) Delete ¶
func (o *Transaction) Delete(exec boil.Executor) error
Delete deletes a single Transaction record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Transaction) DeleteG ¶
func (o *Transaction) DeleteG() error
DeleteG deletes a single Transaction record. DeleteG will match against the primary key column to find the record to delete.
func (*Transaction) DeleteGP ¶
func (o *Transaction) DeleteGP()
DeleteGP deletes a single Transaction record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Transaction) DeleteP ¶
func (o *Transaction) DeleteP(exec boil.Executor)
DeleteP deletes a single Transaction record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Transaction) Inputs ¶
func (o *Transaction) Inputs(exec boil.Executor, mods ...qm.QueryMod) inputQuery
Inputs retrieves all the input's input with an executor.
func (*Transaction) InputsG ¶
func (o *Transaction) InputsG(mods ...qm.QueryMod) inputQuery
InputsG retrieves all the input's input.
func (*Transaction) Insert ¶
func (o *Transaction) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Transaction) InsertG ¶
func (o *Transaction) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*Transaction) InsertGP ¶
func (o *Transaction) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Transaction) InsertP ¶
func (o *Transaction) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Transaction) Outputs ¶
func (o *Transaction) Outputs(exec boil.Executor, mods ...qm.QueryMod) outputQuery
Outputs retrieves all the output's output with an executor.
func (*Transaction) OutputsG ¶
func (o *Transaction) OutputsG(mods ...qm.QueryMod) outputQuery
OutputsG retrieves all the output's output.
func (*Transaction) Reload ¶
func (o *Transaction) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Transaction) ReloadG ¶
func (o *Transaction) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*Transaction) ReloadGP ¶
func (o *Transaction) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Transaction) ReloadP ¶
func (o *Transaction) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Transaction) RemoveBlockByHash ¶
func (o *Transaction) RemoveBlockByHash(exec boil.Executor, related *Block) error
RemoveBlockByHash relationship. Sets o.R.BlockByHash to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*Transaction) RemoveBlockByHashG ¶
func (o *Transaction) RemoveBlockByHashG(related *Block) error
RemoveBlockByHashG relationship. Sets o.R.BlockByHash to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*Transaction) RemoveBlockByHashGP ¶
func (o *Transaction) RemoveBlockByHashGP(related *Block)
RemoveBlockByHashGP relationship. Sets o.R.BlockByHash to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*Transaction) RemoveBlockByHashP ¶
func (o *Transaction) RemoveBlockByHashP(exec boil.Executor, related *Block)
RemoveBlockByHashP relationship. Sets o.R.BlockByHash to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*Transaction) RemoveTransactionByHashClaims ¶
func (o *Transaction) RemoveTransactionByHashClaims(exec boil.Executor, related ...*Claim) error
RemoveTransactionByHashClaims relationships from objects passed in. Removes related items from R.TransactionByHashClaims (uses pointer comparison, removal does not keep order) Sets related.R.TransactionByHash.
func (*Transaction) RemoveTransactionByHashClaimsG ¶
func (o *Transaction) RemoveTransactionByHashClaimsG(related ...*Claim) error
RemoveTransactionByHashClaimsG relationships from objects passed in. Removes related items from R.TransactionByHashClaims (uses pointer comparison, removal does not keep order) Sets related.R.TransactionByHash. Uses the global database handle.
func (*Transaction) RemoveTransactionByHashClaimsGP ¶
func (o *Transaction) RemoveTransactionByHashClaimsGP(related ...*Claim)
RemoveTransactionByHashClaimsGP relationships from objects passed in. Removes related items from R.TransactionByHashClaims (uses pointer comparison, removal does not keep order) Sets related.R.TransactionByHash. Uses the global database handle and panics on error.
func (*Transaction) RemoveTransactionByHashClaimsP ¶
func (o *Transaction) RemoveTransactionByHashClaimsP(exec boil.Executor, related ...*Claim)
RemoveTransactionByHashClaimsP relationships from objects passed in. Removes related items from R.TransactionByHashClaims (uses pointer comparison, removal does not keep order) Sets related.R.TransactionByHash. Panics on error.
func (*Transaction) SetBlockByHash ¶
SetBlockByHash of the transaction to the related item. Sets o.R.BlockByHash to related. Adds o to related.R.BlockByHashTransactions.
func (*Transaction) SetBlockByHashG ¶
func (o *Transaction) SetBlockByHashG(insert bool, related *Block) error
SetBlockByHashG of the transaction to the related item. Sets o.R.BlockByHash to related. Adds o to related.R.BlockByHashTransactions. Uses the global database handle.
func (*Transaction) SetBlockByHashGP ¶
func (o *Transaction) SetBlockByHashGP(insert bool, related *Block)
SetBlockByHashGP of the transaction to the related item. Sets o.R.BlockByHash to related. Adds o to related.R.BlockByHashTransactions. Uses the global database handle and panics on error.
func (*Transaction) SetBlockByHashP ¶
func (o *Transaction) SetBlockByHashP(exec boil.Executor, insert bool, related *Block)
SetBlockByHashP of the transaction to the related item. Sets o.R.BlockByHash to related. Adds o to related.R.BlockByHashTransactions. Panics on error.
func (*Transaction) SetTransactionByHashClaims ¶
func (o *Transaction) SetTransactionByHashClaims(exec boil.Executor, insert bool, related ...*Claim) error
SetTransactionByHashClaims removes all previously related items of the transaction replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.TransactionByHash's TransactionByHashClaims accordingly. Replaces o.R.TransactionByHashClaims with related. Sets related.R.TransactionByHash's TransactionByHashClaims accordingly.
func (*Transaction) SetTransactionByHashClaimsG ¶
func (o *Transaction) SetTransactionByHashClaimsG(insert bool, related ...*Claim) error
SetTransactionByHashClaimsG removes all previously related items of the transaction replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.TransactionByHash's TransactionByHashClaims accordingly. Replaces o.R.TransactionByHashClaims with related. Sets related.R.TransactionByHash's TransactionByHashClaims accordingly. Uses the global database handle.
func (*Transaction) SetTransactionByHashClaimsGP ¶
func (o *Transaction) SetTransactionByHashClaimsGP(insert bool, related ...*Claim)
SetTransactionByHashClaimsGP removes all previously related items of the transaction replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.TransactionByHash's TransactionByHashClaims accordingly. Replaces o.R.TransactionByHashClaims with related. Sets related.R.TransactionByHash's TransactionByHashClaims accordingly. Uses the global database handle and panics on error.
func (*Transaction) SetTransactionByHashClaimsP ¶
func (o *Transaction) SetTransactionByHashClaimsP(exec boil.Executor, insert bool, related ...*Claim)
SetTransactionByHashClaimsP removes all previously related items of the transaction replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.TransactionByHash's TransactionByHashClaims accordingly. Replaces o.R.TransactionByHashClaims with related. Sets related.R.TransactionByHash's TransactionByHashClaims accordingly. Panics on error.
func (*Transaction) TransactionAddresses ¶
func (o *Transaction) TransactionAddresses(exec boil.Executor, mods ...qm.QueryMod) transactionAddressQuery
TransactionAddresses retrieves all the transaction_address's transaction address with an executor.
func (*Transaction) TransactionAddressesG ¶
func (o *Transaction) TransactionAddressesG(mods ...qm.QueryMod) transactionAddressQuery
TransactionAddressesG retrieves all the transaction_address's transaction address.
func (*Transaction) TransactionByHashClaims ¶
func (o *Transaction) TransactionByHashClaims(exec boil.Executor, mods ...qm.QueryMod) claimQuery
TransactionByHashClaims retrieves all the claim's claim with an executor via transaction_by_hash_id column.
func (*Transaction) TransactionByHashClaimsG ¶
func (o *Transaction) TransactionByHashClaimsG(mods ...qm.QueryMod) claimQuery
TransactionByHashClaimsG retrieves all the claim's claim via transaction_by_hash_id column.
func (*Transaction) Update ¶
func (o *Transaction) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the Transaction. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Transaction) UpdateG ¶
func (o *Transaction) UpdateG(whitelist ...string) error
UpdateG a single Transaction record. See Update for whitelist behavior description.
func (*Transaction) UpdateGP ¶
func (o *Transaction) UpdateGP(whitelist ...string)
UpdateGP a single Transaction record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Transaction) UpdateP ¶
func (o *Transaction) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the Transaction, and panics on error. See Update for whitelist behavior description.
func (*Transaction) Upsert ¶
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Transaction) UpsertG ¶
func (o *Transaction) UpsertG(updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*Transaction) UpsertGP ¶
func (o *Transaction) UpsertGP(updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
type TransactionAddress ¶
type TransactionAddress struct { TransactionID uint64 `boil:"transaction_id" json:"transaction_id" toml:"transaction_id" yaml:"transaction_id"` AddressID uint64 `boil:"address_id" json:"address_id" toml:"address_id" yaml:"address_id"` DebitAmount float64 `boil:"debit_amount" json:"debit_amount" toml:"debit_amount" yaml:"debit_amount"` CreditAmount float64 `boil:"credit_amount" json:"credit_amount" toml:"credit_amount" yaml:"credit_amount"` LatestTransactionTime time.Time `boil:"latest_transaction_time" json:"latest_transaction_time" toml:"latest_transaction_time" yaml:"latest_transaction_time"` R *transactionAddressR `boil:"-" json:"-" toml:"-" yaml:"-"` L transactionAddressL `boil:"-" json:"-" toml:"-" yaml:"-"` }
TransactionAddress is an object representing the database table.
func FindTransactionAddress ¶
func FindTransactionAddress(exec boil.Executor, transactionID uint64, addressID uint64, selectCols ...string) (*TransactionAddress, error)
FindTransactionAddress retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindTransactionAddressG ¶
func FindTransactionAddressG(transactionID uint64, addressID uint64, selectCols ...string) (*TransactionAddress, error)
FindTransactionAddressG retrieves a single record by ID.
func FindTransactionAddressGP ¶
func FindTransactionAddressGP(transactionID uint64, addressID uint64, selectCols ...string) *TransactionAddress
FindTransactionAddressGP retrieves a single record by ID, and panics on error.
func FindTransactionAddressP ¶
func FindTransactionAddressP(exec boil.Executor, transactionID uint64, addressID uint64, selectCols ...string) *TransactionAddress
FindTransactionAddressP retrieves a single record by ID with an executor, and panics on error.
func (*TransactionAddress) Address ¶
func (o *TransactionAddress) Address(exec boil.Executor, mods ...qm.QueryMod) addressQuery
Address pointed to by the foreign key.
func (*TransactionAddress) AddressG ¶
func (o *TransactionAddress) AddressG(mods ...qm.QueryMod) addressQuery
AddressG pointed to by the foreign key.
func (*TransactionAddress) Delete ¶
func (o *TransactionAddress) Delete(exec boil.Executor) error
Delete deletes a single TransactionAddress record with an executor. Delete will match against the primary key column to find the record to delete.
func (*TransactionAddress) DeleteG ¶
func (o *TransactionAddress) DeleteG() error
DeleteG deletes a single TransactionAddress record. DeleteG will match against the primary key column to find the record to delete.
func (*TransactionAddress) DeleteGP ¶
func (o *TransactionAddress) DeleteGP()
DeleteGP deletes a single TransactionAddress record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*TransactionAddress) DeleteP ¶
func (o *TransactionAddress) DeleteP(exec boil.Executor)
DeleteP deletes a single TransactionAddress record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*TransactionAddress) Insert ¶
func (o *TransactionAddress) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*TransactionAddress) InsertG ¶
func (o *TransactionAddress) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*TransactionAddress) InsertGP ¶
func (o *TransactionAddress) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*TransactionAddress) InsertP ¶
func (o *TransactionAddress) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*TransactionAddress) Reload ¶
func (o *TransactionAddress) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*TransactionAddress) ReloadG ¶
func (o *TransactionAddress) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*TransactionAddress) ReloadGP ¶
func (o *TransactionAddress) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*TransactionAddress) ReloadP ¶
func (o *TransactionAddress) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*TransactionAddress) SetAddress ¶
SetAddress of the transaction_address to the related item. Sets o.R.Address to related. Adds o to related.R.TransactionAddresses.
func (*TransactionAddress) SetAddressG ¶
func (o *TransactionAddress) SetAddressG(insert bool, related *Address) error
SetAddressG of the transaction_address to the related item. Sets o.R.Address to related. Adds o to related.R.TransactionAddresses. Uses the global database handle.
func (*TransactionAddress) SetAddressGP ¶
func (o *TransactionAddress) SetAddressGP(insert bool, related *Address)
SetAddressGP of the transaction_address to the related item. Sets o.R.Address to related. Adds o to related.R.TransactionAddresses. Uses the global database handle and panics on error.
func (*TransactionAddress) SetAddressP ¶
func (o *TransactionAddress) SetAddressP(exec boil.Executor, insert bool, related *Address)
SetAddressP of the transaction_address to the related item. Sets o.R.Address to related. Adds o to related.R.TransactionAddresses. Panics on error.
func (*TransactionAddress) SetTransaction ¶
func (o *TransactionAddress) SetTransaction(exec boil.Executor, insert bool, related *Transaction) error
SetTransaction of the transaction_address to the related item. Sets o.R.Transaction to related. Adds o to related.R.TransactionAddresses.
func (*TransactionAddress) SetTransactionG ¶
func (o *TransactionAddress) SetTransactionG(insert bool, related *Transaction) error
SetTransactionG of the transaction_address to the related item. Sets o.R.Transaction to related. Adds o to related.R.TransactionAddresses. Uses the global database handle.
func (*TransactionAddress) SetTransactionGP ¶
func (o *TransactionAddress) SetTransactionGP(insert bool, related *Transaction)
SetTransactionGP of the transaction_address to the related item. Sets o.R.Transaction to related. Adds o to related.R.TransactionAddresses. Uses the global database handle and panics on error.
func (*TransactionAddress) SetTransactionP ¶
func (o *TransactionAddress) SetTransactionP(exec boil.Executor, insert bool, related *Transaction)
SetTransactionP of the transaction_address to the related item. Sets o.R.Transaction to related. Adds o to related.R.TransactionAddresses. Panics on error.
func (*TransactionAddress) Transaction ¶
func (o *TransactionAddress) Transaction(exec boil.Executor, mods ...qm.QueryMod) transactionQuery
Transaction pointed to by the foreign key.
func (*TransactionAddress) TransactionG ¶
func (o *TransactionAddress) TransactionG(mods ...qm.QueryMod) transactionQuery
TransactionG pointed to by the foreign key.
func (*TransactionAddress) Update ¶
func (o *TransactionAddress) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the TransactionAddress. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*TransactionAddress) UpdateG ¶
func (o *TransactionAddress) UpdateG(whitelist ...string) error
UpdateG a single TransactionAddress record. See Update for whitelist behavior description.
func (*TransactionAddress) UpdateGP ¶
func (o *TransactionAddress) UpdateGP(whitelist ...string)
UpdateGP a single TransactionAddress record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*TransactionAddress) UpdateP ¶
func (o *TransactionAddress) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the TransactionAddress, and panics on error. See Update for whitelist behavior description.
func (*TransactionAddress) Upsert ¶
func (o *TransactionAddress) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*TransactionAddress) UpsertG ¶
func (o *TransactionAddress) UpsertG(updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*TransactionAddress) UpsertGP ¶
func (o *TransactionAddress) UpsertGP(updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
type TransactionAddressSlice ¶
type TransactionAddressSlice []*TransactionAddress
TransactionAddressSlice is an alias for a slice of pointers to TransactionAddress. This should generally be used opposed to []TransactionAddress.
func (TransactionAddressSlice) DeleteAll ¶
func (o TransactionAddressSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (TransactionAddressSlice) DeleteAllG ¶
func (o TransactionAddressSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (TransactionAddressSlice) DeleteAllGP ¶
func (o TransactionAddressSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (TransactionAddressSlice) DeleteAllP ¶
func (o TransactionAddressSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*TransactionAddressSlice) ReloadAll ¶
func (o *TransactionAddressSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*TransactionAddressSlice) ReloadAllG ¶
func (o *TransactionAddressSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*TransactionAddressSlice) ReloadAllGP ¶
func (o *TransactionAddressSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*TransactionAddressSlice) ReloadAllP ¶
func (o *TransactionAddressSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (TransactionAddressSlice) UpdateAll ¶
func (o TransactionAddressSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (TransactionAddressSlice) UpdateAllG ¶
func (o TransactionAddressSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (TransactionAddressSlice) UpdateAllGP ¶
func (o TransactionAddressSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (TransactionAddressSlice) UpdateAllP ¶
func (o TransactionAddressSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type TransactionSlice ¶
type TransactionSlice []*Transaction
TransactionSlice is an alias for a slice of pointers to Transaction. This should generally be used opposed to []Transaction.
func (TransactionSlice) DeleteAll ¶
func (o TransactionSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (TransactionSlice) DeleteAllG ¶
func (o TransactionSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (TransactionSlice) DeleteAllGP ¶
func (o TransactionSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (TransactionSlice) DeleteAllP ¶
func (o TransactionSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*TransactionSlice) ReloadAll ¶
func (o *TransactionSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*TransactionSlice) ReloadAllG ¶
func (o *TransactionSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*TransactionSlice) ReloadAllGP ¶
func (o *TransactionSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*TransactionSlice) ReloadAllP ¶
func (o *TransactionSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (TransactionSlice) UpdateAll ¶
func (o TransactionSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (TransactionSlice) UpdateAllG ¶
func (o TransactionSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (TransactionSlice) UpdateAllGP ¶
func (o TransactionSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (TransactionSlice) UpdateAllP ¶
func (o TransactionSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type UnknownClaim ¶
type UnknownClaim struct { ID uint64 `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` ClaimID string `boil:"claim_id" json:"claim_id" toml:"claim_id" yaml:"claim_id"` IsUpdate bool `boil:"is_update" json:"is_update" toml:"is_update" yaml:"is_update"` BlockHash null.String `boil:"block_hash" json:"block_hash,omitempty" toml:"block_hash" yaml:"block_hash,omitempty"` TransactionHash null.String `boil:"transaction_hash" json:"transaction_hash,omitempty" toml:"transaction_hash" yaml:"transaction_hash,omitempty"` Vout uint `boil:"vout" json:"vout" toml:"vout" yaml:"vout"` OutputID uint64 `boil:"output_id" json:"output_id" toml:"output_id" yaml:"output_id"` ValueAsHex string `boil:"value_as_hex" json:"value_as_hex" toml:"value_as_hex" yaml:"value_as_hex"` ValueAsJSON null.String `boil:"value_as_json" json:"value_as_json,omitempty" toml:"value_as_json" yaml:"value_as_json,omitempty"` R *unknownClaimR `boil:"-" json:"-" toml:"-" yaml:"-"` L unknownClaimL `boil:"-" json:"-" toml:"-" yaml:"-"` }
UnknownClaim is an object representing the database table.
func FindUnknownClaim ¶
FindUnknownClaim retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindUnknownClaimG ¶
func FindUnknownClaimG(id uint64, selectCols ...string) (*UnknownClaim, error)
FindUnknownClaimG retrieves a single record by ID.
func FindUnknownClaimGP ¶
func FindUnknownClaimGP(id uint64, selectCols ...string) *UnknownClaim
FindUnknownClaimGP retrieves a single record by ID, and panics on error.
func FindUnknownClaimP ¶
func FindUnknownClaimP(exec boil.Executor, id uint64, selectCols ...string) *UnknownClaim
FindUnknownClaimP retrieves a single record by ID with an executor, and panics on error.
func (*UnknownClaim) Delete ¶
func (o *UnknownClaim) Delete(exec boil.Executor) error
Delete deletes a single UnknownClaim record with an executor. Delete will match against the primary key column to find the record to delete.
func (*UnknownClaim) DeleteG ¶
func (o *UnknownClaim) DeleteG() error
DeleteG deletes a single UnknownClaim record. DeleteG will match against the primary key column to find the record to delete.
func (*UnknownClaim) DeleteGP ¶
func (o *UnknownClaim) DeleteGP()
DeleteGP deletes a single UnknownClaim record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*UnknownClaim) DeleteP ¶
func (o *UnknownClaim) DeleteP(exec boil.Executor)
DeleteP deletes a single UnknownClaim record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*UnknownClaim) Insert ¶
func (o *UnknownClaim) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*UnknownClaim) InsertG ¶
func (o *UnknownClaim) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*UnknownClaim) InsertGP ¶
func (o *UnknownClaim) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*UnknownClaim) InsertP ¶
func (o *UnknownClaim) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*UnknownClaim) Output ¶
func (o *UnknownClaim) Output(exec boil.Executor, mods ...qm.QueryMod) outputQuery
Output pointed to by the foreign key.
func (*UnknownClaim) OutputG ¶
func (o *UnknownClaim) OutputG(mods ...qm.QueryMod) outputQuery
OutputG pointed to by the foreign key.
func (*UnknownClaim) Reload ¶
func (o *UnknownClaim) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*UnknownClaim) ReloadG ¶
func (o *UnknownClaim) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*UnknownClaim) ReloadGP ¶
func (o *UnknownClaim) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*UnknownClaim) ReloadP ¶
func (o *UnknownClaim) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*UnknownClaim) SetOutput ¶
SetOutput of the unknown_claim to the related item. Sets o.R.Output to related. Adds o to related.R.UnknownClaims.
func (*UnknownClaim) SetOutputG ¶
func (o *UnknownClaim) SetOutputG(insert bool, related *Output) error
SetOutputG of the unknown_claim to the related item. Sets o.R.Output to related. Adds o to related.R.UnknownClaims. Uses the global database handle.
func (*UnknownClaim) SetOutputGP ¶
func (o *UnknownClaim) SetOutputGP(insert bool, related *Output)
SetOutputGP of the unknown_claim to the related item. Sets o.R.Output to related. Adds o to related.R.UnknownClaims. Uses the global database handle and panics on error.
func (*UnknownClaim) SetOutputP ¶
func (o *UnknownClaim) SetOutputP(exec boil.Executor, insert bool, related *Output)
SetOutputP of the unknown_claim to the related item. Sets o.R.Output to related. Adds o to related.R.UnknownClaims. Panics on error.
func (*UnknownClaim) Update ¶
func (o *UnknownClaim) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the UnknownClaim. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*UnknownClaim) UpdateG ¶
func (o *UnknownClaim) UpdateG(whitelist ...string) error
UpdateG a single UnknownClaim record. See Update for whitelist behavior description.
func (*UnknownClaim) UpdateGP ¶
func (o *UnknownClaim) UpdateGP(whitelist ...string)
UpdateGP a single UnknownClaim record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*UnknownClaim) UpdateP ¶
func (o *UnknownClaim) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the UnknownClaim, and panics on error. See Update for whitelist behavior description.
func (*UnknownClaim) Upsert ¶
func (o *UnknownClaim) Upsert(exec boil.Executor, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*UnknownClaim) UpsertG ¶
func (o *UnknownClaim) UpsertG(updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
func (*UnknownClaim) UpsertGP ¶
func (o *UnknownClaim) UpsertGP(updateColumns []string, whitelist ...string)
UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.
type UnknownClaimSlice ¶
type UnknownClaimSlice []*UnknownClaim
UnknownClaimSlice is an alias for a slice of pointers to UnknownClaim. This should generally be used opposed to []UnknownClaim.
func (UnknownClaimSlice) DeleteAll ¶
func (o UnknownClaimSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (UnknownClaimSlice) DeleteAllG ¶
func (o UnknownClaimSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (UnknownClaimSlice) DeleteAllGP ¶
func (o UnknownClaimSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (UnknownClaimSlice) DeleteAllP ¶
func (o UnknownClaimSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*UnknownClaimSlice) ReloadAll ¶
func (o *UnknownClaimSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*UnknownClaimSlice) ReloadAllG ¶
func (o *UnknownClaimSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*UnknownClaimSlice) ReloadAllGP ¶
func (o *UnknownClaimSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*UnknownClaimSlice) ReloadAllP ¶
func (o *UnknownClaimSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (UnknownClaimSlice) UpdateAll ¶
func (o UnknownClaimSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (UnknownClaimSlice) UpdateAllG ¶
func (o UnknownClaimSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (UnknownClaimSlice) UpdateAllGP ¶
func (o UnknownClaimSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (UnknownClaimSlice) UpdateAllP ¶
func (o UnknownClaimSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.