model

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AbnormalClaimColumns = struct {
	ID              string
	Name            string
	ClaimID         string
	IsUpdate        string
	BlockHash       string
	TransactionHash string
	Vout            string
	OutputID        string
	ValueAsHex      string
	ValueAsJSON     string
	CreatedAt       string
	ModifiedAt      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",
	CreatedAt:       "created_at",
	ModifiedAt:      "modified_at",
}
View Source
var AbnormalClaimRels = struct {
	Output string
}{
	Output: "Output",
}

AbnormalClaimRels is where relationship names are stored.

View Source
var AbnormalClaimWhere = struct {
	ID              whereHelperuint64
	Name            whereHelperstring
	ClaimID         whereHelperstring
	IsUpdate        whereHelperbool
	BlockHash       whereHelpernull_String
	TransactionHash whereHelpernull_String
	Vout            whereHelperuint
	OutputID        whereHelperuint64
	ValueAsHex      whereHelperstring
	ValueAsJSON     whereHelpernull_String
	CreatedAt       whereHelpertime_Time
	ModifiedAt      whereHelpertime_Time
}{
	ID:              whereHelperuint64{/* contains filtered or unexported fields */},
	Name:            whereHelperstring{/* contains filtered or unexported fields */},
	ClaimID:         whereHelperstring{/* contains filtered or unexported fields */},
	IsUpdate:        whereHelperbool{/* contains filtered or unexported fields */},
	BlockHash:       whereHelpernull_String{/* contains filtered or unexported fields */},
	TransactionHash: whereHelpernull_String{/* contains filtered or unexported fields */},
	Vout:            whereHelperuint{/* contains filtered or unexported fields */},
	OutputID:        whereHelperuint64{/* contains filtered or unexported fields */},
	ValueAsHex:      whereHelperstring{/* contains filtered or unexported fields */},
	ValueAsJSON:     whereHelpernull_String{/* contains filtered or unexported fields */},
	CreatedAt:       whereHelpertime_Time{/* contains filtered or unexported fields */},
	ModifiedAt:      whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var AddressColumns = struct {
	ID         string
	Address    string
	FirstSeen  string
	CreatedAt  string
	ModifiedAt string
	Balance    string
}{
	ID:         "id",
	Address:    "address",
	FirstSeen:  "first_seen",
	CreatedAt:  "created_at",
	ModifiedAt: "modified_at",
	Balance:    "balance",
}
View Source
var AddressRels = struct {
	TransactionAddresses string
}{
	TransactionAddresses: "TransactionAddresses",
}

AddressRels is where relationship names are stored.

View Source
var AddressWhere = struct {
	ID         whereHelperuint64
	Address    whereHelperstring
	FirstSeen  whereHelpernull_Time
	CreatedAt  whereHelpertime_Time
	ModifiedAt whereHelpertime_Time
	Balance    whereHelperfloat64
}{
	ID:         whereHelperuint64{/* contains filtered or unexported fields */},
	Address:    whereHelperstring{/* contains filtered or unexported fields */},
	FirstSeen:  whereHelpernull_Time{/* contains filtered or unexported fields */},
	CreatedAt:  whereHelpertime_Time{/* contains filtered or unexported fields */},
	ModifiedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	Balance:    whereHelperfloat64{/* contains filtered or unexported fields */},
}
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 ApplicationStatusRels = struct {
}{}

ApplicationStatusRels is where relationship names are stored.

View Source
var ApplicationStatusWhere = struct {
	ID          whereHelperuint64
	AppVersion  whereHelperint
	DataVersion whereHelperint
	APIVersion  whereHelperint
}{
	ID:          whereHelperuint64{/* contains filtered or unexported fields */},
	AppVersion:  whereHelperint{/* contains filtered or unexported fields */},
	DataVersion: whereHelperint{/* contains filtered or unexported fields */},
	APIVersion:  whereHelperint{/* contains filtered or unexported fields */},
}
View Source
var BlockColumns = struct {
	ID                    string
	Bits                  string
	Chainwork             string
	Confirmations         string
	Difficulty            string
	Hash                  string
	Height                string
	MerkleRoot            string
	NameClaimRoot         string
	Nonce                 string
	PreviousBlockHash     string
	NextBlockHash         string
	BlockSize             string
	BlockTime             string
	Version               string
	VersionHex            string
	TransactionHashes     string
	TransactionsProcessed string
	CreatedAt             string
	ModifiedAt            string
}{
	ID:                    "id",
	Bits:                  "bits",
	Chainwork:             "chainwork",
	Confirmations:         "confirmations",
	Difficulty:            "difficulty",
	Hash:                  "hash",
	Height:                "height",
	MerkleRoot:            "merkle_root",
	NameClaimRoot:         "name_claim_root",
	Nonce:                 "nonce",
	PreviousBlockHash:     "previous_block_hash",
	NextBlockHash:         "next_block_hash",
	BlockSize:             "block_size",
	BlockTime:             "block_time",
	Version:               "version",
	VersionHex:            "version_hex",
	TransactionHashes:     "transaction_hashes",
	TransactionsProcessed: "transactions_processed",
	CreatedAt:             "created_at",
	ModifiedAt:            "modified_at",
}
View Source
var BlockRels = struct {
	BlockHashTransactions string
}{
	BlockHashTransactions: "BlockHashTransactions",
}

BlockRels is where relationship names are stored.

View Source
var BlockWhere = struct {
	ID                    whereHelperuint64
	Bits                  whereHelperstring
	Chainwork             whereHelperstring
	Confirmations         whereHelperuint
	Difficulty            whereHelperfloat64
	Hash                  whereHelperstring
	Height                whereHelperuint64
	MerkleRoot            whereHelperstring
	NameClaimRoot         whereHelperstring
	Nonce                 whereHelperuint64
	PreviousBlockHash     whereHelpernull_String
	NextBlockHash         whereHelpernull_String
	BlockSize             whereHelperuint64
	BlockTime             whereHelperuint64
	Version               whereHelperuint64
	VersionHex            whereHelperstring
	TransactionHashes     whereHelpernull_String
	TransactionsProcessed whereHelperbool
	CreatedAt             whereHelpertime_Time
	ModifiedAt            whereHelpertime_Time
}{
	ID:                    whereHelperuint64{/* contains filtered or unexported fields */},
	Bits:                  whereHelperstring{/* contains filtered or unexported fields */},
	Chainwork:             whereHelperstring{/* contains filtered or unexported fields */},
	Confirmations:         whereHelperuint{/* contains filtered or unexported fields */},
	Difficulty:            whereHelperfloat64{/* contains filtered or unexported fields */},
	Hash:                  whereHelperstring{/* contains filtered or unexported fields */},
	Height:                whereHelperuint64{/* contains filtered or unexported fields */},
	MerkleRoot:            whereHelperstring{/* contains filtered or unexported fields */},
	NameClaimRoot:         whereHelperstring{/* contains filtered or unexported fields */},
	Nonce:                 whereHelperuint64{/* contains filtered or unexported fields */},
	PreviousBlockHash:     whereHelpernull_String{/* contains filtered or unexported fields */},
	NextBlockHash:         whereHelpernull_String{/* contains filtered or unexported fields */},
	BlockSize:             whereHelperuint64{/* contains filtered or unexported fields */},
	BlockTime:             whereHelperuint64{/* contains filtered or unexported fields */},
	Version:               whereHelperuint64{/* contains filtered or unexported fields */},
	VersionHex:            whereHelperstring{/* contains filtered or unexported fields */},
	TransactionHashes:     whereHelpernull_String{/* contains filtered or unexported fields */},
	TransactionsProcessed: whereHelperbool{/* contains filtered or unexported fields */},
	CreatedAt:             whereHelpertime_Time{/* contains filtered or unexported fields */},
	ModifiedAt:            whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var ClaimColumns = struct {
	ID                string
	TransactionHashID 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
	FeeAddress        string
	IsFiltered        string
	BidState          string
	CreatedAt         string
	ModifiedAt        string
	ClaimAddress      string
	IsCertValid       string
	IsCertProcessed   string
	License           string
	LicenseURL        string
	Preview           string
}{
	ID:                "id",
	TransactionHashID: "transaction_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_nsfw",
	Language:          "language",
	ThumbnailURL:      "thumbnail_url",
	Title:             "title",
	Fee:               "fee",
	FeeCurrency:       "fee_currency",
	FeeAddress:        "fee_address",
	IsFiltered:        "is_filtered",
	BidState:          "bid_state",
	CreatedAt:         "created_at",
	ModifiedAt:        "modified_at",
	ClaimAddress:      "claim_address",
	IsCertValid:       "is_cert_valid",
	IsCertProcessed:   "is_cert_processed",
	License:           "license",
	LicenseURL:        "license_url",
	Preview:           "preview",
}
View Source
var ClaimRels = struct {
	TransactionHash string
}{
	TransactionHash: "TransactionHash",
}

ClaimRels is where relationship names are stored.

View Source
var ClaimWhere = struct {
	ID                whereHelperuint64
	TransactionHashID whereHelpernull_String
	Vout              whereHelperuint
	Name              whereHelperstring
	ClaimID           whereHelperstring
	ClaimType         whereHelperint8
	PublisherID       whereHelpernull_String
	PublisherSig      whereHelpernull_String
	Certificate       whereHelpernull_String
	SDHash            whereHelpernull_String
	TransactionTime   whereHelpernull_Uint64
	Version           whereHelperstring
	ValueAsHex        whereHelperstring
	ValueAsJSON       whereHelpernull_String
	ValidAtHeight     whereHelperuint
	Height            whereHelperuint
	EffectiveAmount   whereHelperuint64
	Author            whereHelpernull_String
	Description       whereHelpernull_String
	ContentType       whereHelpernull_String
	IsNSFW            whereHelperbool
	Language          whereHelpernull_String
	ThumbnailURL      whereHelpernull_String
	Title             whereHelpernull_String
	Fee               whereHelperfloat64
	FeeCurrency       whereHelpernull_String
	FeeAddress        whereHelperstring
	IsFiltered        whereHelperbool
	BidState          whereHelperstring
	CreatedAt         whereHelpertime_Time
	ModifiedAt        whereHelpertime_Time
	ClaimAddress      whereHelperstring
	IsCertValid       whereHelperbool
	IsCertProcessed   whereHelperbool
	License           whereHelpernull_String
	LicenseURL        whereHelpernull_String
	Preview           whereHelpernull_String
}{
	ID:                whereHelperuint64{/* contains filtered or unexported fields */},
	TransactionHashID: whereHelpernull_String{/* contains filtered or unexported fields */},
	Vout:              whereHelperuint{/* contains filtered or unexported fields */},
	Name:              whereHelperstring{/* contains filtered or unexported fields */},
	ClaimID:           whereHelperstring{/* contains filtered or unexported fields */},
	ClaimType:         whereHelperint8{/* contains filtered or unexported fields */},
	PublisherID:       whereHelpernull_String{/* contains filtered or unexported fields */},
	PublisherSig:      whereHelpernull_String{/* contains filtered or unexported fields */},
	Certificate:       whereHelpernull_String{/* contains filtered or unexported fields */},
	SDHash:            whereHelpernull_String{/* contains filtered or unexported fields */},
	TransactionTime:   whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	Version:           whereHelperstring{/* contains filtered or unexported fields */},
	ValueAsHex:        whereHelperstring{/* contains filtered or unexported fields */},
	ValueAsJSON:       whereHelpernull_String{/* contains filtered or unexported fields */},
	ValidAtHeight:     whereHelperuint{/* contains filtered or unexported fields */},
	Height:            whereHelperuint{/* contains filtered or unexported fields */},
	EffectiveAmount:   whereHelperuint64{/* contains filtered or unexported fields */},
	Author:            whereHelpernull_String{/* contains filtered or unexported fields */},
	Description:       whereHelpernull_String{/* contains filtered or unexported fields */},
	ContentType:       whereHelpernull_String{/* contains filtered or unexported fields */},
	IsNSFW:            whereHelperbool{/* contains filtered or unexported fields */},
	Language:          whereHelpernull_String{/* contains filtered or unexported fields */},
	ThumbnailURL:      whereHelpernull_String{/* contains filtered or unexported fields */},
	Title:             whereHelpernull_String{/* contains filtered or unexported fields */},
	Fee:               whereHelperfloat64{/* contains filtered or unexported fields */},
	FeeCurrency:       whereHelpernull_String{/* contains filtered or unexported fields */},
	FeeAddress:        whereHelperstring{/* contains filtered or unexported fields */},
	IsFiltered:        whereHelperbool{/* contains filtered or unexported fields */},
	BidState:          whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:         whereHelpertime_Time{/* contains filtered or unexported fields */},
	ModifiedAt:        whereHelpertime_Time{/* contains filtered or unexported fields */},
	ClaimAddress:      whereHelperstring{/* contains filtered or unexported fields */},
	IsCertValid:       whereHelperbool{/* contains filtered or unexported fields */},
	IsCertProcessed:   whereHelperbool{/* contains filtered or unexported fields */},
	License:           whereHelpernull_String{/* contains filtered or unexported fields */},
	LicenseURL:        whereHelpernull_String{/* contains filtered or unexported fields */},
	Preview:           whereHelpernull_String{/* contains filtered or unexported fields */},
}
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 InputRels = struct {
	Transaction string
}{
	Transaction: "Transaction",
}

InputRels is where relationship names are stored.

View Source
var InputWhere = struct {
	ID                  whereHelperuint64
	TransactionID       whereHelperuint64
	TransactionHash     whereHelperstring
	InputAddressID      whereHelpernull_Uint64
	IsCoinbase          whereHelperbool
	Coinbase            whereHelpernull_String
	PrevoutHash         whereHelpernull_String
	PrevoutN            whereHelpernull_Uint
	PrevoutSpendUpdated whereHelperbool
	Sequence            whereHelperuint
	Value               whereHelpernull_Float64
	ScriptSigAsm        whereHelpernull_String
	ScriptSigHex        whereHelpernull_String
	Created             whereHelpertime_Time
	Modified            whereHelpertime_Time
}{
	ID:                  whereHelperuint64{/* contains filtered or unexported fields */},
	TransactionID:       whereHelperuint64{/* contains filtered or unexported fields */},
	TransactionHash:     whereHelperstring{/* contains filtered or unexported fields */},
	InputAddressID:      whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	IsCoinbase:          whereHelperbool{/* contains filtered or unexported fields */},
	Coinbase:            whereHelpernull_String{/* contains filtered or unexported fields */},
	PrevoutHash:         whereHelpernull_String{/* contains filtered or unexported fields */},
	PrevoutN:            whereHelpernull_Uint{/* contains filtered or unexported fields */},
	PrevoutSpendUpdated: whereHelperbool{/* contains filtered or unexported fields */},
	Sequence:            whereHelperuint{/* contains filtered or unexported fields */},
	Value:               whereHelpernull_Float64{/* contains filtered or unexported fields */},
	ScriptSigAsm:        whereHelpernull_String{/* contains filtered or unexported fields */},
	ScriptSigHex:        whereHelpernull_String{/* contains filtered or unexported fields */},
	Created:             whereHelpertime_Time{/* contains filtered or unexported fields */},
	Modified:            whereHelpertime_Time{/* contains filtered or unexported fields */},
}
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 JobStatusRels = struct {
}{}

JobStatusRels is where relationship names are stored.

View Source
var JobStatusWhere = struct {
	JobName      whereHelperstring
	LastSync     whereHelpertime_Time
	IsSuccess    whereHelperbool
	ErrorMessage whereHelpernull_String
}{
	JobName:      whereHelperstring{/* contains filtered or unexported fields */},
	LastSync:     whereHelpertime_Time{/* contains filtered or unexported fields */},
	IsSuccess:    whereHelperbool{/* contains filtered or unexported fields */},
	ErrorMessage: whereHelpernull_String{/* contains filtered or unexported fields */},
}
View Source
var OutputColumns = struct {
	ID                 string
	TransactionID      string
	TransactionHash    string
	Value              string
	Vout               string
	Type               string
	ScriptPubKeyAsm    string
	ScriptPubKeyHex    string
	RequiredSignatures string
	AddressList        string
	IsSpent            string
	SpentByInputID     string
	CreatedAt          string
	ModifiedAt         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",
	AddressList:        "address_list",
	IsSpent:            "is_spent",
	SpentByInputID:     "spent_by_input_id",
	CreatedAt:          "created_at",
	ModifiedAt:         "modified_at",
	ClaimID:            "claim_id",
}
View Source
var OutputRels = struct {
	Transaction    string
	AbnormalClaims string
}{
	Transaction:    "Transaction",
	AbnormalClaims: "AbnormalClaims",
}

OutputRels is where relationship names are stored.

View Source
var OutputWhere = struct {
	ID                 whereHelperuint64
	TransactionID      whereHelperuint64
	TransactionHash    whereHelperstring
	Value              whereHelpernull_Float64
	Vout               whereHelperuint
	Type               whereHelpernull_String
	ScriptPubKeyAsm    whereHelpernull_String
	ScriptPubKeyHex    whereHelpernull_String
	RequiredSignatures whereHelpernull_Uint
	AddressList        whereHelpernull_String
	IsSpent            whereHelperbool
	SpentByInputID     whereHelpernull_Uint64
	CreatedAt          whereHelpertime_Time
	ModifiedAt         whereHelpertime_Time
	ClaimID            whereHelpernull_String
}{
	ID:                 whereHelperuint64{/* contains filtered or unexported fields */},
	TransactionID:      whereHelperuint64{/* contains filtered or unexported fields */},
	TransactionHash:    whereHelperstring{/* contains filtered or unexported fields */},
	Value:              whereHelpernull_Float64{/* contains filtered or unexported fields */},
	Vout:               whereHelperuint{/* contains filtered or unexported fields */},
	Type:               whereHelpernull_String{/* contains filtered or unexported fields */},
	ScriptPubKeyAsm:    whereHelpernull_String{/* contains filtered or unexported fields */},
	ScriptPubKeyHex:    whereHelpernull_String{/* contains filtered or unexported fields */},
	RequiredSignatures: whereHelpernull_Uint{/* contains filtered or unexported fields */},
	AddressList:        whereHelpernull_String{/* contains filtered or unexported fields */},
	IsSpent:            whereHelperbool{/* contains filtered or unexported fields */},
	SpentByInputID:     whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	CreatedAt:          whereHelpertime_Time{/* contains filtered or unexported fields */},
	ModifiedAt:         whereHelpertime_Time{/* contains filtered or unexported fields */},
	ClaimID:            whereHelpernull_String{/* contains filtered or unexported fields */},
}
View Source
var SupportColumns = struct {
	ID                string
	SupportedClaimID  string
	SupportAmount     string
	BidState          string
	TransactionHashID string
	Vout              string
	CreatedAt         string
	ModifiedAt        string
}{
	ID:                "id",
	SupportedClaimID:  "supported_claim_id",
	SupportAmount:     "support_amount",
	BidState:          "bid_state",
	TransactionHashID: "transaction_hash_id",
	Vout:              "vout",
	CreatedAt:         "created_at",
	ModifiedAt:        "modified_at",
}
View Source
var SupportRels = struct {
	TransactionHash string
}{
	TransactionHash: "TransactionHash",
}

SupportRels is where relationship names are stored.

View Source
var SupportWhere = struct {
	ID                whereHelperuint64
	SupportedClaimID  whereHelperstring
	SupportAmount     whereHelperfloat64
	BidState          whereHelperstring
	TransactionHashID whereHelpernull_String
	Vout              whereHelperuint
	CreatedAt         whereHelpertime_Time
	ModifiedAt        whereHelpertime_Time
}{
	ID:                whereHelperuint64{/* contains filtered or unexported fields */},
	SupportedClaimID:  whereHelperstring{/* contains filtered or unexported fields */},
	SupportAmount:     whereHelperfloat64{/* contains filtered or unexported fields */},
	BidState:          whereHelperstring{/* contains filtered or unexported fields */},
	TransactionHashID: whereHelpernull_String{/* contains filtered or unexported fields */},
	Vout:              whereHelperuint{/* contains filtered or unexported fields */},
	CreatedAt:         whereHelpertime_Time{/* contains filtered or unexported fields */},
	ModifiedAt:        whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var TableNames = struct {
	AbnormalClaim      string
	Address            string
	ApplicationStatus  string
	Block              string
	Claim              string
	Input              string
	JobStatus          string
	Output             string
	Support            string
	Transaction        string
	TransactionAddress string
}{
	AbnormalClaim:      "abnormal_claim",
	Address:            "address",
	ApplicationStatus:  "application_status",
	Block:              "block",
	Claim:              "claim",
	Input:              "input",
	JobStatus:          "job_status",
	Output:             "output",
	Support:            "support",
	Transaction:        "transaction",
	TransactionAddress: "transaction_address",
}
View Source
var TransactionAddressColumns = struct {
	TransactionID string
	AddressID     string
	DebitAmount   string
	CreditAmount  string
}{
	TransactionID: "transaction_id",
	AddressID:     "address_id",
	DebitAmount:   "debit_amount",
	CreditAmount:  "credit_amount",
}
View Source
var TransactionAddressRels = struct {
	Transaction string
	Address     string
}{
	Transaction: "Transaction",
	Address:     "Address",
}

TransactionAddressRels is where relationship names are stored.

View Source
var TransactionAddressWhere = struct {
	TransactionID whereHelperuint64
	AddressID     whereHelperuint64
	DebitAmount   whereHelperfloat64
	CreditAmount  whereHelperfloat64
}{
	TransactionID: whereHelperuint64{/* contains filtered or unexported fields */},
	AddressID:     whereHelperuint64{/* contains filtered or unexported fields */},
	DebitAmount:   whereHelperfloat64{/* contains filtered or unexported fields */},
	CreditAmount:  whereHelperfloat64{/* contains filtered or unexported fields */},
}
View Source
var TransactionColumns = struct {
	ID              string
	BlockHashID     string
	InputCount      string
	OutputCount     string
	Fee             string
	TransactionTime string
	TransactionSize string
	Hash            string
	Version         string
	LockTime        string
	Raw             string
	CreatedAt       string
	ModifiedAt      string
	CreatedTime     string
	Value           string
}{
	ID:              "id",
	BlockHashID:     "block_hash_id",
	InputCount:      "input_count",
	OutputCount:     "output_count",
	Fee:             "fee",
	TransactionTime: "transaction_time",
	TransactionSize: "transaction_size",
	Hash:            "hash",
	Version:         "version",
	LockTime:        "lock_time",
	Raw:             "raw",
	CreatedAt:       "created_at",
	ModifiedAt:      "modified_at",
	CreatedTime:     "created_time",
	Value:           "value",
}
View Source
var TransactionRels = struct {
	BlockHash               string
	TransactionHashClaims   string
	Inputs                  string
	Outputs                 string
	TransactionHashSupports string
	TransactionAddresses    string
}{
	BlockHash:               "BlockHash",
	TransactionHashClaims:   "TransactionHashClaims",
	Inputs:                  "Inputs",
	Outputs:                 "Outputs",
	TransactionHashSupports: "TransactionHashSupports",
	TransactionAddresses:    "TransactionAddresses",
}

TransactionRels is where relationship names are stored.

View Source
var TransactionWhere = struct {
	ID              whereHelperuint64
	BlockHashID     whereHelpernull_String
	InputCount      whereHelperuint
	OutputCount     whereHelperuint
	Fee             whereHelperfloat64
	TransactionTime whereHelpernull_Uint64
	TransactionSize whereHelperuint64
	Hash            whereHelperstring
	Version         whereHelperint
	LockTime        whereHelperuint
	Raw             whereHelpernull_String
	CreatedAt       whereHelpertime_Time
	ModifiedAt      whereHelpertime_Time
	CreatedTime     whereHelpertime_Time
	Value           whereHelperfloat64
}{
	ID:              whereHelperuint64{/* contains filtered or unexported fields */},
	BlockHashID:     whereHelpernull_String{/* contains filtered or unexported fields */},
	InputCount:      whereHelperuint{/* contains filtered or unexported fields */},
	OutputCount:     whereHelperuint{/* contains filtered or unexported fields */},
	Fee:             whereHelperfloat64{/* contains filtered or unexported fields */},
	TransactionTime: whereHelpernull_Uint64{/* contains filtered or unexported fields */},
	TransactionSize: whereHelperuint64{/* contains filtered or unexported fields */},
	Hash:            whereHelperstring{/* contains filtered or unexported fields */},
	Version:         whereHelperint{/* contains filtered or unexported fields */},
	LockTime:        whereHelperuint{/* contains filtered or unexported fields */},
	Raw:             whereHelpernull_String{/* contains filtered or unexported fields */},
	CreatedAt:       whereHelpertime_Time{/* contains filtered or unexported fields */},
	ModifiedAt:      whereHelpertime_Time{/* contains filtered or unexported fields */},
	CreatedTime:     whereHelpertime_Time{/* contains filtered or unexported fields */},
	Value:           whereHelperfloat64{/* contains filtered or unexported fields */},
}

Functions

func AbnormalClaimExists added in v1.0.0

func AbnormalClaimExists(exec boil.Executor, iD uint64) (bool, error)

AbnormalClaimExists checks if the AbnormalClaim row exists.

func AbnormalClaimExistsG added in v1.0.0

func AbnormalClaimExistsG(iD uint64) (bool, error)

AbnormalClaimExistsG checks if the AbnormalClaim row exists.

func AbnormalClaimExistsGP added in v1.0.0

func AbnormalClaimExistsGP(iD uint64) bool

AbnormalClaimExistsGP checks if the AbnormalClaim row exists. Panics on error.

func AbnormalClaimExistsP added in v1.0.0

func AbnormalClaimExistsP(exec boil.Executor, iD uint64) bool

AbnormalClaimExistsP checks if the AbnormalClaim row exists. Panics on error.

func AbnormalClaims added in v1.0.0

func AbnormalClaims(mods ...qm.QueryMod) abnormalClaimQuery

AbnormalClaims retrieves all the records using an executor.

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(mods ...qm.QueryMod) addressQuery

Addresses retrieves all the records using an executor.

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(mods ...qm.QueryMod) applicationStatusQuery

ApplicationStatuses retrieves all the records using an executor.

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(mods ...qm.QueryMod) blockQuery

Blocks retrieves all the records using an executor.

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(mods ...qm.QueryMod) claimQuery

Claims retrieves all the records using an executor.

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(mods ...qm.QueryMod) inputQuery

Inputs retrieves all the records using an executor.

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(mods ...qm.QueryMod) jobStatusQuery

JobStatuses retrieves all the records using an executor.

func NewQuery

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

NewQuery 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(mods ...qm.QueryMod) outputQuery

Outputs retrieves all the records using an executor.

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(mods ...qm.QueryMod) supportQuery

Supports retrieves all the records using an executor.

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(mods ...qm.QueryMod) transactionAddressQuery

TransactionAddresses retrieves all the records using an executor.

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(mods ...qm.QueryMod) transactionQuery

Transactions retrieves all the records using an executor.

Types

type AbnormalClaim added in v1.0.0

type AbnormalClaim 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"`
	CreatedAt       time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	ModifiedAt      time.Time   `boil:"modified_at" json:"modified_at" toml:"modified_at" yaml:"modified_at"`

	R *abnormalClaimR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L abnormalClaimL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AbnormalClaim is an object representing the database table.

func FindAbnormalClaim added in v1.0.0

func FindAbnormalClaim(exec boil.Executor, iD uint64, selectCols ...string) (*AbnormalClaim, error)

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

func FindAbnormalClaimG added in v1.0.0

func FindAbnormalClaimG(iD uint64, selectCols ...string) (*AbnormalClaim, error)

FindAbnormalClaimG retrieves a single record by ID.

func FindAbnormalClaimGP added in v1.0.0

func FindAbnormalClaimGP(iD uint64, selectCols ...string) *AbnormalClaim

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

func FindAbnormalClaimP added in v1.0.0

func FindAbnormalClaimP(exec boil.Executor, iD uint64, selectCols ...string) *AbnormalClaim

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

func (*AbnormalClaim) Delete added in v1.0.0

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

Delete deletes a single AbnormalClaim record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AbnormalClaim) DeleteG added in v1.0.0

func (o *AbnormalClaim) DeleteG() error

DeleteG deletes a single AbnormalClaim record. DeleteG will match against the primary key column to find the record to delete.

func (*AbnormalClaim) DeleteGP added in v1.0.0

func (o *AbnormalClaim) DeleteGP()

DeleteGP deletes a single AbnormalClaim record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.

func (*AbnormalClaim) DeleteP added in v1.0.0

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

DeleteP deletes a single AbnormalClaim record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.

func (*AbnormalClaim) Insert added in v1.0.0

func (o *AbnormalClaim) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AbnormalClaim) InsertG added in v1.0.0

func (o *AbnormalClaim) InsertG(columns boil.Columns) error

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

func (*AbnormalClaim) InsertGP added in v1.0.0

func (o *AbnormalClaim) InsertGP(columns boil.Columns)

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

func (*AbnormalClaim) InsertP added in v1.0.0

func (o *AbnormalClaim) InsertP(exec boil.Executor, columns boil.Columns)

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

func (*AbnormalClaim) Output added in v1.0.0

func (o *AbnormalClaim) Output(mods ...qm.QueryMod) outputQuery

Output pointed to by the foreign key.

func (*AbnormalClaim) Reload added in v1.0.0

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

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

func (*AbnormalClaim) ReloadG added in v1.0.0

func (o *AbnormalClaim) ReloadG() error

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

func (*AbnormalClaim) ReloadGP added in v1.0.0

func (o *AbnormalClaim) ReloadGP()

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

func (*AbnormalClaim) ReloadP added in v1.0.0

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

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

func (*AbnormalClaim) SetOutput added in v1.0.0

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

SetOutput of the abnormalClaim to the related item. Sets o.R.Output to related. Adds o to related.R.AbnormalClaims.

func (*AbnormalClaim) SetOutputG added in v1.0.0

func (o *AbnormalClaim) SetOutputG(insert bool, related *Output) error

SetOutputG of the abnormalClaim to the related item. Sets o.R.Output to related. Adds o to related.R.AbnormalClaims. Uses the global database handle.

func (*AbnormalClaim) SetOutputGP added in v1.0.0

func (o *AbnormalClaim) SetOutputGP(insert bool, related *Output)

SetOutputGP of the abnormalClaim to the related item. Sets o.R.Output to related. Adds o to related.R.AbnormalClaims. Uses the global database handle and panics on error.

func (*AbnormalClaim) SetOutputP added in v1.0.0

func (o *AbnormalClaim) SetOutputP(exec boil.Executor, insert bool, related *Output)

SetOutputP of the abnormalClaim to the related item. Sets o.R.Output to related. Adds o to related.R.AbnormalClaims. Panics on error.

func (*AbnormalClaim) Update added in v1.0.0

func (o *AbnormalClaim) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the AbnormalClaim. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AbnormalClaim) UpdateG added in v1.0.0

func (o *AbnormalClaim) UpdateG(columns boil.Columns) error

UpdateG a single AbnormalClaim record using the global executor. See Update for more documentation.

func (*AbnormalClaim) UpdateGP added in v1.0.0

func (o *AbnormalClaim) UpdateGP(columns boil.Columns)

UpdateGP a single AbnormalClaim record using the global executor. Panics on error. See Update for more documentation.

func (*AbnormalClaim) UpdateP added in v1.0.0

func (o *AbnormalClaim) UpdateP(exec boil.Executor, columns boil.Columns)

UpdateP uses an executor to update the AbnormalClaim, and panics on error. See Update for more documentation.

func (*AbnormalClaim) Upsert added in v1.0.0

func (o *AbnormalClaim) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*AbnormalClaim) UpsertG added in v1.0.0

func (o *AbnormalClaim) UpsertG(updateColumns, insertColumns boil.Columns) error

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

func (*AbnormalClaim) UpsertGP added in v1.0.0

func (o *AbnormalClaim) UpsertGP(updateColumns, insertColumns boil.Columns)

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

func (*AbnormalClaim) UpsertP added in v1.0.0

func (o *AbnormalClaim) UpsertP(exec boil.Executor, updateColumns, insertColumns boil.Columns)

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

type AbnormalClaimSlice added in v1.0.0

type AbnormalClaimSlice []*AbnormalClaim

AbnormalClaimSlice is an alias for a slice of pointers to AbnormalClaim. This should generally be used opposed to []AbnormalClaim.

func (AbnormalClaimSlice) DeleteAll added in v1.0.0

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

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

func (AbnormalClaimSlice) DeleteAllG added in v1.0.0

func (o AbnormalClaimSlice) DeleteAllG() error

DeleteAllG deletes all rows in the slice.

func (AbnormalClaimSlice) DeleteAllGP added in v1.0.0

func (o AbnormalClaimSlice) DeleteAllGP()

DeleteAllGP deletes all rows in the slice, and panics on error.

func (AbnormalClaimSlice) DeleteAllP added in v1.0.0

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

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

func (*AbnormalClaimSlice) ReloadAll added in v1.0.0

func (o *AbnormalClaimSlice) 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 (*AbnormalClaimSlice) ReloadAllG added in v1.0.0

func (o *AbnormalClaimSlice) ReloadAllG() error

ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (*AbnormalClaimSlice) ReloadAllGP added in v1.0.0

func (o *AbnormalClaimSlice) 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 (*AbnormalClaimSlice) ReloadAllP added in v1.0.0

func (o *AbnormalClaimSlice) 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 (AbnormalClaimSlice) UpdateAll added in v1.0.0

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

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

func (AbnormalClaimSlice) UpdateAllG added in v1.0.0

func (o AbnormalClaimSlice) UpdateAllG(cols M) error

UpdateAllG updates all rows with the specified column values.

func (AbnormalClaimSlice) UpdateAllGP added in v1.0.0

func (o AbnormalClaimSlice) UpdateAllGP(cols M)

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

func (AbnormalClaimSlice) UpdateAllP added in v1.0.0

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

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

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"`
	CreatedAt  time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	ModifiedAt time.Time `boil:"modified_at" json:"modified_at" toml:"modified_at" yaml:"modified_at"`
	Balance    float64   `boil:"balance" json:"balance" toml:"balance" yaml:"balance"`

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

func (o *Address) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Address) InsertG

func (o *Address) InsertG(columns boil.Columns) error

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

func (*Address) InsertGP

func (o *Address) InsertGP(columns boil.Columns)

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

func (*Address) InsertP

func (o *Address) InsertP(exec boil.Executor, columns boil.Columns)

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

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

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

TransactionAddresses retrieves all the transaction_address's TransactionAddresses with an executor.

func (*Address) Update

func (o *Address) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the Address. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. 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(columns boil.Columns) error

UpdateG a single Address record using the global executor. See Update for more documentation.

func (*Address) UpdateGP

func (o *Address) UpdateGP(columns boil.Columns)

UpdateGP a single Address record using the global executor. Panics on error. See Update for more documentation.

func (*Address) UpdateP

func (o *Address) UpdateP(exec boil.Executor, columns boil.Columns)

UpdateP uses an executor to update the Address, and panics on error. See Update for more documentation.

func (*Address) Upsert

func (o *Address) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Address) UpsertG

func (o *Address) UpsertG(updateColumns, insertColumns boil.Columns) error

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

func (*Address) UpsertGP

func (o *Address) UpsertGP(updateColumns, insertColumns boil.Columns)

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, insertColumns boil.Columns)

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, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*ApplicationStatus) InsertG

func (o *ApplicationStatus) InsertG(columns boil.Columns) error

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

func (*ApplicationStatus) InsertGP

func (o *ApplicationStatus) InsertGP(columns boil.Columns)

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

func (*ApplicationStatus) InsertP

func (o *ApplicationStatus) InsertP(exec boil.Executor, columns boil.Columns)

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, columns boil.Columns) error

Update uses an executor to update the ApplicationStatus. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. 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(columns boil.Columns) error

UpdateG a single ApplicationStatus record using the global executor. See Update for more documentation.

func (*ApplicationStatus) UpdateGP

func (o *ApplicationStatus) UpdateGP(columns boil.Columns)

UpdateGP a single ApplicationStatus record using the global executor. Panics on error. See Update for more documentation.

func (*ApplicationStatus) UpdateP

func (o *ApplicationStatus) UpdateP(exec boil.Executor, columns boil.Columns)

UpdateP uses an executor to update the ApplicationStatus, and panics on error. See Update for more documentation.

func (*ApplicationStatus) Upsert

func (o *ApplicationStatus) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*ApplicationStatus) UpsertG

func (o *ApplicationStatus) UpsertG(updateColumns, insertColumns boil.Columns) error

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

func (*ApplicationStatus) UpsertGP

func (o *ApplicationStatus) UpsertGP(updateColumns, insertColumns boil.Columns)

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, insertColumns boil.Columns)

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"`
	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"`
	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"`
	CreatedAt             time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	ModifiedAt            time.Time   `boil:"modified_at" json:"modified_at" toml:"modified_at" yaml:"modified_at"`

	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) AddBlockHashTransactions added in v1.0.0

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

AddBlockHashTransactions adds the given related objects to the existing relationships of the block, optionally inserting them as new records. Appends related to o.R.BlockHashTransactions. Sets related.R.BlockHash appropriately.

func (*Block) AddBlockHashTransactionsG added in v1.0.0

func (o *Block) AddBlockHashTransactionsG(insert bool, related ...*Transaction) error

AddBlockHashTransactionsG adds the given related objects to the existing relationships of the block, optionally inserting them as new records. Appends related to o.R.BlockHashTransactions. Sets related.R.BlockHash appropriately. Uses the global database handle.

func (*Block) AddBlockHashTransactionsGP added in v1.0.0

func (o *Block) AddBlockHashTransactionsGP(insert bool, related ...*Transaction)

AddBlockHashTransactionsGP adds the given related objects to the existing relationships of the block, optionally inserting them as new records. Appends related to o.R.BlockHashTransactions. Sets related.R.BlockHash appropriately. Uses the global database handle and panics on error.

func (*Block) AddBlockHashTransactionsP added in v1.0.0

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

AddBlockHashTransactionsP adds the given related objects to the existing relationships of the block, optionally inserting them as new records. Appends related to o.R.BlockHashTransactions. Sets related.R.BlockHash appropriately. Panics on error.

func (*Block) BlockHashTransactions added in v1.0.0

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

BlockHashTransactions retrieves all the transaction's Transactions with an executor via block_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, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Block) InsertG

func (o *Block) InsertG(columns boil.Columns) error

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

func (*Block) InsertGP

func (o *Block) InsertGP(columns boil.Columns)

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

func (*Block) InsertP

func (o *Block) InsertP(exec boil.Executor, columns boil.Columns)

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) RemoveBlockHashTransactions added in v1.0.0

func (o *Block) RemoveBlockHashTransactions(exec boil.Executor, related ...*Transaction) error

RemoveBlockHashTransactions relationships from objects passed in. Removes related items from R.BlockHashTransactions (uses pointer comparison, removal does not keep order) Sets related.R.BlockHash.

func (*Block) RemoveBlockHashTransactionsG added in v1.0.0

func (o *Block) RemoveBlockHashTransactionsG(related ...*Transaction) error

RemoveBlockHashTransactionsG relationships from objects passed in. Removes related items from R.BlockHashTransactions (uses pointer comparison, removal does not keep order) Sets related.R.BlockHash. Uses the global database handle.

func (*Block) RemoveBlockHashTransactionsGP added in v1.0.0

func (o *Block) RemoveBlockHashTransactionsGP(related ...*Transaction)

RemoveBlockHashTransactionsGP relationships from objects passed in. Removes related items from R.BlockHashTransactions (uses pointer comparison, removal does not keep order) Sets related.R.BlockHash. Uses the global database handle and panics on error.

func (*Block) RemoveBlockHashTransactionsP added in v1.0.0

func (o *Block) RemoveBlockHashTransactionsP(exec boil.Executor, related ...*Transaction)

RemoveBlockHashTransactionsP relationships from objects passed in. Removes related items from R.BlockHashTransactions (uses pointer comparison, removal does not keep order) Sets related.R.BlockHash. Panics on error.

func (*Block) SetBlockHashTransactions added in v1.0.0

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

SetBlockHashTransactions 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.BlockHash's BlockHashTransactions accordingly. Replaces o.R.BlockHashTransactions with related. Sets related.R.BlockHash's BlockHashTransactions accordingly.

func (*Block) SetBlockHashTransactionsG added in v1.0.0

func (o *Block) SetBlockHashTransactionsG(insert bool, related ...*Transaction) error

SetBlockHashTransactionsG 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.BlockHash's BlockHashTransactions accordingly. Replaces o.R.BlockHashTransactions with related. Sets related.R.BlockHash's BlockHashTransactions accordingly. Uses the global database handle.

func (*Block) SetBlockHashTransactionsGP added in v1.0.0

func (o *Block) SetBlockHashTransactionsGP(insert bool, related ...*Transaction)

SetBlockHashTransactionsGP 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.BlockHash's BlockHashTransactions accordingly. Replaces o.R.BlockHashTransactions with related. Sets related.R.BlockHash's BlockHashTransactions accordingly. Uses the global database handle and panics on error.

func (*Block) SetBlockHashTransactionsP added in v1.0.0

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

SetBlockHashTransactionsP 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.BlockHash's BlockHashTransactions accordingly. Replaces o.R.BlockHashTransactions with related. Sets related.R.BlockHash's BlockHashTransactions accordingly. Panics on error.

func (*Block) Update

func (o *Block) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the Block. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. 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(columns boil.Columns) error

UpdateG a single Block record using the global executor. See Update for more documentation.

func (*Block) UpdateGP

func (o *Block) UpdateGP(columns boil.Columns)

UpdateGP a single Block record using the global executor. Panics on error. See Update for more documentation.

func (*Block) UpdateP

func (o *Block) UpdateP(exec boil.Executor, columns boil.Columns)

UpdateP uses an executor to update the Block, and panics on error. See Update for more documentation.

func (*Block) Upsert

func (o *Block) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Block) UpsertG

func (o *Block) UpsertG(updateColumns, insertColumns boil.Columns) error

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

func (*Block) UpsertGP

func (o *Block) UpsertGP(updateColumns, insertColumns boil.Columns)

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, insertColumns boil.Columns)

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"`
	TransactionHashID null.String `` /* 127-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_nsfw" json:"is_nsfw" toml:"is_nsfw" yaml:"is_nsfw"`
	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"`
	FeeAddress        string      `boil:"fee_address" json:"fee_address" toml:"fee_address" yaml:"fee_address"`
	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"`
	CreatedAt         time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	ModifiedAt        time.Time   `boil:"modified_at" json:"modified_at" toml:"modified_at" yaml:"modified_at"`
	ClaimAddress      string      `boil:"claim_address" json:"claim_address" toml:"claim_address" yaml:"claim_address"`
	IsCertValid       bool        `boil:"is_cert_valid" json:"is_cert_valid" toml:"is_cert_valid" yaml:"is_cert_valid"`
	IsCertProcessed   bool        `boil:"is_cert_processed" json:"is_cert_processed" toml:"is_cert_processed" yaml:"is_cert_processed"`
	License           null.String `boil:"license" json:"license,omitempty" toml:"license" yaml:"license,omitempty"`
	LicenseURL        null.String `boil:"license_url" json:"license_url,omitempty" toml:"license_url" yaml:"license_url,omitempty"`
	Preview           null.String `boil:"preview" json:"preview,omitempty" toml:"preview" yaml:"preview,omitempty"`

	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) 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, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Claim) InsertG

func (o *Claim) InsertG(columns boil.Columns) error

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

func (*Claim) InsertGP

func (o *Claim) InsertGP(columns boil.Columns)

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

func (*Claim) InsertP

func (o *Claim) InsertP(exec boil.Executor, columns boil.Columns)

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

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) RemoveTransactionHash added in v1.0.0

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

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

func (*Claim) RemoveTransactionHashG added in v1.0.0

func (o *Claim) RemoveTransactionHashG(related *Transaction) error

RemoveTransactionHashG relationship. Sets o.R.TransactionHash to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.

func (*Claim) RemoveTransactionHashGP added in v1.0.0

func (o *Claim) RemoveTransactionHashGP(related *Transaction)

RemoveTransactionHashGP relationship. Sets o.R.TransactionHash to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.

func (*Claim) RemoveTransactionHashP added in v1.0.0

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

RemoveTransactionHashP relationship. Sets o.R.TransactionHash to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.

func (*Claim) SetTransactionHash added in v1.0.0

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

SetTransactionHash of the claim to the related item. Sets o.R.TransactionHash to related. Adds o to related.R.TransactionHashClaims.

func (*Claim) SetTransactionHashG added in v1.0.0

func (o *Claim) SetTransactionHashG(insert bool, related *Transaction) error

SetTransactionHashG of the claim to the related item. Sets o.R.TransactionHash to related. Adds o to related.R.TransactionHashClaims. Uses the global database handle.

func (*Claim) SetTransactionHashGP added in v1.0.0

func (o *Claim) SetTransactionHashGP(insert bool, related *Transaction)

SetTransactionHashGP of the claim to the related item. Sets o.R.TransactionHash to related. Adds o to related.R.TransactionHashClaims. Uses the global database handle and panics on error.

func (*Claim) SetTransactionHashP added in v1.0.0

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

SetTransactionHashP of the claim to the related item. Sets o.R.TransactionHash to related. Adds o to related.R.TransactionHashClaims. Panics on error.

func (*Claim) TransactionHash added in v1.0.0

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

TransactionHash pointed to by the foreign key.

func (*Claim) Update

func (o *Claim) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the Claim. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. 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(columns boil.Columns) error

UpdateG a single Claim record using the global executor. See Update for more documentation.

func (*Claim) UpdateGP

func (o *Claim) UpdateGP(columns boil.Columns)

UpdateGP a single Claim record using the global executor. Panics on error. See Update for more documentation.

func (*Claim) UpdateP

func (o *Claim) UpdateP(exec boil.Executor, columns boil.Columns)

UpdateP uses an executor to update the Claim, and panics on error. See Update for more documentation.

func (*Claim) Upsert

func (o *Claim) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Claim) UpsertG

func (o *Claim) UpsertG(updateColumns, insertColumns boil.Columns) error

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

func (*Claim) UpsertGP

func (o *Claim) UpsertGP(updateColumns, insertColumns boil.Columns)

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, insertColumns boil.Columns)

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

func (o *Input) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Input) InsertG

func (o *Input) InsertG(columns boil.Columns) error

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

func (*Input) InsertGP

func (o *Input) InsertGP(columns boil.Columns)

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

func (*Input) InsertP

func (o *Input) InsertP(exec boil.Executor, columns boil.Columns)

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

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

Transaction pointed to by the foreign key.

func (*Input) Update

func (o *Input) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the Input. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. 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(columns boil.Columns) error

UpdateG a single Input record using the global executor. See Update for more documentation.

func (*Input) UpdateGP

func (o *Input) UpdateGP(columns boil.Columns)

UpdateGP a single Input record using the global executor. Panics on error. See Update for more documentation.

func (*Input) UpdateP

func (o *Input) UpdateP(exec boil.Executor, columns boil.Columns)

UpdateP uses an executor to update the Input, and panics on error. See Update for more documentation.

func (*Input) Upsert

func (o *Input) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Input) UpsertG

func (o *Input) UpsertG(updateColumns, insertColumns boil.Columns) error

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

func (*Input) UpsertGP

func (o *Input) UpsertGP(updateColumns, insertColumns boil.Columns)

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, insertColumns boil.Columns)

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, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*JobStatus) InsertG

func (o *JobStatus) InsertG(columns boil.Columns) error

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

func (*JobStatus) InsertGP

func (o *JobStatus) InsertGP(columns boil.Columns)

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

func (*JobStatus) InsertP

func (o *JobStatus) InsertP(exec boil.Executor, columns boil.Columns)

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, columns boil.Columns) error

Update uses an executor to update the JobStatus. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. 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(columns boil.Columns) error

UpdateG a single JobStatus record using the global executor. See Update for more documentation.

func (*JobStatus) UpdateGP

func (o *JobStatus) UpdateGP(columns boil.Columns)

UpdateGP a single JobStatus record using the global executor. Panics on error. See Update for more documentation.

func (*JobStatus) UpdateP

func (o *JobStatus) UpdateP(exec boil.Executor, columns boil.Columns)

UpdateP uses an executor to update the JobStatus, and panics on error. See Update for more documentation.

func (*JobStatus) Upsert

func (o *JobStatus) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*JobStatus) UpsertG

func (o *JobStatus) UpsertG(updateColumns, insertColumns boil.Columns) error

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

func (*JobStatus) UpsertGP

func (o *JobStatus) UpsertGP(updateColumns, insertColumns boil.Columns)

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, insertColumns boil.Columns)

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 */
	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"`
	CreatedAt          time.Time    `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	ModifiedAt         time.Time    `boil:"modified_at" json:"modified_at" toml:"modified_at" yaml:"modified_at"`
	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) AbnormalClaims added in v1.0.0

func (o *Output) AbnormalClaims(mods ...qm.QueryMod) abnormalClaimQuery

AbnormalClaims retrieves all the abnormal_claim's AbnormalClaims with an executor.

func (*Output) AddAbnormalClaims added in v1.0.0

func (o *Output) AddAbnormalClaims(exec boil.Executor, insert bool, related ...*AbnormalClaim) error

AddAbnormalClaims adds the given related objects to the existing relationships of the output, optionally inserting them as new records. Appends related to o.R.AbnormalClaims. Sets related.R.Output appropriately.

func (*Output) AddAbnormalClaimsG added in v1.0.0

func (o *Output) AddAbnormalClaimsG(insert bool, related ...*AbnormalClaim) error

AddAbnormalClaimsG adds the given related objects to the existing relationships of the output, optionally inserting them as new records. Appends related to o.R.AbnormalClaims. Sets related.R.Output appropriately. Uses the global database handle.

func (*Output) AddAbnormalClaimsGP added in v1.0.0

func (o *Output) AddAbnormalClaimsGP(insert bool, related ...*AbnormalClaim)

AddAbnormalClaimsGP adds the given related objects to the existing relationships of the output, optionally inserting them as new records. Appends related to o.R.AbnormalClaims. Sets related.R.Output appropriately. Uses the global database handle and panics on error.

func (*Output) AddAbnormalClaimsP added in v1.0.0

func (o *Output) AddAbnormalClaimsP(exec boil.Executor, insert bool, related ...*AbnormalClaim)

AddAbnormalClaimsP adds the given related objects to the existing relationships of the output, optionally inserting them as new records. Appends related to o.R.AbnormalClaims. Sets related.R.Output appropriately. Panics on error.

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, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Output) InsertG

func (o *Output) InsertG(columns boil.Columns) error

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

func (*Output) InsertGP

func (o *Output) InsertGP(columns boil.Columns)

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

func (*Output) InsertP

func (o *Output) InsertP(exec boil.Executor, columns boil.Columns)

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

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

Transaction pointed to by the foreign key.

func (*Output) Update

func (o *Output) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the Output. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. 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(columns boil.Columns) error

UpdateG a single Output record using the global executor. See Update for more documentation.

func (*Output) UpdateGP

func (o *Output) UpdateGP(columns boil.Columns)

UpdateGP a single Output record using the global executor. Panics on error. See Update for more documentation.

func (*Output) UpdateP

func (o *Output) UpdateP(exec boil.Executor, columns boil.Columns)

UpdateP uses an executor to update the Output, and panics on error. See Update for more documentation.

func (*Output) Upsert

func (o *Output) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Output) UpsertG

func (o *Output) UpsertG(updateColumns, insertColumns boil.Columns) error

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

func (*Output) UpsertGP

func (o *Output) UpsertGP(updateColumns, insertColumns boil.Columns)

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, insertColumns boil.Columns)

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 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"`
	TransactionHashID null.String `` /* 127-byte string literal not displayed */
	Vout              uint        `boil:"vout" json:"vout" toml:"vout" yaml:"vout"`
	CreatedAt         time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	ModifiedAt        time.Time   `boil:"modified_at" json:"modified_at" toml:"modified_at" yaml:"modified_at"`

	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, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Support) InsertG

func (o *Support) InsertG(columns boil.Columns) error

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

func (*Support) InsertGP

func (o *Support) InsertGP(columns boil.Columns)

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

func (*Support) InsertP

func (o *Support) InsertP(exec boil.Executor, columns boil.Columns)

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) RemoveTransactionHash added in v0.3.0

func (o *Support) RemoveTransactionHash(exec boil.Executor, related *Transaction) error

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

func (*Support) RemoveTransactionHashG added in v0.3.0

func (o *Support) RemoveTransactionHashG(related *Transaction) error

RemoveTransactionHashG relationship. Sets o.R.TransactionHash to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.

func (*Support) RemoveTransactionHashGP added in v0.3.0

func (o *Support) RemoveTransactionHashGP(related *Transaction)

RemoveTransactionHashGP relationship. Sets o.R.TransactionHash to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.

func (*Support) RemoveTransactionHashP added in v0.3.0

func (o *Support) RemoveTransactionHashP(exec boil.Executor, related *Transaction)

RemoveTransactionHashP relationship. Sets o.R.TransactionHash to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.

func (*Support) SetTransactionHash added in v0.3.0

func (o *Support) SetTransactionHash(exec boil.Executor, insert bool, related *Transaction) error

SetTransactionHash of the support to the related item. Sets o.R.TransactionHash to related. Adds o to related.R.TransactionHashSupports.

func (*Support) SetTransactionHashG added in v0.3.0

func (o *Support) SetTransactionHashG(insert bool, related *Transaction) error

SetTransactionHashG of the support to the related item. Sets o.R.TransactionHash to related. Adds o to related.R.TransactionHashSupports. Uses the global database handle.

func (*Support) SetTransactionHashGP added in v0.3.0

func (o *Support) SetTransactionHashGP(insert bool, related *Transaction)

SetTransactionHashGP of the support to the related item. Sets o.R.TransactionHash to related. Adds o to related.R.TransactionHashSupports. Uses the global database handle and panics on error.

func (*Support) SetTransactionHashP added in v0.3.0

func (o *Support) SetTransactionHashP(exec boil.Executor, insert bool, related *Transaction)

SetTransactionHashP of the support to the related item. Sets o.R.TransactionHash to related. Adds o to related.R.TransactionHashSupports. Panics on error.

func (*Support) TransactionHash

func (o *Support) TransactionHash(mods ...qm.QueryMod) transactionQuery

TransactionHash pointed to by the foreign key.

func (*Support) Update

func (o *Support) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the Support. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. 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(columns boil.Columns) error

UpdateG a single Support record using the global executor. See Update for more documentation.

func (*Support) UpdateGP

func (o *Support) UpdateGP(columns boil.Columns)

UpdateGP a single Support record using the global executor. Panics on error. See Update for more documentation.

func (*Support) UpdateP

func (o *Support) UpdateP(exec boil.Executor, columns boil.Columns)

UpdateP uses an executor to update the Support, and panics on error. See Update for more documentation.

func (*Support) Upsert

func (o *Support) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Support) UpsertG

func (o *Support) UpsertG(updateColumns, insertColumns boil.Columns) error

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

func (*Support) UpsertGP

func (o *Support) UpsertGP(updateColumns, insertColumns boil.Columns)

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, insertColumns boil.Columns)

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"`
	BlockHashID     null.String `boil:"block_hash_id" json:"block_hash_id,omitempty" toml:"block_hash_id" yaml:"block_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"`
	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"`
	CreatedAt       time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	ModifiedAt      time.Time   `boil:"modified_at" json:"modified_at" toml:"modified_at" yaml:"modified_at"`
	CreatedTime     time.Time   `boil:"created_time" json:"created_time" toml:"created_time" yaml:"created_time"`
	Value           float64     `boil:"value" json:"value" toml:"value" yaml:"value"`

	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) AddTransactionHashClaims added in v1.0.0

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

AddTransactionHashClaims adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionHashClaims. Sets related.R.TransactionHash appropriately.

func (*Transaction) AddTransactionHashClaimsG added in v1.0.0

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

AddTransactionHashClaimsG adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionHashClaims. Sets related.R.TransactionHash appropriately. Uses the global database handle.

func (*Transaction) AddTransactionHashClaimsGP added in v1.0.0

func (o *Transaction) AddTransactionHashClaimsGP(insert bool, related ...*Claim)

AddTransactionHashClaimsGP adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionHashClaims. Sets related.R.TransactionHash appropriately. Uses the global database handle and panics on error.

func (*Transaction) AddTransactionHashClaimsP added in v1.0.0

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

AddTransactionHashClaimsP adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionHashClaims. Sets related.R.TransactionHash appropriately. Panics on error.

func (*Transaction) AddTransactionHashSupports added in v0.3.0

func (o *Transaction) AddTransactionHashSupports(exec boil.Executor, insert bool, related ...*Support) error

AddTransactionHashSupports adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionHashSupports. Sets related.R.TransactionHash appropriately.

func (*Transaction) AddTransactionHashSupportsG added in v0.3.0

func (o *Transaction) AddTransactionHashSupportsG(insert bool, related ...*Support) error

AddTransactionHashSupportsG adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionHashSupports. Sets related.R.TransactionHash appropriately. Uses the global database handle.

func (*Transaction) AddTransactionHashSupportsGP added in v0.3.0

func (o *Transaction) AddTransactionHashSupportsGP(insert bool, related ...*Support)

AddTransactionHashSupportsGP adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionHashSupports. Sets related.R.TransactionHash appropriately. Uses the global database handle and panics on error.

func (*Transaction) AddTransactionHashSupportsP added in v0.3.0

func (o *Transaction) AddTransactionHashSupportsP(exec boil.Executor, insert bool, related ...*Support)

AddTransactionHashSupportsP adds the given related objects to the existing relationships of the transaction, optionally inserting them as new records. Appends related to o.R.TransactionHashSupports. Sets related.R.TransactionHash appropriately. Panics on error.

func (*Transaction) BlockHash added in v1.0.0

func (o *Transaction) BlockHash(mods ...qm.QueryMod) blockQuery

BlockHash 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(mods ...qm.QueryMod) inputQuery

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

func (*Transaction) Insert

func (o *Transaction) Insert(exec boil.Executor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Transaction) InsertG

func (o *Transaction) InsertG(columns boil.Columns) error

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

func (*Transaction) InsertGP

func (o *Transaction) InsertGP(columns boil.Columns)

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

func (*Transaction) InsertP

func (o *Transaction) InsertP(exec boil.Executor, columns boil.Columns)

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

func (*Transaction) Outputs

func (o *Transaction) Outputs(mods ...qm.QueryMod) outputQuery

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

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) RemoveBlockHash added in v1.0.0

func (o *Transaction) RemoveBlockHash(exec boil.Executor, related *Block) error

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

func (*Transaction) RemoveBlockHashG added in v1.0.0

func (o *Transaction) RemoveBlockHashG(related *Block) error

RemoveBlockHashG relationship. Sets o.R.BlockHash to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.

func (*Transaction) RemoveBlockHashGP added in v1.0.0

func (o *Transaction) RemoveBlockHashGP(related *Block)

RemoveBlockHashGP relationship. Sets o.R.BlockHash to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.

func (*Transaction) RemoveBlockHashP added in v1.0.0

func (o *Transaction) RemoveBlockHashP(exec boil.Executor, related *Block)

RemoveBlockHashP relationship. Sets o.R.BlockHash to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.

func (*Transaction) RemoveTransactionHashClaims added in v1.0.0

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

RemoveTransactionHashClaims relationships from objects passed in. Removes related items from R.TransactionHashClaims (uses pointer comparison, removal does not keep order) Sets related.R.TransactionHash.

func (*Transaction) RemoveTransactionHashClaimsG added in v1.0.0

func (o *Transaction) RemoveTransactionHashClaimsG(related ...*Claim) error

RemoveTransactionHashClaimsG relationships from objects passed in. Removes related items from R.TransactionHashClaims (uses pointer comparison, removal does not keep order) Sets related.R.TransactionHash. Uses the global database handle.

func (*Transaction) RemoveTransactionHashClaimsGP added in v1.0.0

func (o *Transaction) RemoveTransactionHashClaimsGP(related ...*Claim)

RemoveTransactionHashClaimsGP relationships from objects passed in. Removes related items from R.TransactionHashClaims (uses pointer comparison, removal does not keep order) Sets related.R.TransactionHash. Uses the global database handle and panics on error.

func (*Transaction) RemoveTransactionHashClaimsP added in v1.0.0

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

RemoveTransactionHashClaimsP relationships from objects passed in. Removes related items from R.TransactionHashClaims (uses pointer comparison, removal does not keep order) Sets related.R.TransactionHash. Panics on error.

func (*Transaction) RemoveTransactionHashSupports added in v0.3.0

func (o *Transaction) RemoveTransactionHashSupports(exec boil.Executor, related ...*Support) error

RemoveTransactionHashSupports relationships from objects passed in. Removes related items from R.TransactionHashSupports (uses pointer comparison, removal does not keep order) Sets related.R.TransactionHash.

func (*Transaction) RemoveTransactionHashSupportsG added in v0.3.0

func (o *Transaction) RemoveTransactionHashSupportsG(related ...*Support) error

RemoveTransactionHashSupportsG relationships from objects passed in. Removes related items from R.TransactionHashSupports (uses pointer comparison, removal does not keep order) Sets related.R.TransactionHash. Uses the global database handle.

func (*Transaction) RemoveTransactionHashSupportsGP added in v0.3.0

func (o *Transaction) RemoveTransactionHashSupportsGP(related ...*Support)

RemoveTransactionHashSupportsGP relationships from objects passed in. Removes related items from R.TransactionHashSupports (uses pointer comparison, removal does not keep order) Sets related.R.TransactionHash. Uses the global database handle and panics on error.

func (*Transaction) RemoveTransactionHashSupportsP added in v0.3.0

func (o *Transaction) RemoveTransactionHashSupportsP(exec boil.Executor, related ...*Support)

RemoveTransactionHashSupportsP relationships from objects passed in. Removes related items from R.TransactionHashSupports (uses pointer comparison, removal does not keep order) Sets related.R.TransactionHash. Panics on error.

func (*Transaction) SetBlockHash added in v1.0.0

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

SetBlockHash of the transaction to the related item. Sets o.R.BlockHash to related. Adds o to related.R.BlockHashTransactions.

func (*Transaction) SetBlockHashG added in v1.0.0

func (o *Transaction) SetBlockHashG(insert bool, related *Block) error

SetBlockHashG of the transaction to the related item. Sets o.R.BlockHash to related. Adds o to related.R.BlockHashTransactions. Uses the global database handle.

func (*Transaction) SetBlockHashGP added in v1.0.0

func (o *Transaction) SetBlockHashGP(insert bool, related *Block)

SetBlockHashGP of the transaction to the related item. Sets o.R.BlockHash to related. Adds o to related.R.BlockHashTransactions. Uses the global database handle and panics on error.

func (*Transaction) SetBlockHashP added in v1.0.0

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

SetBlockHashP of the transaction to the related item. Sets o.R.BlockHash to related. Adds o to related.R.BlockHashTransactions. Panics on error.

func (*Transaction) SetTransactionHashClaims added in v1.0.0

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

SetTransactionHashClaims 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.TransactionHash's TransactionHashClaims accordingly. Replaces o.R.TransactionHashClaims with related. Sets related.R.TransactionHash's TransactionHashClaims accordingly.

func (*Transaction) SetTransactionHashClaimsG added in v1.0.0

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

SetTransactionHashClaimsG 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.TransactionHash's TransactionHashClaims accordingly. Replaces o.R.TransactionHashClaims with related. Sets related.R.TransactionHash's TransactionHashClaims accordingly. Uses the global database handle.

func (*Transaction) SetTransactionHashClaimsGP added in v1.0.0

func (o *Transaction) SetTransactionHashClaimsGP(insert bool, related ...*Claim)

SetTransactionHashClaimsGP 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.TransactionHash's TransactionHashClaims accordingly. Replaces o.R.TransactionHashClaims with related. Sets related.R.TransactionHash's TransactionHashClaims accordingly. Uses the global database handle and panics on error.

func (*Transaction) SetTransactionHashClaimsP added in v1.0.0

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

SetTransactionHashClaimsP 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.TransactionHash's TransactionHashClaims accordingly. Replaces o.R.TransactionHashClaims with related. Sets related.R.TransactionHash's TransactionHashClaims accordingly. Panics on error.

func (*Transaction) SetTransactionHashSupports added in v0.3.0

func (o *Transaction) SetTransactionHashSupports(exec boil.Executor, insert bool, related ...*Support) error

SetTransactionHashSupports 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.TransactionHash's TransactionHashSupports accordingly. Replaces o.R.TransactionHashSupports with related. Sets related.R.TransactionHash's TransactionHashSupports accordingly.

func (*Transaction) SetTransactionHashSupportsG added in v0.3.0

func (o *Transaction) SetTransactionHashSupportsG(insert bool, related ...*Support) error

SetTransactionHashSupportsG 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.TransactionHash's TransactionHashSupports accordingly. Replaces o.R.TransactionHashSupports with related. Sets related.R.TransactionHash's TransactionHashSupports accordingly. Uses the global database handle.

func (*Transaction) SetTransactionHashSupportsGP added in v0.3.0

func (o *Transaction) SetTransactionHashSupportsGP(insert bool, related ...*Support)

SetTransactionHashSupportsGP 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.TransactionHash's TransactionHashSupports accordingly. Replaces o.R.TransactionHashSupports with related. Sets related.R.TransactionHash's TransactionHashSupports accordingly. Uses the global database handle and panics on error.

func (*Transaction) SetTransactionHashSupportsP added in v0.3.0

func (o *Transaction) SetTransactionHashSupportsP(exec boil.Executor, insert bool, related ...*Support)

SetTransactionHashSupportsP 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.TransactionHash's TransactionHashSupports accordingly. Replaces o.R.TransactionHashSupports with related. Sets related.R.TransactionHash's TransactionHashSupports accordingly. Panics on error.

func (*Transaction) TransactionAddresses

func (o *Transaction) TransactionAddresses(mods ...qm.QueryMod) transactionAddressQuery

TransactionAddresses retrieves all the transaction_address's TransactionAddresses with an executor.

func (*Transaction) TransactionHashClaims added in v1.0.0

func (o *Transaction) TransactionHashClaims(mods ...qm.QueryMod) claimQuery

TransactionHashClaims retrieves all the claim's Claims with an executor via transaction_hash_id column.

func (*Transaction) TransactionHashSupports added in v0.3.0

func (o *Transaction) TransactionHashSupports(mods ...qm.QueryMod) supportQuery

TransactionHashSupports retrieves all the support's Supports with an executor via transaction_hash_id column.

func (*Transaction) Update

func (o *Transaction) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the Transaction. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. 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(columns boil.Columns) error

UpdateG a single Transaction record using the global executor. See Update for more documentation.

func (*Transaction) UpdateGP

func (o *Transaction) UpdateGP(columns boil.Columns)

UpdateGP a single Transaction record using the global executor. Panics on error. See Update for more documentation.

func (*Transaction) UpdateP

func (o *Transaction) UpdateP(exec boil.Executor, columns boil.Columns)

UpdateP uses an executor to update the Transaction, and panics on error. See Update for more documentation.

func (*Transaction) Upsert

func (o *Transaction) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Transaction) UpsertG

func (o *Transaction) UpsertG(updateColumns, insertColumns boil.Columns) error

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

func (*Transaction) UpsertGP

func (o *Transaction) UpsertGP(updateColumns, insertColumns boil.Columns)

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, insertColumns boil.Columns)

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"`

	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(mods ...qm.QueryMod) addressQuery

Address 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, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*TransactionAddress) InsertG

func (o *TransactionAddress) InsertG(columns boil.Columns) error

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

func (*TransactionAddress) InsertGP

func (o *TransactionAddress) InsertGP(columns boil.Columns)

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

func (*TransactionAddress) InsertP

func (o *TransactionAddress) InsertP(exec boil.Executor, columns boil.Columns)

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 transactionAddress 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 transactionAddress 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 transactionAddress 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 transactionAddress 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 transactionAddress 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 transactionAddress 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 transactionAddress 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 transactionAddress 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(mods ...qm.QueryMod) transactionQuery

Transaction pointed to by the foreign key.

func (*TransactionAddress) Update

func (o *TransactionAddress) Update(exec boil.Executor, columns boil.Columns) error

Update uses an executor to update the TransactionAddress. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. 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(columns boil.Columns) error

UpdateG a single TransactionAddress record using the global executor. See Update for more documentation.

func (*TransactionAddress) UpdateGP

func (o *TransactionAddress) UpdateGP(columns boil.Columns)

UpdateGP a single TransactionAddress record using the global executor. Panics on error. See Update for more documentation.

func (*TransactionAddress) UpdateP

func (o *TransactionAddress) UpdateP(exec boil.Executor, columns boil.Columns)

UpdateP uses an executor to update the TransactionAddress, and panics on error. See Update for more documentation.

func (*TransactionAddress) Upsert

func (o *TransactionAddress) Upsert(exec boil.Executor, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*TransactionAddress) UpsertG

func (o *TransactionAddress) UpsertG(updateColumns, insertColumns boil.Columns) error

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

func (*TransactionAddress) UpsertGP

func (o *TransactionAddress) UpsertGP(updateColumns, insertColumns boil.Columns)

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, insertColumns boil.Columns)

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.

Jump to

Keyboard shortcuts

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