models

package
v0.0.0-...-d0dd730 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2019 License: Apache-2.0 Imports: 14 Imported by: 14

Documentation

Index

Constants

View Source
const (
	ChannelStatusFree          = "free"
	ChannelStatusInUse         = "in_use"
	ChannelStatusMergeReserved = "merge_reserved"
	ChannelStatusMerged        = "merged"
)

Enum values for channel_status

View Source
const (
	ExchangeCurrencyTypeCrypto = "crypto"
	ExchangeCurrencyTypeFiat   = "fiat"
)

Enum values for exchange_currency_type

View Source
const (
	PaymentNetworkFiat     = "fiat"
	PaymentNetworkStellar  = "stellar"
	PaymentNetworkEthereum = "ethereum"
	PaymentNetworkBitcoin  = "bitcoin"
)

Enum values for payment_network

View Source
const (
	IcoStatusPlanning  = "planning"
	IcoStatusReady     = "ready"
	IcoStatusActive    = "active"
	IcoStatusFinished  = "finished"
	IcoStatusCompleted = "completed"
	IcoStatusStopped   = "stopped"
)

Enum values for ico_status

View Source
const (
	IcoPhaseStatusPlanning  = "planning"
	IcoPhaseStatusReady     = "ready"
	IcoPhaseStatusActive    = "active"
	IcoPhaseStatusFinished  = "finished"
	IcoPhaseStatusCompleted = "completed"
	IcoPhaseStatusStopped   = "stopped"
)

Enum values for ico_phase_status

View Source
const (
	TransactionStatusNew     = "new"
	TransactionStatusError   = "error"
	TransactionStatusRefund  = "refund"
	TransactionStatusCashout = "cashout"
)

Enum values for transaction_status

View Source
const (
	MessageTypeIos     = "ios"
	MessageTypeAndroid = "android"
	MessageTypeMail    = "mail"
)

Enum values for message_type

View Source
const (
	MailContentTypeText = "text"
	MailContentTypeHTML = "html"
)

Enum values for mail_content_type

View Source
const (
	NotificationStatusCodeNew     = "new"
	NotificationStatusCodeSuccess = "success"
	NotificationStatusCodeError   = "error"
)

Enum values for notification_status_code

View Source
const (
	MemoTypeMEMO_TEXT   = "MEMO_TEXT"
	MemoTypeMEMO_ID     = "MEMO_ID"
	MemoTypeMEMO_HASH   = "MEMO_HASH"
	MemoTypeMEMO_RETURN = "MEMO_RETURN"
)

Enum values for memo_type

View Source
const (
	KycDocumentTypePassport         = "passport"
	KycDocumentTypeDriversLicense   = "drivers_license"
	KycDocumentTypeIDCard           = "id_card"
	KycDocumentTypeProofOfResidence = "proof_of_residence"
)

Enum values for kyc_document_type

View Source
const (
	KycDocumentFormatPNG  = "png"
	KycDocumentFormatPDF  = "pdf"
	KycDocumentFormatJPG  = "jpg"
	KycDocumentFormatJpeg = "jpeg"
)

Enum values for kyc_document_format

View Source
const (
	KycDocumentSideFront = "front"
	KycDocumentSideBack  = "back"
)

Enum values for kyc_document_side

View Source
const (
	OrderStatusWaitingForPayment      = "waiting_for_payment"
	OrderStatusPaymentReceived        = "payment_received"
	OrderStatusWaitingUserTransaction = "waiting_user_transaction"
	OrderStatusPaymentError           = "payment_error"
	OrderStatusFinished               = "finished"
	OrderStatusError                  = "error"
	OrderStatusUnderPay               = "under_pay"
	OrderStatusOverPay                = "over_pay"
	OrderStatusNoCoinsLeft            = "no_coins_left"
	OrderStatusPhaseExpired           = "phase_expired"
)

Enum values for order_status

View Source
const (
	PaymentStateOpen  = "open"
	PaymentStateClose = "close"
)

Enum values for payment_state

View Source
const (
	KycStatusNotSupported     = "not_supported"
	KycStatusWaitingForData   = "waiting_for_data"
	KycStatusWaitingForReview = "waiting_for_review"
	KycStatusInReview         = "in_review"
	KycStatusPending          = "pending"
	KycStatusRejected         = "rejected"
	KycStatusApproved         = "approved"
)

Enum values for kyc_status

View Source
const (
	DeviceTypeApple  = "apple"
	DeviceTypeGoogle = "google"
)

Enum values for device_type

View Source
const (
	WalletTypeInternal = "internal"
	WalletTypeExternal = "external"
)

Enum values for wallet_type

View Source
const (
	IcoSalesModelFixed = "fixed"
)

Enum values for ico_sales_model

Variables

View Source
var ChannelColumns = struct {
	ID        string
	PK        string
	Seed      string
	Status    string
	CreatedAt string
	UpdatedAt string
}{
	ID:        "id",
	PK:        "pk",
	Seed:      "seed",
	Status:    "status",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
}
View Source
var ChannelRels = struct {
}{}

ChannelRels is where relationship names are stored.

View Source
var CountryColumns = struct {
	ID          string
	LangCode    string
	CountryName string
}{
	ID:          "id",
	LangCode:    "lang_code",
	CountryName: "country_name",
}
View Source
var CountryRels = struct {
}{}

CountryRels is where relationship names are stored.

View Source
var ErrSyncFail = errors.New("models: 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 ExchangeCurrencyColumns = struct {
	ID                   string
	Name                 string
	ExchangeCurrencyType string
	AssetCode            string
	DenomAssetCode       string
	PaymentNetwork       string
	EcAssetIssuerPK      string
	Decimals             string
	CreatedAt            string
	UpdatedAt            string
	UpdatedBy            string
}{
	ID:                   "id",
	Name:                 "name",
	ExchangeCurrencyType: "exchange_currency_type",
	AssetCode:            "asset_code",
	DenomAssetCode:       "denom_asset_code",
	PaymentNetwork:       "payment_network",
	EcAssetIssuerPK:      "ec_asset_issuer_pk",
	Decimals:             "decimals",
	CreatedAt:            "created_at",
	UpdatedAt:            "updated_at",
	UpdatedBy:            "updated_by",
}
View Source
var ExchangeCurrencyRels = struct {
	IcoPhaseActivatedExchangeCurrencies string
	IcoSupportedExchangeCurrencies      string
	UserOrders                          string
}{
	IcoPhaseActivatedExchangeCurrencies: "IcoPhaseActivatedExchangeCurrencies",
	IcoSupportedExchangeCurrencies:      "IcoSupportedExchangeCurrencies",
	UserOrders:                          "UserOrders",
}

ExchangeCurrencyRels is where relationship names are stored.

View Source
var IcoColumns = struct {
	ID         string
	IcoName    string
	IcoStatus  string
	Kyc        string
	SalesModel string
	IssuerPK   string
	AssetCode  string
	CreatedAt  string
	UpdatedAt  string
	UpdatedBy  string
}{
	ID:         "id",
	IcoName:    "ico_name",
	IcoStatus:  "ico_status",
	Kyc:        "kyc",
	SalesModel: "sales_model",
	IssuerPK:   "issuer_pk",
	AssetCode:  "asset_code",
	CreatedAt:  "created_at",
	UpdatedAt:  "updated_at",
	UpdatedBy:  "updated_by",
}
View Source
var IcoPhaseActivatedExchangeCurrencyColumns = struct {
	ID                        string
	IcoPhaseID                string
	ExchangeCurrencyID        string
	ExchangeMasterKey         string
	DenomPricePerToken        string
	StellarPaymentAccountPK   string
	StellarPaymentAccountSeed string
	CryptoPayoutAddress       string
	TokensReleased            string
	TokensBlocked             string
	IcoPhaseBankAccountID     string
	CreatedAt                 string
	UpdatedAt                 string
	UpdatedBy                 string
}{
	ID:                        "id",
	IcoPhaseID:                "ico_phase_id",
	ExchangeCurrencyID:        "exchange_currency_id",
	ExchangeMasterKey:         "exchange_master_key",
	DenomPricePerToken:        "denom_price_per_token",
	StellarPaymentAccountPK:   "stellar_payment_account_pk",
	StellarPaymentAccountSeed: "stellar_payment_account_seed",
	CryptoPayoutAddress:       "crypto_payout_address",
	TokensReleased:            "tokens_released",
	TokensBlocked:             "tokens_blocked",
	IcoPhaseBankAccountID:     "ico_phase_bank_account_id",
	CreatedAt:                 "created_at",
	UpdatedAt:                 "updated_at",
	UpdatedBy:                 "updated_by",
}
View Source
var IcoPhaseActivatedExchangeCurrencyRels = struct {
	IcoPhase            string
	ExchangeCurrency    string
	IcoPhaseBankAccount string
}{
	IcoPhase:            "IcoPhase",
	ExchangeCurrency:    "ExchangeCurrency",
	IcoPhaseBankAccount: "IcoPhaseBankAccount",
}

IcoPhaseActivatedExchangeCurrencyRels is where relationship names are stored.

View Source
var IcoPhaseBankAccountColumns = struct {
	ID                 string
	AccountName        string
	RecepientName      string
	BankName           string
	Iban               string
	BicSwift           string
	PaymendUsageString string
	CreatedAt          string
	UpdatedAt          string
	UpdatedBy          string
}{
	ID:                 "id",
	AccountName:        "account_name",
	RecepientName:      "recepient_name",
	BankName:           "bank_name",
	Iban:               "iban",
	BicSwift:           "bic_swift",
	PaymendUsageString: "paymend_usage_string",
	CreatedAt:          "created_at",
	UpdatedAt:          "updated_at",
	UpdatedBy:          "updated_by",
}
View Source
var IcoPhaseBankAccountRels = struct {
	IcoPhaseActivatedExchangeCurrencies string
}{
	IcoPhaseActivatedExchangeCurrencies: "IcoPhaseActivatedExchangeCurrencies",
}

IcoPhaseBankAccountRels is where relationship names are stored.

View Source
var IcoPhaseColumns = struct {
	ID                          string
	IcoID                       string
	IcoPhaseName                string
	IcoPhaseStatus              string
	DistPK                      string
	DistPresignerPK             string
	DistPresignerSeed           string
	DistPostsignerPK            string
	DistPostsignerSeed          string
	StartTime                   string
	EndTime                     string
	TokensToDistribute          string
	TokensReleased              string
	StellarStartingBalanceDenom string
	TokensBlocked               string
	TokensLeft                  string
	TokenMaxOrderAmount         string
	TokenMinOrderAmount         string
	MaxUserOrders               string
	CreatedAt                   string
	UpdatedAt                   string
	UpdatedBy                   string
}{
	ID:                          "id",
	IcoID:                       "ico_id",
	IcoPhaseName:                "ico_phase_name",
	IcoPhaseStatus:              "ico_phase_status",
	DistPK:                      "dist_pk",
	DistPresignerPK:             "dist_presigner_pk",
	DistPresignerSeed:           "dist_presigner_seed",
	DistPostsignerPK:            "dist_postsigner_pk",
	DistPostsignerSeed:          "dist_postsigner_seed",
	StartTime:                   "start_time",
	EndTime:                     "end_time",
	TokensToDistribute:          "tokens_to_distribute",
	TokensReleased:              "tokens_released",
	StellarStartingBalanceDenom: "stellar_starting_balance_denom",
	TokensBlocked:               "tokens_blocked",
	TokensLeft:                  "tokens_left",
	TokenMaxOrderAmount:         "token_max_order_amount",
	TokenMinOrderAmount:         "token_min_order_amount",
	MaxUserOrders:               "max_user_orders",
	CreatedAt:                   "created_at",
	UpdatedAt:                   "updated_at",
	UpdatedBy:                   "updated_by",
}
View Source
var IcoPhaseRels = struct {
	Ico                                 string
	IcoPhaseActivatedExchangeCurrencies string
	UserOrders                          string
}{
	Ico:                                 "Ico",
	IcoPhaseActivatedExchangeCurrencies: "IcoPhaseActivatedExchangeCurrencies",
	UserOrders:                          "UserOrders",
}

IcoPhaseRels is where relationship names are stored.

View Source
var IcoRels = struct {
	IcoPhases                      string
	IcoSupportedExchangeCurrencies string
}{
	IcoPhases:                      "IcoPhases",
	IcoSupportedExchangeCurrencies: "IcoSupportedExchangeCurrencies",
}

IcoRels is where relationship names are stored.

View Source
var IcoSupportedExchangeCurrencyColumns = struct {
	ID                 string
	IcoID              string
	ExchangeCurrencyID string
	CreatedAt          string
	UpdatedAt          string
	UpdatedBy          string
}{
	ID:                 "id",
	IcoID:              "ico_id",
	ExchangeCurrencyID: "exchange_currency_id",
	CreatedAt:          "created_at",
	UpdatedAt:          "updated_at",
	UpdatedBy:          "updated_by",
}
View Source
var IcoSupportedExchangeCurrencyRels = struct {
	Ico              string
	ExchangeCurrency string
}{
	Ico:              "Ico",
	ExchangeCurrency: "ExchangeCurrency",
}

IcoSupportedExchangeCurrencyRels is where relationship names are stored.

View Source
var IncomingTransactionColumns = struct {
	ID                               string
	Status                           string
	PaymentNetwork                   string
	TransactionHash                  string
	BTCSRCOutIndex                   string
	ReceivingAddress                 string
	SenderAddress                    string
	PaymentNetworkAmountDenomination string
	OrderID                          string
	CreatedAt                        string
	UpdatedAt                        string
}{
	ID:                               "id",
	Status:                           "status",
	PaymentNetwork:                   "payment_network",
	TransactionHash:                  "transaction_hash",
	BTCSRCOutIndex:                   "btc_src_out_index",
	ReceivingAddress:                 "receiving_address",
	SenderAddress:                    "sender_address",
	PaymentNetworkAmountDenomination: "payment_network_amount_denomination",
	OrderID:                          "order_id",
	CreatedAt:                        "created_at",
	UpdatedAt:                        "updated_at",
}
View Source
var IncomingTransactionRels = struct {
	Order                string
	OutgoingTransactions string
}{
	Order:                "Order",
	OutgoingTransactions: "OutgoingTransactions",
}

IncomingTransactionRels is where relationship names are stored.

View Source
var JWTKeyColumns = struct {
	ID             string
	KeyName        string
	KeyValue1      string
	KeyValue2      string
	KeyDescription string
	Valid1To       string
	Valid2To       string
	UpdatedAt      string
}{
	ID:             "id",
	KeyName:        "key_name",
	KeyValue1:      "key_value1",
	KeyValue2:      "key_value2",
	KeyDescription: "key_description",
	Valid1To:       "valid1_to",
	Valid2To:       "valid2_to",
	UpdatedAt:      "updated_at",
}
View Source
var JWTKeyRels = struct {
}{}

JWTKeyRels is where relationship names are stored.

View Source
var KeyValueStoreColumns = struct {
	Key   string
	Value string
}{
	Key:   "key",
	Value: "value",
}
View Source
var KeyValueStoreRels = struct {
}{}

KeyValueStoreRels is where relationship names are stored.

View Source
var LanguageColumns = struct {
	ID       string
	LangCode string
	LangName string
}{
	ID:       "id",
	LangCode: "lang_code",
	LangName: "lang_name",
}
View Source
var LanguageRels = struct {
}{}

LanguageRels is where relationship names are stored.

View Source
var MailColumns = struct {
	ID               string
	MailFrom         string
	MailTo           string
	MailSubject      string
	MailBody         string
	ExternalStatus   string
	ExternalStatusID string
	InternalStatus   string
	CreatedAt        string
	UpdatedBy        string
}{
	ID:               "id",
	MailFrom:         "mail_from",
	MailTo:           "mail_to",
	MailSubject:      "mail_subject",
	MailBody:         "mail_body",
	ExternalStatus:   "external_status",
	ExternalStatusID: "external_status_id",
	InternalStatus:   "internal_status",
	CreatedAt:        "created_at",
	UpdatedBy:        "updated_by",
}
View Source
var MailRels = struct {
}{}

MailRels is where relationship names are stored.

View Source
var NotificationArchiveColumns = struct {
	ID                  string
	UserID              string
	PushToken           string
	Type                string
	Content             string
	MailSubject         string
	MailType            string
	UserEmail           string
	Status              string
	InternalErrorString string
	ExternalStatusCode  string
	ExternalErrorString string
	CreatedAt           string
	UpdatedAt           string
	UpdatedBy           string
}{
	ID:                  "id",
	UserID:              "user_id",
	PushToken:           "push_token",
	Type:                "type",
	Content:             "content",
	MailSubject:         "mail_subject",
	MailType:            "mail_type",
	UserEmail:           "user_email",
	Status:              "status",
	InternalErrorString: "internal_error_string",
	ExternalStatusCode:  "external_status_code",
	ExternalErrorString: "external_error_string",
	CreatedAt:           "created_at",
	UpdatedAt:           "updated_at",
	UpdatedBy:           "updated_by",
}
View Source
var NotificationArchiveRels = struct {
	User string
}{
	User: "User",
}

NotificationArchiveRels is where relationship names are stored.

View Source
var NotificationColumns = struct {
	ID          string
	UserID      string
	PushToken   string
	Type        string
	Content     string
	MailSubject string
	MailType    string
	UserEmail   string
	CreatedAt   string
	UpdatedAt   string
	UpdatedBy   string
}{
	ID:          "id",
	UserID:      "user_id",
	PushToken:   "push_token",
	Type:        "type",
	Content:     "content",
	MailSubject: "mail_subject",
	MailType:    "mail_type",
	UserEmail:   "user_email",
	CreatedAt:   "created_at",
	UpdatedAt:   "updated_at",
	UpdatedBy:   "updated_by",
}
View Source
var NotificationRels = struct {
	User string
}{
	User: "User",
}

NotificationRels is where relationship names are stored.

View Source
var OccupationColumns = struct {
	ID     string
	Isco08 string
	Isco88 string
	Name   string
}{
	ID:     "id",
	Isco08: "isco08",
	Isco88: "isco88",
	Name:   "name",
}
View Source
var OccupationRels = struct {
}{}

OccupationRels is where relationship names are stored.

View Source
var OrderTransactionLogColumns = struct {
	ID         string
	OrderID    string
	Status     string
	TX         string
	TXHash     string
	ResultCode string
	ResultXDR  string
	ErrorText  string
	CreatedAt  string
}{
	ID:         "id",
	OrderID:    "order_id",
	Status:     "status",
	TX:         "tx",
	TXHash:     "tx_hash",
	ResultCode: "result_code",
	ResultXDR:  "result_xdr",
	ErrorText:  "error_text",
	CreatedAt:  "created_at",
}
View Source
var OrderTransactionLogRels = struct {
	Order string
}{
	Order: "Order",
}

OrderTransactionLogRels is where relationship names are stored.

View Source
var OutgoingTransactionColumns = struct {
	ID                               string
	IncomingTransactionID            string
	OrderID                          string
	Status                           string
	ExecuteStatus                    string
	PaymentNetwork                   string
	SenderAddress                    string
	ReceivingAddress                 string
	TransactionString                string
	TransactionHash                  string
	TransactionError                 string
	PaymentNetworkAmountDenomination string
	CreatedAt                        string
	UpdatedAt                        string
}{
	ID:                               "id",
	IncomingTransactionID:            "incoming_transaction_id",
	OrderID:                          "order_id",
	Status:                           "status",
	ExecuteStatus:                    "execute_status",
	PaymentNetwork:                   "payment_network",
	SenderAddress:                    "sender_address",
	ReceivingAddress:                 "receiving_address",
	TransactionString:                "transaction_string",
	TransactionHash:                  "transaction_hash",
	TransactionError:                 "transaction_error",
	PaymentNetworkAmountDenomination: "payment_network_amount_denomination",
	CreatedAt:                        "created_at",
	UpdatedAt:                        "updated_at",
}
View Source
var OutgoingTransactionRels = struct {
	IncomingTransaction string
	Order               string
}{
	IncomingTransaction: "IncomingTransaction",
	Order:               "Order",
}

OutgoingTransactionRels is where relationship names are stored.

View Source
var PaymentTemplateColumns = struct {
	ID                      string
	WalletID                string
	RecepientStellarAddress string
	RecepientPK             string
	AssetCode               string
	IssuerPK                string
	Amount                  string
	Memo                    string
	CreatedAt               string
	UpdatedAt               string
	UpdatedBy               string
	TemplateName            string
	MemoType                string
}{
	ID:                      "id",
	WalletID:                "wallet_id",
	RecepientStellarAddress: "recepient_stellar_address",
	RecepientPK:             "recepient_pk",
	AssetCode:               "asset_code",
	IssuerPK:                "issuer_pk",
	Amount:                  "amount",
	Memo:                    "memo",
	CreatedAt:               "created_at",
	UpdatedAt:               "updated_at",
	UpdatedBy:               "updated_by",
	TemplateName:            "template_name",
	MemoType:                "memo_type",
}
View Source
var PaymentTemplateRels = struct {
	Wallet string
}{
	Wallet: "Wallet",
}

PaymentTemplateRels is where relationship names are stored.

View Source
var SalutationColumns = struct {
	ID         string
	LangCode   string
	Salutation string
}{
	ID:         "id",
	LangCode:   "lang_code",
	Salutation: "salutation",
}
View Source
var SalutationRels = struct {
}{}

SalutationRels is where relationship names are stored.

View Source
var TableNames = struct {
	Channels                          string
	Countries                         string
	ExchangeCurrency                  string
	Ico                               string
	IcoPhase                          string
	IcoPhaseActivatedExchangeCurrency string
	IcoPhaseBankAccount               string
	IcoSupportedExchangeCurrency      string
	IncomingTransaction               string
	JWTKey                            string
	KeyValueStore                     string
	Languages                         string
	Mail                              string
	Notification                      string
	NotificationArchive               string
	Occupations                       string
	OrderTransactionLog               string
	OutgoingTransaction               string
	PaymentTemplate                   string
	Salutations                       string
	TokenHistory                      string
	UserContact                       string
	UserKycDocument                   string
	UserMessage                       string
	UserMessageArchive                string
	UserOrder                         string
	UserProfile                       string
	UserPushtoken                     string
	UserSecurity                      string
	UserWallet                        string
}{
	Channels:                          "channels",
	Countries:                         "countries",
	ExchangeCurrency:                  "exchange_currency",
	Ico:                               "ico",
	IcoPhase:                          "ico_phase",
	IcoPhaseActivatedExchangeCurrency: "ico_phase_activated_exchange_currency",
	IcoPhaseBankAccount:               "ico_phase_bank_account",
	IcoSupportedExchangeCurrency:      "ico_supported_exchange_currency",
	IncomingTransaction:               "incoming_transaction",
	JWTKey:                            "jwt_key",
	KeyValueStore:                     "key_value_store",
	Languages:                         "languages",
	Mail:                              "mail",
	Notification:                      "notification",
	NotificationArchive:               "notification_archive",
	Occupations:                       "occupations",
	OrderTransactionLog:               "order_transaction_log",
	OutgoingTransaction:               "outgoing_transaction",
	PaymentTemplate:                   "payment_template",
	Salutations:                       "salutations",
	TokenHistory:                      "token_history",
	UserContact:                       "user_contact",
	UserKycDocument:                   "user_kyc_document",
	UserMessage:                       "user_message",
	UserMessageArchive:                "user_message_archive",
	UserOrder:                         "user_order",
	UserProfile:                       "user_profile",
	UserPushtoken:                     "user_pushtoken",
	UserSecurity:                      "user_security",
	UserWallet:                        "user_wallet",
}
View Source
var TokenHistoryColumns = struct {
	ID                  string
	UserID              string
	MailConfirmationKey string
	CreatedAt           string
}{
	ID:                  "id",
	UserID:              "user_id",
	MailConfirmationKey: "mail_confirmation_key",
	CreatedAt:           "created_at",
}
View Source
var TokenHistoryRels = struct {
	User string
}{
	User: "User",
}

TokenHistoryRels is where relationship names are stored.

View Source
var UserContactColumns = struct {
	ID             string
	UserID         string
	ContactName    string
	StellarAddress string
	PublicKey      string
	CreatedAt      string
	UpdatedAt      string
	UpdatedBy      string
}{
	ID:             "id",
	UserID:         "user_id",
	ContactName:    "contact_name",
	StellarAddress: "stellar_address",
	PublicKey:      "public_key",
	CreatedAt:      "created_at",
	UpdatedAt:      "updated_at",
	UpdatedBy:      "updated_by",
}
View Source
var UserContactRels = struct {
	User string
}{
	User: "User",
}

UserContactRels is where relationship names are stored.

View Source
var UserKycDocumentColumns = struct {
	ID               string
	UserID           string
	Type             string
	Format           string
	Side             string
	IDCountryCode    string
	IDIssueDate      string
	IDExpirationDate string
	IDNumber         string
	UploadDate       string
	CreatedAt        string
	UpdatedAt        string
	UpdatedBy        string
}{
	ID:               "id",
	UserID:           "user_id",
	Type:             "type",
	Format:           "format",
	Side:             "side",
	IDCountryCode:    "id_country_code",
	IDIssueDate:      "id_issue_date",
	IDExpirationDate: "id_expiration_date",
	IDNumber:         "id_number",
	UploadDate:       "upload_date",
	CreatedAt:        "created_at",
	UpdatedAt:        "updated_at",
	UpdatedBy:        "updated_by",
}
View Source
var UserKycDocumentRels = struct {
	User string
}{
	User: "User",
}

UserKycDocumentRels is where relationship names are stored.

View Source
var UserMessageArchiveColumns = struct {
	ID        string
	UserID    string
	Title     string
	Message   string
	CreatedAt string
	UpdatedAt string
	UpdatedBy string
}{
	ID:        "id",
	UserID:    "user_id",
	Title:     "title",
	Message:   "message",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	UpdatedBy: "updated_by",
}
View Source
var UserMessageArchiveRels = struct {
	User string
}{
	User: "User",
}

UserMessageArchiveRels is where relationship names are stored.

View Source
var UserMessageColumns = struct {
	ID        string
	UserID    string
	Title     string
	Message   string
	CreatedAt string
	UpdatedAt string
	UpdatedBy string
}{
	ID:        "id",
	UserID:    "user_id",
	Title:     "title",
	Message:   "message",
	CreatedAt: "created_at",
	UpdatedAt: "updated_at",
	UpdatedBy: "updated_by",
}
View Source
var UserMessageRels = struct {
	User string
}{
	User: "User",
}

UserMessageRels is where relationship names are stored.

View Source
var UserOrderColumns = struct {
	ID                                 string
	UserID                             string
	IcoPhaseID                         string
	OrderStatus                        string
	TokenAmount                        string
	StellarUserPublicKey               string
	ExchangeCurrencyID                 string
	ExchangeCurrencyDenominationAmount string
	PaymentNetwork                     string
	PaymentAddress                     string
	PaymentSeed                        string
	StellarTransactionID               string
	PaymentQRImage                     string
	PaymentUsage                       string
	PaymentErrorMessage                string
	FeePayed                           string
	CreatedAt                          string
	UpdatedAt                          string
	UpdatedBy                          string
}{
	ID:                                 "id",
	UserID:                             "user_id",
	IcoPhaseID:                         "ico_phase_id",
	OrderStatus:                        "order_status",
	TokenAmount:                        "token_amount",
	StellarUserPublicKey:               "stellar_user_public_key",
	ExchangeCurrencyID:                 "exchange_currency_id",
	ExchangeCurrencyDenominationAmount: "exchange_currency_denomination_amount",
	PaymentNetwork:                     "payment_network",
	PaymentAddress:                     "payment_address",
	PaymentSeed:                        "payment_seed",
	StellarTransactionID:               "stellar_transaction_id",
	PaymentQRImage:                     "payment_qr_image",
	PaymentUsage:                       "payment_usage",
	PaymentErrorMessage:                "payment_error_message",
	FeePayed:                           "fee_payed",
	CreatedAt:                          "created_at",
	UpdatedAt:                          "updated_at",
	UpdatedBy:                          "updated_by",
}
View Source
var UserOrderRels = struct {
	User                      string
	IcoPhase                  string
	ExchangeCurrency          string
	OrderIncomingTransactions string
	OrderOrderTransactionLogs string
	OrderOutgoingTransactions string
}{
	User:                      "User",
	IcoPhase:                  "IcoPhase",
	ExchangeCurrency:          "ExchangeCurrency",
	OrderIncomingTransactions: "OrderIncomingTransactions",
	OrderOrderTransactionLogs: "OrderOrderTransactionLogs",
	OrderOutgoingTransactions: "OrderOutgoingTransactions",
}

UserOrderRels is where relationship names are stored.

View Source
var UserProfileColumns = struct {
	ID                         string
	Email                      string
	Forename                   string
	Lastname                   string
	Salutation                 string
	AdditionalName             string
	BirthCountryCode           string
	BankAccountNumber          string
	BankNumber                 string
	BankPhoneNumber            string
	TaxID                      string
	TaxIDName                  string
	OccupationCode08           string
	EmployerName               string
	EmployerAddress            string
	LanguageCode               string
	Address                    string
	ZipCode                    string
	City                       string
	State                      string
	CountryCode                string
	Nationality                string
	MobileNR                   string
	BirthDay                   string
	BirthPlace                 string
	MailConfirmationKey        string
	MailConfirmationExpiryDate string
	TfaSecret                  string
	TfaTempSecret              string
	MailConfirmed              string
	TfaConfirmed               string
	MnemonicConfirmed          string
	MessageCount               string
	PaymentState               string
	KycStatus                  string
	StellarAccountCreated      string
	Reset2faByAdmin            string
	CreatedAt                  string
	UpdatedAt                  string
	UpdatedBy                  string
	OccupationName             string
	OccupationCode88           string
	PublicKey0                 string
	MailNotifications          string
	DateSuspended              string
	DateClosed                 string
	ShowMemos                  string
	LastLockoutTime            string
	LastLockoutCounter         string
}{
	ID:                         "id",
	Email:                      "email",
	Forename:                   "forename",
	Lastname:                   "lastname",
	Salutation:                 "salutation",
	AdditionalName:             "additional_name",
	BirthCountryCode:           "birth_country_code",
	BankAccountNumber:          "bank_account_number",
	BankNumber:                 "bank_number",
	BankPhoneNumber:            "bank_phone_number",
	TaxID:                      "tax_id",
	TaxIDName:                  "tax_id_name",
	OccupationCode08:           "occupation_code08",
	EmployerName:               "employer_name",
	EmployerAddress:            "employer_address",
	LanguageCode:               "language_code",
	Address:                    "address",
	ZipCode:                    "zip_code",
	City:                       "city",
	State:                      "state",
	CountryCode:                "country_code",
	Nationality:                "nationality",
	MobileNR:                   "mobile_nr",
	BirthDay:                   "birth_day",
	BirthPlace:                 "birth_place",
	MailConfirmationKey:        "mail_confirmation_key",
	MailConfirmationExpiryDate: "mail_confirmation_expiry_date",
	TfaSecret:                  "tfa_secret",
	TfaTempSecret:              "tfa_temp_secret",
	MailConfirmed:              "mail_confirmed",
	TfaConfirmed:               "tfa_confirmed",
	MnemonicConfirmed:          "mnemonic_confirmed",
	MessageCount:               "message_count",
	PaymentState:               "payment_state",
	KycStatus:                  "kyc_status",
	StellarAccountCreated:      "stellar_account_created",
	Reset2faByAdmin:            "reset2fa_by_admin",
	CreatedAt:                  "created_at",
	UpdatedAt:                  "updated_at",
	UpdatedBy:                  "updated_by",
	OccupationName:             "occupation_name",
	OccupationCode88:           "occupation_code88",
	PublicKey0:                 "public_key_0",
	MailNotifications:          "mail_notifications",
	DateSuspended:              "date_suspended",
	DateClosed:                 "date_closed",
	ShowMemos:                  "show_memos",
	LastLockoutTime:            "last_lockout_time",
	LastLockoutCounter:         "last_lockout_counter",
}
View Source
var UserProfileRels = struct {
	UserUserSecurity         string
	UserNotifications        string
	UserNotificationArchives string
	UserTokenHistories       string
	UserUserContacts         string
	UserUserKycDocuments     string
	UserUserMessages         string
	UserUserMessageArchives  string
	UserUserOrders           string
	UserUserPushtokens       string
	UserUserWallets          string
}{
	UserUserSecurity:         "UserUserSecurity",
	UserNotifications:        "UserNotifications",
	UserNotificationArchives: "UserNotificationArchives",
	UserTokenHistories:       "UserTokenHistories",
	UserUserContacts:         "UserUserContacts",
	UserUserKycDocuments:     "UserUserKycDocuments",
	UserUserMessages:         "UserUserMessages",
	UserUserMessageArchives:  "UserUserMessageArchives",
	UserUserOrders:           "UserUserOrders",
	UserUserPushtokens:       "UserUserPushtokens",
	UserUserWallets:          "UserUserWallets",
}

UserProfileRels is where relationship names are stored.

View Source
var UserPushtokenColumns = struct {
	ID         string
	UserID     string
	DeviceType string
	PushToken  string
	CreatedAt  string
	UpdatedAt  string
	UpdatedBy  string
}{
	ID:         "id",
	UserID:     "user_id",
	DeviceType: "device_type",
	PushToken:  "push_token",
	CreatedAt:  "created_at",
	UpdatedAt:  "updated_at",
	UpdatedBy:  "updated_by",
}
View Source
var UserPushtokenRels = struct {
	User string
}{
	User: "User",
}

UserPushtokenRels is where relationship names are stored.

View Source
var UserSecurityColumns = struct {
	ID                string
	UserID            string
	KDFSalt           string
	MnemonicMasterKey string
	MnemonicMasterIv  string
	WordlistMasterKey string
	WordlistMasterIv  string
	Mnemonic          string
	MnemonicIv        string
	Wordlist          string
	WordlistIv        string
	PublicKey0        string
	CreatedAt         string
	UpdatedAt         string
	UpdatedBy         string
}{
	ID:                "id",
	UserID:            "user_id",
	KDFSalt:           "kdf_salt",
	MnemonicMasterKey: "mnemonic_master_key",
	MnemonicMasterIv:  "mnemonic_master_iv",
	WordlistMasterKey: "wordlist_master_key",
	WordlistMasterIv:  "wordlist_master_iv",
	Mnemonic:          "mnemonic",
	MnemonicIv:        "mnemonic_iv",
	Wordlist:          "wordlist",
	WordlistIv:        "wordlist_iv",
	PublicKey0:        "public_key_0",
	CreatedAt:         "created_at",
	UpdatedAt:         "updated_at",
	UpdatedBy:         "updated_by",
}
View Source
var UserSecurityRels = struct {
	User string
}{
	User: "User",
}

UserSecurityRels is where relationship names are stored.

View Source
var UserWalletColumns = struct {
	ID               string
	UserID           string
	PublicKey        string
	WalletName       string
	FriendlyID       string
	Domain           string
	ShowOnHomescreen string
	CreatedAt        string
	UpdatedAt        string
	UpdatedBy        string
	OrderNR          string
	WalletType       string
}{
	ID:               "id",
	UserID:           "user_id",
	PublicKey:        "public_key",
	WalletName:       "wallet_name",
	FriendlyID:       "friendly_id",
	Domain:           "domain",
	ShowOnHomescreen: "show_on_homescreen",
	CreatedAt:        "created_at",
	UpdatedAt:        "updated_at",
	UpdatedBy:        "updated_by",
	OrderNR:          "order_nr",
	WalletType:       "wallet_type",
}
View Source
var UserWalletRels = struct {
	User                   string
	WalletPaymentTemplates string
}{
	User:                   "User",
	WalletPaymentTemplates: "WalletPaymentTemplates",
}

UserWalletRels is where relationship names are stored.

Functions

func AddChannelHook

func AddChannelHook(hookPoint boil.HookPoint, channelHook ChannelHook)

AddChannelHook registers your hook function for all future operations.

func AddCountryHook

func AddCountryHook(hookPoint boil.HookPoint, countryHook CountryHook)

AddCountryHook registers your hook function for all future operations.

func AddExchangeCurrencyHook

func AddExchangeCurrencyHook(hookPoint boil.HookPoint, exchangeCurrencyHook ExchangeCurrencyHook)

AddExchangeCurrencyHook registers your hook function for all future operations.

func AddIcoHook

func AddIcoHook(hookPoint boil.HookPoint, icoHook IcoHook)

AddIcoHook registers your hook function for all future operations.

func AddIcoPhaseActivatedExchangeCurrencyHook

func AddIcoPhaseActivatedExchangeCurrencyHook(hookPoint boil.HookPoint, icoPhaseActivatedExchangeCurrencyHook IcoPhaseActivatedExchangeCurrencyHook)

AddIcoPhaseActivatedExchangeCurrencyHook registers your hook function for all future operations.

func AddIcoPhaseBankAccountHook

func AddIcoPhaseBankAccountHook(hookPoint boil.HookPoint, icoPhaseBankAccountHook IcoPhaseBankAccountHook)

AddIcoPhaseBankAccountHook registers your hook function for all future operations.

func AddIcoPhaseHook

func AddIcoPhaseHook(hookPoint boil.HookPoint, icoPhaseHook IcoPhaseHook)

AddIcoPhaseHook registers your hook function for all future operations.

func AddIcoSupportedExchangeCurrencyHook

func AddIcoSupportedExchangeCurrencyHook(hookPoint boil.HookPoint, icoSupportedExchangeCurrencyHook IcoSupportedExchangeCurrencyHook)

AddIcoSupportedExchangeCurrencyHook registers your hook function for all future operations.

func AddIncomingTransactionHook

func AddIncomingTransactionHook(hookPoint boil.HookPoint, incomingTransactionHook IncomingTransactionHook)

AddIncomingTransactionHook registers your hook function for all future operations.

func AddJWTKeyHook

func AddJWTKeyHook(hookPoint boil.HookPoint, jwtKeyHook JWTKeyHook)

AddJWTKeyHook registers your hook function for all future operations.

func AddKeyValueStoreHook

func AddKeyValueStoreHook(hookPoint boil.HookPoint, keyValueStoreHook KeyValueStoreHook)

AddKeyValueStoreHook registers your hook function for all future operations.

func AddLanguageHook

func AddLanguageHook(hookPoint boil.HookPoint, languageHook LanguageHook)

AddLanguageHook registers your hook function for all future operations.

func AddMailHook

func AddMailHook(hookPoint boil.HookPoint, mailHook MailHook)

AddMailHook registers your hook function for all future operations.

func AddNotificationArchiveHook

func AddNotificationArchiveHook(hookPoint boil.HookPoint, notificationArchiveHook NotificationArchiveHook)

AddNotificationArchiveHook registers your hook function for all future operations.

func AddNotificationHook

func AddNotificationHook(hookPoint boil.HookPoint, notificationHook NotificationHook)

AddNotificationHook registers your hook function for all future operations.

func AddOccupationHook

func AddOccupationHook(hookPoint boil.HookPoint, occupationHook OccupationHook)

AddOccupationHook registers your hook function for all future operations.

func AddOrderTransactionLogHook

func AddOrderTransactionLogHook(hookPoint boil.HookPoint, orderTransactionLogHook OrderTransactionLogHook)

AddOrderTransactionLogHook registers your hook function for all future operations.

func AddOutgoingTransactionHook

func AddOutgoingTransactionHook(hookPoint boil.HookPoint, outgoingTransactionHook OutgoingTransactionHook)

AddOutgoingTransactionHook registers your hook function for all future operations.

func AddPaymentTemplateHook

func AddPaymentTemplateHook(hookPoint boil.HookPoint, paymentTemplateHook PaymentTemplateHook)

AddPaymentTemplateHook registers your hook function for all future operations.

func AddSalutationHook

func AddSalutationHook(hookPoint boil.HookPoint, salutationHook SalutationHook)

AddSalutationHook registers your hook function for all future operations.

func AddTokenHistoryHook

func AddTokenHistoryHook(hookPoint boil.HookPoint, tokenHistoryHook TokenHistoryHook)

AddTokenHistoryHook registers your hook function for all future operations.

func AddUserContactHook

func AddUserContactHook(hookPoint boil.HookPoint, userContactHook UserContactHook)

AddUserContactHook registers your hook function for all future operations.

func AddUserKycDocumentHook

func AddUserKycDocumentHook(hookPoint boil.HookPoint, userKycDocumentHook UserKycDocumentHook)

AddUserKycDocumentHook registers your hook function for all future operations.

func AddUserMessageArchiveHook

func AddUserMessageArchiveHook(hookPoint boil.HookPoint, userMessageArchiveHook UserMessageArchiveHook)

AddUserMessageArchiveHook registers your hook function for all future operations.

func AddUserMessageHook

func AddUserMessageHook(hookPoint boil.HookPoint, userMessageHook UserMessageHook)

AddUserMessageHook registers your hook function for all future operations.

func AddUserOrderHook

func AddUserOrderHook(hookPoint boil.HookPoint, userOrderHook UserOrderHook)

AddUserOrderHook registers your hook function for all future operations.

func AddUserProfileHook

func AddUserProfileHook(hookPoint boil.HookPoint, userProfileHook UserProfileHook)

AddUserProfileHook registers your hook function for all future operations.

func AddUserPushtokenHook

func AddUserPushtokenHook(hookPoint boil.HookPoint, userPushtokenHook UserPushtokenHook)

AddUserPushtokenHook registers your hook function for all future operations.

func AddUserSecurityHook

func AddUserSecurityHook(hookPoint boil.HookPoint, userSecurityHook UserSecurityHook)

AddUserSecurityHook registers your hook function for all future operations.

func AddUserWalletHook

func AddUserWalletHook(hookPoint boil.HookPoint, userWalletHook UserWalletHook)

AddUserWalletHook registers your hook function for all future operations.

func ChannelExists

func ChannelExists(exec boil.Executor, iD int) (bool, error)

ChannelExists checks if the Channel row exists.

func ChannelExistsG

func ChannelExistsG(iD int) (bool, error)

ChannelExistsG checks if the Channel row exists.

func Channels

func Channels(mods ...qm.QueryMod) channelQuery

Channels retrieves all the records using an executor.

func Countries

func Countries(mods ...qm.QueryMod) countryQuery

Countries retrieves all the records using an executor.

func CountryExists

func CountryExists(exec boil.Executor, iD int) (bool, error)

CountryExists checks if the Country row exists.

func CountryExistsG

func CountryExistsG(iD int) (bool, error)

CountryExistsG checks if the Country row exists.

func ExchangeCurrencies

func ExchangeCurrencies(mods ...qm.QueryMod) exchangeCurrencyQuery

ExchangeCurrencies retrieves all the records using an executor.

func ExchangeCurrencyExists

func ExchangeCurrencyExists(exec boil.Executor, iD int) (bool, error)

ExchangeCurrencyExists checks if the ExchangeCurrency row exists.

func ExchangeCurrencyExistsG

func ExchangeCurrencyExistsG(iD int) (bool, error)

ExchangeCurrencyExistsG checks if the ExchangeCurrency row exists.

func IcoExists

func IcoExists(exec boil.Executor, iD int) (bool, error)

IcoExists checks if the Ico row exists.

func IcoExistsG

func IcoExistsG(iD int) (bool, error)

IcoExistsG checks if the Ico row exists.

func IcoPhaseActivatedExchangeCurrencies

func IcoPhaseActivatedExchangeCurrencies(mods ...qm.QueryMod) icoPhaseActivatedExchangeCurrencyQuery

IcoPhaseActivatedExchangeCurrencies retrieves all the records using an executor.

func IcoPhaseActivatedExchangeCurrencyExists

func IcoPhaseActivatedExchangeCurrencyExists(exec boil.Executor, iD int) (bool, error)

IcoPhaseActivatedExchangeCurrencyExists checks if the IcoPhaseActivatedExchangeCurrency row exists.

func IcoPhaseActivatedExchangeCurrencyExistsG

func IcoPhaseActivatedExchangeCurrencyExistsG(iD int) (bool, error)

IcoPhaseActivatedExchangeCurrencyExistsG checks if the IcoPhaseActivatedExchangeCurrency row exists.

func IcoPhaseBankAccountExists

func IcoPhaseBankAccountExists(exec boil.Executor, iD int) (bool, error)

IcoPhaseBankAccountExists checks if the IcoPhaseBankAccount row exists.

func IcoPhaseBankAccountExistsG

func IcoPhaseBankAccountExistsG(iD int) (bool, error)

IcoPhaseBankAccountExistsG checks if the IcoPhaseBankAccount row exists.

func IcoPhaseBankAccounts

func IcoPhaseBankAccounts(mods ...qm.QueryMod) icoPhaseBankAccountQuery

IcoPhaseBankAccounts retrieves all the records using an executor.

func IcoPhaseExists

func IcoPhaseExists(exec boil.Executor, iD int) (bool, error)

IcoPhaseExists checks if the IcoPhase row exists.

func IcoPhaseExistsG

func IcoPhaseExistsG(iD int) (bool, error)

IcoPhaseExistsG checks if the IcoPhase row exists.

func IcoPhases

func IcoPhases(mods ...qm.QueryMod) icoPhaseQuery

IcoPhases retrieves all the records using an executor.

func IcoSupportedExchangeCurrencies

func IcoSupportedExchangeCurrencies(mods ...qm.QueryMod) icoSupportedExchangeCurrencyQuery

IcoSupportedExchangeCurrencies retrieves all the records using an executor.

func IcoSupportedExchangeCurrencyExists

func IcoSupportedExchangeCurrencyExists(exec boil.Executor, iD int) (bool, error)

IcoSupportedExchangeCurrencyExists checks if the IcoSupportedExchangeCurrency row exists.

func IcoSupportedExchangeCurrencyExistsG

func IcoSupportedExchangeCurrencyExistsG(iD int) (bool, error)

IcoSupportedExchangeCurrencyExistsG checks if the IcoSupportedExchangeCurrency row exists.

func Icos

func Icos(mods ...qm.QueryMod) icoQuery

Icos retrieves all the records using an executor.

func IncomingTransactionExists

func IncomingTransactionExists(exec boil.Executor, iD int) (bool, error)

IncomingTransactionExists checks if the IncomingTransaction row exists.

func IncomingTransactionExistsG

func IncomingTransactionExistsG(iD int) (bool, error)

IncomingTransactionExistsG checks if the IncomingTransaction row exists.

func IncomingTransactions

func IncomingTransactions(mods ...qm.QueryMod) incomingTransactionQuery

IncomingTransactions retrieves all the records using an executor.

func JWTKeyExists

func JWTKeyExists(exec boil.Executor, iD int) (bool, error)

JWTKeyExists checks if the JWTKey row exists.

func JWTKeyExistsG

func JWTKeyExistsG(iD int) (bool, error)

JWTKeyExistsG checks if the JWTKey row exists.

func JWTKeys

func JWTKeys(mods ...qm.QueryMod) jwtKeyQuery

JWTKeys retrieves all the records using an executor.

func KeyValueStoreExists

func KeyValueStoreExists(exec boil.Executor, key string) (bool, error)

KeyValueStoreExists checks if the KeyValueStore row exists.

func KeyValueStoreExistsG

func KeyValueStoreExistsG(key string) (bool, error)

KeyValueStoreExistsG checks if the KeyValueStore row exists.

func KeyValueStores

func KeyValueStores(mods ...qm.QueryMod) keyValueStoreQuery

KeyValueStores retrieves all the records using an executor.

func LanguageExists

func LanguageExists(exec boil.Executor, iD int) (bool, error)

LanguageExists checks if the Language row exists.

func LanguageExistsG

func LanguageExistsG(iD int) (bool, error)

LanguageExistsG checks if the Language row exists.

func Languages

func Languages(mods ...qm.QueryMod) languageQuery

Languages retrieves all the records using an executor.

func MailExists

func MailExists(exec boil.Executor, iD int) (bool, error)

MailExists checks if the Mail row exists.

func MailExistsG

func MailExistsG(iD int) (bool, error)

MailExistsG checks if the Mail row exists.

func Mails

func Mails(mods ...qm.QueryMod) mailQuery

Mails 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 NotificationArchiveExists

func NotificationArchiveExists(exec boil.Executor, iD int) (bool, error)

NotificationArchiveExists checks if the NotificationArchive row exists.

func NotificationArchiveExistsG

func NotificationArchiveExistsG(iD int) (bool, error)

NotificationArchiveExistsG checks if the NotificationArchive row exists.

func NotificationArchives

func NotificationArchives(mods ...qm.QueryMod) notificationArchiveQuery

NotificationArchives retrieves all the records using an executor.

func NotificationExists

func NotificationExists(exec boil.Executor, iD int) (bool, error)

NotificationExists checks if the Notification row exists.

func NotificationExistsG

func NotificationExistsG(iD int) (bool, error)

NotificationExistsG checks if the Notification row exists.

func Notifications

func Notifications(mods ...qm.QueryMod) notificationQuery

Notifications retrieves all the records using an executor.

func OccupationExists

func OccupationExists(exec boil.Executor, iD int) (bool, error)

OccupationExists checks if the Occupation row exists.

func OccupationExistsG

func OccupationExistsG(iD int) (bool, error)

OccupationExistsG checks if the Occupation row exists.

func Occupations

func Occupations(mods ...qm.QueryMod) occupationQuery

Occupations retrieves all the records using an executor.

func OrderTransactionLogExists

func OrderTransactionLogExists(exec boil.Executor, iD int) (bool, error)

OrderTransactionLogExists checks if the OrderTransactionLog row exists.

func OrderTransactionLogExistsG

func OrderTransactionLogExistsG(iD int) (bool, error)

OrderTransactionLogExistsG checks if the OrderTransactionLog row exists.

func OrderTransactionLogs

func OrderTransactionLogs(mods ...qm.QueryMod) orderTransactionLogQuery

OrderTransactionLogs retrieves all the records using an executor.

func OutgoingTransactionExists

func OutgoingTransactionExists(exec boil.Executor, iD int) (bool, error)

OutgoingTransactionExists checks if the OutgoingTransaction row exists.

func OutgoingTransactionExistsG

func OutgoingTransactionExistsG(iD int) (bool, error)

OutgoingTransactionExistsG checks if the OutgoingTransaction row exists.

func OutgoingTransactions

func OutgoingTransactions(mods ...qm.QueryMod) outgoingTransactionQuery

OutgoingTransactions retrieves all the records using an executor.

func PaymentTemplateExists

func PaymentTemplateExists(exec boil.Executor, iD int) (bool, error)

PaymentTemplateExists checks if the PaymentTemplate row exists.

func PaymentTemplateExistsG

func PaymentTemplateExistsG(iD int) (bool, error)

PaymentTemplateExistsG checks if the PaymentTemplate row exists.

func PaymentTemplates

func PaymentTemplates(mods ...qm.QueryMod) paymentTemplateQuery

PaymentTemplates retrieves all the records using an executor.

func SalutationExists

func SalutationExists(exec boil.Executor, iD int) (bool, error)

SalutationExists checks if the Salutation row exists.

func SalutationExistsG

func SalutationExistsG(iD int) (bool, error)

SalutationExistsG checks if the Salutation row exists.

func Salutations

func Salutations(mods ...qm.QueryMod) salutationQuery

Salutations retrieves all the records using an executor.

func TokenHistories

func TokenHistories(mods ...qm.QueryMod) tokenHistoryQuery

TokenHistories retrieves all the records using an executor.

func TokenHistoryExists

func TokenHistoryExists(exec boil.Executor, iD int) (bool, error)

TokenHistoryExists checks if the TokenHistory row exists.

func TokenHistoryExistsG

func TokenHistoryExistsG(iD int) (bool, error)

TokenHistoryExistsG checks if the TokenHistory row exists.

func UserContactExists

func UserContactExists(exec boil.Executor, iD int) (bool, error)

UserContactExists checks if the UserContact row exists.

func UserContactExistsG

func UserContactExistsG(iD int) (bool, error)

UserContactExistsG checks if the UserContact row exists.

func UserContacts

func UserContacts(mods ...qm.QueryMod) userContactQuery

UserContacts retrieves all the records using an executor.

func UserKycDocumentExists

func UserKycDocumentExists(exec boil.Executor, iD int) (bool, error)

UserKycDocumentExists checks if the UserKycDocument row exists.

func UserKycDocumentExistsG

func UserKycDocumentExistsG(iD int) (bool, error)

UserKycDocumentExistsG checks if the UserKycDocument row exists.

func UserKycDocuments

func UserKycDocuments(mods ...qm.QueryMod) userKycDocumentQuery

UserKycDocuments retrieves all the records using an executor.

func UserMessageArchiveExists

func UserMessageArchiveExists(exec boil.Executor, iD int) (bool, error)

UserMessageArchiveExists checks if the UserMessageArchive row exists.

func UserMessageArchiveExistsG

func UserMessageArchiveExistsG(iD int) (bool, error)

UserMessageArchiveExistsG checks if the UserMessageArchive row exists.

func UserMessageArchives

func UserMessageArchives(mods ...qm.QueryMod) userMessageArchiveQuery

UserMessageArchives retrieves all the records using an executor.

func UserMessageExists

func UserMessageExists(exec boil.Executor, iD int) (bool, error)

UserMessageExists checks if the UserMessage row exists.

func UserMessageExistsG

func UserMessageExistsG(iD int) (bool, error)

UserMessageExistsG checks if the UserMessage row exists.

func UserMessages

func UserMessages(mods ...qm.QueryMod) userMessageQuery

UserMessages retrieves all the records using an executor.

func UserOrderExists

func UserOrderExists(exec boil.Executor, iD int) (bool, error)

UserOrderExists checks if the UserOrder row exists.

func UserOrderExistsG

func UserOrderExistsG(iD int) (bool, error)

UserOrderExistsG checks if the UserOrder row exists.

func UserOrders

func UserOrders(mods ...qm.QueryMod) userOrderQuery

UserOrders retrieves all the records using an executor.

func UserProfileExists

func UserProfileExists(exec boil.Executor, iD int) (bool, error)

UserProfileExists checks if the UserProfile row exists.

func UserProfileExistsG

func UserProfileExistsG(iD int) (bool, error)

UserProfileExistsG checks if the UserProfile row exists.

func UserProfiles

func UserProfiles(mods ...qm.QueryMod) userProfileQuery

UserProfiles retrieves all the records using an executor.

func UserPushtokenExists

func UserPushtokenExists(exec boil.Executor, iD int) (bool, error)

UserPushtokenExists checks if the UserPushtoken row exists.

func UserPushtokenExistsG

func UserPushtokenExistsG(iD int) (bool, error)

UserPushtokenExistsG checks if the UserPushtoken row exists.

func UserPushtokens

func UserPushtokens(mods ...qm.QueryMod) userPushtokenQuery

UserPushtokens retrieves all the records using an executor.

func UserSecurities

func UserSecurities(mods ...qm.QueryMod) userSecurityQuery

UserSecurities retrieves all the records using an executor.

func UserSecurityExists

func UserSecurityExists(exec boil.Executor, iD int) (bool, error)

UserSecurityExists checks if the UserSecurity row exists.

func UserSecurityExistsG

func UserSecurityExistsG(iD int) (bool, error)

UserSecurityExistsG checks if the UserSecurity row exists.

func UserWalletExists

func UserWalletExists(exec boil.Executor, iD int) (bool, error)

UserWalletExists checks if the UserWallet row exists.

func UserWalletExistsG

func UserWalletExistsG(iD int) (bool, error)

UserWalletExistsG checks if the UserWallet row exists.

func UserWallets

func UserWallets(mods ...qm.QueryMod) userWalletQuery

UserWallets retrieves all the records using an executor.

Types

type Channel

type Channel struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	PK        string    `boil:"pk" json:"pk" toml:"pk" yaml:"pk"`
	Seed      string    `boil:"seed" json:"seed" toml:"seed" yaml:"seed"`
	Status    string    `boil:"status" json:"status" toml:"status" yaml:"status"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *channelR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L channelL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Channel is an object representing the database table.

func FindChannel

func FindChannel(exec boil.Executor, iD int, selectCols ...string) (*Channel, error)

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

func FindChannelG

func FindChannelG(iD int, selectCols ...string) (*Channel, error)

FindChannelG retrieves a single record by ID.

func (*Channel) Delete

func (o *Channel) Delete(exec boil.Executor) (int64, error)

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

func (*Channel) DeleteG

func (o *Channel) DeleteG() (int64, error)

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

func (*Channel) Insert

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

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

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

func (*Channel) Reload

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

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

func (*Channel) ReloadG

func (o *Channel) ReloadG() error

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

func (*Channel) Update

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

Update uses an executor to update the Channel. 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 (*Channel) UpdateG

func (o *Channel) UpdateG(columns boil.Columns) (int64, error)

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

func (*Channel) Upsert

func (o *Channel) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*Channel) UpsertG

func (o *Channel) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type ChannelHook

type ChannelHook func(boil.Executor, *Channel) error

ChannelHook is the signature for custom Channel hook methods

type ChannelSlice

type ChannelSlice []*Channel

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

func (ChannelSlice) DeleteAll

func (o ChannelSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (ChannelSlice) DeleteAllG

func (o ChannelSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*ChannelSlice) ReloadAll

func (o *ChannelSlice) 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 (*ChannelSlice) ReloadAllG

func (o *ChannelSlice) ReloadAllG() error

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

func (ChannelSlice) UpdateAll

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

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

func (ChannelSlice) UpdateAllG

func (o ChannelSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Country

type Country struct {
	ID          int    `boil:"id" json:"id" toml:"id" yaml:"id"`
	LangCode    string `boil:"lang_code" json:"lang_code" toml:"lang_code" yaml:"lang_code"`
	CountryName string `boil:"country_name" json:"country_name" toml:"country_name" yaml:"country_name"`

	R *countryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L countryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Country is an object representing the database table.

func FindCountry

func FindCountry(exec boil.Executor, iD int, selectCols ...string) (*Country, error)

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

func FindCountryG

func FindCountryG(iD int, selectCols ...string) (*Country, error)

FindCountryG retrieves a single record by ID.

func (*Country) Delete

func (o *Country) Delete(exec boil.Executor) (int64, error)

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

func (*Country) DeleteG

func (o *Country) DeleteG() (int64, error)

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

func (*Country) Insert

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

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

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

func (*Country) Reload

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

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

func (*Country) ReloadG

func (o *Country) ReloadG() error

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

func (*Country) Update

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

Update uses an executor to update the Country. 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 (*Country) UpdateG

func (o *Country) UpdateG(columns boil.Columns) (int64, error)

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

func (*Country) Upsert

func (o *Country) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*Country) UpsertG

func (o *Country) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type CountryHook

type CountryHook func(boil.Executor, *Country) error

CountryHook is the signature for custom Country hook methods

type CountrySlice

type CountrySlice []*Country

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

func (CountrySlice) DeleteAll

func (o CountrySlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (CountrySlice) DeleteAllG

func (o CountrySlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*CountrySlice) ReloadAll

func (o *CountrySlice) 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 (*CountrySlice) ReloadAllG

func (o *CountrySlice) ReloadAllG() error

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

func (CountrySlice) UpdateAll

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

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

func (CountrySlice) UpdateAllG

func (o CountrySlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type ExchangeCurrency

type ExchangeCurrency struct {
	ID                   int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name                 string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	ExchangeCurrencyType string    `boil:"exchange_currency_type" json:"exchange_currency_type" toml:"exchange_currency_type" yaml:"exchange_currency_type"`
	AssetCode            string    `boil:"asset_code" json:"asset_code" toml:"asset_code" yaml:"asset_code"`
	DenomAssetCode       string    `boil:"denom_asset_code" json:"denom_asset_code" toml:"denom_asset_code" yaml:"denom_asset_code"`
	PaymentNetwork       string    `boil:"payment_network" json:"payment_network" toml:"payment_network" yaml:"payment_network"`
	EcAssetIssuerPK      string    `boil:"ec_asset_issuer_pk" json:"ec_asset_issuer_pk" toml:"ec_asset_issuer_pk" yaml:"ec_asset_issuer_pk"`
	Decimals             int       `boil:"decimals" json:"decimals" toml:"decimals" yaml:"decimals"`
	CreatedAt            time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt            time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy            string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *exchangeCurrencyR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L exchangeCurrencyL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ExchangeCurrency is an object representing the database table.

func FindExchangeCurrency

func FindExchangeCurrency(exec boil.Executor, iD int, selectCols ...string) (*ExchangeCurrency, error)

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

func FindExchangeCurrencyG

func FindExchangeCurrencyG(iD int, selectCols ...string) (*ExchangeCurrency, error)

FindExchangeCurrencyG retrieves a single record by ID.

func (*ExchangeCurrency) AddIcoPhaseActivatedExchangeCurrencies

func (o *ExchangeCurrency) AddIcoPhaseActivatedExchangeCurrencies(exec boil.Executor, insert bool, related ...*IcoPhaseActivatedExchangeCurrency) error

AddIcoPhaseActivatedExchangeCurrencies adds the given related objects to the existing relationships of the exchange_currency, optionally inserting them as new records. Appends related to o.R.IcoPhaseActivatedExchangeCurrencies. Sets related.R.ExchangeCurrency appropriately.

func (*ExchangeCurrency) AddIcoPhaseActivatedExchangeCurrenciesG

func (o *ExchangeCurrency) AddIcoPhaseActivatedExchangeCurrenciesG(insert bool, related ...*IcoPhaseActivatedExchangeCurrency) error

AddIcoPhaseActivatedExchangeCurrenciesG adds the given related objects to the existing relationships of the exchange_currency, optionally inserting them as new records. Appends related to o.R.IcoPhaseActivatedExchangeCurrencies. Sets related.R.ExchangeCurrency appropriately. Uses the global database handle.

func (*ExchangeCurrency) AddIcoSupportedExchangeCurrencies

func (o *ExchangeCurrency) AddIcoSupportedExchangeCurrencies(exec boil.Executor, insert bool, related ...*IcoSupportedExchangeCurrency) error

AddIcoSupportedExchangeCurrencies adds the given related objects to the existing relationships of the exchange_currency, optionally inserting them as new records. Appends related to o.R.IcoSupportedExchangeCurrencies. Sets related.R.ExchangeCurrency appropriately.

func (*ExchangeCurrency) AddIcoSupportedExchangeCurrenciesG

func (o *ExchangeCurrency) AddIcoSupportedExchangeCurrenciesG(insert bool, related ...*IcoSupportedExchangeCurrency) error

AddIcoSupportedExchangeCurrenciesG adds the given related objects to the existing relationships of the exchange_currency, optionally inserting them as new records. Appends related to o.R.IcoSupportedExchangeCurrencies. Sets related.R.ExchangeCurrency appropriately. Uses the global database handle.

func (*ExchangeCurrency) AddUserOrders

func (o *ExchangeCurrency) AddUserOrders(exec boil.Executor, insert bool, related ...*UserOrder) error

AddUserOrders adds the given related objects to the existing relationships of the exchange_currency, optionally inserting them as new records. Appends related to o.R.UserOrders. Sets related.R.ExchangeCurrency appropriately.

func (*ExchangeCurrency) AddUserOrdersG

func (o *ExchangeCurrency) AddUserOrdersG(insert bool, related ...*UserOrder) error

AddUserOrdersG adds the given related objects to the existing relationships of the exchange_currency, optionally inserting them as new records. Appends related to o.R.UserOrders. Sets related.R.ExchangeCurrency appropriately. Uses the global database handle.

func (*ExchangeCurrency) Delete

func (o *ExchangeCurrency) Delete(exec boil.Executor) (int64, error)

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

func (*ExchangeCurrency) DeleteG

func (o *ExchangeCurrency) DeleteG() (int64, error)

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

func (*ExchangeCurrency) IcoPhaseActivatedExchangeCurrencies

func (o *ExchangeCurrency) IcoPhaseActivatedExchangeCurrencies(mods ...qm.QueryMod) icoPhaseActivatedExchangeCurrencyQuery

IcoPhaseActivatedExchangeCurrencies retrieves all the ico_phase_activated_exchange_currency's IcoPhaseActivatedExchangeCurrencies with an executor.

func (*ExchangeCurrency) IcoSupportedExchangeCurrencies

func (o *ExchangeCurrency) IcoSupportedExchangeCurrencies(mods ...qm.QueryMod) icoSupportedExchangeCurrencyQuery

IcoSupportedExchangeCurrencies retrieves all the ico_supported_exchange_currency's IcoSupportedExchangeCurrencies with an executor.

func (*ExchangeCurrency) Insert

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

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

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

func (*ExchangeCurrency) Reload

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

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

func (*ExchangeCurrency) ReloadG

func (o *ExchangeCurrency) ReloadG() error

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

func (*ExchangeCurrency) Update

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

Update uses an executor to update the ExchangeCurrency. 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 (*ExchangeCurrency) UpdateG

func (o *ExchangeCurrency) UpdateG(columns boil.Columns) (int64, error)

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

func (*ExchangeCurrency) Upsert

func (o *ExchangeCurrency) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*ExchangeCurrency) UpsertG

func (o *ExchangeCurrency) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*ExchangeCurrency) UserOrders

func (o *ExchangeCurrency) UserOrders(mods ...qm.QueryMod) userOrderQuery

UserOrders retrieves all the user_order's UserOrders with an executor.

type ExchangeCurrencyHook

type ExchangeCurrencyHook func(boil.Executor, *ExchangeCurrency) error

ExchangeCurrencyHook is the signature for custom ExchangeCurrency hook methods

type ExchangeCurrencySlice

type ExchangeCurrencySlice []*ExchangeCurrency

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

func (ExchangeCurrencySlice) DeleteAll

func (o ExchangeCurrencySlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (ExchangeCurrencySlice) DeleteAllG

func (o ExchangeCurrencySlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*ExchangeCurrencySlice) ReloadAll

func (o *ExchangeCurrencySlice) 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 (*ExchangeCurrencySlice) ReloadAllG

func (o *ExchangeCurrencySlice) ReloadAllG() error

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

func (ExchangeCurrencySlice) UpdateAll

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

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

func (ExchangeCurrencySlice) UpdateAllG

func (o ExchangeCurrencySlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Ico

type Ico struct {
	ID         int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	IcoName    string    `boil:"ico_name" json:"ico_name" toml:"ico_name" yaml:"ico_name"`
	IcoStatus  string    `boil:"ico_status" json:"ico_status" toml:"ico_status" yaml:"ico_status"`
	Kyc        bool      `boil:"kyc" json:"kyc" toml:"kyc" yaml:"kyc"`
	SalesModel string    `boil:"sales_model" json:"sales_model" toml:"sales_model" yaml:"sales_model"`
	IssuerPK   string    `boil:"issuer_pk" json:"issuer_pk" toml:"issuer_pk" yaml:"issuer_pk"`
	AssetCode  string    `boil:"asset_code" json:"asset_code" toml:"asset_code" yaml:"asset_code"`
	CreatedAt  time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt  time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy  string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *icoR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L icoL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Ico is an object representing the database table.

func FindIco

func FindIco(exec boil.Executor, iD int, selectCols ...string) (*Ico, error)

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

func FindIcoG

func FindIcoG(iD int, selectCols ...string) (*Ico, error)

FindIcoG retrieves a single record by ID.

func (*Ico) AddIcoPhases

func (o *Ico) AddIcoPhases(exec boil.Executor, insert bool, related ...*IcoPhase) error

AddIcoPhases adds the given related objects to the existing relationships of the ico, optionally inserting them as new records. Appends related to o.R.IcoPhases. Sets related.R.Ico appropriately.

func (*Ico) AddIcoPhasesG

func (o *Ico) AddIcoPhasesG(insert bool, related ...*IcoPhase) error

AddIcoPhasesG adds the given related objects to the existing relationships of the ico, optionally inserting them as new records. Appends related to o.R.IcoPhases. Sets related.R.Ico appropriately. Uses the global database handle.

func (*Ico) AddIcoSupportedExchangeCurrencies

func (o *Ico) AddIcoSupportedExchangeCurrencies(exec boil.Executor, insert bool, related ...*IcoSupportedExchangeCurrency) error

AddIcoSupportedExchangeCurrencies adds the given related objects to the existing relationships of the ico, optionally inserting them as new records. Appends related to o.R.IcoSupportedExchangeCurrencies. Sets related.R.Ico appropriately.

func (*Ico) AddIcoSupportedExchangeCurrenciesG

func (o *Ico) AddIcoSupportedExchangeCurrenciesG(insert bool, related ...*IcoSupportedExchangeCurrency) error

AddIcoSupportedExchangeCurrenciesG adds the given related objects to the existing relationships of the ico, optionally inserting them as new records. Appends related to o.R.IcoSupportedExchangeCurrencies. Sets related.R.Ico appropriately. Uses the global database handle.

func (*Ico) Delete

func (o *Ico) Delete(exec boil.Executor) (int64, error)

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

func (*Ico) DeleteG

func (o *Ico) DeleteG() (int64, error)

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

func (*Ico) IcoPhases

func (o *Ico) IcoPhases(mods ...qm.QueryMod) icoPhaseQuery

IcoPhases retrieves all the ico_phase's IcoPhases with an executor.

func (*Ico) IcoSupportedExchangeCurrencies

func (o *Ico) IcoSupportedExchangeCurrencies(mods ...qm.QueryMod) icoSupportedExchangeCurrencyQuery

IcoSupportedExchangeCurrencies retrieves all the ico_supported_exchange_currency's IcoSupportedExchangeCurrencies with an executor.

func (*Ico) Insert

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

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

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

func (*Ico) Reload

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

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

func (*Ico) ReloadG

func (o *Ico) ReloadG() error

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

func (*Ico) Update

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

Update uses an executor to update the Ico. 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 (*Ico) UpdateG

func (o *Ico) UpdateG(columns boil.Columns) (int64, error)

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

func (*Ico) Upsert

func (o *Ico) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*Ico) UpsertG

func (o *Ico) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type IcoHook

type IcoHook func(boil.Executor, *Ico) error

IcoHook is the signature for custom Ico hook methods

type IcoPhase

type IcoPhase struct {
	ID                          int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	IcoID                       int       `boil:"ico_id" json:"ico_id" toml:"ico_id" yaml:"ico_id"`
	IcoPhaseName                string    `boil:"ico_phase_name" json:"ico_phase_name" toml:"ico_phase_name" yaml:"ico_phase_name"`
	IcoPhaseStatus              string    `boil:"ico_phase_status" json:"ico_phase_status" toml:"ico_phase_status" yaml:"ico_phase_status"`
	DistPK                      string    `boil:"dist_pk" json:"dist_pk" toml:"dist_pk" yaml:"dist_pk"`
	DistPresignerPK             string    `boil:"dist_presigner_pk" json:"dist_presigner_pk" toml:"dist_presigner_pk" yaml:"dist_presigner_pk"`
	DistPresignerSeed           string    `boil:"dist_presigner_seed" json:"dist_presigner_seed" toml:"dist_presigner_seed" yaml:"dist_presigner_seed"`
	DistPostsignerPK            string    `boil:"dist_postsigner_pk" json:"dist_postsigner_pk" toml:"dist_postsigner_pk" yaml:"dist_postsigner_pk"`
	DistPostsignerSeed          string    `boil:"dist_postsigner_seed" json:"dist_postsigner_seed" toml:"dist_postsigner_seed" yaml:"dist_postsigner_seed"`
	StartTime                   time.Time `boil:"start_time" json:"start_time" toml:"start_time" yaml:"start_time"`
	EndTime                     time.Time `boil:"end_time" json:"end_time" toml:"end_time" yaml:"end_time"`
	TokensToDistribute          int64     `boil:"tokens_to_distribute" json:"tokens_to_distribute" toml:"tokens_to_distribute" yaml:"tokens_to_distribute"`
	TokensReleased              int64     `boil:"tokens_released" json:"tokens_released" toml:"tokens_released" yaml:"tokens_released"`
	StellarStartingBalanceDenom string    `` /* 151-byte string literal not displayed */
	TokensBlocked               int64     `boil:"tokens_blocked" json:"tokens_blocked" toml:"tokens_blocked" yaml:"tokens_blocked"`
	TokensLeft                  int64     `boil:"tokens_left" json:"tokens_left" toml:"tokens_left" yaml:"tokens_left"`
	TokenMaxOrderAmount         int64     `boil:"token_max_order_amount" json:"token_max_order_amount" toml:"token_max_order_amount" yaml:"token_max_order_amount"`
	TokenMinOrderAmount         int64     `boil:"token_min_order_amount" json:"token_min_order_amount" toml:"token_min_order_amount" yaml:"token_min_order_amount"`
	MaxUserOrders               int       `boil:"max_user_orders" json:"max_user_orders" toml:"max_user_orders" yaml:"max_user_orders"`
	CreatedAt                   time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt                   time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy                   string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *icoPhaseR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L icoPhaseL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

IcoPhase is an object representing the database table.

func FindIcoPhase

func FindIcoPhase(exec boil.Executor, iD int, selectCols ...string) (*IcoPhase, error)

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

func FindIcoPhaseG

func FindIcoPhaseG(iD int, selectCols ...string) (*IcoPhase, error)

FindIcoPhaseG retrieves a single record by ID.

func (*IcoPhase) AddIcoPhaseActivatedExchangeCurrencies

func (o *IcoPhase) AddIcoPhaseActivatedExchangeCurrencies(exec boil.Executor, insert bool, related ...*IcoPhaseActivatedExchangeCurrency) error

AddIcoPhaseActivatedExchangeCurrencies adds the given related objects to the existing relationships of the ico_phase, optionally inserting them as new records. Appends related to o.R.IcoPhaseActivatedExchangeCurrencies. Sets related.R.IcoPhase appropriately.

func (*IcoPhase) AddIcoPhaseActivatedExchangeCurrenciesG

func (o *IcoPhase) AddIcoPhaseActivatedExchangeCurrenciesG(insert bool, related ...*IcoPhaseActivatedExchangeCurrency) error

AddIcoPhaseActivatedExchangeCurrenciesG adds the given related objects to the existing relationships of the ico_phase, optionally inserting them as new records. Appends related to o.R.IcoPhaseActivatedExchangeCurrencies. Sets related.R.IcoPhase appropriately. Uses the global database handle.

func (*IcoPhase) AddUserOrders

func (o *IcoPhase) AddUserOrders(exec boil.Executor, insert bool, related ...*UserOrder) error

AddUserOrders adds the given related objects to the existing relationships of the ico_phase, optionally inserting them as new records. Appends related to o.R.UserOrders. Sets related.R.IcoPhase appropriately.

func (*IcoPhase) AddUserOrdersG

func (o *IcoPhase) AddUserOrdersG(insert bool, related ...*UserOrder) error

AddUserOrdersG adds the given related objects to the existing relationships of the ico_phase, optionally inserting them as new records. Appends related to o.R.UserOrders. Sets related.R.IcoPhase appropriately. Uses the global database handle.

func (*IcoPhase) Delete

func (o *IcoPhase) Delete(exec boil.Executor) (int64, error)

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

func (*IcoPhase) DeleteG

func (o *IcoPhase) DeleteG() (int64, error)

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

func (*IcoPhase) Ico

func (o *IcoPhase) Ico(mods ...qm.QueryMod) icoQuery

Ico pointed to by the foreign key.

func (*IcoPhase) IcoPhaseActivatedExchangeCurrencies

func (o *IcoPhase) IcoPhaseActivatedExchangeCurrencies(mods ...qm.QueryMod) icoPhaseActivatedExchangeCurrencyQuery

IcoPhaseActivatedExchangeCurrencies retrieves all the ico_phase_activated_exchange_currency's IcoPhaseActivatedExchangeCurrencies with an executor.

func (*IcoPhase) Insert

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

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

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

func (*IcoPhase) Reload

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

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

func (*IcoPhase) ReloadG

func (o *IcoPhase) ReloadG() error

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

func (*IcoPhase) SetIco

func (o *IcoPhase) SetIco(exec boil.Executor, insert bool, related *Ico) error

SetIco of the icoPhase to the related item. Sets o.R.Ico to related. Adds o to related.R.IcoPhases.

func (*IcoPhase) SetIcoG

func (o *IcoPhase) SetIcoG(insert bool, related *Ico) error

SetIcoG of the icoPhase to the related item. Sets o.R.Ico to related. Adds o to related.R.IcoPhases. Uses the global database handle.

func (*IcoPhase) Update

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

Update uses an executor to update the IcoPhase. 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 (*IcoPhase) UpdateG

func (o *IcoPhase) UpdateG(columns boil.Columns) (int64, error)

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

func (*IcoPhase) Upsert

func (o *IcoPhase) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*IcoPhase) UpsertG

func (o *IcoPhase) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*IcoPhase) UserOrders

func (o *IcoPhase) UserOrders(mods ...qm.QueryMod) userOrderQuery

UserOrders retrieves all the user_order's UserOrders with an executor.

type IcoPhaseActivatedExchangeCurrency

type IcoPhaseActivatedExchangeCurrency struct {
	ID                        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	IcoPhaseID                int       `boil:"ico_phase_id" json:"ico_phase_id" toml:"ico_phase_id" yaml:"ico_phase_id"`
	ExchangeCurrencyID        int       `boil:"exchange_currency_id" json:"exchange_currency_id" toml:"exchange_currency_id" yaml:"exchange_currency_id"`
	ExchangeMasterKey         string    `boil:"exchange_master_key" json:"exchange_master_key" toml:"exchange_master_key" yaml:"exchange_master_key"`
	DenomPricePerToken        int64     `boil:"denom_price_per_token" json:"denom_price_per_token" toml:"denom_price_per_token" yaml:"denom_price_per_token"`
	StellarPaymentAccountPK   string    `` /* 135-byte string literal not displayed */
	StellarPaymentAccountSeed string    `` /* 143-byte string literal not displayed */
	CryptoPayoutAddress       string    `boil:"crypto_payout_address" json:"crypto_payout_address" toml:"crypto_payout_address" yaml:"crypto_payout_address"`
	TokensReleased            int64     `boil:"tokens_released" json:"tokens_released" toml:"tokens_released" yaml:"tokens_released"`
	TokensBlocked             int64     `boil:"tokens_blocked" json:"tokens_blocked" toml:"tokens_blocked" yaml:"tokens_blocked"`
	IcoPhaseBankAccountID     null.Int  `` /* 151-byte string literal not displayed */
	CreatedAt                 time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt                 time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy                 string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *icoPhaseActivatedExchangeCurrencyR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L icoPhaseActivatedExchangeCurrencyL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

IcoPhaseActivatedExchangeCurrency is an object representing the database table.

func FindIcoPhaseActivatedExchangeCurrency

func FindIcoPhaseActivatedExchangeCurrency(exec boil.Executor, iD int, selectCols ...string) (*IcoPhaseActivatedExchangeCurrency, error)

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

func FindIcoPhaseActivatedExchangeCurrencyG

func FindIcoPhaseActivatedExchangeCurrencyG(iD int, selectCols ...string) (*IcoPhaseActivatedExchangeCurrency, error)

FindIcoPhaseActivatedExchangeCurrencyG retrieves a single record by ID.

func (*IcoPhaseActivatedExchangeCurrency) Delete

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

func (*IcoPhaseActivatedExchangeCurrency) DeleteG

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

func (*IcoPhaseActivatedExchangeCurrency) ExchangeCurrency

func (o *IcoPhaseActivatedExchangeCurrency) ExchangeCurrency(mods ...qm.QueryMod) exchangeCurrencyQuery

ExchangeCurrency pointed to by the foreign key.

func (*IcoPhaseActivatedExchangeCurrency) IcoPhase

func (o *IcoPhaseActivatedExchangeCurrency) IcoPhase(mods ...qm.QueryMod) icoPhaseQuery

IcoPhase pointed to by the foreign key.

func (*IcoPhaseActivatedExchangeCurrency) IcoPhaseBankAccount

func (o *IcoPhaseActivatedExchangeCurrency) IcoPhaseBankAccount(mods ...qm.QueryMod) icoPhaseBankAccountQuery

IcoPhaseBankAccount pointed to by the foreign key.

func (*IcoPhaseActivatedExchangeCurrency) Insert

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

func (*IcoPhaseActivatedExchangeCurrency) InsertG

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

func (*IcoPhaseActivatedExchangeCurrency) Reload

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

func (*IcoPhaseActivatedExchangeCurrency) ReloadG

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

func (*IcoPhaseActivatedExchangeCurrency) RemoveIcoPhaseBankAccount

func (o *IcoPhaseActivatedExchangeCurrency) RemoveIcoPhaseBankAccount(exec boil.Executor, related *IcoPhaseBankAccount) error

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

func (*IcoPhaseActivatedExchangeCurrency) RemoveIcoPhaseBankAccountG

func (o *IcoPhaseActivatedExchangeCurrency) RemoveIcoPhaseBankAccountG(related *IcoPhaseBankAccount) error

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

func (*IcoPhaseActivatedExchangeCurrency) SetExchangeCurrency

func (o *IcoPhaseActivatedExchangeCurrency) SetExchangeCurrency(exec boil.Executor, insert bool, related *ExchangeCurrency) error

SetExchangeCurrency of the icoPhaseActivatedExchangeCurrency to the related item. Sets o.R.ExchangeCurrency to related. Adds o to related.R.IcoPhaseActivatedExchangeCurrencies.

func (*IcoPhaseActivatedExchangeCurrency) SetExchangeCurrencyG

func (o *IcoPhaseActivatedExchangeCurrency) SetExchangeCurrencyG(insert bool, related *ExchangeCurrency) error

SetExchangeCurrencyG of the icoPhaseActivatedExchangeCurrency to the related item. Sets o.R.ExchangeCurrency to related. Adds o to related.R.IcoPhaseActivatedExchangeCurrencies. Uses the global database handle.

func (*IcoPhaseActivatedExchangeCurrency) SetIcoPhase

func (o *IcoPhaseActivatedExchangeCurrency) SetIcoPhase(exec boil.Executor, insert bool, related *IcoPhase) error

SetIcoPhase of the icoPhaseActivatedExchangeCurrency to the related item. Sets o.R.IcoPhase to related. Adds o to related.R.IcoPhaseActivatedExchangeCurrencies.

func (*IcoPhaseActivatedExchangeCurrency) SetIcoPhaseBankAccount

func (o *IcoPhaseActivatedExchangeCurrency) SetIcoPhaseBankAccount(exec boil.Executor, insert bool, related *IcoPhaseBankAccount) error

SetIcoPhaseBankAccount of the icoPhaseActivatedExchangeCurrency to the related item. Sets o.R.IcoPhaseBankAccount to related. Adds o to related.R.IcoPhaseActivatedExchangeCurrencies.

func (*IcoPhaseActivatedExchangeCurrency) SetIcoPhaseBankAccountG

func (o *IcoPhaseActivatedExchangeCurrency) SetIcoPhaseBankAccountG(insert bool, related *IcoPhaseBankAccount) error

SetIcoPhaseBankAccountG of the icoPhaseActivatedExchangeCurrency to the related item. Sets o.R.IcoPhaseBankAccount to related. Adds o to related.R.IcoPhaseActivatedExchangeCurrencies. Uses the global database handle.

func (*IcoPhaseActivatedExchangeCurrency) SetIcoPhaseG

func (o *IcoPhaseActivatedExchangeCurrency) SetIcoPhaseG(insert bool, related *IcoPhase) error

SetIcoPhaseG of the icoPhaseActivatedExchangeCurrency to the related item. Sets o.R.IcoPhase to related. Adds o to related.R.IcoPhaseActivatedExchangeCurrencies. Uses the global database handle.

func (*IcoPhaseActivatedExchangeCurrency) Update

Update uses an executor to update the IcoPhaseActivatedExchangeCurrency. 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 (*IcoPhaseActivatedExchangeCurrency) UpdateG

func (o *IcoPhaseActivatedExchangeCurrency) UpdateG(columns boil.Columns) (int64, error)

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

func (*IcoPhaseActivatedExchangeCurrency) Upsert

func (o *IcoPhaseActivatedExchangeCurrency) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*IcoPhaseActivatedExchangeCurrency) UpsertG

func (o *IcoPhaseActivatedExchangeCurrency) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type IcoPhaseActivatedExchangeCurrencyHook

type IcoPhaseActivatedExchangeCurrencyHook func(boil.Executor, *IcoPhaseActivatedExchangeCurrency) error

IcoPhaseActivatedExchangeCurrencyHook is the signature for custom IcoPhaseActivatedExchangeCurrency hook methods

type IcoPhaseActivatedExchangeCurrencySlice

type IcoPhaseActivatedExchangeCurrencySlice []*IcoPhaseActivatedExchangeCurrency

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

func (IcoPhaseActivatedExchangeCurrencySlice) DeleteAll

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

func (IcoPhaseActivatedExchangeCurrencySlice) DeleteAllG

DeleteAllG deletes all rows in the slice.

func (*IcoPhaseActivatedExchangeCurrencySlice) ReloadAll

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

func (*IcoPhaseActivatedExchangeCurrencySlice) ReloadAllG

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

func (IcoPhaseActivatedExchangeCurrencySlice) UpdateAll

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

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

func (IcoPhaseActivatedExchangeCurrencySlice) UpdateAllG

func (o IcoPhaseActivatedExchangeCurrencySlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type IcoPhaseBankAccount

type IcoPhaseBankAccount struct {
	ID                 int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	AccountName        string    `boil:"account_name" json:"account_name" toml:"account_name" yaml:"account_name"`
	RecepientName      string    `boil:"recepient_name" json:"recepient_name" toml:"recepient_name" yaml:"recepient_name"`
	BankName           string    `boil:"bank_name" json:"bank_name" toml:"bank_name" yaml:"bank_name"`
	Iban               string    `boil:"iban" json:"iban" toml:"iban" yaml:"iban"`
	BicSwift           string    `boil:"bic_swift" json:"bic_swift" toml:"bic_swift" yaml:"bic_swift"`
	PaymendUsageString string    `boil:"paymend_usage_string" json:"paymend_usage_string" toml:"paymend_usage_string" yaml:"paymend_usage_string"`
	CreatedAt          time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt          time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy          string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *icoPhaseBankAccountR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L icoPhaseBankAccountL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

IcoPhaseBankAccount is an object representing the database table.

func FindIcoPhaseBankAccount

func FindIcoPhaseBankAccount(exec boil.Executor, iD int, selectCols ...string) (*IcoPhaseBankAccount, error)

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

func FindIcoPhaseBankAccountG

func FindIcoPhaseBankAccountG(iD int, selectCols ...string) (*IcoPhaseBankAccount, error)

FindIcoPhaseBankAccountG retrieves a single record by ID.

func (*IcoPhaseBankAccount) AddIcoPhaseActivatedExchangeCurrencies

func (o *IcoPhaseBankAccount) AddIcoPhaseActivatedExchangeCurrencies(exec boil.Executor, insert bool, related ...*IcoPhaseActivatedExchangeCurrency) error

AddIcoPhaseActivatedExchangeCurrencies adds the given related objects to the existing relationships of the ico_phase_bank_account, optionally inserting them as new records. Appends related to o.R.IcoPhaseActivatedExchangeCurrencies. Sets related.R.IcoPhaseBankAccount appropriately.

func (*IcoPhaseBankAccount) AddIcoPhaseActivatedExchangeCurrenciesG

func (o *IcoPhaseBankAccount) AddIcoPhaseActivatedExchangeCurrenciesG(insert bool, related ...*IcoPhaseActivatedExchangeCurrency) error

AddIcoPhaseActivatedExchangeCurrenciesG adds the given related objects to the existing relationships of the ico_phase_bank_account, optionally inserting them as new records. Appends related to o.R.IcoPhaseActivatedExchangeCurrencies. Sets related.R.IcoPhaseBankAccount appropriately. Uses the global database handle.

func (*IcoPhaseBankAccount) Delete

func (o *IcoPhaseBankAccount) Delete(exec boil.Executor) (int64, error)

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

func (*IcoPhaseBankAccount) DeleteG

func (o *IcoPhaseBankAccount) DeleteG() (int64, error)

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

func (*IcoPhaseBankAccount) IcoPhaseActivatedExchangeCurrencies

func (o *IcoPhaseBankAccount) IcoPhaseActivatedExchangeCurrencies(mods ...qm.QueryMod) icoPhaseActivatedExchangeCurrencyQuery

IcoPhaseActivatedExchangeCurrencies retrieves all the ico_phase_activated_exchange_currency's IcoPhaseActivatedExchangeCurrencies with an executor.

func (*IcoPhaseBankAccount) Insert

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

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

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

func (*IcoPhaseBankAccount) Reload

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

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

func (*IcoPhaseBankAccount) ReloadG

func (o *IcoPhaseBankAccount) ReloadG() error

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

func (*IcoPhaseBankAccount) RemoveIcoPhaseActivatedExchangeCurrencies

func (o *IcoPhaseBankAccount) RemoveIcoPhaseActivatedExchangeCurrencies(exec boil.Executor, related ...*IcoPhaseActivatedExchangeCurrency) error

RemoveIcoPhaseActivatedExchangeCurrencies relationships from objects passed in. Removes related items from R.IcoPhaseActivatedExchangeCurrencies (uses pointer comparison, removal does not keep order) Sets related.R.IcoPhaseBankAccount.

func (*IcoPhaseBankAccount) RemoveIcoPhaseActivatedExchangeCurrenciesG

func (o *IcoPhaseBankAccount) RemoveIcoPhaseActivatedExchangeCurrenciesG(related ...*IcoPhaseActivatedExchangeCurrency) error

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

func (*IcoPhaseBankAccount) SetIcoPhaseActivatedExchangeCurrencies

func (o *IcoPhaseBankAccount) SetIcoPhaseActivatedExchangeCurrencies(exec boil.Executor, insert bool, related ...*IcoPhaseActivatedExchangeCurrency) error

SetIcoPhaseActivatedExchangeCurrencies removes all previously related items of the ico_phase_bank_account replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.IcoPhaseBankAccount's IcoPhaseActivatedExchangeCurrencies accordingly. Replaces o.R.IcoPhaseActivatedExchangeCurrencies with related. Sets related.R.IcoPhaseBankAccount's IcoPhaseActivatedExchangeCurrencies accordingly.

func (*IcoPhaseBankAccount) SetIcoPhaseActivatedExchangeCurrenciesG

func (o *IcoPhaseBankAccount) SetIcoPhaseActivatedExchangeCurrenciesG(insert bool, related ...*IcoPhaseActivatedExchangeCurrency) error

SetIcoPhaseActivatedExchangeCurrenciesG removes all previously related items of the ico_phase_bank_account replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.IcoPhaseBankAccount's IcoPhaseActivatedExchangeCurrencies accordingly. Replaces o.R.IcoPhaseActivatedExchangeCurrencies with related. Sets related.R.IcoPhaseBankAccount's IcoPhaseActivatedExchangeCurrencies accordingly. Uses the global database handle.

func (*IcoPhaseBankAccount) Update

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

Update uses an executor to update the IcoPhaseBankAccount. 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 (*IcoPhaseBankAccount) UpdateG

func (o *IcoPhaseBankAccount) UpdateG(columns boil.Columns) (int64, error)

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

func (*IcoPhaseBankAccount) Upsert

func (o *IcoPhaseBankAccount) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*IcoPhaseBankAccount) UpsertG

func (o *IcoPhaseBankAccount) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type IcoPhaseBankAccountHook

type IcoPhaseBankAccountHook func(boil.Executor, *IcoPhaseBankAccount) error

IcoPhaseBankAccountHook is the signature for custom IcoPhaseBankAccount hook methods

type IcoPhaseBankAccountSlice

type IcoPhaseBankAccountSlice []*IcoPhaseBankAccount

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

func (IcoPhaseBankAccountSlice) DeleteAll

func (o IcoPhaseBankAccountSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (IcoPhaseBankAccountSlice) DeleteAllG

func (o IcoPhaseBankAccountSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*IcoPhaseBankAccountSlice) ReloadAll

func (o *IcoPhaseBankAccountSlice) 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 (*IcoPhaseBankAccountSlice) ReloadAllG

func (o *IcoPhaseBankAccountSlice) ReloadAllG() error

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

func (IcoPhaseBankAccountSlice) UpdateAll

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

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

func (IcoPhaseBankAccountSlice) UpdateAllG

func (o IcoPhaseBankAccountSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type IcoPhaseHook

type IcoPhaseHook func(boil.Executor, *IcoPhase) error

IcoPhaseHook is the signature for custom IcoPhase hook methods

type IcoPhaseSlice

type IcoPhaseSlice []*IcoPhase

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

func (IcoPhaseSlice) DeleteAll

func (o IcoPhaseSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (IcoPhaseSlice) DeleteAllG

func (o IcoPhaseSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*IcoPhaseSlice) ReloadAll

func (o *IcoPhaseSlice) 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 (*IcoPhaseSlice) ReloadAllG

func (o *IcoPhaseSlice) ReloadAllG() error

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

func (IcoPhaseSlice) UpdateAll

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

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

func (IcoPhaseSlice) UpdateAllG

func (o IcoPhaseSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type IcoSlice

type IcoSlice []*Ico

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

func (IcoSlice) DeleteAll

func (o IcoSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (IcoSlice) DeleteAllG

func (o IcoSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*IcoSlice) ReloadAll

func (o *IcoSlice) 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 (*IcoSlice) ReloadAllG

func (o *IcoSlice) ReloadAllG() error

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

func (IcoSlice) UpdateAll

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

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

func (IcoSlice) UpdateAllG

func (o IcoSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type IcoSupportedExchangeCurrency

type IcoSupportedExchangeCurrency struct {
	ID                 int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	IcoID              int       `boil:"ico_id" json:"ico_id" toml:"ico_id" yaml:"ico_id"`
	ExchangeCurrencyID int       `boil:"exchange_currency_id" json:"exchange_currency_id" toml:"exchange_currency_id" yaml:"exchange_currency_id"`
	CreatedAt          time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt          time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy          string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *icoSupportedExchangeCurrencyR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L icoSupportedExchangeCurrencyL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

IcoSupportedExchangeCurrency is an object representing the database table.

func FindIcoSupportedExchangeCurrency

func FindIcoSupportedExchangeCurrency(exec boil.Executor, iD int, selectCols ...string) (*IcoSupportedExchangeCurrency, error)

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

func FindIcoSupportedExchangeCurrencyG

func FindIcoSupportedExchangeCurrencyG(iD int, selectCols ...string) (*IcoSupportedExchangeCurrency, error)

FindIcoSupportedExchangeCurrencyG retrieves a single record by ID.

func (*IcoSupportedExchangeCurrency) Delete

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

func (*IcoSupportedExchangeCurrency) DeleteG

func (o *IcoSupportedExchangeCurrency) DeleteG() (int64, error)

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

func (*IcoSupportedExchangeCurrency) ExchangeCurrency

func (o *IcoSupportedExchangeCurrency) ExchangeCurrency(mods ...qm.QueryMod) exchangeCurrencyQuery

ExchangeCurrency pointed to by the foreign key.

func (*IcoSupportedExchangeCurrency) Ico

func (o *IcoSupportedExchangeCurrency) Ico(mods ...qm.QueryMod) icoQuery

Ico pointed to by the foreign key.

func (*IcoSupportedExchangeCurrency) Insert

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

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

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

func (*IcoSupportedExchangeCurrency) Reload

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

func (*IcoSupportedExchangeCurrency) ReloadG

func (o *IcoSupportedExchangeCurrency) ReloadG() error

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

func (*IcoSupportedExchangeCurrency) SetExchangeCurrency

func (o *IcoSupportedExchangeCurrency) SetExchangeCurrency(exec boil.Executor, insert bool, related *ExchangeCurrency) error

SetExchangeCurrency of the icoSupportedExchangeCurrency to the related item. Sets o.R.ExchangeCurrency to related. Adds o to related.R.IcoSupportedExchangeCurrencies.

func (*IcoSupportedExchangeCurrency) SetExchangeCurrencyG

func (o *IcoSupportedExchangeCurrency) SetExchangeCurrencyG(insert bool, related *ExchangeCurrency) error

SetExchangeCurrencyG of the icoSupportedExchangeCurrency to the related item. Sets o.R.ExchangeCurrency to related. Adds o to related.R.IcoSupportedExchangeCurrencies. Uses the global database handle.

func (*IcoSupportedExchangeCurrency) SetIco

func (o *IcoSupportedExchangeCurrency) SetIco(exec boil.Executor, insert bool, related *Ico) error

SetIco of the icoSupportedExchangeCurrency to the related item. Sets o.R.Ico to related. Adds o to related.R.IcoSupportedExchangeCurrencies.

func (*IcoSupportedExchangeCurrency) SetIcoG

func (o *IcoSupportedExchangeCurrency) SetIcoG(insert bool, related *Ico) error

SetIcoG of the icoSupportedExchangeCurrency to the related item. Sets o.R.Ico to related. Adds o to related.R.IcoSupportedExchangeCurrencies. Uses the global database handle.

func (*IcoSupportedExchangeCurrency) Update

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

Update uses an executor to update the IcoSupportedExchangeCurrency. 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 (*IcoSupportedExchangeCurrency) UpdateG

func (o *IcoSupportedExchangeCurrency) UpdateG(columns boil.Columns) (int64, error)

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

func (*IcoSupportedExchangeCurrency) Upsert

func (o *IcoSupportedExchangeCurrency) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*IcoSupportedExchangeCurrency) UpsertG

func (o *IcoSupportedExchangeCurrency) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type IcoSupportedExchangeCurrencyHook

type IcoSupportedExchangeCurrencyHook func(boil.Executor, *IcoSupportedExchangeCurrency) error

IcoSupportedExchangeCurrencyHook is the signature for custom IcoSupportedExchangeCurrency hook methods

type IcoSupportedExchangeCurrencySlice

type IcoSupportedExchangeCurrencySlice []*IcoSupportedExchangeCurrency

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

func (IcoSupportedExchangeCurrencySlice) DeleteAll

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

func (IcoSupportedExchangeCurrencySlice) DeleteAllG

func (o IcoSupportedExchangeCurrencySlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*IcoSupportedExchangeCurrencySlice) ReloadAll

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

func (*IcoSupportedExchangeCurrencySlice) ReloadAllG

func (o *IcoSupportedExchangeCurrencySlice) ReloadAllG() error

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

func (IcoSupportedExchangeCurrencySlice) UpdateAll

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

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

func (IcoSupportedExchangeCurrencySlice) UpdateAllG

func (o IcoSupportedExchangeCurrencySlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type IncomingTransaction

type IncomingTransaction struct {
	ID                               int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	Status                           string    `boil:"status" json:"status" toml:"status" yaml:"status"`
	PaymentNetwork                   string    `boil:"payment_network" json:"payment_network" toml:"payment_network" yaml:"payment_network"`
	TransactionHash                  string    `boil:"transaction_hash" json:"transaction_hash" toml:"transaction_hash" yaml:"transaction_hash"`
	BTCSRCOutIndex                   int       `boil:"btc_src_out_index" json:"btc_src_out_index" toml:"btc_src_out_index" yaml:"btc_src_out_index"`
	ReceivingAddress                 string    `boil:"receiving_address" json:"receiving_address" toml:"receiving_address" yaml:"receiving_address"`
	SenderAddress                    string    `boil:"sender_address" json:"sender_address" toml:"sender_address" yaml:"sender_address"`
	PaymentNetworkAmountDenomination string    `` /* 171-byte string literal not displayed */
	OrderID                          int       `boil:"order_id" json:"order_id" toml:"order_id" yaml:"order_id"`
	CreatedAt                        time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt                        time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *incomingTransactionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L incomingTransactionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

IncomingTransaction is an object representing the database table.

func FindIncomingTransaction

func FindIncomingTransaction(exec boil.Executor, iD int, selectCols ...string) (*IncomingTransaction, error)

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

func FindIncomingTransactionG

func FindIncomingTransactionG(iD int, selectCols ...string) (*IncomingTransaction, error)

FindIncomingTransactionG retrieves a single record by ID.

func (*IncomingTransaction) AddOutgoingTransactions

func (o *IncomingTransaction) AddOutgoingTransactions(exec boil.Executor, insert bool, related ...*OutgoingTransaction) error

AddOutgoingTransactions adds the given related objects to the existing relationships of the incoming_transaction, optionally inserting them as new records. Appends related to o.R.OutgoingTransactions. Sets related.R.IncomingTransaction appropriately.

func (*IncomingTransaction) AddOutgoingTransactionsG

func (o *IncomingTransaction) AddOutgoingTransactionsG(insert bool, related ...*OutgoingTransaction) error

AddOutgoingTransactionsG adds the given related objects to the existing relationships of the incoming_transaction, optionally inserting them as new records. Appends related to o.R.OutgoingTransactions. Sets related.R.IncomingTransaction appropriately. Uses the global database handle.

func (*IncomingTransaction) Delete

func (o *IncomingTransaction) Delete(exec boil.Executor) (int64, error)

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

func (*IncomingTransaction) DeleteG

func (o *IncomingTransaction) DeleteG() (int64, error)

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

func (*IncomingTransaction) Insert

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

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

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

func (*IncomingTransaction) Order

func (o *IncomingTransaction) Order(mods ...qm.QueryMod) userOrderQuery

Order pointed to by the foreign key.

func (*IncomingTransaction) OutgoingTransactions

func (o *IncomingTransaction) OutgoingTransactions(mods ...qm.QueryMod) outgoingTransactionQuery

OutgoingTransactions retrieves all the outgoing_transaction's OutgoingTransactions with an executor.

func (*IncomingTransaction) Reload

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

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

func (*IncomingTransaction) ReloadG

func (o *IncomingTransaction) ReloadG() error

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

func (*IncomingTransaction) RemoveOutgoingTransactions

func (o *IncomingTransaction) RemoveOutgoingTransactions(exec boil.Executor, related ...*OutgoingTransaction) error

RemoveOutgoingTransactions relationships from objects passed in. Removes related items from R.OutgoingTransactions (uses pointer comparison, removal does not keep order) Sets related.R.IncomingTransaction.

func (*IncomingTransaction) RemoveOutgoingTransactionsG

func (o *IncomingTransaction) RemoveOutgoingTransactionsG(related ...*OutgoingTransaction) error

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

func (*IncomingTransaction) SetOrder

func (o *IncomingTransaction) SetOrder(exec boil.Executor, insert bool, related *UserOrder) error

SetOrder of the incomingTransaction to the related item. Sets o.R.Order to related. Adds o to related.R.OrderIncomingTransactions.

func (*IncomingTransaction) SetOrderG

func (o *IncomingTransaction) SetOrderG(insert bool, related *UserOrder) error

SetOrderG of the incomingTransaction to the related item. Sets o.R.Order to related. Adds o to related.R.OrderIncomingTransactions. Uses the global database handle.

func (*IncomingTransaction) SetOutgoingTransactions

func (o *IncomingTransaction) SetOutgoingTransactions(exec boil.Executor, insert bool, related ...*OutgoingTransaction) error

SetOutgoingTransactions removes all previously related items of the incoming_transaction replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.IncomingTransaction's OutgoingTransactions accordingly. Replaces o.R.OutgoingTransactions with related. Sets related.R.IncomingTransaction's OutgoingTransactions accordingly.

func (*IncomingTransaction) SetOutgoingTransactionsG

func (o *IncomingTransaction) SetOutgoingTransactionsG(insert bool, related ...*OutgoingTransaction) error

SetOutgoingTransactionsG removes all previously related items of the incoming_transaction replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.IncomingTransaction's OutgoingTransactions accordingly. Replaces o.R.OutgoingTransactions with related. Sets related.R.IncomingTransaction's OutgoingTransactions accordingly. Uses the global database handle.

func (*IncomingTransaction) Update

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

Update uses an executor to update the IncomingTransaction. 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 (*IncomingTransaction) UpdateG

func (o *IncomingTransaction) UpdateG(columns boil.Columns) (int64, error)

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

func (*IncomingTransaction) Upsert

func (o *IncomingTransaction) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*IncomingTransaction) UpsertG

func (o *IncomingTransaction) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type IncomingTransactionHook

type IncomingTransactionHook func(boil.Executor, *IncomingTransaction) error

IncomingTransactionHook is the signature for custom IncomingTransaction hook methods

type IncomingTransactionSlice

type IncomingTransactionSlice []*IncomingTransaction

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

func (IncomingTransactionSlice) DeleteAll

func (o IncomingTransactionSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (IncomingTransactionSlice) DeleteAllG

func (o IncomingTransactionSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*IncomingTransactionSlice) ReloadAll

func (o *IncomingTransactionSlice) 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 (*IncomingTransactionSlice) ReloadAllG

func (o *IncomingTransactionSlice) ReloadAllG() error

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

func (IncomingTransactionSlice) UpdateAll

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

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

func (IncomingTransactionSlice) UpdateAllG

func (o IncomingTransactionSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type JWTKey

type JWTKey struct {
	ID             int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	KeyName        string    `boil:"key_name" json:"key_name" toml:"key_name" yaml:"key_name"`
	KeyValue1      string    `boil:"key_value1" json:"key_value1" toml:"key_value1" yaml:"key_value1"`
	KeyValue2      string    `boil:"key_value2" json:"key_value2" toml:"key_value2" yaml:"key_value2"`
	KeyDescription string    `boil:"key_description" json:"key_description" toml:"key_description" yaml:"key_description"`
	Valid1To       time.Time `boil:"valid1_to" json:"valid1_to" toml:"valid1_to" yaml:"valid1_to"`
	Valid2To       time.Time `boil:"valid2_to" json:"valid2_to" toml:"valid2_to" yaml:"valid2_to"`
	UpdatedAt      time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *jwtKeyR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L jwtKeyL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

JWTKey is an object representing the database table.

func FindJWTKey

func FindJWTKey(exec boil.Executor, iD int, selectCols ...string) (*JWTKey, error)

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

func FindJWTKeyG

func FindJWTKeyG(iD int, selectCols ...string) (*JWTKey, error)

FindJWTKeyG retrieves a single record by ID.

func (*JWTKey) Delete

func (o *JWTKey) Delete(exec boil.Executor) (int64, error)

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

func (*JWTKey) DeleteG

func (o *JWTKey) DeleteG() (int64, error)

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

func (*JWTKey) Insert

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

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

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

func (*JWTKey) Reload

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

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

func (*JWTKey) ReloadG

func (o *JWTKey) ReloadG() error

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

func (*JWTKey) Update

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

Update uses an executor to update the JWTKey. 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 (*JWTKey) UpdateG

func (o *JWTKey) UpdateG(columns boil.Columns) (int64, error)

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

func (*JWTKey) Upsert

func (o *JWTKey) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*JWTKey) UpsertG

func (o *JWTKey) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type JWTKeyHook

type JWTKeyHook func(boil.Executor, *JWTKey) error

JWTKeyHook is the signature for custom JWTKey hook methods

type JWTKeySlice

type JWTKeySlice []*JWTKey

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

func (JWTKeySlice) DeleteAll

func (o JWTKeySlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (JWTKeySlice) DeleteAllG

func (o JWTKeySlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*JWTKeySlice) ReloadAll

func (o *JWTKeySlice) 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 (*JWTKeySlice) ReloadAllG

func (o *JWTKeySlice) ReloadAllG() error

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

func (JWTKeySlice) UpdateAll

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

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

func (JWTKeySlice) UpdateAllG

func (o JWTKeySlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type KeyValueStore

type KeyValueStore struct {
	Key   string `boil:"key" json:"key" toml:"key" yaml:"key"`
	Value string `boil:"value" json:"value" toml:"value" yaml:"value"`

	R *keyValueStoreR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L keyValueStoreL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

KeyValueStore is an object representing the database table.

func FindKeyValueStore

func FindKeyValueStore(exec boil.Executor, key string, selectCols ...string) (*KeyValueStore, error)

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

func FindKeyValueStoreG

func FindKeyValueStoreG(key string, selectCols ...string) (*KeyValueStore, error)

FindKeyValueStoreG retrieves a single record by ID.

func (*KeyValueStore) Delete

func (o *KeyValueStore) Delete(exec boil.Executor) (int64, error)

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

func (*KeyValueStore) DeleteG

func (o *KeyValueStore) DeleteG() (int64, error)

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

func (*KeyValueStore) Insert

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

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

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

func (*KeyValueStore) Reload

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

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

func (*KeyValueStore) ReloadG

func (o *KeyValueStore) ReloadG() error

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

func (*KeyValueStore) Update

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

Update uses an executor to update the KeyValueStore. 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 (*KeyValueStore) UpdateG

func (o *KeyValueStore) UpdateG(columns boil.Columns) (int64, error)

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

func (*KeyValueStore) Upsert

func (o *KeyValueStore) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*KeyValueStore) UpsertG

func (o *KeyValueStore) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type KeyValueStoreHook

type KeyValueStoreHook func(boil.Executor, *KeyValueStore) error

KeyValueStoreHook is the signature for custom KeyValueStore hook methods

type KeyValueStoreSlice

type KeyValueStoreSlice []*KeyValueStore

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

func (KeyValueStoreSlice) DeleteAll

func (o KeyValueStoreSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (KeyValueStoreSlice) DeleteAllG

func (o KeyValueStoreSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*KeyValueStoreSlice) ReloadAll

func (o *KeyValueStoreSlice) 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 (*KeyValueStoreSlice) ReloadAllG

func (o *KeyValueStoreSlice) ReloadAllG() error

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

func (KeyValueStoreSlice) UpdateAll

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

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

func (KeyValueStoreSlice) UpdateAllG

func (o KeyValueStoreSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Language

type Language struct {
	ID       int    `boil:"id" json:"id" toml:"id" yaml:"id"`
	LangCode string `boil:"lang_code" json:"lang_code" toml:"lang_code" yaml:"lang_code"`
	LangName string `boil:"lang_name" json:"lang_name" toml:"lang_name" yaml:"lang_name"`

	R *languageR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L languageL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Language is an object representing the database table.

func FindLanguage

func FindLanguage(exec boil.Executor, iD int, selectCols ...string) (*Language, error)

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

func FindLanguageG

func FindLanguageG(iD int, selectCols ...string) (*Language, error)

FindLanguageG retrieves a single record by ID.

func (*Language) Delete

func (o *Language) Delete(exec boil.Executor) (int64, error)

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

func (*Language) DeleteG

func (o *Language) DeleteG() (int64, error)

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

func (*Language) Insert

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

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

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

func (*Language) Reload

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

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

func (*Language) ReloadG

func (o *Language) ReloadG() error

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

func (*Language) Update

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

Update uses an executor to update the Language. 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 (*Language) UpdateG

func (o *Language) UpdateG(columns boil.Columns) (int64, error)

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

func (*Language) Upsert

func (o *Language) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*Language) UpsertG

func (o *Language) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type LanguageHook

type LanguageHook func(boil.Executor, *Language) error

LanguageHook is the signature for custom Language hook methods

type LanguageSlice

type LanguageSlice []*Language

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

func (LanguageSlice) DeleteAll

func (o LanguageSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (LanguageSlice) DeleteAllG

func (o LanguageSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*LanguageSlice) ReloadAll

func (o *LanguageSlice) 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 (*LanguageSlice) ReloadAllG

func (o *LanguageSlice) ReloadAllG() error

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

func (LanguageSlice) UpdateAll

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

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

func (LanguageSlice) UpdateAllG

func (o LanguageSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type M

type M map[string]interface{}

M type is for providing columns and column values to UpdateAll.

type Mail

type Mail struct {
	ID               int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	MailFrom         string    `boil:"mail_from" json:"mail_from" toml:"mail_from" yaml:"mail_from"`
	MailTo           string    `boil:"mail_to" json:"mail_to" toml:"mail_to" yaml:"mail_to"`
	MailSubject      string    `boil:"mail_subject" json:"mail_subject" toml:"mail_subject" yaml:"mail_subject"`
	MailBody         string    `boil:"mail_body" json:"mail_body" toml:"mail_body" yaml:"mail_body"`
	ExternalStatus   string    `boil:"external_status" json:"external_status" toml:"external_status" yaml:"external_status"`
	ExternalStatusID string    `boil:"external_status_id" json:"external_status_id" toml:"external_status_id" yaml:"external_status_id"`
	InternalStatus   int64     `boil:"internal_status" json:"internal_status" toml:"internal_status" yaml:"internal_status"`
	CreatedAt        time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedBy        string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *mailR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L mailL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Mail is an object representing the database table.

func FindMail

func FindMail(exec boil.Executor, iD int, selectCols ...string) (*Mail, error)

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

func FindMailG

func FindMailG(iD int, selectCols ...string) (*Mail, error)

FindMailG retrieves a single record by ID.

func (*Mail) Delete

func (o *Mail) Delete(exec boil.Executor) (int64, error)

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

func (*Mail) DeleteG

func (o *Mail) DeleteG() (int64, error)

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

func (*Mail) Insert

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

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

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

func (*Mail) Reload

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

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

func (*Mail) ReloadG

func (o *Mail) ReloadG() error

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

func (*Mail) Update

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

Update uses an executor to update the Mail. 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 (*Mail) UpdateG

func (o *Mail) UpdateG(columns boil.Columns) (int64, error)

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

func (*Mail) Upsert

func (o *Mail) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*Mail) UpsertG

func (o *Mail) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type MailHook

type MailHook func(boil.Executor, *Mail) error

MailHook is the signature for custom Mail hook methods

type MailSlice

type MailSlice []*Mail

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

func (MailSlice) DeleteAll

func (o MailSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (MailSlice) DeleteAllG

func (o MailSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*MailSlice) ReloadAll

func (o *MailSlice) 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 (*MailSlice) ReloadAllG

func (o *MailSlice) ReloadAllG() error

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

func (MailSlice) UpdateAll

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

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

func (MailSlice) UpdateAllG

func (o MailSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Notification

type Notification struct {
	ID          int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID      int       `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	PushToken   string    `boil:"push_token" json:"push_token" toml:"push_token" yaml:"push_token"`
	Type        string    `boil:"type" json:"type" toml:"type" yaml:"type"`
	Content     string    `boil:"content" json:"content" toml:"content" yaml:"content"`
	MailSubject string    `boil:"mail_subject" json:"mail_subject" toml:"mail_subject" yaml:"mail_subject"`
	MailType    string    `boil:"mail_type" json:"mail_type" toml:"mail_type" yaml:"mail_type"`
	UserEmail   string    `boil:"user_email" json:"user_email" toml:"user_email" yaml:"user_email"`
	CreatedAt   time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt   time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy   string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *notificationR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L notificationL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Notification is an object representing the database table.

func FindNotification

func FindNotification(exec boil.Executor, iD int, selectCols ...string) (*Notification, error)

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

func FindNotificationG

func FindNotificationG(iD int, selectCols ...string) (*Notification, error)

FindNotificationG retrieves a single record by ID.

func (*Notification) Delete

func (o *Notification) Delete(exec boil.Executor) (int64, error)

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

func (*Notification) DeleteG

func (o *Notification) DeleteG() (int64, error)

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

func (*Notification) Insert

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

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

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

func (*Notification) Reload

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

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

func (*Notification) ReloadG

func (o *Notification) ReloadG() error

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

func (*Notification) SetUser

func (o *Notification) SetUser(exec boil.Executor, insert bool, related *UserProfile) error

SetUser of the notification to the related item. Sets o.R.User to related. Adds o to related.R.UserNotifications.

func (*Notification) SetUserG

func (o *Notification) SetUserG(insert bool, related *UserProfile) error

SetUserG of the notification to the related item. Sets o.R.User to related. Adds o to related.R.UserNotifications. Uses the global database handle.

func (*Notification) Update

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

Update uses an executor to update the Notification. 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 (*Notification) UpdateG

func (o *Notification) UpdateG(columns boil.Columns) (int64, error)

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

func (*Notification) Upsert

func (o *Notification) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*Notification) UpsertG

func (o *Notification) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*Notification) User

func (o *Notification) User(mods ...qm.QueryMod) userProfileQuery

User pointed to by the foreign key.

type NotificationArchive

type NotificationArchive struct {
	ID                  int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID              int       `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	PushToken           string    `boil:"push_token" json:"push_token" toml:"push_token" yaml:"push_token"`
	Type                string    `boil:"type" json:"type" toml:"type" yaml:"type"`
	Content             string    `boil:"content" json:"content" toml:"content" yaml:"content"`
	MailSubject         string    `boil:"mail_subject" json:"mail_subject" toml:"mail_subject" yaml:"mail_subject"`
	MailType            string    `boil:"mail_type" json:"mail_type" toml:"mail_type" yaml:"mail_type"`
	UserEmail           string    `boil:"user_email" json:"user_email" toml:"user_email" yaml:"user_email"`
	Status              string    `boil:"status" json:"status" toml:"status" yaml:"status"`
	InternalErrorString string    `boil:"internal_error_string" json:"internal_error_string" toml:"internal_error_string" yaml:"internal_error_string"`
	ExternalStatusCode  string    `boil:"external_status_code" json:"external_status_code" toml:"external_status_code" yaml:"external_status_code"`
	ExternalErrorString string    `boil:"external_error_string" json:"external_error_string" toml:"external_error_string" yaml:"external_error_string"`
	CreatedAt           time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt           time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy           string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *notificationArchiveR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L notificationArchiveL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

NotificationArchive is an object representing the database table.

func FindNotificationArchive

func FindNotificationArchive(exec boil.Executor, iD int, selectCols ...string) (*NotificationArchive, error)

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

func FindNotificationArchiveG

func FindNotificationArchiveG(iD int, selectCols ...string) (*NotificationArchive, error)

FindNotificationArchiveG retrieves a single record by ID.

func (*NotificationArchive) Delete

func (o *NotificationArchive) Delete(exec boil.Executor) (int64, error)

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

func (*NotificationArchive) DeleteG

func (o *NotificationArchive) DeleteG() (int64, error)

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

func (*NotificationArchive) Insert

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

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

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

func (*NotificationArchive) Reload

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

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

func (*NotificationArchive) ReloadG

func (o *NotificationArchive) ReloadG() error

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

func (*NotificationArchive) SetUser

func (o *NotificationArchive) SetUser(exec boil.Executor, insert bool, related *UserProfile) error

SetUser of the notificationArchive to the related item. Sets o.R.User to related. Adds o to related.R.UserNotificationArchives.

func (*NotificationArchive) SetUserG

func (o *NotificationArchive) SetUserG(insert bool, related *UserProfile) error

SetUserG of the notificationArchive to the related item. Sets o.R.User to related. Adds o to related.R.UserNotificationArchives. Uses the global database handle.

func (*NotificationArchive) Update

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

Update uses an executor to update the NotificationArchive. 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 (*NotificationArchive) UpdateG

func (o *NotificationArchive) UpdateG(columns boil.Columns) (int64, error)

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

func (*NotificationArchive) Upsert

func (o *NotificationArchive) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*NotificationArchive) UpsertG

func (o *NotificationArchive) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*NotificationArchive) User

func (o *NotificationArchive) User(mods ...qm.QueryMod) userProfileQuery

User pointed to by the foreign key.

type NotificationArchiveHook

type NotificationArchiveHook func(boil.Executor, *NotificationArchive) error

NotificationArchiveHook is the signature for custom NotificationArchive hook methods

type NotificationArchiveSlice

type NotificationArchiveSlice []*NotificationArchive

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

func (NotificationArchiveSlice) DeleteAll

func (o NotificationArchiveSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (NotificationArchiveSlice) DeleteAllG

func (o NotificationArchiveSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*NotificationArchiveSlice) ReloadAll

func (o *NotificationArchiveSlice) 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 (*NotificationArchiveSlice) ReloadAllG

func (o *NotificationArchiveSlice) ReloadAllG() error

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

func (NotificationArchiveSlice) UpdateAll

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

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

func (NotificationArchiveSlice) UpdateAllG

func (o NotificationArchiveSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type NotificationHook

type NotificationHook func(boil.Executor, *Notification) error

NotificationHook is the signature for custom Notification hook methods

type NotificationSlice

type NotificationSlice []*Notification

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

func (NotificationSlice) DeleteAll

func (o NotificationSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (NotificationSlice) DeleteAllG

func (o NotificationSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*NotificationSlice) ReloadAll

func (o *NotificationSlice) 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 (*NotificationSlice) ReloadAllG

func (o *NotificationSlice) ReloadAllG() error

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

func (NotificationSlice) UpdateAll

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

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

func (NotificationSlice) UpdateAllG

func (o NotificationSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Occupation

type Occupation struct {
	ID     int    `boil:"id" json:"id" toml:"id" yaml:"id"`
	Isco08 int    `boil:"isco08" json:"isco08" toml:"isco08" yaml:"isco08"`
	Isco88 int    `boil:"isco88" json:"isco88" toml:"isco88" yaml:"isco88"`
	Name   string `boil:"name" json:"name" toml:"name" yaml:"name"`

	R *occupationR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L occupationL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Occupation is an object representing the database table.

func FindOccupation

func FindOccupation(exec boil.Executor, iD int, selectCols ...string) (*Occupation, error)

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

func FindOccupationG

func FindOccupationG(iD int, selectCols ...string) (*Occupation, error)

FindOccupationG retrieves a single record by ID.

func (*Occupation) Delete

func (o *Occupation) Delete(exec boil.Executor) (int64, error)

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

func (*Occupation) DeleteG

func (o *Occupation) DeleteG() (int64, error)

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

func (*Occupation) Insert

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

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

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

func (*Occupation) Reload

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

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

func (*Occupation) ReloadG

func (o *Occupation) ReloadG() error

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

func (*Occupation) Update

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

Update uses an executor to update the Occupation. 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 (*Occupation) UpdateG

func (o *Occupation) UpdateG(columns boil.Columns) (int64, error)

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

func (*Occupation) Upsert

func (o *Occupation) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*Occupation) UpsertG

func (o *Occupation) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type OccupationHook

type OccupationHook func(boil.Executor, *Occupation) error

OccupationHook is the signature for custom Occupation hook methods

type OccupationSlice

type OccupationSlice []*Occupation

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

func (OccupationSlice) DeleteAll

func (o OccupationSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (OccupationSlice) DeleteAllG

func (o OccupationSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*OccupationSlice) ReloadAll

func (o *OccupationSlice) 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 (*OccupationSlice) ReloadAllG

func (o *OccupationSlice) ReloadAllG() error

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

func (OccupationSlice) UpdateAll

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

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

func (OccupationSlice) UpdateAllG

func (o OccupationSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type OrderTransactionLog

type OrderTransactionLog struct {
	ID         int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	OrderID    int       `boil:"order_id" json:"order_id" toml:"order_id" yaml:"order_id"`
	Status     bool      `boil:"status" json:"status" toml:"status" yaml:"status"`
	TX         string    `boil:"tx" json:"tx" toml:"tx" yaml:"tx"`
	TXHash     string    `boil:"tx_hash" json:"tx_hash" toml:"tx_hash" yaml:"tx_hash"`
	ResultCode string    `boil:"result_code" json:"result_code" toml:"result_code" yaml:"result_code"`
	ResultXDR  string    `boil:"result_xdr" json:"result_xdr" toml:"result_xdr" yaml:"result_xdr"`
	ErrorText  string    `boil:"error_text" json:"error_text" toml:"error_text" yaml:"error_text"`
	CreatedAt  time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *orderTransactionLogR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L orderTransactionLogL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

OrderTransactionLog is an object representing the database table.

func FindOrderTransactionLog

func FindOrderTransactionLog(exec boil.Executor, iD int, selectCols ...string) (*OrderTransactionLog, error)

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

func FindOrderTransactionLogG

func FindOrderTransactionLogG(iD int, selectCols ...string) (*OrderTransactionLog, error)

FindOrderTransactionLogG retrieves a single record by ID.

func (*OrderTransactionLog) Delete

func (o *OrderTransactionLog) Delete(exec boil.Executor) (int64, error)

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

func (*OrderTransactionLog) DeleteG

func (o *OrderTransactionLog) DeleteG() (int64, error)

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

func (*OrderTransactionLog) Insert

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

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

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

func (*OrderTransactionLog) Order

func (o *OrderTransactionLog) Order(mods ...qm.QueryMod) userOrderQuery

Order pointed to by the foreign key.

func (*OrderTransactionLog) Reload

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

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

func (*OrderTransactionLog) ReloadG

func (o *OrderTransactionLog) ReloadG() error

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

func (*OrderTransactionLog) SetOrder

func (o *OrderTransactionLog) SetOrder(exec boil.Executor, insert bool, related *UserOrder) error

SetOrder of the orderTransactionLog to the related item. Sets o.R.Order to related. Adds o to related.R.OrderOrderTransactionLogs.

func (*OrderTransactionLog) SetOrderG

func (o *OrderTransactionLog) SetOrderG(insert bool, related *UserOrder) error

SetOrderG of the orderTransactionLog to the related item. Sets o.R.Order to related. Adds o to related.R.OrderOrderTransactionLogs. Uses the global database handle.

func (*OrderTransactionLog) Update

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

Update uses an executor to update the OrderTransactionLog. 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 (*OrderTransactionLog) UpdateG

func (o *OrderTransactionLog) UpdateG(columns boil.Columns) (int64, error)

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

func (*OrderTransactionLog) Upsert

func (o *OrderTransactionLog) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*OrderTransactionLog) UpsertG

func (o *OrderTransactionLog) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type OrderTransactionLogHook

type OrderTransactionLogHook func(boil.Executor, *OrderTransactionLog) error

OrderTransactionLogHook is the signature for custom OrderTransactionLog hook methods

type OrderTransactionLogSlice

type OrderTransactionLogSlice []*OrderTransactionLog

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

func (OrderTransactionLogSlice) DeleteAll

func (o OrderTransactionLogSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (OrderTransactionLogSlice) DeleteAllG

func (o OrderTransactionLogSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*OrderTransactionLogSlice) ReloadAll

func (o *OrderTransactionLogSlice) 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 (*OrderTransactionLogSlice) ReloadAllG

func (o *OrderTransactionLogSlice) ReloadAllG() error

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

func (OrderTransactionLogSlice) UpdateAll

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

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

func (OrderTransactionLogSlice) UpdateAllG

func (o OrderTransactionLogSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type OutgoingTransaction

type OutgoingTransaction struct {
	ID                               int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	IncomingTransactionID            null.Int  `` /* 143-byte string literal not displayed */
	OrderID                          int       `boil:"order_id" json:"order_id" toml:"order_id" yaml:"order_id"`
	Status                           string    `boil:"status" json:"status" toml:"status" yaml:"status"`
	ExecuteStatus                    bool      `boil:"execute_status" json:"execute_status" toml:"execute_status" yaml:"execute_status"`
	PaymentNetwork                   string    `boil:"payment_network" json:"payment_network" toml:"payment_network" yaml:"payment_network"`
	SenderAddress                    string    `boil:"sender_address" json:"sender_address" toml:"sender_address" yaml:"sender_address"`
	ReceivingAddress                 string    `boil:"receiving_address" json:"receiving_address" toml:"receiving_address" yaml:"receiving_address"`
	TransactionString                string    `boil:"transaction_string" json:"transaction_string" toml:"transaction_string" yaml:"transaction_string"`
	TransactionHash                  string    `boil:"transaction_hash" json:"transaction_hash" toml:"transaction_hash" yaml:"transaction_hash"`
	TransactionError                 string    `boil:"transaction_error" json:"transaction_error" toml:"transaction_error" yaml:"transaction_error"`
	PaymentNetworkAmountDenomination string    `` /* 171-byte string literal not displayed */
	CreatedAt                        time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt                        time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *outgoingTransactionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L outgoingTransactionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

OutgoingTransaction is an object representing the database table.

func FindOutgoingTransaction

func FindOutgoingTransaction(exec boil.Executor, iD int, selectCols ...string) (*OutgoingTransaction, error)

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

func FindOutgoingTransactionG

func FindOutgoingTransactionG(iD int, selectCols ...string) (*OutgoingTransaction, error)

FindOutgoingTransactionG retrieves a single record by ID.

func (*OutgoingTransaction) Delete

func (o *OutgoingTransaction) Delete(exec boil.Executor) (int64, error)

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

func (*OutgoingTransaction) DeleteG

func (o *OutgoingTransaction) DeleteG() (int64, error)

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

func (*OutgoingTransaction) IncomingTransaction

func (o *OutgoingTransaction) IncomingTransaction(mods ...qm.QueryMod) incomingTransactionQuery

IncomingTransaction pointed to by the foreign key.

func (*OutgoingTransaction) Insert

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

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

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

func (*OutgoingTransaction) Order

func (o *OutgoingTransaction) Order(mods ...qm.QueryMod) userOrderQuery

Order pointed to by the foreign key.

func (*OutgoingTransaction) Reload

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

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

func (*OutgoingTransaction) ReloadG

func (o *OutgoingTransaction) ReloadG() error

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

func (*OutgoingTransaction) RemoveIncomingTransaction

func (o *OutgoingTransaction) RemoveIncomingTransaction(exec boil.Executor, related *IncomingTransaction) error

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

func (*OutgoingTransaction) RemoveIncomingTransactionG

func (o *OutgoingTransaction) RemoveIncomingTransactionG(related *IncomingTransaction) error

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

func (*OutgoingTransaction) SetIncomingTransaction

func (o *OutgoingTransaction) SetIncomingTransaction(exec boil.Executor, insert bool, related *IncomingTransaction) error

SetIncomingTransaction of the outgoingTransaction to the related item. Sets o.R.IncomingTransaction to related. Adds o to related.R.OutgoingTransactions.

func (*OutgoingTransaction) SetIncomingTransactionG

func (o *OutgoingTransaction) SetIncomingTransactionG(insert bool, related *IncomingTransaction) error

SetIncomingTransactionG of the outgoingTransaction to the related item. Sets o.R.IncomingTransaction to related. Adds o to related.R.OutgoingTransactions. Uses the global database handle.

func (*OutgoingTransaction) SetOrder

func (o *OutgoingTransaction) SetOrder(exec boil.Executor, insert bool, related *UserOrder) error

SetOrder of the outgoingTransaction to the related item. Sets o.R.Order to related. Adds o to related.R.OrderOutgoingTransactions.

func (*OutgoingTransaction) SetOrderG

func (o *OutgoingTransaction) SetOrderG(insert bool, related *UserOrder) error

SetOrderG of the outgoingTransaction to the related item. Sets o.R.Order to related. Adds o to related.R.OrderOutgoingTransactions. Uses the global database handle.

func (*OutgoingTransaction) Update

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

Update uses an executor to update the OutgoingTransaction. 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 (*OutgoingTransaction) UpdateG

func (o *OutgoingTransaction) UpdateG(columns boil.Columns) (int64, error)

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

func (*OutgoingTransaction) Upsert

func (o *OutgoingTransaction) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*OutgoingTransaction) UpsertG

func (o *OutgoingTransaction) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type OutgoingTransactionHook

type OutgoingTransactionHook func(boil.Executor, *OutgoingTransaction) error

OutgoingTransactionHook is the signature for custom OutgoingTransaction hook methods

type OutgoingTransactionSlice

type OutgoingTransactionSlice []*OutgoingTransaction

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

func (OutgoingTransactionSlice) DeleteAll

func (o OutgoingTransactionSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (OutgoingTransactionSlice) DeleteAllG

func (o OutgoingTransactionSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*OutgoingTransactionSlice) ReloadAll

func (o *OutgoingTransactionSlice) 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 (*OutgoingTransactionSlice) ReloadAllG

func (o *OutgoingTransactionSlice) ReloadAllG() error

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

func (OutgoingTransactionSlice) UpdateAll

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

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

func (OutgoingTransactionSlice) UpdateAllG

func (o OutgoingTransactionSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type PaymentTemplate

type PaymentTemplate struct {
	ID                      int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	WalletID                int       `boil:"wallet_id" json:"wallet_id" toml:"wallet_id" yaml:"wallet_id"`
	RecepientStellarAddress string    `` /* 131-byte string literal not displayed */
	RecepientPK             string    `boil:"recepient_pk" json:"recepient_pk" toml:"recepient_pk" yaml:"recepient_pk"`
	AssetCode               string    `boil:"asset_code" json:"asset_code" toml:"asset_code" yaml:"asset_code"`
	IssuerPK                string    `boil:"issuer_pk" json:"issuer_pk" toml:"issuer_pk" yaml:"issuer_pk"`
	Amount                  string    `boil:"amount" json:"amount" toml:"amount" yaml:"amount"`
	Memo                    string    `boil:"memo" json:"memo" toml:"memo" yaml:"memo"`
	CreatedAt               time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt               time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy               string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`
	TemplateName            string    `boil:"template_name" json:"template_name" toml:"template_name" yaml:"template_name"`
	MemoType                string    `boil:"memo_type" json:"memo_type" toml:"memo_type" yaml:"memo_type"`

	R *paymentTemplateR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L paymentTemplateL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

PaymentTemplate is an object representing the database table.

func FindPaymentTemplate

func FindPaymentTemplate(exec boil.Executor, iD int, selectCols ...string) (*PaymentTemplate, error)

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

func FindPaymentTemplateG

func FindPaymentTemplateG(iD int, selectCols ...string) (*PaymentTemplate, error)

FindPaymentTemplateG retrieves a single record by ID.

func (*PaymentTemplate) Delete

func (o *PaymentTemplate) Delete(exec boil.Executor) (int64, error)

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

func (*PaymentTemplate) DeleteG

func (o *PaymentTemplate) DeleteG() (int64, error)

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

func (*PaymentTemplate) Insert

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

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

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

func (*PaymentTemplate) Reload

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

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

func (*PaymentTemplate) ReloadG

func (o *PaymentTemplate) ReloadG() error

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

func (*PaymentTemplate) SetWallet

func (o *PaymentTemplate) SetWallet(exec boil.Executor, insert bool, related *UserWallet) error

SetWallet of the paymentTemplate to the related item. Sets o.R.Wallet to related. Adds o to related.R.WalletPaymentTemplates.

func (*PaymentTemplate) SetWalletG

func (o *PaymentTemplate) SetWalletG(insert bool, related *UserWallet) error

SetWalletG of the paymentTemplate to the related item. Sets o.R.Wallet to related. Adds o to related.R.WalletPaymentTemplates. Uses the global database handle.

func (*PaymentTemplate) Update

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

Update uses an executor to update the PaymentTemplate. 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 (*PaymentTemplate) UpdateG

func (o *PaymentTemplate) UpdateG(columns boil.Columns) (int64, error)

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

func (*PaymentTemplate) Upsert

func (o *PaymentTemplate) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*PaymentTemplate) UpsertG

func (o *PaymentTemplate) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*PaymentTemplate) Wallet

func (o *PaymentTemplate) Wallet(mods ...qm.QueryMod) userWalletQuery

Wallet pointed to by the foreign key.

type PaymentTemplateHook

type PaymentTemplateHook func(boil.Executor, *PaymentTemplate) error

PaymentTemplateHook is the signature for custom PaymentTemplate hook methods

type PaymentTemplateSlice

type PaymentTemplateSlice []*PaymentTemplate

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

func (PaymentTemplateSlice) DeleteAll

func (o PaymentTemplateSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (PaymentTemplateSlice) DeleteAllG

func (o PaymentTemplateSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*PaymentTemplateSlice) ReloadAll

func (o *PaymentTemplateSlice) 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 (*PaymentTemplateSlice) ReloadAllG

func (o *PaymentTemplateSlice) ReloadAllG() error

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

func (PaymentTemplateSlice) UpdateAll

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

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

func (PaymentTemplateSlice) UpdateAllG

func (o PaymentTemplateSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type Salutation

type Salutation struct {
	ID         int    `boil:"id" json:"id" toml:"id" yaml:"id"`
	LangCode   string `boil:"lang_code" json:"lang_code" toml:"lang_code" yaml:"lang_code"`
	Salutation string `boil:"salutation" json:"salutation" toml:"salutation" yaml:"salutation"`

	R *salutationR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L salutationL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Salutation is an object representing the database table.

func FindSalutation

func FindSalutation(exec boil.Executor, iD int, selectCols ...string) (*Salutation, error)

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

func FindSalutationG

func FindSalutationG(iD int, selectCols ...string) (*Salutation, error)

FindSalutationG retrieves a single record by ID.

func (*Salutation) Delete

func (o *Salutation) Delete(exec boil.Executor) (int64, error)

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

func (*Salutation) DeleteG

func (o *Salutation) DeleteG() (int64, error)

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

func (*Salutation) Insert

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

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

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

func (*Salutation) Reload

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

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

func (*Salutation) ReloadG

func (o *Salutation) ReloadG() error

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

func (*Salutation) Update

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

Update uses an executor to update the Salutation. 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 (*Salutation) UpdateG

func (o *Salutation) UpdateG(columns boil.Columns) (int64, error)

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

func (*Salutation) Upsert

func (o *Salutation) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*Salutation) UpsertG

func (o *Salutation) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

type SalutationHook

type SalutationHook func(boil.Executor, *Salutation) error

SalutationHook is the signature for custom Salutation hook methods

type SalutationSlice

type SalutationSlice []*Salutation

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

func (SalutationSlice) DeleteAll

func (o SalutationSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (SalutationSlice) DeleteAllG

func (o SalutationSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*SalutationSlice) ReloadAll

func (o *SalutationSlice) 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 (*SalutationSlice) ReloadAllG

func (o *SalutationSlice) ReloadAllG() error

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

func (SalutationSlice) UpdateAll

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

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

func (SalutationSlice) UpdateAllG

func (o SalutationSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type TokenHistory

type TokenHistory struct {
	ID                  int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID              int       `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	MailConfirmationKey string    `boil:"mail_confirmation_key" json:"mail_confirmation_key" toml:"mail_confirmation_key" yaml:"mail_confirmation_key"`
	CreatedAt           time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *tokenHistoryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L tokenHistoryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

TokenHistory is an object representing the database table.

func FindTokenHistory

func FindTokenHistory(exec boil.Executor, iD int, selectCols ...string) (*TokenHistory, error)

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

func FindTokenHistoryG

func FindTokenHistoryG(iD int, selectCols ...string) (*TokenHistory, error)

FindTokenHistoryG retrieves a single record by ID.

func (*TokenHistory) Delete

func (o *TokenHistory) Delete(exec boil.Executor) (int64, error)

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

func (*TokenHistory) DeleteG

func (o *TokenHistory) DeleteG() (int64, error)

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

func (*TokenHistory) Insert

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

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

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

func (*TokenHistory) Reload

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

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

func (*TokenHistory) ReloadG

func (o *TokenHistory) ReloadG() error

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

func (*TokenHistory) SetUser

func (o *TokenHistory) SetUser(exec boil.Executor, insert bool, related *UserProfile) error

SetUser of the tokenHistory to the related item. Sets o.R.User to related. Adds o to related.R.UserTokenHistories.

func (*TokenHistory) SetUserG

func (o *TokenHistory) SetUserG(insert bool, related *UserProfile) error

SetUserG of the tokenHistory to the related item. Sets o.R.User to related. Adds o to related.R.UserTokenHistories. Uses the global database handle.

func (*TokenHistory) Update

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

Update uses an executor to update the TokenHistory. 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 (*TokenHistory) UpdateG

func (o *TokenHistory) UpdateG(columns boil.Columns) (int64, error)

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

func (*TokenHistory) Upsert

func (o *TokenHistory) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*TokenHistory) UpsertG

func (o *TokenHistory) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*TokenHistory) User

func (o *TokenHistory) User(mods ...qm.QueryMod) userProfileQuery

User pointed to by the foreign key.

type TokenHistoryHook

type TokenHistoryHook func(boil.Executor, *TokenHistory) error

TokenHistoryHook is the signature for custom TokenHistory hook methods

type TokenHistorySlice

type TokenHistorySlice []*TokenHistory

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

func (TokenHistorySlice) DeleteAll

func (o TokenHistorySlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (TokenHistorySlice) DeleteAllG

func (o TokenHistorySlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*TokenHistorySlice) ReloadAll

func (o *TokenHistorySlice) 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 (*TokenHistorySlice) ReloadAllG

func (o *TokenHistorySlice) ReloadAllG() error

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

func (TokenHistorySlice) UpdateAll

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

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

func (TokenHistorySlice) UpdateAllG

func (o TokenHistorySlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type UserContact

type UserContact struct {
	ID             int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID         int       `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	ContactName    string    `boil:"contact_name" json:"contact_name" toml:"contact_name" yaml:"contact_name"`
	StellarAddress string    `boil:"stellar_address" json:"stellar_address" toml:"stellar_address" yaml:"stellar_address"`
	PublicKey      string    `boil:"public_key" json:"public_key" toml:"public_key" yaml:"public_key"`
	CreatedAt      time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt      time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy      string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *userContactR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userContactL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserContact is an object representing the database table.

func FindUserContact

func FindUserContact(exec boil.Executor, iD int, selectCols ...string) (*UserContact, error)

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

func FindUserContactG

func FindUserContactG(iD int, selectCols ...string) (*UserContact, error)

FindUserContactG retrieves a single record by ID.

func (*UserContact) Delete

func (o *UserContact) Delete(exec boil.Executor) (int64, error)

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

func (*UserContact) DeleteG

func (o *UserContact) DeleteG() (int64, error)

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

func (*UserContact) Insert

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

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

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

func (*UserContact) Reload

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

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

func (*UserContact) ReloadG

func (o *UserContact) ReloadG() error

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

func (*UserContact) SetUser

func (o *UserContact) SetUser(exec boil.Executor, insert bool, related *UserProfile) error

SetUser of the userContact to the related item. Sets o.R.User to related. Adds o to related.R.UserUserContacts.

func (*UserContact) SetUserG

func (o *UserContact) SetUserG(insert bool, related *UserProfile) error

SetUserG of the userContact to the related item. Sets o.R.User to related. Adds o to related.R.UserUserContacts. Uses the global database handle.

func (*UserContact) Update

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

Update uses an executor to update the UserContact. 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 (*UserContact) UpdateG

func (o *UserContact) UpdateG(columns boil.Columns) (int64, error)

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

func (*UserContact) Upsert

func (o *UserContact) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*UserContact) UpsertG

func (o *UserContact) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*UserContact) User

func (o *UserContact) User(mods ...qm.QueryMod) userProfileQuery

User pointed to by the foreign key.

type UserContactHook

type UserContactHook func(boil.Executor, *UserContact) error

UserContactHook is the signature for custom UserContact hook methods

type UserContactSlice

type UserContactSlice []*UserContact

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

func (UserContactSlice) DeleteAll

func (o UserContactSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (UserContactSlice) DeleteAllG

func (o UserContactSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*UserContactSlice) ReloadAll

func (o *UserContactSlice) 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 (*UserContactSlice) ReloadAllG

func (o *UserContactSlice) ReloadAllG() error

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

func (UserContactSlice) UpdateAll

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

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

func (UserContactSlice) UpdateAllG

func (o UserContactSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type UserKycDocument

type UserKycDocument struct {
	ID               int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID           int       `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	Type             string    `boil:"type" json:"type" toml:"type" yaml:"type"`
	Format           string    `boil:"format" json:"format" toml:"format" yaml:"format"`
	Side             string    `boil:"side" json:"side" toml:"side" yaml:"side"`
	IDCountryCode    string    `boil:"id_country_code" json:"id_country_code" toml:"id_country_code" yaml:"id_country_code"`
	IDIssueDate      time.Time `boil:"id_issue_date" json:"id_issue_date" toml:"id_issue_date" yaml:"id_issue_date"`
	IDExpirationDate time.Time `boil:"id_expiration_date" json:"id_expiration_date" toml:"id_expiration_date" yaml:"id_expiration_date"`
	IDNumber         string    `boil:"id_number" json:"id_number" toml:"id_number" yaml:"id_number"`
	UploadDate       time.Time `boil:"upload_date" json:"upload_date" toml:"upload_date" yaml:"upload_date"`
	CreatedAt        time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt        time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy        string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *userKycDocumentR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userKycDocumentL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserKycDocument is an object representing the database table.

func FindUserKycDocument

func FindUserKycDocument(exec boil.Executor, iD int, selectCols ...string) (*UserKycDocument, error)

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

func FindUserKycDocumentG

func FindUserKycDocumentG(iD int, selectCols ...string) (*UserKycDocument, error)

FindUserKycDocumentG retrieves a single record by ID.

func (*UserKycDocument) Delete

func (o *UserKycDocument) Delete(exec boil.Executor) (int64, error)

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

func (*UserKycDocument) DeleteG

func (o *UserKycDocument) DeleteG() (int64, error)

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

func (*UserKycDocument) Insert

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

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

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

func (*UserKycDocument) Reload

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

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

func (*UserKycDocument) ReloadG

func (o *UserKycDocument) ReloadG() error

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

func (*UserKycDocument) SetUser

func (o *UserKycDocument) SetUser(exec boil.Executor, insert bool, related *UserProfile) error

SetUser of the userKycDocument to the related item. Sets o.R.User to related. Adds o to related.R.UserUserKycDocuments.

func (*UserKycDocument) SetUserG

func (o *UserKycDocument) SetUserG(insert bool, related *UserProfile) error

SetUserG of the userKycDocument to the related item. Sets o.R.User to related. Adds o to related.R.UserUserKycDocuments. Uses the global database handle.

func (*UserKycDocument) Update

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

Update uses an executor to update the UserKycDocument. 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 (*UserKycDocument) UpdateG

func (o *UserKycDocument) UpdateG(columns boil.Columns) (int64, error)

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

func (*UserKycDocument) Upsert

func (o *UserKycDocument) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*UserKycDocument) UpsertG

func (o *UserKycDocument) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*UserKycDocument) User

func (o *UserKycDocument) User(mods ...qm.QueryMod) userProfileQuery

User pointed to by the foreign key.

type UserKycDocumentHook

type UserKycDocumentHook func(boil.Executor, *UserKycDocument) error

UserKycDocumentHook is the signature for custom UserKycDocument hook methods

type UserKycDocumentSlice

type UserKycDocumentSlice []*UserKycDocument

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

func (UserKycDocumentSlice) DeleteAll

func (o UserKycDocumentSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (UserKycDocumentSlice) DeleteAllG

func (o UserKycDocumentSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*UserKycDocumentSlice) ReloadAll

func (o *UserKycDocumentSlice) 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 (*UserKycDocumentSlice) ReloadAllG

func (o *UserKycDocumentSlice) ReloadAllG() error

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

func (UserKycDocumentSlice) UpdateAll

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

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

func (UserKycDocumentSlice) UpdateAllG

func (o UserKycDocumentSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type UserMessage

type UserMessage struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID    int       `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	Title     string    `boil:"title" json:"title" toml:"title" yaml:"title"`
	Message   string    `boil:"message" json:"message" toml:"message" yaml:"message"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *userMessageR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userMessageL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserMessage is an object representing the database table.

func FindUserMessage

func FindUserMessage(exec boil.Executor, iD int, selectCols ...string) (*UserMessage, error)

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

func FindUserMessageG

func FindUserMessageG(iD int, selectCols ...string) (*UserMessage, error)

FindUserMessageG retrieves a single record by ID.

func (*UserMessage) Delete

func (o *UserMessage) Delete(exec boil.Executor) (int64, error)

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

func (*UserMessage) DeleteG

func (o *UserMessage) DeleteG() (int64, error)

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

func (*UserMessage) Insert

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

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

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

func (*UserMessage) Reload

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

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

func (*UserMessage) ReloadG

func (o *UserMessage) ReloadG() error

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

func (*UserMessage) SetUser

func (o *UserMessage) SetUser(exec boil.Executor, insert bool, related *UserProfile) error

SetUser of the userMessage to the related item. Sets o.R.User to related. Adds o to related.R.UserUserMessages.

func (*UserMessage) SetUserG

func (o *UserMessage) SetUserG(insert bool, related *UserProfile) error

SetUserG of the userMessage to the related item. Sets o.R.User to related. Adds o to related.R.UserUserMessages. Uses the global database handle.

func (*UserMessage) Update

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

Update uses an executor to update the UserMessage. 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 (*UserMessage) UpdateG

func (o *UserMessage) UpdateG(columns boil.Columns) (int64, error)

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

func (*UserMessage) Upsert

func (o *UserMessage) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*UserMessage) UpsertG

func (o *UserMessage) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*UserMessage) User

func (o *UserMessage) User(mods ...qm.QueryMod) userProfileQuery

User pointed to by the foreign key.

type UserMessageArchive

type UserMessageArchive struct {
	ID        int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID    int       `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	Title     string    `boil:"title" json:"title" toml:"title" yaml:"title"`
	Message   string    `boil:"message" json:"message" toml:"message" yaml:"message"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *userMessageArchiveR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userMessageArchiveL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserMessageArchive is an object representing the database table.

func FindUserMessageArchive

func FindUserMessageArchive(exec boil.Executor, iD int, selectCols ...string) (*UserMessageArchive, error)

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

func FindUserMessageArchiveG

func FindUserMessageArchiveG(iD int, selectCols ...string) (*UserMessageArchive, error)

FindUserMessageArchiveG retrieves a single record by ID.

func (*UserMessageArchive) Delete

func (o *UserMessageArchive) Delete(exec boil.Executor) (int64, error)

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

func (*UserMessageArchive) DeleteG

func (o *UserMessageArchive) DeleteG() (int64, error)

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

func (*UserMessageArchive) Insert

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

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

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

func (*UserMessageArchive) Reload

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

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

func (*UserMessageArchive) ReloadG

func (o *UserMessageArchive) ReloadG() error

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

func (*UserMessageArchive) SetUser

func (o *UserMessageArchive) SetUser(exec boil.Executor, insert bool, related *UserProfile) error

SetUser of the userMessageArchive to the related item. Sets o.R.User to related. Adds o to related.R.UserUserMessageArchives.

func (*UserMessageArchive) SetUserG

func (o *UserMessageArchive) SetUserG(insert bool, related *UserProfile) error

SetUserG of the userMessageArchive to the related item. Sets o.R.User to related. Adds o to related.R.UserUserMessageArchives. Uses the global database handle.

func (*UserMessageArchive) Update

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

Update uses an executor to update the UserMessageArchive. 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 (*UserMessageArchive) UpdateG

func (o *UserMessageArchive) UpdateG(columns boil.Columns) (int64, error)

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

func (*UserMessageArchive) Upsert

func (o *UserMessageArchive) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*UserMessageArchive) UpsertG

func (o *UserMessageArchive) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*UserMessageArchive) User

func (o *UserMessageArchive) User(mods ...qm.QueryMod) userProfileQuery

User pointed to by the foreign key.

type UserMessageArchiveHook

type UserMessageArchiveHook func(boil.Executor, *UserMessageArchive) error

UserMessageArchiveHook is the signature for custom UserMessageArchive hook methods

type UserMessageArchiveSlice

type UserMessageArchiveSlice []*UserMessageArchive

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

func (UserMessageArchiveSlice) DeleteAll

func (o UserMessageArchiveSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (UserMessageArchiveSlice) DeleteAllG

func (o UserMessageArchiveSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*UserMessageArchiveSlice) ReloadAll

func (o *UserMessageArchiveSlice) 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 (*UserMessageArchiveSlice) ReloadAllG

func (o *UserMessageArchiveSlice) ReloadAllG() error

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

func (UserMessageArchiveSlice) UpdateAll

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

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

func (UserMessageArchiveSlice) UpdateAllG

func (o UserMessageArchiveSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type UserMessageHook

type UserMessageHook func(boil.Executor, *UserMessage) error

UserMessageHook is the signature for custom UserMessage hook methods

type UserMessageSlice

type UserMessageSlice []*UserMessage

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

func (UserMessageSlice) DeleteAll

func (o UserMessageSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (UserMessageSlice) DeleteAllG

func (o UserMessageSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*UserMessageSlice) ReloadAll

func (o *UserMessageSlice) 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 (*UserMessageSlice) ReloadAllG

func (o *UserMessageSlice) ReloadAllG() error

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

func (UserMessageSlice) UpdateAll

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

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

func (UserMessageSlice) UpdateAllG

func (o UserMessageSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type UserOrder

type UserOrder struct {
	ID                                 int        `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID                             int        `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	IcoPhaseID                         int        `boil:"ico_phase_id" json:"ico_phase_id" toml:"ico_phase_id" yaml:"ico_phase_id"`
	OrderStatus                        string     `boil:"order_status" json:"order_status" toml:"order_status" yaml:"order_status"`
	TokenAmount                        int64      `boil:"token_amount" json:"token_amount" toml:"token_amount" yaml:"token_amount"`
	StellarUserPublicKey               string     `boil:"stellar_user_public_key" json:"stellar_user_public_key" toml:"stellar_user_public_key" yaml:"stellar_user_public_key"`
	ExchangeCurrencyID                 int        `boil:"exchange_currency_id" json:"exchange_currency_id" toml:"exchange_currency_id" yaml:"exchange_currency_id"`
	ExchangeCurrencyDenominationAmount string     `` /* 179-byte string literal not displayed */
	PaymentNetwork                     string     `boil:"payment_network" json:"payment_network" toml:"payment_network" yaml:"payment_network"`
	PaymentAddress                     string     `boil:"payment_address" json:"payment_address" toml:"payment_address" yaml:"payment_address"`
	PaymentSeed                        string     `boil:"payment_seed" json:"payment_seed" toml:"payment_seed" yaml:"payment_seed"`
	StellarTransactionID               string     `boil:"stellar_transaction_id" json:"stellar_transaction_id" toml:"stellar_transaction_id" yaml:"stellar_transaction_id"`
	PaymentQRImage                     null.Bytes `boil:"payment_qr_image" json:"payment_qr_image,omitempty" toml:"payment_qr_image" yaml:"payment_qr_image,omitempty"`
	PaymentUsage                       string     `boil:"payment_usage" json:"payment_usage" toml:"payment_usage" yaml:"payment_usage"`
	PaymentErrorMessage                string     `boil:"payment_error_message" json:"payment_error_message" toml:"payment_error_message" yaml:"payment_error_message"`
	FeePayed                           bool       `boil:"fee_payed" json:"fee_payed" toml:"fee_payed" yaml:"fee_payed"`
	CreatedAt                          time.Time  `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt                          time.Time  `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy                          string     `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *userOrderR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userOrderL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserOrder is an object representing the database table.

func FindUserOrder

func FindUserOrder(exec boil.Executor, iD int, selectCols ...string) (*UserOrder, error)

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

func FindUserOrderG

func FindUserOrderG(iD int, selectCols ...string) (*UserOrder, error)

FindUserOrderG retrieves a single record by ID.

func (*UserOrder) AddOrderIncomingTransactions

func (o *UserOrder) AddOrderIncomingTransactions(exec boil.Executor, insert bool, related ...*IncomingTransaction) error

AddOrderIncomingTransactions adds the given related objects to the existing relationships of the user_order, optionally inserting them as new records. Appends related to o.R.OrderIncomingTransactions. Sets related.R.Order appropriately.

func (*UserOrder) AddOrderIncomingTransactionsG

func (o *UserOrder) AddOrderIncomingTransactionsG(insert bool, related ...*IncomingTransaction) error

AddOrderIncomingTransactionsG adds the given related objects to the existing relationships of the user_order, optionally inserting them as new records. Appends related to o.R.OrderIncomingTransactions. Sets related.R.Order appropriately. Uses the global database handle.

func (*UserOrder) AddOrderOrderTransactionLogs

func (o *UserOrder) AddOrderOrderTransactionLogs(exec boil.Executor, insert bool, related ...*OrderTransactionLog) error

AddOrderOrderTransactionLogs adds the given related objects to the existing relationships of the user_order, optionally inserting them as new records. Appends related to o.R.OrderOrderTransactionLogs. Sets related.R.Order appropriately.

func (*UserOrder) AddOrderOrderTransactionLogsG

func (o *UserOrder) AddOrderOrderTransactionLogsG(insert bool, related ...*OrderTransactionLog) error

AddOrderOrderTransactionLogsG adds the given related objects to the existing relationships of the user_order, optionally inserting them as new records. Appends related to o.R.OrderOrderTransactionLogs. Sets related.R.Order appropriately. Uses the global database handle.

func (*UserOrder) AddOrderOutgoingTransactions

func (o *UserOrder) AddOrderOutgoingTransactions(exec boil.Executor, insert bool, related ...*OutgoingTransaction) error

AddOrderOutgoingTransactions adds the given related objects to the existing relationships of the user_order, optionally inserting them as new records. Appends related to o.R.OrderOutgoingTransactions. Sets related.R.Order appropriately.

func (*UserOrder) AddOrderOutgoingTransactionsG

func (o *UserOrder) AddOrderOutgoingTransactionsG(insert bool, related ...*OutgoingTransaction) error

AddOrderOutgoingTransactionsG adds the given related objects to the existing relationships of the user_order, optionally inserting them as new records. Appends related to o.R.OrderOutgoingTransactions. Sets related.R.Order appropriately. Uses the global database handle.

func (*UserOrder) Delete

func (o *UserOrder) Delete(exec boil.Executor) (int64, error)

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

func (*UserOrder) DeleteG

func (o *UserOrder) DeleteG() (int64, error)

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

func (*UserOrder) ExchangeCurrency

func (o *UserOrder) ExchangeCurrency(mods ...qm.QueryMod) exchangeCurrencyQuery

ExchangeCurrency pointed to by the foreign key.

func (*UserOrder) IcoPhase

func (o *UserOrder) IcoPhase(mods ...qm.QueryMod) icoPhaseQuery

IcoPhase pointed to by the foreign key.

func (*UserOrder) Insert

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

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

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

func (*UserOrder) OrderIncomingTransactions

func (o *UserOrder) OrderIncomingTransactions(mods ...qm.QueryMod) incomingTransactionQuery

OrderIncomingTransactions retrieves all the incoming_transaction's IncomingTransactions with an executor via order_id column.

func (*UserOrder) OrderOrderTransactionLogs

func (o *UserOrder) OrderOrderTransactionLogs(mods ...qm.QueryMod) orderTransactionLogQuery

OrderOrderTransactionLogs retrieves all the order_transaction_log's OrderTransactionLogs with an executor via order_id column.

func (*UserOrder) OrderOutgoingTransactions

func (o *UserOrder) OrderOutgoingTransactions(mods ...qm.QueryMod) outgoingTransactionQuery

OrderOutgoingTransactions retrieves all the outgoing_transaction's OutgoingTransactions with an executor via order_id column.

func (*UserOrder) Reload

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

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

func (*UserOrder) ReloadG

func (o *UserOrder) ReloadG() error

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

func (*UserOrder) SetExchangeCurrency

func (o *UserOrder) SetExchangeCurrency(exec boil.Executor, insert bool, related *ExchangeCurrency) error

SetExchangeCurrency of the userOrder to the related item. Sets o.R.ExchangeCurrency to related. Adds o to related.R.UserOrders.

func (*UserOrder) SetExchangeCurrencyG

func (o *UserOrder) SetExchangeCurrencyG(insert bool, related *ExchangeCurrency) error

SetExchangeCurrencyG of the userOrder to the related item. Sets o.R.ExchangeCurrency to related. Adds o to related.R.UserOrders. Uses the global database handle.

func (*UserOrder) SetIcoPhase

func (o *UserOrder) SetIcoPhase(exec boil.Executor, insert bool, related *IcoPhase) error

SetIcoPhase of the userOrder to the related item. Sets o.R.IcoPhase to related. Adds o to related.R.UserOrders.

func (*UserOrder) SetIcoPhaseG

func (o *UserOrder) SetIcoPhaseG(insert bool, related *IcoPhase) error

SetIcoPhaseG of the userOrder to the related item. Sets o.R.IcoPhase to related. Adds o to related.R.UserOrders. Uses the global database handle.

func (*UserOrder) SetUser

func (o *UserOrder) SetUser(exec boil.Executor, insert bool, related *UserProfile) error

SetUser of the userOrder to the related item. Sets o.R.User to related. Adds o to related.R.UserUserOrders.

func (*UserOrder) SetUserG

func (o *UserOrder) SetUserG(insert bool, related *UserProfile) error

SetUserG of the userOrder to the related item. Sets o.R.User to related. Adds o to related.R.UserUserOrders. Uses the global database handle.

func (*UserOrder) Update

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

Update uses an executor to update the UserOrder. 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 (*UserOrder) UpdateG

func (o *UserOrder) UpdateG(columns boil.Columns) (int64, error)

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

func (*UserOrder) Upsert

func (o *UserOrder) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*UserOrder) UpsertG

func (o *UserOrder) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*UserOrder) User

func (o *UserOrder) User(mods ...qm.QueryMod) userProfileQuery

User pointed to by the foreign key.

type UserOrderHook

type UserOrderHook func(boil.Executor, *UserOrder) error

UserOrderHook is the signature for custom UserOrder hook methods

type UserOrderSlice

type UserOrderSlice []*UserOrder

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

func (UserOrderSlice) DeleteAll

func (o UserOrderSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (UserOrderSlice) DeleteAllG

func (o UserOrderSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*UserOrderSlice) ReloadAll

func (o *UserOrderSlice) 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 (*UserOrderSlice) ReloadAllG

func (o *UserOrderSlice) ReloadAllG() error

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

func (UserOrderSlice) UpdateAll

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

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

func (UserOrderSlice) UpdateAllG

func (o UserOrderSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type UserProfile

type UserProfile struct {
	ID                         int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	Email                      string    `boil:"email" json:"email" toml:"email" yaml:"email"`
	Forename                   string    `boil:"forename" json:"forename" toml:"forename" yaml:"forename"`
	Lastname                   string    `boil:"lastname" json:"lastname" toml:"lastname" yaml:"lastname"`
	Salutation                 string    `boil:"salutation" json:"salutation" toml:"salutation" yaml:"salutation"`
	AdditionalName             string    `boil:"additional_name" json:"additional_name" toml:"additional_name" yaml:"additional_name"`
	BirthCountryCode           string    `boil:"birth_country_code" json:"birth_country_code" toml:"birth_country_code" yaml:"birth_country_code"`
	BankAccountNumber          string    `boil:"bank_account_number" json:"bank_account_number" toml:"bank_account_number" yaml:"bank_account_number"`
	BankNumber                 string    `boil:"bank_number" json:"bank_number" toml:"bank_number" yaml:"bank_number"`
	BankPhoneNumber            string    `boil:"bank_phone_number" json:"bank_phone_number" toml:"bank_phone_number" yaml:"bank_phone_number"`
	TaxID                      string    `boil:"tax_id" json:"tax_id" toml:"tax_id" yaml:"tax_id"`
	TaxIDName                  string    `boil:"tax_id_name" json:"tax_id_name" toml:"tax_id_name" yaml:"tax_id_name"`
	OccupationCode08           string    `boil:"occupation_code08" json:"occupation_code08" toml:"occupation_code08" yaml:"occupation_code08"`
	EmployerName               string    `boil:"employer_name" json:"employer_name" toml:"employer_name" yaml:"employer_name"`
	EmployerAddress            string    `boil:"employer_address" json:"employer_address" toml:"employer_address" yaml:"employer_address"`
	LanguageCode               string    `boil:"language_code" json:"language_code" toml:"language_code" yaml:"language_code"`
	Address                    string    `boil:"address" json:"address" toml:"address" yaml:"address"`
	ZipCode                    string    `boil:"zip_code" json:"zip_code" toml:"zip_code" yaml:"zip_code"`
	City                       string    `boil:"city" json:"city" toml:"city" yaml:"city"`
	State                      string    `boil:"state" json:"state" toml:"state" yaml:"state"`
	CountryCode                string    `boil:"country_code" json:"country_code" toml:"country_code" yaml:"country_code"`
	Nationality                string    `boil:"nationality" json:"nationality" toml:"nationality" yaml:"nationality"`
	MobileNR                   string    `boil:"mobile_nr" json:"mobile_nr" toml:"mobile_nr" yaml:"mobile_nr"`
	BirthDay                   time.Time `boil:"birth_day" json:"birth_day" toml:"birth_day" yaml:"birth_day"`
	BirthPlace                 string    `boil:"birth_place" json:"birth_place" toml:"birth_place" yaml:"birth_place"`
	MailConfirmationKey        string    `boil:"mail_confirmation_key" json:"mail_confirmation_key" toml:"mail_confirmation_key" yaml:"mail_confirmation_key"`
	MailConfirmationExpiryDate time.Time `` /* 147-byte string literal not displayed */
	TfaSecret                  string    `boil:"tfa_secret" json:"tfa_secret" toml:"tfa_secret" yaml:"tfa_secret"`
	TfaTempSecret              string    `boil:"tfa_temp_secret" json:"tfa_temp_secret" toml:"tfa_temp_secret" yaml:"tfa_temp_secret"`
	MailConfirmed              bool      `boil:"mail_confirmed" json:"mail_confirmed" toml:"mail_confirmed" yaml:"mail_confirmed"`
	TfaConfirmed               bool      `boil:"tfa_confirmed" json:"tfa_confirmed" toml:"tfa_confirmed" yaml:"tfa_confirmed"`
	MnemonicConfirmed          bool      `boil:"mnemonic_confirmed" json:"mnemonic_confirmed" toml:"mnemonic_confirmed" yaml:"mnemonic_confirmed"`
	MessageCount               int       `boil:"message_count" json:"message_count" toml:"message_count" yaml:"message_count"`
	PaymentState               string    `boil:"payment_state" json:"payment_state" toml:"payment_state" yaml:"payment_state"`
	KycStatus                  string    `boil:"kyc_status" json:"kyc_status" toml:"kyc_status" yaml:"kyc_status"`
	StellarAccountCreated      bool      `boil:"stellar_account_created" json:"stellar_account_created" toml:"stellar_account_created" yaml:"stellar_account_created"`
	Reset2faByAdmin            bool      `boil:"reset2fa_by_admin" json:"reset2fa_by_admin" toml:"reset2fa_by_admin" yaml:"reset2fa_by_admin"`
	CreatedAt                  time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt                  time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy                  string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`
	OccupationName             string    `boil:"occupation_name" json:"occupation_name" toml:"occupation_name" yaml:"occupation_name"`
	OccupationCode88           string    `boil:"occupation_code88" json:"occupation_code88" toml:"occupation_code88" yaml:"occupation_code88"`
	PublicKey0                 string    `boil:"public_key_0" json:"public_key_0" toml:"public_key_0" yaml:"public_key_0"`
	MailNotifications          bool      `boil:"mail_notifications" json:"mail_notifications" toml:"mail_notifications" yaml:"mail_notifications"`
	DateSuspended              null.Time `boil:"date_suspended" json:"date_suspended,omitempty" toml:"date_suspended" yaml:"date_suspended,omitempty"`
	DateClosed                 null.Time `boil:"date_closed" json:"date_closed,omitempty" toml:"date_closed" yaml:"date_closed,omitempty"`
	ShowMemos                  bool      `boil:"show_memos" json:"show_memos" toml:"show_memos" yaml:"show_memos"`
	LastLockoutTime            time.Time `boil:"last_lockout_time" json:"last_lockout_time" toml:"last_lockout_time" yaml:"last_lockout_time"`
	LastLockoutCounter         int       `boil:"last_lockout_counter" json:"last_lockout_counter" toml:"last_lockout_counter" yaml:"last_lockout_counter"`

	R *userProfileR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userProfileL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserProfile is an object representing the database table.

func FindUserProfile

func FindUserProfile(exec boil.Executor, iD int, selectCols ...string) (*UserProfile, error)

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

func FindUserProfileG

func FindUserProfileG(iD int, selectCols ...string) (*UserProfile, error)

FindUserProfileG retrieves a single record by ID.

func (*UserProfile) AddUserNotificationArchives

func (o *UserProfile) AddUserNotificationArchives(exec boil.Executor, insert bool, related ...*NotificationArchive) error

AddUserNotificationArchives adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserNotificationArchives. Sets related.R.User appropriately.

func (*UserProfile) AddUserNotificationArchivesG

func (o *UserProfile) AddUserNotificationArchivesG(insert bool, related ...*NotificationArchive) error

AddUserNotificationArchivesG adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserNotificationArchives. Sets related.R.User appropriately. Uses the global database handle.

func (*UserProfile) AddUserNotifications

func (o *UserProfile) AddUserNotifications(exec boil.Executor, insert bool, related ...*Notification) error

AddUserNotifications adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserNotifications. Sets related.R.User appropriately.

func (*UserProfile) AddUserNotificationsG

func (o *UserProfile) AddUserNotificationsG(insert bool, related ...*Notification) error

AddUserNotificationsG adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserNotifications. Sets related.R.User appropriately. Uses the global database handle.

func (*UserProfile) AddUserTokenHistories

func (o *UserProfile) AddUserTokenHistories(exec boil.Executor, insert bool, related ...*TokenHistory) error

AddUserTokenHistories adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserTokenHistories. Sets related.R.User appropriately.

func (*UserProfile) AddUserTokenHistoriesG

func (o *UserProfile) AddUserTokenHistoriesG(insert bool, related ...*TokenHistory) error

AddUserTokenHistoriesG adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserTokenHistories. Sets related.R.User appropriately. Uses the global database handle.

func (*UserProfile) AddUserUserContacts

func (o *UserProfile) AddUserUserContacts(exec boil.Executor, insert bool, related ...*UserContact) error

AddUserUserContacts adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserContacts. Sets related.R.User appropriately.

func (*UserProfile) AddUserUserContactsG

func (o *UserProfile) AddUserUserContactsG(insert bool, related ...*UserContact) error

AddUserUserContactsG adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserContacts. Sets related.R.User appropriately. Uses the global database handle.

func (*UserProfile) AddUserUserKycDocuments

func (o *UserProfile) AddUserUserKycDocuments(exec boil.Executor, insert bool, related ...*UserKycDocument) error

AddUserUserKycDocuments adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserKycDocuments. Sets related.R.User appropriately.

func (*UserProfile) AddUserUserKycDocumentsG

func (o *UserProfile) AddUserUserKycDocumentsG(insert bool, related ...*UserKycDocument) error

AddUserUserKycDocumentsG adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserKycDocuments. Sets related.R.User appropriately. Uses the global database handle.

func (*UserProfile) AddUserUserMessageArchives

func (o *UserProfile) AddUserUserMessageArchives(exec boil.Executor, insert bool, related ...*UserMessageArchive) error

AddUserUserMessageArchives adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserMessageArchives. Sets related.R.User appropriately.

func (*UserProfile) AddUserUserMessageArchivesG

func (o *UserProfile) AddUserUserMessageArchivesG(insert bool, related ...*UserMessageArchive) error

AddUserUserMessageArchivesG adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserMessageArchives. Sets related.R.User appropriately. Uses the global database handle.

func (*UserProfile) AddUserUserMessages

func (o *UserProfile) AddUserUserMessages(exec boil.Executor, insert bool, related ...*UserMessage) error

AddUserUserMessages adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserMessages. Sets related.R.User appropriately.

func (*UserProfile) AddUserUserMessagesG

func (o *UserProfile) AddUserUserMessagesG(insert bool, related ...*UserMessage) error

AddUserUserMessagesG adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserMessages. Sets related.R.User appropriately. Uses the global database handle.

func (*UserProfile) AddUserUserOrders

func (o *UserProfile) AddUserUserOrders(exec boil.Executor, insert bool, related ...*UserOrder) error

AddUserUserOrders adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserOrders. Sets related.R.User appropriately.

func (*UserProfile) AddUserUserOrdersG

func (o *UserProfile) AddUserUserOrdersG(insert bool, related ...*UserOrder) error

AddUserUserOrdersG adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserOrders. Sets related.R.User appropriately. Uses the global database handle.

func (*UserProfile) AddUserUserPushtokens

func (o *UserProfile) AddUserUserPushtokens(exec boil.Executor, insert bool, related ...*UserPushtoken) error

AddUserUserPushtokens adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserPushtokens. Sets related.R.User appropriately.

func (*UserProfile) AddUserUserPushtokensG

func (o *UserProfile) AddUserUserPushtokensG(insert bool, related ...*UserPushtoken) error

AddUserUserPushtokensG adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserPushtokens. Sets related.R.User appropriately. Uses the global database handle.

func (*UserProfile) AddUserUserWallets

func (o *UserProfile) AddUserUserWallets(exec boil.Executor, insert bool, related ...*UserWallet) error

AddUserUserWallets adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserWallets. Sets related.R.User appropriately.

func (*UserProfile) AddUserUserWalletsG

func (o *UserProfile) AddUserUserWalletsG(insert bool, related ...*UserWallet) error

AddUserUserWalletsG adds the given related objects to the existing relationships of the user_profile, optionally inserting them as new records. Appends related to o.R.UserUserWallets. Sets related.R.User appropriately. Uses the global database handle.

func (*UserProfile) Delete

func (o *UserProfile) Delete(exec boil.Executor) (int64, error)

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

func (*UserProfile) DeleteG

func (o *UserProfile) DeleteG() (int64, error)

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

func (*UserProfile) Insert

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

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

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

func (*UserProfile) Reload

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

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

func (*UserProfile) ReloadG

func (o *UserProfile) ReloadG() error

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

func (*UserProfile) SetUserUserSecurity

func (o *UserProfile) SetUserUserSecurity(exec boil.Executor, insert bool, related *UserSecurity) error

SetUserUserSecurity of the userProfile to the related item. Sets o.R.UserUserSecurity to related. Adds o to related.R.User.

func (*UserProfile) SetUserUserSecurityG

func (o *UserProfile) SetUserUserSecurityG(insert bool, related *UserSecurity) error

SetUserUserSecurityG of the userProfile to the related item. Sets o.R.UserUserSecurity to related. Adds o to related.R.User. Uses the global database handle.

func (*UserProfile) Update

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

Update uses an executor to update the UserProfile. 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 (*UserProfile) UpdateG

func (o *UserProfile) UpdateG(columns boil.Columns) (int64, error)

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

func (*UserProfile) Upsert

func (o *UserProfile) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*UserProfile) UpsertG

func (o *UserProfile) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*UserProfile) UserNotificationArchives

func (o *UserProfile) UserNotificationArchives(mods ...qm.QueryMod) notificationArchiveQuery

UserNotificationArchives retrieves all the notification_archive's NotificationArchives with an executor via user_id column.

func (*UserProfile) UserNotifications

func (o *UserProfile) UserNotifications(mods ...qm.QueryMod) notificationQuery

UserNotifications retrieves all the notification's Notifications with an executor via user_id column.

func (*UserProfile) UserTokenHistories

func (o *UserProfile) UserTokenHistories(mods ...qm.QueryMod) tokenHistoryQuery

UserTokenHistories retrieves all the token_history's TokenHistories with an executor via user_id column.

func (*UserProfile) UserUserContacts

func (o *UserProfile) UserUserContacts(mods ...qm.QueryMod) userContactQuery

UserUserContacts retrieves all the user_contact's UserContacts with an executor via user_id column.

func (*UserProfile) UserUserKycDocuments

func (o *UserProfile) UserUserKycDocuments(mods ...qm.QueryMod) userKycDocumentQuery

UserUserKycDocuments retrieves all the user_kyc_document's UserKycDocuments with an executor via user_id column.

func (*UserProfile) UserUserMessageArchives

func (o *UserProfile) UserUserMessageArchives(mods ...qm.QueryMod) userMessageArchiveQuery

UserUserMessageArchives retrieves all the user_message_archive's UserMessageArchives with an executor via user_id column.

func (*UserProfile) UserUserMessages

func (o *UserProfile) UserUserMessages(mods ...qm.QueryMod) userMessageQuery

UserUserMessages retrieves all the user_message's UserMessages with an executor via user_id column.

func (*UserProfile) UserUserOrders

func (o *UserProfile) UserUserOrders(mods ...qm.QueryMod) userOrderQuery

UserUserOrders retrieves all the user_order's UserOrders with an executor via user_id column.

func (*UserProfile) UserUserPushtokens

func (o *UserProfile) UserUserPushtokens(mods ...qm.QueryMod) userPushtokenQuery

UserUserPushtokens retrieves all the user_pushtoken's UserPushtokens with an executor via user_id column.

func (*UserProfile) UserUserSecurity

func (o *UserProfile) UserUserSecurity(mods ...qm.QueryMod) userSecurityQuery

UserUserSecurity pointed to by the foreign key.

func (*UserProfile) UserUserWallets

func (o *UserProfile) UserUserWallets(mods ...qm.QueryMod) userWalletQuery

UserUserWallets retrieves all the user_wallet's UserWallets with an executor via user_id column.

type UserProfileHook

type UserProfileHook func(boil.Executor, *UserProfile) error

UserProfileHook is the signature for custom UserProfile hook methods

type UserProfileSlice

type UserProfileSlice []*UserProfile

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

func (UserProfileSlice) DeleteAll

func (o UserProfileSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (UserProfileSlice) DeleteAllG

func (o UserProfileSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*UserProfileSlice) ReloadAll

func (o *UserProfileSlice) 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 (*UserProfileSlice) ReloadAllG

func (o *UserProfileSlice) ReloadAllG() error

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

func (UserProfileSlice) UpdateAll

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

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

func (UserProfileSlice) UpdateAllG

func (o UserProfileSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type UserPushtoken

type UserPushtoken struct {
	ID         int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID     int       `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	DeviceType string    `boil:"device_type" json:"device_type" toml:"device_type" yaml:"device_type"`
	PushToken  string    `boil:"push_token" json:"push_token" toml:"push_token" yaml:"push_token"`
	CreatedAt  time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt  time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy  string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *userPushtokenR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userPushtokenL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserPushtoken is an object representing the database table.

func FindUserPushtoken

func FindUserPushtoken(exec boil.Executor, iD int, selectCols ...string) (*UserPushtoken, error)

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

func FindUserPushtokenG

func FindUserPushtokenG(iD int, selectCols ...string) (*UserPushtoken, error)

FindUserPushtokenG retrieves a single record by ID.

func (*UserPushtoken) Delete

func (o *UserPushtoken) Delete(exec boil.Executor) (int64, error)

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

func (*UserPushtoken) DeleteG

func (o *UserPushtoken) DeleteG() (int64, error)

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

func (*UserPushtoken) Insert

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

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

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

func (*UserPushtoken) Reload

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

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

func (*UserPushtoken) ReloadG

func (o *UserPushtoken) ReloadG() error

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

func (*UserPushtoken) SetUser

func (o *UserPushtoken) SetUser(exec boil.Executor, insert bool, related *UserProfile) error

SetUser of the userPushtoken to the related item. Sets o.R.User to related. Adds o to related.R.UserUserPushtokens.

func (*UserPushtoken) SetUserG

func (o *UserPushtoken) SetUserG(insert bool, related *UserProfile) error

SetUserG of the userPushtoken to the related item. Sets o.R.User to related. Adds o to related.R.UserUserPushtokens. Uses the global database handle.

func (*UserPushtoken) Update

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

Update uses an executor to update the UserPushtoken. 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 (*UserPushtoken) UpdateG

func (o *UserPushtoken) UpdateG(columns boil.Columns) (int64, error)

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

func (*UserPushtoken) Upsert

func (o *UserPushtoken) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*UserPushtoken) UpsertG

func (o *UserPushtoken) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*UserPushtoken) User

func (o *UserPushtoken) User(mods ...qm.QueryMod) userProfileQuery

User pointed to by the foreign key.

type UserPushtokenHook

type UserPushtokenHook func(boil.Executor, *UserPushtoken) error

UserPushtokenHook is the signature for custom UserPushtoken hook methods

type UserPushtokenSlice

type UserPushtokenSlice []*UserPushtoken

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

func (UserPushtokenSlice) DeleteAll

func (o UserPushtokenSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (UserPushtokenSlice) DeleteAllG

func (o UserPushtokenSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*UserPushtokenSlice) ReloadAll

func (o *UserPushtokenSlice) 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 (*UserPushtokenSlice) ReloadAllG

func (o *UserPushtokenSlice) ReloadAllG() error

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

func (UserPushtokenSlice) UpdateAll

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

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

func (UserPushtokenSlice) UpdateAllG

func (o UserPushtokenSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type UserSecurity

type UserSecurity struct {
	ID                int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID            int       `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	KDFSalt           string    `boil:"kdf_salt" json:"kdf_salt" toml:"kdf_salt" yaml:"kdf_salt"`
	MnemonicMasterKey string    `boil:"mnemonic_master_key" json:"mnemonic_master_key" toml:"mnemonic_master_key" yaml:"mnemonic_master_key"`
	MnemonicMasterIv  string    `boil:"mnemonic_master_iv" json:"mnemonic_master_iv" toml:"mnemonic_master_iv" yaml:"mnemonic_master_iv"`
	WordlistMasterKey string    `boil:"wordlist_master_key" json:"wordlist_master_key" toml:"wordlist_master_key" yaml:"wordlist_master_key"`
	WordlistMasterIv  string    `boil:"wordlist_master_iv" json:"wordlist_master_iv" toml:"wordlist_master_iv" yaml:"wordlist_master_iv"`
	Mnemonic          string    `boil:"mnemonic" json:"mnemonic" toml:"mnemonic" yaml:"mnemonic"`
	MnemonicIv        string    `boil:"mnemonic_iv" json:"mnemonic_iv" toml:"mnemonic_iv" yaml:"mnemonic_iv"`
	Wordlist          string    `boil:"wordlist" json:"wordlist" toml:"wordlist" yaml:"wordlist"`
	WordlistIv        string    `boil:"wordlist_iv" json:"wordlist_iv" toml:"wordlist_iv" yaml:"wordlist_iv"`
	PublicKey0        string    `boil:"public_key_0" json:"public_key_0" toml:"public_key_0" yaml:"public_key_0"`
	CreatedAt         time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt         time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy         string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`

	R *userSecurityR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userSecurityL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserSecurity is an object representing the database table.

func FindUserSecurity

func FindUserSecurity(exec boil.Executor, iD int, selectCols ...string) (*UserSecurity, error)

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

func FindUserSecurityG

func FindUserSecurityG(iD int, selectCols ...string) (*UserSecurity, error)

FindUserSecurityG retrieves a single record by ID.

func (*UserSecurity) Delete

func (o *UserSecurity) Delete(exec boil.Executor) (int64, error)

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

func (*UserSecurity) DeleteG

func (o *UserSecurity) DeleteG() (int64, error)

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

func (*UserSecurity) Insert

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

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

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

func (*UserSecurity) Reload

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

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

func (*UserSecurity) ReloadG

func (o *UserSecurity) ReloadG() error

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

func (*UserSecurity) SetUser

func (o *UserSecurity) SetUser(exec boil.Executor, insert bool, related *UserProfile) error

SetUser of the userSecurity to the related item. Sets o.R.User to related. Adds o to related.R.UserUserSecurity.

func (*UserSecurity) SetUserG

func (o *UserSecurity) SetUserG(insert bool, related *UserProfile) error

SetUserG of the userSecurity to the related item. Sets o.R.User to related. Adds o to related.R.UserUserSecurity. Uses the global database handle.

func (*UserSecurity) Update

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

Update uses an executor to update the UserSecurity. 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 (*UserSecurity) UpdateG

func (o *UserSecurity) UpdateG(columns boil.Columns) (int64, error)

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

func (*UserSecurity) Upsert

func (o *UserSecurity) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*UserSecurity) UpsertG

func (o *UserSecurity) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*UserSecurity) User

func (o *UserSecurity) User(mods ...qm.QueryMod) userProfileQuery

User pointed to by the foreign key.

type UserSecurityHook

type UserSecurityHook func(boil.Executor, *UserSecurity) error

UserSecurityHook is the signature for custom UserSecurity hook methods

type UserSecuritySlice

type UserSecuritySlice []*UserSecurity

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

func (UserSecuritySlice) DeleteAll

func (o UserSecuritySlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (UserSecuritySlice) DeleteAllG

func (o UserSecuritySlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*UserSecuritySlice) ReloadAll

func (o *UserSecuritySlice) 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 (*UserSecuritySlice) ReloadAllG

func (o *UserSecuritySlice) ReloadAllG() error

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

func (UserSecuritySlice) UpdateAll

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

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

func (UserSecuritySlice) UpdateAllG

func (o UserSecuritySlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

type UserWallet

type UserWallet struct {
	ID               int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	UserID           int       `boil:"user_id" json:"user_id" toml:"user_id" yaml:"user_id"`
	PublicKey        string    `boil:"public_key" json:"public_key" toml:"public_key" yaml:"public_key"`
	WalletName       string    `boil:"wallet_name" json:"wallet_name" toml:"wallet_name" yaml:"wallet_name"`
	FriendlyID       string    `boil:"friendly_id" json:"friendly_id" toml:"friendly_id" yaml:"friendly_id"`
	Domain           string    `boil:"domain" json:"domain" toml:"domain" yaml:"domain"`
	ShowOnHomescreen bool      `boil:"show_on_homescreen" json:"show_on_homescreen" toml:"show_on_homescreen" yaml:"show_on_homescreen"`
	CreatedAt        time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt        time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`
	UpdatedBy        string    `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"`
	OrderNR          int       `boil:"order_nr" json:"order_nr" toml:"order_nr" yaml:"order_nr"`
	WalletType       string    `boil:"wallet_type" json:"wallet_type" toml:"wallet_type" yaml:"wallet_type"`

	R *userWalletR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L userWalletL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UserWallet is an object representing the database table.

func FindUserWallet

func FindUserWallet(exec boil.Executor, iD int, selectCols ...string) (*UserWallet, error)

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

func FindUserWalletG

func FindUserWalletG(iD int, selectCols ...string) (*UserWallet, error)

FindUserWalletG retrieves a single record by ID.

func (*UserWallet) AddWalletPaymentTemplates

func (o *UserWallet) AddWalletPaymentTemplates(exec boil.Executor, insert bool, related ...*PaymentTemplate) error

AddWalletPaymentTemplates adds the given related objects to the existing relationships of the user_wallet, optionally inserting them as new records. Appends related to o.R.WalletPaymentTemplates. Sets related.R.Wallet appropriately.

func (*UserWallet) AddWalletPaymentTemplatesG

func (o *UserWallet) AddWalletPaymentTemplatesG(insert bool, related ...*PaymentTemplate) error

AddWalletPaymentTemplatesG adds the given related objects to the existing relationships of the user_wallet, optionally inserting them as new records. Appends related to o.R.WalletPaymentTemplates. Sets related.R.Wallet appropriately. Uses the global database handle.

func (*UserWallet) Delete

func (o *UserWallet) Delete(exec boil.Executor) (int64, error)

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

func (*UserWallet) DeleteG

func (o *UserWallet) DeleteG() (int64, error)

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

func (*UserWallet) Insert

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

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

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

func (*UserWallet) Reload

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

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

func (*UserWallet) ReloadG

func (o *UserWallet) ReloadG() error

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

func (*UserWallet) SetUser

func (o *UserWallet) SetUser(exec boil.Executor, insert bool, related *UserProfile) error

SetUser of the userWallet to the related item. Sets o.R.User to related. Adds o to related.R.UserUserWallets.

func (*UserWallet) SetUserG

func (o *UserWallet) SetUserG(insert bool, related *UserProfile) error

SetUserG of the userWallet to the related item. Sets o.R.User to related. Adds o to related.R.UserUserWallets. Uses the global database handle.

func (*UserWallet) Update

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

Update uses an executor to update the UserWallet. 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 (*UserWallet) UpdateG

func (o *UserWallet) UpdateG(columns boil.Columns) (int64, error)

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

func (*UserWallet) Upsert

func (o *UserWallet) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, 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 (*UserWallet) UpsertG

func (o *UserWallet) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

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

func (*UserWallet) User

func (o *UserWallet) User(mods ...qm.QueryMod) userProfileQuery

User pointed to by the foreign key.

func (*UserWallet) WalletPaymentTemplates

func (o *UserWallet) WalletPaymentTemplates(mods ...qm.QueryMod) paymentTemplateQuery

WalletPaymentTemplates retrieves all the payment_template's PaymentTemplates with an executor via wallet_id column.

type UserWalletHook

type UserWalletHook func(boil.Executor, *UserWallet) error

UserWalletHook is the signature for custom UserWallet hook methods

type UserWalletSlice

type UserWalletSlice []*UserWallet

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

func (UserWalletSlice) DeleteAll

func (o UserWalletSlice) DeleteAll(exec boil.Executor) (int64, error)

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

func (UserWalletSlice) DeleteAllG

func (o UserWalletSlice) DeleteAllG() (int64, error)

DeleteAllG deletes all rows in the slice.

func (*UserWalletSlice) ReloadAll

func (o *UserWalletSlice) 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 (*UserWalletSlice) ReloadAllG

func (o *UserWalletSlice) ReloadAllG() error

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

func (UserWalletSlice) UpdateAll

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

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

func (UserWalletSlice) UpdateAllG

func (o UserWalletSlice) UpdateAllG(cols M) (int64, error)

UpdateAllG updates all rows with the specified column values.

Jump to

Keyboard shortcuts

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