model

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2018 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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",
}
View Source
var ApplicationStatusColumns = struct {
	ID          string
	AppVersion  string
	DataVersion string
	APIVersion  string
}{
	ID:          "id",
	AppVersion:  "app_version",
	DataVersion: "data_version",
	APIVersion:  "api_version",
}
View Source
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",
}
View Source
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",
}
View Source
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",
}
View Source
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.

View Source
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",
}
View Source
var JobStatusColumns = struct {
	JobName      string
	LastSync     string
	IsSuccess    string
	ErrorMessage string
}{
	JobName:      "job_name",
	LastSync:     "last_sync",
	IsSuccess:    "is_success",
	ErrorMessage: "error_message",
}
View Source
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",
}
View Source
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",
}
View Source
var PeerClaimColumns = struct {
	PeerID   string
	ClaimID  string
	Created  string
	LastSeen string
}{
	PeerID:   "peer_id",
	ClaimID:  "claim_id",
	Created:  "created",
	LastSeen: "last_seen",
}
View Source
var PeerColumns = struct {
	NodeID      string
	KnownIPList string
}{
	NodeID:      "node_id",
	KnownIPList: "known_i_p_list",
}
View Source
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",
}
View Source
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",
}
View Source
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",
}
View Source
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",
}
View Source
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

func AddressExists(exec boil.Executor, id uint64) (bool, error)

AddressExists checks if the Address row exists.

func AddressExistsG

func AddressExistsG(id uint64) (bool, error)

AddressExistsG checks if the Address row exists.

func AddressExistsGP

func AddressExistsGP(id uint64) bool

AddressExistsGP checks if the Address row exists. Panics on error.

func AddressExistsP

func AddressExistsP(exec boil.Executor, id uint64) bool

AddressExistsP checks if the Address row exists. Panics on error.

func Addresses

func Addresses(exec boil.Executor, mods ...qm.QueryMod) addressQuery

Addresses retrieves all the records using an executor.

func AddressesG

func AddressesG(mods ...qm.QueryMod) addressQuery

AddressesG retrieves all records.

func ApplicationStatusExists

func ApplicationStatusExists(exec boil.Executor, id uint64) (bool, error)

ApplicationStatusExists checks if the ApplicationStatus row exists.

func ApplicationStatusExistsG

func ApplicationStatusExistsG(id uint64) (bool, error)

ApplicationStatusExistsG checks if the ApplicationStatus row exists.

func ApplicationStatusExistsGP

func ApplicationStatusExistsGP(id uint64) bool

ApplicationStatusExistsGP checks if the ApplicationStatus row exists. Panics on error.

func ApplicationStatusExistsP

func ApplicationStatusExistsP(exec boil.Executor, id uint64) bool

ApplicationStatusExistsP checks if the ApplicationStatus row exists. Panics on error.

func ApplicationStatuses

func ApplicationStatuses(exec boil.Executor, mods ...qm.QueryMod) applicationStatusQuery

ApplicationStatuses retrieves all the records using an executor.

func ApplicationStatusesG

func ApplicationStatusesG(mods ...qm.QueryMod) applicationStatusQuery

ApplicationStatusesG retrieves all records.

func BlockExists

func BlockExists(exec boil.Executor, id uint64) (bool, error)

BlockExists checks if the Block row exists.

func BlockExistsG

func BlockExistsG(id uint64) (bool, error)

BlockExistsG checks if the Block row exists.

func BlockExistsGP

func BlockExistsGP(id uint64) bool

BlockExistsGP checks if the Block row exists. Panics on error.

func BlockExistsP

func BlockExistsP(exec boil.Executor, id uint64) bool

BlockExistsP checks if the Block row exists. Panics on error.

func Blocks

func Blocks(exec boil.Executor, mods ...qm.QueryMod) blockQuery

Blocks retrieves all the records using an executor.

func BlocksG

func BlocksG(mods ...qm.QueryMod) blockQuery

BlocksG retrieves all records.

func ClaimCheckpointExists added in v0.2.0

func ClaimCheckpointExists(exec boil.Executor, id uint64) (bool, error)

ClaimCheckpointExists checks if the ClaimCheckpoint row exists.

func ClaimCheckpointExistsG added in v0.2.0

func ClaimCheckpointExistsG(id uint64) (bool, error)

ClaimCheckpointExistsG checks if the ClaimCheckpoint row exists.

func ClaimCheckpointExistsGP added in v0.2.0

func ClaimCheckpointExistsGP(id uint64) bool

ClaimCheckpointExistsGP checks if the ClaimCheckpoint row exists. Panics on error.

func ClaimCheckpointExistsP added in v0.2.0

func ClaimCheckpointExistsP(exec boil.Executor, id uint64) bool

ClaimCheckpointExistsP checks if the ClaimCheckpoint row exists. Panics on error.

func ClaimCheckpoints added in v0.2.0

func ClaimCheckpoints(exec boil.Executor, mods ...qm.QueryMod) claimCheckpointQuery

ClaimCheckpoints retrieves all the records using an executor.

func ClaimCheckpointsG added in v0.2.0

func ClaimCheckpointsG(mods ...qm.QueryMod) claimCheckpointQuery

ClaimCheckpointsG retrieves all records.

func ClaimExists

func ClaimExists(exec boil.Executor, id uint64) (bool, error)

ClaimExists checks if the Claim row exists.

func ClaimExistsG

func ClaimExistsG(id uint64) (bool, error)

ClaimExistsG checks if the Claim row exists.

func ClaimExistsGP

func ClaimExistsGP(id uint64) bool

ClaimExistsGP checks if the Claim row exists. Panics on error.

func ClaimExistsP

func ClaimExistsP(exec boil.Executor, id uint64) bool

ClaimExistsP checks if the Claim row exists. Panics on error.

func Claims

func Claims(exec boil.Executor, mods ...qm.QueryMod) claimQuery

Claims retrieves all the records using an executor.

func ClaimsG

func ClaimsG(mods ...qm.QueryMod) claimQuery

ClaimsG retrieves all records.

func InputExists

func InputExists(exec boil.Executor, id uint64) (bool, error)

InputExists checks if the Input row exists.

func InputExistsG

func InputExistsG(id uint64) (bool, error)

InputExistsG checks if the Input row exists.

func InputExistsGP

func InputExistsGP(id uint64) bool

InputExistsGP checks if the Input row exists. Panics on error.

func InputExistsP

func InputExistsP(exec boil.Executor, id uint64) bool

InputExistsP checks if the Input row exists. Panics on error.

func Inputs

func Inputs(exec boil.Executor, mods ...qm.QueryMod) inputQuery

Inputs retrieves all the records using an executor.

func InputsG

func InputsG(mods ...qm.QueryMod) inputQuery

InputsG retrieves all records.

func JobStatusExists

func JobStatusExists(exec boil.Executor, jobName string) (bool, error)

JobStatusExists checks if the JobStatus row exists.

func JobStatusExistsG

func JobStatusExistsG(jobName string) (bool, error)

JobStatusExistsG checks if the JobStatus row exists.

func JobStatusExistsGP

func JobStatusExistsGP(jobName string) bool

JobStatusExistsGP checks if the JobStatus row exists. Panics on error.

func JobStatusExistsP

func JobStatusExistsP(exec boil.Executor, jobName string) bool

JobStatusExistsP checks if the JobStatus row exists. Panics on error.

func JobStatuses

func JobStatuses(exec boil.Executor, mods ...qm.QueryMod) jobStatusQuery

JobStatuses retrieves all the records using an executor.

func JobStatusesG

func JobStatusesG(mods ...qm.QueryMod) jobStatusQuery

JobStatusesG retrieves all records.

func NewQuery

func NewQuery(exec boil.Executor, mods ...qm.QueryMod) *queries.Query

NewQuery initializes a new Query using the passed in QueryMods

func NewQueryG

func NewQueryG(mods ...qm.QueryMod) *queries.Query

NewQueryG initializes a new Query using the passed in QueryMods

func OutputExists

func OutputExists(exec boil.Executor, id uint64) (bool, error)

OutputExists checks if the Output row exists.

func OutputExistsG

func OutputExistsG(id uint64) (bool, error)

OutputExistsG checks if the Output row exists.

func OutputExistsGP

func OutputExistsGP(id uint64) bool

OutputExistsGP checks if the Output row exists. Panics on error.

func OutputExistsP

func OutputExistsP(exec boil.Executor, id uint64) bool

OutputExistsP checks if the Output row exists. Panics on error.

func Outputs

func Outputs(exec boil.Executor, mods ...qm.QueryMod) outputQuery

Outputs retrieves all the records using an executor.

func OutputsG

func OutputsG(mods ...qm.QueryMod) outputQuery

OutputsG retrieves all records.

func PeerClaimCheckpointExists added in v0.2.0

func PeerClaimCheckpointExists(exec boil.Executor, id uint64) (bool, error)

PeerClaimCheckpointExists checks if the PeerClaimCheckpoint row exists.

func PeerClaimCheckpointExistsG added in v0.2.0

func PeerClaimCheckpointExistsG(id uint64) (bool, error)

PeerClaimCheckpointExistsG checks if the PeerClaimCheckpoint row exists.

func PeerClaimCheckpointExistsGP added in v0.2.0

func PeerClaimCheckpointExistsGP(id uint64) bool

PeerClaimCheckpointExistsGP checks if the PeerClaimCheckpoint row exists. Panics on error.

func PeerClaimCheckpointExistsP added in v0.2.0

func PeerClaimCheckpointExistsP(exec boil.Executor, id uint64) bool

PeerClaimCheckpointExistsP checks if the PeerClaimCheckpoint row exists. Panics on error.

func PeerClaimCheckpoints added in v0.2.0

func PeerClaimCheckpoints(exec boil.Executor, mods ...qm.QueryMod) peerClaimCheckpointQuery

PeerClaimCheckpoints retrieves all the records using an executor.

func PeerClaimCheckpointsG added in v0.2.0

func PeerClaimCheckpointsG(mods ...qm.QueryMod) peerClaimCheckpointQuery

PeerClaimCheckpointsG retrieves all records.

func PeerClaimExists added in v0.2.0

func PeerClaimExists(exec boil.Executor, peerID string, claimID string) (bool, error)

PeerClaimExists checks if the PeerClaim row exists.

func PeerClaimExistsG added in v0.2.0

func PeerClaimExistsG(peerID string, claimID string) (bool, error)

PeerClaimExistsG checks if the PeerClaim row exists.

func PeerClaimExistsGP added in v0.2.0

func PeerClaimExistsGP(peerID string, claimID string) bool

PeerClaimExistsGP checks if the PeerClaim row exists. Panics on error.

func PeerClaimExistsP added in v0.2.0

func PeerClaimExistsP(exec boil.Executor, peerID string, claimID string) bool

PeerClaimExistsP checks if the PeerClaim row exists. Panics on error.

func PeerClaims added in v0.2.0

func PeerClaims(exec boil.Executor, mods ...qm.QueryMod) peerClaimQuery

PeerClaims retrieves all the records using an executor.

func PeerClaimsG added in v0.2.0

func PeerClaimsG(mods ...qm.QueryMod) peerClaimQuery

PeerClaimsG retrieves all records.

func PeerExists added in v0.2.0

func PeerExists(exec boil.Executor, nodeID string) (bool, error)

PeerExists checks if the Peer row exists.

func PeerExistsG added in v0.2.0

func PeerExistsG(nodeID string) (bool, error)

PeerExistsG checks if the Peer row exists.

func PeerExistsGP added in v0.2.0

func PeerExistsGP(nodeID string) bool

PeerExistsGP checks if the Peer row exists. Panics on error.

func PeerExistsP added in v0.2.0

func PeerExistsP(exec boil.Executor, nodeID string) bool

PeerExistsP checks if the Peer row exists. Panics on error.

func Peers added in v0.2.0

func Peers(exec boil.Executor, mods ...qm.QueryMod) peerQuery

Peers retrieves all the records using an executor.

func PeersG added in v0.2.0

func PeersG(mods ...qm.QueryMod) peerQuery

PeersG retrieves all records.

func SupportExists

func SupportExists(exec boil.Executor, id uint64) (bool, error)

SupportExists checks if the Support row exists.

func SupportExistsG

func SupportExistsG(id uint64) (bool, error)

SupportExistsG checks if the Support row exists.

func SupportExistsGP

func SupportExistsGP(id uint64) bool

SupportExistsGP checks if the Support row exists. Panics on error.

func SupportExistsP

func SupportExistsP(exec boil.Executor, id uint64) bool

SupportExistsP checks if the Support row exists. Panics on error.

func Supports

func Supports(exec boil.Executor, mods ...qm.QueryMod) supportQuery

Supports retrieves all the records using an executor.

func SupportsG

func SupportsG(mods ...qm.QueryMod) supportQuery

SupportsG retrieves all records.

func TransactionAddressExists

func TransactionAddressExists(exec boil.Executor, transactionID uint64, addressID uint64) (bool, error)

TransactionAddressExists checks if the TransactionAddress row exists.

func TransactionAddressExistsG

func TransactionAddressExistsG(transactionID uint64, addressID uint64) (bool, error)

TransactionAddressExistsG checks if the TransactionAddress row exists.

func TransactionAddressExistsGP

func TransactionAddressExistsGP(transactionID uint64, addressID uint64) bool

TransactionAddressExistsGP checks if the TransactionAddress row exists. Panics on error.

func TransactionAddressExistsP

func TransactionAddressExistsP(exec boil.Executor, transactionID uint64, addressID uint64) bool

TransactionAddressExistsP checks if the TransactionAddress row exists. Panics on error.

func TransactionAddresses

func TransactionAddresses(exec boil.Executor, mods ...qm.QueryMod) transactionAddressQuery

TransactionAddresses retrieves all the records using an executor.

func TransactionAddressesG

func TransactionAddressesG(mods ...qm.QueryMod) transactionAddressQuery

TransactionAddressesG retrieves all records.

func TransactionExists

func TransactionExists(exec boil.Executor, id uint64) (bool, error)

TransactionExists checks if the Transaction row exists.

func TransactionExistsG

func TransactionExistsG(id uint64) (bool, error)

TransactionExistsG checks if the Transaction row exists.

func TransactionExistsGP

func TransactionExistsGP(id uint64) bool

TransactionExistsGP checks if the Transaction row exists. Panics on error.

func TransactionExistsP

func TransactionExistsP(exec boil.Executor, id uint64) bool

TransactionExistsP checks if the Transaction row exists. Panics on error.

func Transactions

func Transactions(exec boil.Executor, mods ...qm.QueryMod) transactionQuery

Transactions retrieves all the records using an executor.

func TransactionsG

func TransactionsG(mods ...qm.QueryMod) transactionQuery

TransactionsG retrieves all records.

func UnknownClaimExists

func UnknownClaimExists(exec boil.Executor, id uint64) (bool, error)

UnknownClaimExists checks if the UnknownClaim row exists.

func UnknownClaimExistsG

func UnknownClaimExistsG(id uint64) (bool, error)

UnknownClaimExistsG checks if the UnknownClaim row exists.

func UnknownClaimExistsGP

func UnknownClaimExistsGP(id uint64) bool

UnknownClaimExistsGP checks if the UnknownClaim row exists. Panics on error.

func UnknownClaimExistsP

func UnknownClaimExistsP(exec boil.Executor, id uint64) bool

UnknownClaimExistsP checks if the UnknownClaim row exists. Panics on error.

func UnknownClaims

func UnknownClaims(exec boil.Executor, mods ...qm.QueryMod) unknownClaimQuery

UnknownClaims retrieves all the records using an executor.

func UnknownClaimsG

func UnknownClaimsG(mods ...qm.QueryMod) unknownClaimQuery

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

func FindAddress(exec boil.Executor, id uint64, selectCols ...string) (*Address, error)

FindAddress retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindAddressG

func FindAddressG(id uint64, selectCols ...string) (*Address, error)

FindAddressG retrieves a single record by ID.

func FindAddressGP

func FindAddressGP(id uint64, selectCols ...string) *Address

FindAddressGP retrieves a single record by ID, and panics on error.

func FindAddressP

func FindAddressP(exec boil.Executor, id uint64, selectCols ...string) *Address

FindAddressP retrieves a single record by ID with an executor, and panics on error.

func (*Address) AddInputAddressInputs

func (o *Address) AddInputAddressInputs(exec boil.Executor, insert bool, related ...*Input) error

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

func (o *Address) AddInputAddressInputsG(insert bool, related ...*Input) error

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

func (o *Address) AddInputAddressInputsGP(insert bool, related ...*Input)

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

func (o *Address) AddInputAddressInputsP(exec boil.Executor, insert bool, related ...*Input)

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

func (o *Address) AddInputs(exec boil.Executor, insert bool, related ...*Input) error

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

func (o *Address) AddInputsG(insert bool, related ...*Input) error

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

func (o *Address) AddInputsGP(insert bool, related ...*Input)

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

func (o *Address) AddInputsP(exec boil.Executor, insert bool, related ...*Input)

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

func (o *Address) AddOutputs(exec boil.Executor, insert bool, related ...*Output) error

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

func (o *Address) AddOutputsG(insert bool, related ...*Output) error

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

func (o *Address) AddOutputsGP(insert bool, related ...*Output)

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

func (o *Address) AddOutputsP(exec boil.Executor, insert bool, related ...*Output)

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

func (o *Address) Delete(exec boil.Executor) error

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

func (o *Address) DeleteG() error

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

func (o *Address) DeleteP(exec boil.Executor)

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

func (o *Address) InputAddressInputs(exec boil.Executor, mods ...qm.QueryMod) inputQuery

InputAddressInputs retrieves all the input's input with an executor via input_address_id column.

func (*Address) InputAddressInputsG

func (o *Address) InputAddressInputsG(mods ...qm.QueryMod) inputQuery

InputAddressInputsG retrieves all the input's input via input_address_id column.

func (*Address) Inputs

func (o *Address) Inputs(exec boil.Executor, mods ...qm.QueryMod) inputQuery

Inputs retrieves all the input's input with an executor.

func (*Address) InputsG

func (o *Address) InputsG(mods ...qm.QueryMod) inputQuery

InputsG retrieves all the input's input.

func (*Address) Insert

func (o *Address) 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 (*Address) InsertG

func (o *Address) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Address) InsertGP

func (o *Address) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Address) InsertP

func (o *Address) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Address) Outputs

func (o *Address) Outputs(exec boil.Executor, mods ...qm.QueryMod) outputQuery

Outputs retrieves all the output's output with an executor.

func (*Address) OutputsG

func (o *Address) OutputsG(mods ...qm.QueryMod) outputQuery

OutputsG retrieves all the output's output.

func (*Address) Reload

func (o *Address) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Address) ReloadG

func (o *Address) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Address) ReloadGP

func (o *Address) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Address) ReloadP

func (o *Address) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Address) RemoveInputAddressInputs

func (o *Address) RemoveInputAddressInputs(exec boil.Executor, related ...*Input) error

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

func (o *Address) RemoveInputAddressInputsG(related ...*Input) error

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

func (o *Address) RemoveInputAddressInputsGP(related ...*Input)

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

func (o *Address) RemoveInputAddressInputsP(exec boil.Executor, related ...*Input)

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

func (o *Address) RemoveInputs(exec boil.Executor, related ...*Input) error

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

func (o *Address) RemoveInputsG(related ...*Input) error

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

func (o *Address) RemoveInputsGP(related ...*Input)

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

func (o *Address) RemoveInputsP(exec boil.Executor, related ...*Input)

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

func (o *Address) RemoveOutputs(exec boil.Executor, related ...*Output) error

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

func (o *Address) RemoveOutputsG(related ...*Output) error

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

func (o *Address) RemoveOutputsGP(related ...*Output)

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

func (o *Address) RemoveOutputsP(exec boil.Executor, related ...*Output)

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

func (o *Address) SetInputAddressInputs(exec boil.Executor, insert bool, related ...*Input) error

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

func (o *Address) SetInputAddressInputsG(insert bool, related ...*Input) error

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

func (o *Address) SetInputAddressInputsGP(insert bool, related ...*Input)

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

func (o *Address) SetInputAddressInputsP(exec boil.Executor, insert bool, related ...*Input)

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

func (o *Address) SetInputs(exec boil.Executor, insert bool, related ...*Input) error

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

func (o *Address) SetInputsG(insert bool, related ...*Input) error

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

func (o *Address) SetInputsGP(insert bool, related ...*Input)

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

func (o *Address) SetInputsP(exec boil.Executor, insert bool, related ...*Input)

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

func (o *Address) SetOutputs(exec boil.Executor, insert bool, related ...*Output) error

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

func (o *Address) SetOutputsG(insert bool, related ...*Output) error

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

func (o *Address) SetOutputsGP(insert bool, related ...*Output)

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

func (o *Address) SetOutputsP(exec boil.Executor, insert bool, related ...*Output)

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

func (o *Address) TransactionAddressesG(mods ...qm.QueryMod) transactionAddressQuery

TransactionAddressesG retrieves all the transaction_address's transaction address.

func (*Address) Update

func (o *Address) Update(exec boil.Executor, whitelist ...string) error

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

func (o *Address) UpdateG(whitelist ...string) error

UpdateG a single Address record. See Update for whitelist behavior description.

func (*Address) UpdateGP

func (o *Address) UpdateGP(whitelist ...string)

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

func (o *Address) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Address, and panics on error. See Update for whitelist behavior description.

func (*Address) Upsert

func (o *Address) 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 (*Address) UpsertG

func (o *Address) UpsertG(updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Address) UpsertGP

func (o *Address) UpsertGP(updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Address) UpsertP

func (o *Address) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

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.

func (*ApplicationStatus) UpsertP

func (o *ApplicationStatus) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP 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

func FindBlock(exec boil.Executor, id uint64, selectCols ...string) (*Block, error)

FindBlock retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindBlockG

func FindBlockG(id uint64, selectCols ...string) (*Block, error)

FindBlockG retrieves a single record by ID.

func FindBlockGP

func FindBlockGP(id uint64, selectCols ...string) *Block

FindBlockGP retrieves a single record by ID, and panics on error.

func FindBlockP

func FindBlockP(exec boil.Executor, id uint64, selectCols ...string) *Block

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

func (o *Block) BlockByHashTransactions(exec boil.Executor, mods ...qm.QueryMod) transactionQuery

BlockByHashTransactions retrieves all the transaction's transaction with an executor via block_by_hash_id column.

func (*Block) BlockByHashTransactionsG

func (o *Block) BlockByHashTransactionsG(mods ...qm.QueryMod) transactionQuery

BlockByHashTransactionsG retrieves all the transaction's transaction via block_by_hash_id column.

func (*Block) Delete

func (o *Block) Delete(exec boil.Executor) error

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

func (o *Block) DeleteG() error

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

func (o *Block) DeleteP(exec boil.Executor)

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

func (o *Block) 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 (*Block) InsertG

func (o *Block) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Block) InsertGP

func (o *Block) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Block) InsertP

func (o *Block) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Block) Reload

func (o *Block) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Block) ReloadG

func (o *Block) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Block) ReloadGP

func (o *Block) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Block) ReloadP

func (o *Block) ReloadP(exec boil.Executor)

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

func (o *Block) Update(exec boil.Executor, whitelist ...string) error

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

func (o *Block) UpdateG(whitelist ...string) error

UpdateG a single Block record. See Update for whitelist behavior description.

func (*Block) UpdateGP

func (o *Block) UpdateGP(whitelist ...string)

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

func (o *Block) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Block, and panics on error. See Update for whitelist behavior description.

func (*Block) Upsert

func (o *Block) 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 (*Block) UpsertG

func (o *Block) UpsertG(updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Block) UpsertGP

func (o *Block) UpsertGP(updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Block) UpsertP

func (o *Block) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

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

func FindClaim(exec boil.Executor, id uint64, selectCols ...string) (*Claim, error)

FindClaim retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindClaimG

func FindClaimG(id uint64, selectCols ...string) (*Claim, error)

FindClaimG retrieves a single record by ID.

func FindClaimGP

func FindClaimGP(id uint64, selectCols ...string) *Claim

FindClaimGP retrieves a single record by ID, and panics on error.

func FindClaimP

func FindClaimP(exec boil.Executor, id uint64, selectCols ...string) *Claim

FindClaimP retrieves a single record by ID with an executor, and panics on error.

func (*Claim) AddOutputs

func (o *Claim) AddOutputs(exec boil.Executor, insert bool, related ...*Output) error

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

func (o *Claim) AddOutputsG(insert bool, related ...*Output) error

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

func (o *Claim) AddOutputsGP(insert bool, related ...*Output)

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

func (o *Claim) AddOutputsP(exec boil.Executor, insert bool, related ...*Output)

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

func (o *Claim) AddPublisherClaims(exec boil.Executor, insert bool, related ...*Claim) error

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

func (o *Claim) AddPublisherClaimsG(insert bool, related ...*Claim) error

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

func (o *Claim) AddPublisherClaimsGP(insert bool, related ...*Claim)

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

func (o *Claim) AddPublisherClaimsP(exec boil.Executor, insert bool, related ...*Claim)

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

func (o *Claim) AddSupportedClaimSupportsG(insert bool, related ...*Support) error

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

func (o *Claim) AddSupportedClaimSupportsGP(insert bool, related ...*Support)

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

func (o *Claim) AddSupportedClaimSupportsP(exec boil.Executor, insert bool, related ...*Support)

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

func (o *Claim) Delete(exec boil.Executor) error

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

func (o *Claim) DeleteG() error

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

func (o *Claim) DeleteP(exec boil.Executor)

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

func (o *Claim) 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 (*Claim) InsertG

func (o *Claim) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Claim) InsertGP

func (o *Claim) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Claim) InsertP

func (o *Claim) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Claim) Outputs

func (o *Claim) Outputs(exec boil.Executor, mods ...qm.QueryMod) outputQuery

Outputs retrieves all the output's output with an executor.

func (*Claim) OutputsG

func (o *Claim) OutputsG(mods ...qm.QueryMod) outputQuery

OutputsG retrieves all the output's output.

func (*Claim) Publisher

func (o *Claim) Publisher(exec boil.Executor, mods ...qm.QueryMod) claimQuery

Publisher pointed to by the foreign key.

func (*Claim) PublisherClaims

func (o *Claim) PublisherClaims(exec boil.Executor, mods ...qm.QueryMod) claimQuery

PublisherClaims retrieves all the claim's claim with an executor via publisher_id column.

func (*Claim) PublisherClaimsG

func (o *Claim) PublisherClaimsG(mods ...qm.QueryMod) claimQuery

PublisherClaimsG retrieves all the claim's claim via publisher_id column.

func (*Claim) PublisherG

func (o *Claim) PublisherG(mods ...qm.QueryMod) claimQuery

PublisherG pointed to by the foreign key.

func (*Claim) Reload

func (o *Claim) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Claim) ReloadG

func (o *Claim) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Claim) ReloadGP

func (o *Claim) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Claim) ReloadP

func (o *Claim) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Claim) RemoveOutputs

func (o *Claim) RemoveOutputs(exec boil.Executor, related ...*Output) error

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

func (o *Claim) RemoveOutputsG(related ...*Output) error

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

func (o *Claim) RemoveOutputsGP(related ...*Output)

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

func (o *Claim) RemoveOutputsP(exec boil.Executor, related ...*Output)

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

func (o *Claim) RemovePublisher(exec boil.Executor, related *Claim) error

RemovePublisher relationship. Sets o.R.Publisher to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*Claim) RemovePublisherClaims

func (o *Claim) RemovePublisherClaims(exec boil.Executor, related ...*Claim) error

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

func (o *Claim) RemovePublisherClaimsG(related ...*Claim) error

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

func (o *Claim) RemovePublisherClaimsGP(related ...*Claim)

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

func (o *Claim) RemovePublisherClaimsP(exec boil.Executor, related ...*Claim)

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

func (o *Claim) RemovePublisherG(related *Claim) error

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

func (o *Claim) RemovePublisherGP(related *Claim)

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

func (o *Claim) RemovePublisherP(exec boil.Executor, related *Claim)

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

func (o *Claim) SetOutputs(exec boil.Executor, insert bool, related ...*Output) error

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

func (o *Claim) SetOutputsG(insert bool, related ...*Output) error

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

func (o *Claim) SetOutputsGP(insert bool, related ...*Output)

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

func (o *Claim) SetOutputsP(exec boil.Executor, insert bool, related ...*Output)

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

func (o *Claim) SetPublisher(exec boil.Executor, insert bool, related *Claim) error

SetPublisher of the claim to the related item. Sets o.R.Publisher to related. Adds o to related.R.PublisherClaims.

func (*Claim) SetPublisherClaims

func (o *Claim) SetPublisherClaims(exec boil.Executor, insert bool, related ...*Claim) error

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

func (o *Claim) SetPublisherClaimsG(insert bool, related ...*Claim) error

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

func (o *Claim) SetPublisherClaimsGP(insert bool, related ...*Claim)

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

func (o *Claim) SetPublisherClaimsP(exec boil.Executor, insert bool, related ...*Claim)

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

func (o *Claim) SetPublisherG(insert bool, related *Claim) error

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

func (o *Claim) SetPublisherGP(insert bool, related *Claim)

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

func (o *Claim) SetPublisherP(exec boil.Executor, insert bool, related *Claim)

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

func (o *Claim) SetTransactionByHash(exec boil.Executor, insert bool, related *Transaction) error

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

func (o *Claim) SupportedClaimSupports(exec boil.Executor, mods ...qm.QueryMod) supportQuery

SupportedClaimSupports retrieves all the support's support with an executor via supported_claim_id column.

func (*Claim) SupportedClaimSupportsG

func (o *Claim) SupportedClaimSupportsG(mods ...qm.QueryMod) supportQuery

SupportedClaimSupportsG retrieves all the support's support via supported_claim_id column.

func (*Claim) TransactionByHash

func (o *Claim) TransactionByHash(exec boil.Executor, mods ...qm.QueryMod) transactionQuery

TransactionByHash pointed to by the foreign key.

func (*Claim) TransactionByHashG

func (o *Claim) TransactionByHashG(mods ...qm.QueryMod) transactionQuery

TransactionByHashG pointed to by the foreign key.

func (*Claim) Update

func (o *Claim) Update(exec boil.Executor, whitelist ...string) error

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

func (o *Claim) UpdateG(whitelist ...string) error

UpdateG a single Claim record. See Update for whitelist behavior description.

func (*Claim) UpdateGP

func (o *Claim) UpdateGP(whitelist ...string)

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

func (o *Claim) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Claim, and panics on error. See Update for whitelist behavior description.

func (*Claim) Upsert

func (o *Claim) 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 (*Claim) UpsertG

func (o *Claim) UpsertG(updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Claim) UpsertGP

func (o *Claim) UpsertGP(updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Claim) UpsertP

func (o *Claim) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

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.

func (*ClaimCheckpoint) UpsertP added in v0.2.0

func (o *ClaimCheckpoint) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP 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

func FindInput(exec boil.Executor, id uint64, selectCols ...string) (*Input, error)

FindInput retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindInputG

func FindInputG(id uint64, selectCols ...string) (*Input, error)

FindInputG retrieves a single record by ID.

func FindInputGP

func FindInputGP(id uint64, selectCols ...string) *Input

FindInputGP retrieves a single record by ID, and panics on error.

func FindInputP

func FindInputP(exec boil.Executor, id uint64, selectCols ...string) *Input

FindInputP retrieves a single record by ID with an executor, and panics on error.

func (*Input) AddAddresses

func (o *Input) AddAddresses(exec boil.Executor, insert bool, related ...*Address) error

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

func (o *Input) AddAddressesG(insert bool, related ...*Address) error

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

func (o *Input) AddAddressesGP(insert bool, related ...*Address)

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

func (o *Input) AddAddressesP(exec boil.Executor, insert bool, related ...*Address)

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

func (o *Input) AddSpentByInputOutputs(exec boil.Executor, insert bool, related ...*Output) error

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

func (o *Input) AddSpentByInputOutputsG(insert bool, related ...*Output) error

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

func (o *Input) AddSpentByInputOutputsGP(insert bool, related ...*Output)

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

func (o *Input) AddSpentByInputOutputsP(exec boil.Executor, insert bool, related ...*Output)

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) Addresses

func (o *Input) Addresses(exec boil.Executor, mods ...qm.QueryMod) addressQuery

Addresses retrieves all the address's address with an executor.

func (*Input) AddressesG

func (o *Input) AddressesG(mods ...qm.QueryMod) addressQuery

AddressesG retrieves all the address's address.

func (*Input) Delete

func (o *Input) Delete(exec boil.Executor) error

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

func (o *Input) DeleteG() error

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

func (o *Input) DeleteP(exec boil.Executor)

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

func (o *Input) InputAddress(exec boil.Executor, mods ...qm.QueryMod) addressQuery

InputAddress pointed to by the foreign key.

func (*Input) InputAddressG

func (o *Input) InputAddressG(mods ...qm.QueryMod) addressQuery

InputAddressG pointed to by the foreign key.

func (*Input) Insert

func (o *Input) 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 (*Input) InsertG

func (o *Input) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Input) InsertGP

func (o *Input) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Input) InsertP

func (o *Input) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Input) Reload

func (o *Input) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Input) ReloadG

func (o *Input) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Input) ReloadGP

func (o *Input) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Input) ReloadP

func (o *Input) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Input) RemoveAddresses

func (o *Input) RemoveAddresses(exec boil.Executor, related ...*Address) error

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

func (o *Input) RemoveAddressesG(related ...*Address) error

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

func (o *Input) RemoveAddressesGP(related ...*Address)

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

func (o *Input) RemoveAddressesP(exec boil.Executor, related ...*Address)

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

func (o *Input) RemoveInputAddress(exec boil.Executor, related *Address) error

RemoveInputAddress relationship. Sets o.R.InputAddress to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*Input) RemoveInputAddressG

func (o *Input) RemoveInputAddressG(related *Address) error

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

func (o *Input) RemoveInputAddressGP(related *Address)

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

func (o *Input) RemoveInputAddressP(exec boil.Executor, related *Address)

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

func (o *Input) RemoveSpentByInputOutputs(exec boil.Executor, related ...*Output) error

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

func (o *Input) RemoveSpentByInputOutputsG(related ...*Output) error

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

func (o *Input) RemoveSpentByInputOutputsGP(related ...*Output)

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

func (o *Input) RemoveSpentByInputOutputsP(exec boil.Executor, related ...*Output)

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

func (o *Input) SetAddresses(exec boil.Executor, insert bool, related ...*Address) error

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

func (o *Input) SetAddressesG(insert bool, related ...*Address) error

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

func (o *Input) SetAddressesGP(insert bool, related ...*Address)

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

func (o *Input) SetAddressesP(exec boil.Executor, insert bool, related ...*Address)

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

func (o *Input) SetInputAddress(exec boil.Executor, insert bool, related *Address) error

SetInputAddress of the input to the related item. Sets o.R.InputAddress to related. Adds o to related.R.InputAddressInputs.

func (*Input) SetInputAddressG

func (o *Input) SetInputAddressG(insert bool, related *Address) error

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

func (o *Input) SetInputAddressGP(insert bool, related *Address)

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

func (o *Input) SetInputAddressP(exec boil.Executor, insert bool, related *Address)

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

func (o *Input) SetSpentByInputOutputs(exec boil.Executor, insert bool, related ...*Output) error

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

func (o *Input) SetSpentByInputOutputsG(insert bool, related ...*Output) error

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

func (o *Input) SetSpentByInputOutputsGP(insert bool, related ...*Output)

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

func (o *Input) SetSpentByInputOutputsP(exec boil.Executor, insert bool, related ...*Output)

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

func (o *Input) SetTransaction(exec boil.Executor, insert bool, related *Transaction) error

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

func (o *Input) SpentByInputOutputs(exec boil.Executor, mods ...qm.QueryMod) outputQuery

SpentByInputOutputs retrieves all the output's output with an executor via spent_by_input_id column.

func (*Input) SpentByInputOutputsG

func (o *Input) SpentByInputOutputsG(mods ...qm.QueryMod) outputQuery

SpentByInputOutputsG retrieves all the output's output via spent_by_input_id column.

func (*Input) Transaction

func (o *Input) Transaction(exec boil.Executor, mods ...qm.QueryMod) transactionQuery

Transaction pointed to by the foreign key.

func (*Input) TransactionG

func (o *Input) TransactionG(mods ...qm.QueryMod) transactionQuery

TransactionG pointed to by the foreign key.

func (*Input) Update

func (o *Input) Update(exec boil.Executor, whitelist ...string) error

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

func (o *Input) UpdateG(whitelist ...string) error

UpdateG a single Input record. See Update for whitelist behavior description.

func (*Input) UpdateGP

func (o *Input) UpdateGP(whitelist ...string)

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

func (o *Input) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Input, and panics on error. See Update for whitelist behavior description.

func (*Input) Upsert

func (o *Input) 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 (*Input) UpsertG

func (o *Input) UpsertG(updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Input) UpsertGP

func (o *Input) UpsertGP(updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Input) UpsertP

func (o *Input) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

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

func FindJobStatus(exec boil.Executor, jobName string, selectCols ...string) (*JobStatus, error)

FindJobStatus retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindJobStatusG

func FindJobStatusG(jobName string, selectCols ...string) (*JobStatus, error)

FindJobStatusG retrieves a single record by ID.

func FindJobStatusGP

func FindJobStatusGP(jobName string, selectCols ...string) *JobStatus

FindJobStatusGP retrieves a single record by ID, and panics on error.

func FindJobStatusP

func FindJobStatusP(exec boil.Executor, jobName string, selectCols ...string) *JobStatus

FindJobStatusP retrieves a single record by ID with an executor, and panics on error.

func (*JobStatus) Delete

func (o *JobStatus) Delete(exec boil.Executor) error

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

func (o *JobStatus) DeleteG() error

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

func (o *JobStatus) DeleteP(exec boil.Executor)

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

func (o *JobStatus) 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 (*JobStatus) InsertG

func (o *JobStatus) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*JobStatus) InsertGP

func (o *JobStatus) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*JobStatus) InsertP

func (o *JobStatus) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*JobStatus) Reload

func (o *JobStatus) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*JobStatus) ReloadG

func (o *JobStatus) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*JobStatus) ReloadGP

func (o *JobStatus) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*JobStatus) ReloadP

func (o *JobStatus) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*JobStatus) Update

func (o *JobStatus) Update(exec boil.Executor, whitelist ...string) error

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

func (o *JobStatus) UpdateG(whitelist ...string) error

UpdateG a single JobStatus record. See Update for whitelist behavior description.

func (*JobStatus) UpdateGP

func (o *JobStatus) UpdateGP(whitelist ...string)

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

func (o *JobStatus) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the JobStatus, and panics on error. See Update for whitelist behavior description.

func (*JobStatus) Upsert

func (o *JobStatus) 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 (*JobStatus) UpsertG

func (o *JobStatus) UpsertG(updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*JobStatus) UpsertGP

func (o *JobStatus) UpsertGP(updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*JobStatus) UpsertP

func (o *JobStatus) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

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

func FindOutput(exec boil.Executor, id uint64, selectCols ...string) (*Output, error)

FindOutput retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindOutputG

func FindOutputG(id uint64, selectCols ...string) (*Output, error)

FindOutputG retrieves a single record by ID.

func FindOutputGP

func FindOutputGP(id uint64, selectCols ...string) *Output

FindOutputGP retrieves a single record by ID, and panics on error.

func FindOutputP

func FindOutputP(exec boil.Executor, id uint64, selectCols ...string) *Output

FindOutputP retrieves a single record by ID with an executor, and panics on error.

func (*Output) AddAddresses

func (o *Output) AddAddresses(exec boil.Executor, insert bool, related ...*Address) error

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

func (o *Output) AddAddressesG(insert bool, related ...*Address) error

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

func (o *Output) AddAddressesGP(insert bool, related ...*Address)

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

func (o *Output) AddAddressesP(exec boil.Executor, insert bool, related ...*Address)

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

func (o *Output) AddUnknownClaims(exec boil.Executor, insert bool, related ...*UnknownClaim) error

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) Addresses

func (o *Output) Addresses(exec boil.Executor, mods ...qm.QueryMod) addressQuery

Addresses retrieves all the address's address with an executor.

func (*Output) AddressesG

func (o *Output) AddressesG(mods ...qm.QueryMod) addressQuery

AddressesG retrieves all the address's address.

func (*Output) Claim

func (o *Output) Claim(exec boil.Executor, mods ...qm.QueryMod) claimQuery

Claim pointed to by the foreign key.

func (*Output) ClaimG

func (o *Output) ClaimG(mods ...qm.QueryMod) claimQuery

ClaimG pointed to by the foreign key.

func (*Output) Delete

func (o *Output) Delete(exec boil.Executor) error

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

func (o *Output) DeleteG() error

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

func (o *Output) DeleteP(exec boil.Executor)

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

func (o *Output) 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 (*Output) InsertG

func (o *Output) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Output) InsertGP

func (o *Output) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Output) InsertP

func (o *Output) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Output) Reload

func (o *Output) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Output) ReloadG

func (o *Output) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Output) ReloadGP

func (o *Output) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Output) ReloadP

func (o *Output) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Output) RemoveAddresses

func (o *Output) RemoveAddresses(exec boil.Executor, related ...*Address) error

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

func (o *Output) RemoveAddressesG(related ...*Address) error

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

func (o *Output) RemoveAddressesGP(related ...*Address)

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

func (o *Output) RemoveAddressesP(exec boil.Executor, related ...*Address)

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

func (o *Output) RemoveClaim(exec boil.Executor, related *Claim) error

RemoveClaim relationship. Sets o.R.Claim to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*Output) RemoveClaimG

func (o *Output) RemoveClaimG(related *Claim) error

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

func (o *Output) RemoveClaimGP(related *Claim)

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

func (o *Output) RemoveClaimP(exec boil.Executor, related *Claim)

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

func (o *Output) RemoveSpentByInput(exec boil.Executor, related *Input) error

RemoveSpentByInput relationship. Sets o.R.SpentByInput to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*Output) RemoveSpentByInputG

func (o *Output) RemoveSpentByInputG(related *Input) error

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

func (o *Output) RemoveSpentByInputGP(related *Input)

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

func (o *Output) RemoveSpentByInputP(exec boil.Executor, related *Input)

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

func (o *Output) SetAddresses(exec boil.Executor, insert bool, related ...*Address) error

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

func (o *Output) SetAddressesG(insert bool, related ...*Address) error

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

func (o *Output) SetAddressesGP(insert bool, related ...*Address)

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

func (o *Output) SetAddressesP(exec boil.Executor, insert bool, related ...*Address)

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

func (o *Output) SetClaim(exec boil.Executor, insert bool, related *Claim) error

SetClaim of the output to the related item. Sets o.R.Claim to related. Adds o to related.R.Outputs.

func (*Output) SetClaimG

func (o *Output) SetClaimG(insert bool, related *Claim) error

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

func (o *Output) SetClaimGP(insert bool, related *Claim)

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

func (o *Output) SetClaimP(exec boil.Executor, insert bool, related *Claim)

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

func (o *Output) SetSpentByInput(exec boil.Executor, insert bool, related *Input) error

SetSpentByInput of the output to the related item. Sets o.R.SpentByInput to related. Adds o to related.R.SpentByInputOutputs.

func (*Output) SetSpentByInputG

func (o *Output) SetSpentByInputG(insert bool, related *Input) error

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

func (o *Output) SetSpentByInputGP(insert bool, related *Input)

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

func (o *Output) SetSpentByInputP(exec boil.Executor, insert bool, related *Input)

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

func (o *Output) SetTransaction(exec boil.Executor, insert bool, related *Transaction) error

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

func (o *Output) SpentByInput(exec boil.Executor, mods ...qm.QueryMod) inputQuery

SpentByInput pointed to by the foreign key.

func (*Output) SpentByInputG

func (o *Output) SpentByInputG(mods ...qm.QueryMod) inputQuery

SpentByInputG pointed to by the foreign key.

func (*Output) Transaction

func (o *Output) Transaction(exec boil.Executor, mods ...qm.QueryMod) transactionQuery

Transaction pointed to by the foreign key.

func (*Output) TransactionG

func (o *Output) TransactionG(mods ...qm.QueryMod) transactionQuery

TransactionG pointed to by the foreign key.

func (*Output) UnknownClaims

func (o *Output) UnknownClaims(exec boil.Executor, mods ...qm.QueryMod) unknownClaimQuery

UnknownClaims retrieves all the unknown_claim's unknown claim with an executor.

func (*Output) UnknownClaimsG

func (o *Output) UnknownClaimsG(mods ...qm.QueryMod) unknownClaimQuery

UnknownClaimsG retrieves all the unknown_claim's unknown claim.

func (*Output) Update

func (o *Output) Update(exec boil.Executor, whitelist ...string) error

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

func (o *Output) UpdateG(whitelist ...string) error

UpdateG a single Output record. See Update for whitelist behavior description.

func (*Output) UpdateGP

func (o *Output) UpdateGP(whitelist ...string)

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

func (o *Output) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Output, and panics on error. See Update for whitelist behavior description.

func (*Output) Upsert

func (o *Output) 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 (*Output) UpsertG

func (o *Output) UpsertG(updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Output) UpsertGP

func (o *Output) UpsertGP(updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Output) UpsertP

func (o *Output) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

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

func FindPeer(exec boil.Executor, nodeID string, selectCols ...string) (*Peer, error)

FindPeer retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindPeerG added in v0.2.0

func FindPeerG(nodeID string, selectCols ...string) (*Peer, error)

FindPeerG retrieves a single record by ID.

func FindPeerGP added in v0.2.0

func FindPeerGP(nodeID string, selectCols ...string) *Peer

FindPeerGP retrieves a single record by ID, and panics on error.

func FindPeerP added in v0.2.0

func FindPeerP(exec boil.Executor, nodeID string, selectCols ...string) *Peer

FindPeerP retrieves a single record by ID with an executor, and panics on error.

func (*Peer) Delete added in v0.2.0

func (o *Peer) Delete(exec boil.Executor) error

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

func (o *Peer) DeleteG() error

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

func (o *Peer) DeleteP(exec boil.Executor)

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

func (o *Peer) 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 (*Peer) InsertG added in v0.2.0

func (o *Peer) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Peer) InsertGP added in v0.2.0

func (o *Peer) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Peer) InsertP added in v0.2.0

func (o *Peer) InsertP(exec boil.Executor, whitelist ...string)

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

func (o *Peer) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Peer) ReloadG added in v0.2.0

func (o *Peer) ReloadG() error

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

func (o *Peer) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Peer) Update added in v0.2.0

func (o *Peer) Update(exec boil.Executor, whitelist ...string) error

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

func (o *Peer) UpdateG(whitelist ...string) error

UpdateG a single Peer record. See Update for whitelist behavior description.

func (*Peer) UpdateGP added in v0.2.0

func (o *Peer) UpdateGP(whitelist ...string)

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

func (o *Peer) UpdateP(exec boil.Executor, whitelist ...string)

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

func (o *Peer) 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 (*Peer) UpsertG added in v0.2.0

func (o *Peer) UpsertG(updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Peer) UpsertGP added in v0.2.0

func (o *Peer) UpsertGP(updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Peer) UpsertP added in v0.2.0

func (o *Peer) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

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

func FindPeerClaimG(peerID string, claimID string, selectCols ...string) (*PeerClaim, error)

FindPeerClaimG retrieves a single record by ID.

func FindPeerClaimGP added in v0.2.0

func FindPeerClaimGP(peerID string, claimID string, selectCols ...string) *PeerClaim

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

func (o *PeerClaim) Delete(exec boil.Executor) error

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

func (o *PeerClaim) DeleteG() error

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

func (o *PeerClaim) DeleteP(exec boil.Executor)

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

func (o *PeerClaim) 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 (*PeerClaim) InsertG added in v0.2.0

func (o *PeerClaim) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*PeerClaim) InsertGP added in v0.2.0

func (o *PeerClaim) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*PeerClaim) InsertP added in v0.2.0

func (o *PeerClaim) InsertP(exec boil.Executor, whitelist ...string)

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

func (o *PeerClaim) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*PeerClaim) ReloadG added in v0.2.0

func (o *PeerClaim) ReloadG() error

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

func (o *PeerClaim) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*PeerClaim) Update added in v0.2.0

func (o *PeerClaim) Update(exec boil.Executor, whitelist ...string) error

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

func (o *PeerClaim) UpdateG(whitelist ...string) error

UpdateG a single PeerClaim record. See Update for whitelist behavior description.

func (*PeerClaim) UpdateGP added in v0.2.0

func (o *PeerClaim) UpdateGP(whitelist ...string)

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

func (o *PeerClaim) UpdateP(exec boil.Executor, whitelist ...string)

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

func (o *PeerClaim) 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 (*PeerClaim) UpsertG added in v0.2.0

func (o *PeerClaim) UpsertG(updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*PeerClaim) UpsertGP added in v0.2.0

func (o *PeerClaim) UpsertGP(updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*PeerClaim) UpsertP added in v0.2.0

func (o *PeerClaim) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

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.

func (*PeerClaimCheckpoint) UpsertP added in v0.2.0

func (o *PeerClaimCheckpoint) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP 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

func (o PeerSlice) DeleteAll(exec boil.Executor) error

DeleteAll deletes all rows in the slice, using an executor.

func (PeerSlice) DeleteAllG added in v0.2.0

func (o PeerSlice) DeleteAllG() error

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

func (o PeerSlice) DeleteAllP(exec boil.Executor)

DeleteAllP deletes all rows in the slice, using an executor, and panics on error.

func (*PeerSlice) ReloadAll added in v0.2.0

func (o *PeerSlice) 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 (*PeerSlice) ReloadAllG added in v0.2.0

func (o *PeerSlice) ReloadAllG() error

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

func (o *PeerSlice) 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 (PeerSlice) UpdateAll added in v0.2.0

func (o PeerSlice) UpdateAll(exec boil.Executor, cols M) error

UpdateAll updates all rows with the specified column values, using an executor.

func (PeerSlice) UpdateAllG added in v0.2.0

func (o PeerSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (PeerSlice) UpdateAllGP added in v0.2.0

func (o PeerSlice) UpdateAllGP(cols M)

UpdateAllGP updates all rows with the specified column values, and panics on error.

func (PeerSlice) UpdateAllP added in v0.2.0

func (o PeerSlice) UpdateAllP(exec boil.Executor, cols M)

UpdateAllP 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

func FindSupport(exec boil.Executor, id uint64, selectCols ...string) (*Support, error)

FindSupport retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func FindSupportG

func FindSupportG(id uint64, selectCols ...string) (*Support, error)

FindSupportG retrieves a single record by ID.

func FindSupportGP

func FindSupportGP(id uint64, selectCols ...string) *Support

FindSupportGP retrieves a single record by ID, and panics on error.

func FindSupportP

func FindSupportP(exec boil.Executor, id uint64, selectCols ...string) *Support

FindSupportP retrieves a single record by ID with an executor, and panics on error.

func (*Support) Delete

func (o *Support) Delete(exec boil.Executor) error

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

func (o *Support) DeleteG() error

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

func (o *Support) DeleteP(exec boil.Executor)

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

func (o *Support) 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 (*Support) InsertG

func (o *Support) InsertG(whitelist ...string) error

InsertG a single record. See Insert for whitelist behavior description.

func (*Support) InsertGP

func (o *Support) InsertGP(whitelist ...string)

InsertGP a single record, and panics on error. See Insert for whitelist behavior description.

func (*Support) InsertP

func (o *Support) InsertP(exec boil.Executor, whitelist ...string)

InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.

func (*Support) Reload

func (o *Support) Reload(exec boil.Executor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Support) ReloadG

func (o *Support) ReloadG() error

ReloadG refetches the object from the database using the primary keys.

func (*Support) ReloadGP

func (o *Support) ReloadGP()

ReloadGP refetches the object from the database and panics on error.

func (*Support) ReloadP

func (o *Support) ReloadP(exec boil.Executor)

ReloadP refetches the object from the database with an executor. Panics on error.

func (*Support) SetSupportedClaim

func (o *Support) SetSupportedClaim(exec boil.Executor, insert bool, related *Claim) error

SetSupportedClaim of the support to the related item. Sets o.R.SupportedClaim to related. Adds o to related.R.SupportedClaimSupports.

func (*Support) SetSupportedClaimG

func (o *Support) SetSupportedClaimG(insert bool, related *Claim) error

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

func (o *Support) SetSupportedClaimGP(insert bool, related *Claim)

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

func (o *Support) SetSupportedClaimP(exec boil.Executor, insert bool, related *Claim)

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

func (o *Support) SupportedClaim(exec boil.Executor, mods ...qm.QueryMod) claimQuery

SupportedClaim pointed to by the foreign key.

func (*Support) SupportedClaimG

func (o *Support) SupportedClaimG(mods ...qm.QueryMod) claimQuery

SupportedClaimG pointed to by the foreign key.

func (*Support) Update

func (o *Support) Update(exec boil.Executor, whitelist ...string) error

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

func (o *Support) UpdateG(whitelist ...string) error

UpdateG a single Support record. See Update for whitelist behavior description.

func (*Support) UpdateGP

func (o *Support) UpdateGP(whitelist ...string)

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

func (o *Support) UpdateP(exec boil.Executor, whitelist ...string)

UpdateP uses an executor to update the Support, and panics on error. See Update for whitelist behavior description.

func (*Support) Upsert

func (o *Support) 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 (*Support) UpsertG

func (o *Support) UpsertG(updateColumns []string, whitelist ...string) error

UpsertG attempts an insert, and does an update or ignore on conflict.

func (*Support) UpsertGP

func (o *Support) UpsertGP(updateColumns []string, whitelist ...string)

UpsertGP attempts an insert, and does an update or ignore on conflict. Panics on error.

func (*Support) UpsertP

func (o *Support) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP panics on error.

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

func FindTransaction(exec boil.Executor, id uint64, selectCols ...string) (*Transaction, error)

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

func (o *Transaction) AddInputs(exec boil.Executor, insert bool, related ...*Input) error

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

func (o *Transaction) AddOutputs(exec boil.Executor, insert bool, related ...*Output) error

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

func (o *Transaction) SetBlockByHash(exec boil.Executor, insert bool, related *Block) error

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

func (o *Transaction) 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 (*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.

func (*Transaction) UpsertP

func (o *Transaction) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP 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

func (o *TransactionAddress) SetAddress(exec boil.Executor, insert bool, related *Address) error

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.

func (*TransactionAddress) UpsertP

func (o *TransactionAddress) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP 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

func FindUnknownClaim(exec boil.Executor, id uint64, selectCols ...string) (*UnknownClaim, error)

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

func (o *UnknownClaim) SetOutput(exec boil.Executor, insert bool, related *Output) error

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.

func (*UnknownClaim) UpsertP

func (o *UnknownClaim) UpsertP(exec boil.Executor, updateColumns []string, whitelist ...string)

UpsertP attempts an insert using an executor, and does an update or ignore on conflict. UpsertP 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL