sqlite3

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuditEventColumns = struct {
	ID         string
	Type       string
	Identifier string
	Message    string
	CreatedAt  string
}{
	ID:         "id",
	Type:       "type",
	Identifier: "identifier",
	Message:    "message",
	CreatedAt:  "created_at",
}
View Source
var AuditEventRels = struct {
}{}

AuditEventRels is where relationship names are stored.

View Source
var AuditEventWhere = struct {
	ID         whereHelperint64
	Type       whereHelperstring
	Identifier whereHelperstring
	Message    whereHelperstring
	CreatedAt  whereHelperstring
}{
	ID:         whereHelperint64{/* contains filtered or unexported fields */},
	Type:       whereHelperstring{/* contains filtered or unexported fields */},
	Identifier: whereHelperstring{/* contains filtered or unexported fields */},
	Message:    whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:  whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var CandleColumns = struct {
	ID               string
	ExchangeNameID   string
	Base             string
	Quote            string
	Interval         string
	Timestamp        string
	Open             string
	High             string
	Low              string
	Close            string
	Volume           string
	Asset            string
	SourceJobID      string
	ValidationJobID  string
	ValidationIssues string
}{
	ID:               "id",
	ExchangeNameID:   "exchange_name_id",
	Base:             "Base",
	Quote:            "Quote",
	Interval:         "Interval",
	Timestamp:        "Timestamp",
	Open:             "Open",
	High:             "High",
	Low:              "Low",
	Close:            "Close",
	Volume:           "Volume",
	Asset:            "Asset",
	SourceJobID:      "source_job_id",
	ValidationJobID:  "validation_job_id",
	ValidationIssues: "validation_issues",
}
View Source
var CandleRels = struct {
	ValidationJob string
	SourceJob     string
	ExchangeName  string
}{
	ValidationJob: "ValidationJob",
	SourceJob:     "SourceJob",
	ExchangeName:  "ExchangeName",
}

CandleRels is where relationship names are stored.

View Source
var CandleWhere = struct {
	ID               whereHelperstring
	ExchangeNameID   whereHelperstring
	Base             whereHelperstring
	Quote            whereHelperstring
	Interval         whereHelperstring
	Timestamp        whereHelperstring
	Open             whereHelperfloat64
	High             whereHelperfloat64
	Low              whereHelperfloat64
	Close            whereHelperfloat64
	Volume           whereHelperfloat64
	Asset            whereHelperstring
	SourceJobID      whereHelpernull_String
	ValidationJobID  whereHelpernull_String
	ValidationIssues whereHelpernull_String
}{
	ID:               whereHelperstring{/* contains filtered or unexported fields */},
	ExchangeNameID:   whereHelperstring{/* contains filtered or unexported fields */},
	Base:             whereHelperstring{/* contains filtered or unexported fields */},
	Quote:            whereHelperstring{/* contains filtered or unexported fields */},
	Interval:         whereHelperstring{/* contains filtered or unexported fields */},
	Timestamp:        whereHelperstring{/* contains filtered or unexported fields */},
	Open:             whereHelperfloat64{/* contains filtered or unexported fields */},
	High:             whereHelperfloat64{/* contains filtered or unexported fields */},
	Low:              whereHelperfloat64{/* contains filtered or unexported fields */},
	Close:            whereHelperfloat64{/* contains filtered or unexported fields */},
	Volume:           whereHelperfloat64{/* contains filtered or unexported fields */},
	Asset:            whereHelperstring{/* contains filtered or unexported fields */},
	SourceJobID:      whereHelpernull_String{/* contains filtered or unexported fields */},
	ValidationJobID:  whereHelpernull_String{/* contains filtered or unexported fields */},
	ValidationIssues: whereHelpernull_String{/* contains filtered or unexported fields */},
}
View Source
var DatahistoryjobColumns = struct {
	ID                       string
	Nickname                 string
	ExchangeNameID           string
	Asset                    string
	Base                     string
	Quote                    string
	StartTime                string
	EndTime                  string
	Interval                 string
	DataType                 string
	RequestSize              string
	MaxRetries               string
	BatchCount               string
	Status                   string
	Created                  string
	ConversionInterval       string
	OverwriteData            string
	DecimalPlaceComparison   string
	SecondaryExchangeID      string
	IssueTolerancePercentage string
	ReplaceOnIssue           string
}{
	ID:                       "id",
	Nickname:                 "nickname",
	ExchangeNameID:           "exchange_name_id",
	Asset:                    "asset",
	Base:                     "base",
	Quote:                    "quote",
	StartTime:                "start_time",
	EndTime:                  "end_time",
	Interval:                 "interval",
	DataType:                 "data_type",
	RequestSize:              "request_size",
	MaxRetries:               "max_retries",
	BatchCount:               "batch_count",
	Status:                   "status",
	Created:                  "created",
	ConversionInterval:       "conversion_interval",
	OverwriteData:            "overwrite_data",
	DecimalPlaceComparison:   "decimal_place_comparison",
	SecondaryExchangeID:      "secondary_exchange_id",
	IssueTolerancePercentage: "issue_tolerance_percentage",
	ReplaceOnIssue:           "replace_on_issue",
}
View Source
var DatahistoryjobRels = struct {
	ExchangeName                   string
	SecondaryExchange              string
	ValidationJobCandles           string
	SourceJobCandles               string
	PrerequisiteJobDatahistoryjobs string
	JobDatahistoryjobs             string
	JobDatahistoryjobresults       string
}{
	ExchangeName:                   "ExchangeName",
	SecondaryExchange:              "SecondaryExchange",
	ValidationJobCandles:           "ValidationJobCandles",
	SourceJobCandles:               "SourceJobCandles",
	PrerequisiteJobDatahistoryjobs: "PrerequisiteJobDatahistoryjobs",
	JobDatahistoryjobs:             "JobDatahistoryjobs",
	JobDatahistoryjobresults:       "JobDatahistoryjobresults",
}

DatahistoryjobRels is where relationship names are stored.

View Source
var DatahistoryjobWhere = struct {
	ID                       whereHelperstring
	Nickname                 whereHelperstring
	ExchangeNameID           whereHelperstring
	Asset                    whereHelperstring
	Base                     whereHelperstring
	Quote                    whereHelperstring
	StartTime                whereHelperstring
	EndTime                  whereHelperstring
	Interval                 whereHelperfloat64
	DataType                 whereHelperfloat64
	RequestSize              whereHelperfloat64
	MaxRetries               whereHelperfloat64
	BatchCount               whereHelperfloat64
	Status                   whereHelperfloat64
	Created                  whereHelperstring
	ConversionInterval       whereHelpernull_Float64
	OverwriteData            whereHelpernull_Int64
	DecimalPlaceComparison   whereHelpernull_Int64
	SecondaryExchangeID      whereHelpernull_String
	IssueTolerancePercentage whereHelpernull_Float64
	ReplaceOnIssue           whereHelpernull_Int64
}{
	ID:                       whereHelperstring{/* contains filtered or unexported fields */},
	Nickname:                 whereHelperstring{/* contains filtered or unexported fields */},
	ExchangeNameID:           whereHelperstring{/* contains filtered or unexported fields */},
	Asset:                    whereHelperstring{/* contains filtered or unexported fields */},
	Base:                     whereHelperstring{/* contains filtered or unexported fields */},
	Quote:                    whereHelperstring{/* contains filtered or unexported fields */},
	StartTime:                whereHelperstring{/* contains filtered or unexported fields */},
	EndTime:                  whereHelperstring{/* contains filtered or unexported fields */},
	Interval:                 whereHelperfloat64{/* contains filtered or unexported fields */},
	DataType:                 whereHelperfloat64{/* contains filtered or unexported fields */},
	RequestSize:              whereHelperfloat64{/* contains filtered or unexported fields */},
	MaxRetries:               whereHelperfloat64{/* contains filtered or unexported fields */},
	BatchCount:               whereHelperfloat64{/* contains filtered or unexported fields */},
	Status:                   whereHelperfloat64{/* contains filtered or unexported fields */},
	Created:                  whereHelperstring{/* contains filtered or unexported fields */},
	ConversionInterval:       whereHelpernull_Float64{/* contains filtered or unexported fields */},
	OverwriteData:            whereHelpernull_Int64{/* contains filtered or unexported fields */},
	DecimalPlaceComparison:   whereHelpernull_Int64{/* contains filtered or unexported fields */},
	SecondaryExchangeID:      whereHelpernull_String{/* contains filtered or unexported fields */},
	IssueTolerancePercentage: whereHelpernull_Float64{/* contains filtered or unexported fields */},
	ReplaceOnIssue:           whereHelpernull_Int64{/* contains filtered or unexported fields */},
}
View Source
var DatahistoryjobresultColumns = struct {
	ID                string
	JobID             string
	Result            string
	Status            string
	IntervalStartTime string
	IntervalEndTime   string
	RunTime           string
}{
	ID:                "id",
	JobID:             "job_id",
	Result:            "result",
	Status:            "status",
	IntervalStartTime: "interval_start_time",
	IntervalEndTime:   "interval_end_time",
	RunTime:           "run_time",
}
View Source
var DatahistoryjobresultRels = struct {
	Job string
}{
	Job: "Job",
}

DatahistoryjobresultRels is where relationship names are stored.

View Source
var DatahistoryjobresultWhere = struct {
	ID                whereHelperstring
	JobID             whereHelperstring
	Result            whereHelpernull_String
	Status            whereHelperfloat64
	IntervalStartTime whereHelperstring
	IntervalEndTime   whereHelperstring
	RunTime           whereHelperstring
}{
	ID:                whereHelperstring{/* contains filtered or unexported fields */},
	JobID:             whereHelperstring{/* contains filtered or unexported fields */},
	Result:            whereHelpernull_String{/* contains filtered or unexported fields */},
	Status:            whereHelperfloat64{/* contains filtered or unexported fields */},
	IntervalStartTime: whereHelperstring{/* contains filtered or unexported fields */},
	IntervalEndTime:   whereHelperstring{/* contains filtered or unexported fields */},
	RunTime:           whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var ErrSyncFail = errors.New("sqlite3: 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 ExchangeColumns = struct {
	ID   string
	Name string
}{
	ID:   "id",
	Name: "name",
}
View Source
var ExchangeRels = struct {
	ExchangeNameCandle               string
	ExchangeNameTrade                string
	ExchangeNameDatahistoryjobs      string
	SecondaryExchangeDatahistoryjobs string
	ExchangeNameWithdrawalHistories  string
}{
	ExchangeNameCandle:               "ExchangeNameCandle",
	ExchangeNameTrade:                "ExchangeNameTrade",
	ExchangeNameDatahistoryjobs:      "ExchangeNameDatahistoryjobs",
	SecondaryExchangeDatahistoryjobs: "SecondaryExchangeDatahistoryjobs",
	ExchangeNameWithdrawalHistories:  "ExchangeNameWithdrawalHistories",
}

ExchangeRels is where relationship names are stored.

View Source
var ExchangeWhere = struct {
	ID   whereHelperstring
	Name whereHelperstring
}{
	ID:   whereHelperstring{/* contains filtered or unexported fields */},
	Name: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var ScriptColumns = struct {
	ID             string
	ScriptID       string
	ScriptName     string
	ScriptPath     string
	ScriptData     string
	LastExecutedAt string
	CreatedAt      string
}{
	ID:             "id",
	ScriptID:       "script_id",
	ScriptName:     "script_name",
	ScriptPath:     "script_path",
	ScriptData:     "script_data",
	LastExecutedAt: "last_executed_at",
	CreatedAt:      "created_at",
}
View Source
var ScriptExecutionColumns = struct {
	ID              string
	ScriptID        string
	ExecutionType   string
	ExecutionStatus string
	ExecutionTime   string
}{
	ID:              "id",
	ScriptID:        "script_id",
	ExecutionType:   "execution_type",
	ExecutionStatus: "execution_status",
	ExecutionTime:   "execution_time",
}
View Source
var ScriptExecutionRels = struct {
	Script string
}{
	Script: "Script",
}

ScriptExecutionRels is where relationship names are stored.

View Source
var ScriptExecutionWhere = struct {
	ID              whereHelperint64
	ScriptID        whereHelperstring
	ExecutionType   whereHelperstring
	ExecutionStatus whereHelperstring
	ExecutionTime   whereHelperstring
}{
	ID:              whereHelperint64{/* contains filtered or unexported fields */},
	ScriptID:        whereHelperstring{/* contains filtered or unexported fields */},
	ExecutionType:   whereHelperstring{/* contains filtered or unexported fields */},
	ExecutionStatus: whereHelperstring{/* contains filtered or unexported fields */},
	ExecutionTime:   whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var ScriptRels = struct {
	ScriptExecutions string
}{
	ScriptExecutions: "ScriptExecutions",
}

ScriptRels is where relationship names are stored.

View Source
var ScriptWhere = struct {
	ID             whereHelperstring
	ScriptID       whereHelperstring
	ScriptName     whereHelperstring
	ScriptPath     whereHelperstring
	ScriptData     whereHelpernull_Bytes
	LastExecutedAt whereHelperstring
	CreatedAt      whereHelperstring
}{
	ID:             whereHelperstring{/* contains filtered or unexported fields */},
	ScriptID:       whereHelperstring{/* contains filtered or unexported fields */},
	ScriptName:     whereHelperstring{/* contains filtered or unexported fields */},
	ScriptPath:     whereHelperstring{/* contains filtered or unexported fields */},
	ScriptData:     whereHelpernull_Bytes{/* contains filtered or unexported fields */},
	LastExecutedAt: whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:      whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var TableNames = struct {
	AuditEvent              string
	Candle                  string
	Datahistoryjob          string
	Datahistoryjobrelations string
	Datahistoryjobresult    string
	Exchange                string
	Script                  string
	ScriptExecution         string
	Trade                   string
	WithdrawalCrypto        string
	WithdrawalFiat          string
	WithdrawalHistory       string
}{
	AuditEvent:              "audit_event",
	Candle:                  "candle",
	Datahistoryjob:          "datahistoryjob",
	Datahistoryjobrelations: "datahistoryjobrelations",
	Datahistoryjobresult:    "datahistoryjobresult",
	Exchange:                "exchange",
	Script:                  "script",
	ScriptExecution:         "script_execution",
	Trade:                   "trade",
	WithdrawalCrypto:        "withdrawal_crypto",
	WithdrawalFiat:          "withdrawal_fiat",
	WithdrawalHistory:       "withdrawal_history",
}
View Source
var TradeColumns = struct {
	ID             string
	ExchangeNameID string
	Tid            string
	Base           string
	Quote          string
	Asset          string
	Price          string
	Amount         string
	Side           string
	Timestamp      string
}{
	ID:             "id",
	ExchangeNameID: "exchange_name_id",
	Tid:            "tid",
	Base:           "base",
	Quote:          "quote",
	Asset:          "asset",
	Price:          "price",
	Amount:         "amount",
	Side:           "side",
	Timestamp:      "timestamp",
}
View Source
var TradeRels = struct {
	ExchangeName string
}{
	ExchangeName: "ExchangeName",
}

TradeRels is where relationship names are stored.

View Source
var TradeWhere = struct {
	ID             whereHelperstring
	ExchangeNameID whereHelperstring
	Tid            whereHelpernull_String
	Base           whereHelperstring
	Quote          whereHelperstring
	Asset          whereHelperstring
	Price          whereHelperfloat64
	Amount         whereHelperfloat64
	Side           whereHelpernull_String
	Timestamp      whereHelperstring
}{
	ID:             whereHelperstring{/* contains filtered or unexported fields */},
	ExchangeNameID: whereHelperstring{/* contains filtered or unexported fields */},
	Tid:            whereHelpernull_String{/* contains filtered or unexported fields */},
	Base:           whereHelperstring{/* contains filtered or unexported fields */},
	Quote:          whereHelperstring{/* contains filtered or unexported fields */},
	Asset:          whereHelperstring{/* contains filtered or unexported fields */},
	Price:          whereHelperfloat64{/* contains filtered or unexported fields */},
	Amount:         whereHelperfloat64{/* contains filtered or unexported fields */},
	Side:           whereHelpernull_String{/* contains filtered or unexported fields */},
	Timestamp:      whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var WithdrawalCryptoColumns = struct {
	ID                  string
	Address             string
	AddressTag          string
	Fee                 string
	WithdrawalHistoryID string
}{
	ID:                  "id",
	Address:             "address",
	AddressTag:          "address_tag",
	Fee:                 "fee",
	WithdrawalHistoryID: "withdrawal_history_id",
}
View Source
var WithdrawalCryptoRels = struct {
	WithdrawalHistory string
}{
	WithdrawalHistory: "WithdrawalHistory",
}

WithdrawalCryptoRels is where relationship names are stored.

View Source
var WithdrawalCryptoWhere = struct {
	ID                  whereHelperint64
	Address             whereHelperstring
	AddressTag          whereHelpernull_String
	Fee                 whereHelperfloat64
	WithdrawalHistoryID whereHelperstring
}{
	ID:                  whereHelperint64{/* contains filtered or unexported fields */},
	Address:             whereHelperstring{/* contains filtered or unexported fields */},
	AddressTag:          whereHelpernull_String{/* contains filtered or unexported fields */},
	Fee:                 whereHelperfloat64{/* contains filtered or unexported fields */},
	WithdrawalHistoryID: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var WithdrawalFiatColumns = struct {
	ID                  string
	BankName            string
	BankAddress         string
	BankAccountName     string
	BankAccountNumber   string
	BSB                 string
	SwiftCode           string
	Iban                string
	BankCode            string
	WithdrawalHistoryID string
}{
	ID:                  "id",
	BankName:            "bank_name",
	BankAddress:         "bank_address",
	BankAccountName:     "bank_account_name",
	BankAccountNumber:   "bank_account_number",
	BSB:                 "bsb",
	SwiftCode:           "swift_code",
	Iban:                "iban",
	BankCode:            "bank_code",
	WithdrawalHistoryID: "withdrawal_history_id",
}
View Source
var WithdrawalFiatRels = struct {
	WithdrawalHistory string
}{
	WithdrawalHistory: "WithdrawalHistory",
}

WithdrawalFiatRels is where relationship names are stored.

View Source
var WithdrawalFiatWhere = struct {
	ID                  whereHelperint64
	BankName            whereHelperstring
	BankAddress         whereHelperstring
	BankAccountName     whereHelperstring
	BankAccountNumber   whereHelperstring
	BSB                 whereHelperstring
	SwiftCode           whereHelperstring
	Iban                whereHelperstring
	BankCode            whereHelperfloat64
	WithdrawalHistoryID whereHelperstring
}{
	ID:                  whereHelperint64{/* contains filtered or unexported fields */},
	BankName:            whereHelperstring{/* contains filtered or unexported fields */},
	BankAddress:         whereHelperstring{/* contains filtered or unexported fields */},
	BankAccountName:     whereHelperstring{/* contains filtered or unexported fields */},
	BankAccountNumber:   whereHelperstring{/* contains filtered or unexported fields */},
	BSB:                 whereHelperstring{/* contains filtered or unexported fields */},
	SwiftCode:           whereHelperstring{/* contains filtered or unexported fields */},
	Iban:                whereHelperstring{/* contains filtered or unexported fields */},
	BankCode:            whereHelperfloat64{/* contains filtered or unexported fields */},
	WithdrawalHistoryID: whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var WithdrawalHistoryColumns = struct {
	ID             string
	ExchangeNameID string
	ExchangeID     string
	Status         string
	Currency       string
	Amount         string
	Description    string
	WithdrawType   string
	CreatedAt      string
	UpdatedAt      string
}{
	ID:             "id",
	ExchangeNameID: "exchange_name_id",
	ExchangeID:     "exchange_id",
	Status:         "status",
	Currency:       "currency",
	Amount:         "amount",
	Description:    "description",
	WithdrawType:   "withdraw_type",
	CreatedAt:      "created_at",
	UpdatedAt:      "updated_at",
}
View Source
var WithdrawalHistoryRels = struct {
	ExchangeName      string
	WithdrawalCryptos string
	WithdrawalFiats   string
}{
	ExchangeName:      "ExchangeName",
	WithdrawalCryptos: "WithdrawalCryptos",
	WithdrawalFiats:   "WithdrawalFiats",
}

WithdrawalHistoryRels is where relationship names are stored.

View Source
var WithdrawalHistoryWhere = struct {
	ID             whereHelperstring
	ExchangeNameID whereHelperstring
	ExchangeID     whereHelperstring
	Status         whereHelperstring
	Currency       whereHelperstring
	Amount         whereHelperfloat64
	Description    whereHelpernull_String
	WithdrawType   whereHelperint64
	CreatedAt      whereHelperstring
	UpdatedAt      whereHelperstring
}{
	ID:             whereHelperstring{/* contains filtered or unexported fields */},
	ExchangeNameID: whereHelperstring{/* contains filtered or unexported fields */},
	ExchangeID:     whereHelperstring{/* contains filtered or unexported fields */},
	Status:         whereHelperstring{/* contains filtered or unexported fields */},
	Currency:       whereHelperstring{/* contains filtered or unexported fields */},
	Amount:         whereHelperfloat64{/* contains filtered or unexported fields */},
	Description:    whereHelpernull_String{/* contains filtered or unexported fields */},
	WithdrawType:   whereHelperint64{/* contains filtered or unexported fields */},
	CreatedAt:      whereHelperstring{/* contains filtered or unexported fields */},
	UpdatedAt:      whereHelperstring{/* contains filtered or unexported fields */},
}

Functions

func AddAuditEventHook

func AddAuditEventHook(hookPoint boil.HookPoint, auditEventHook AuditEventHook)

AddAuditEventHook registers your hook function for all future operations.

func AddCandleHook

func AddCandleHook(hookPoint boil.HookPoint, candleHook CandleHook)

AddCandleHook registers your hook function for all future operations.

func AddDatahistoryjobHook

func AddDatahistoryjobHook(hookPoint boil.HookPoint, datahistoryjobHook DatahistoryjobHook)

AddDatahistoryjobHook registers your hook function for all future operations.

func AddDatahistoryjobresultHook

func AddDatahistoryjobresultHook(hookPoint boil.HookPoint, datahistoryjobresultHook DatahistoryjobresultHook)

AddDatahistoryjobresultHook registers your hook function for all future operations.

func AddExchangeHook

func AddExchangeHook(hookPoint boil.HookPoint, exchangeHook ExchangeHook)

AddExchangeHook registers your hook function for all future operations.

func AddScriptExecutionHook

func AddScriptExecutionHook(hookPoint boil.HookPoint, scriptExecutionHook ScriptExecutionHook)

AddScriptExecutionHook registers your hook function for all future operations.

func AddScriptHook

func AddScriptHook(hookPoint boil.HookPoint, scriptHook ScriptHook)

AddScriptHook registers your hook function for all future operations.

func AddTradeHook

func AddTradeHook(hookPoint boil.HookPoint, tradeHook TradeHook)

AddTradeHook registers your hook function for all future operations.

func AddWithdrawalCryptoHook

func AddWithdrawalCryptoHook(hookPoint boil.HookPoint, withdrawalCryptoHook WithdrawalCryptoHook)

AddWithdrawalCryptoHook registers your hook function for all future operations.

func AddWithdrawalFiatHook

func AddWithdrawalFiatHook(hookPoint boil.HookPoint, withdrawalFiatHook WithdrawalFiatHook)

AddWithdrawalFiatHook registers your hook function for all future operations.

func AddWithdrawalHistoryHook

func AddWithdrawalHistoryHook(hookPoint boil.HookPoint, withdrawalHistoryHook WithdrawalHistoryHook)

AddWithdrawalHistoryHook registers your hook function for all future operations.

func AuditEventExists

func AuditEventExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)

AuditEventExists checks if the AuditEvent row exists.

func AuditEvents

func AuditEvents(mods ...qm.QueryMod) auditEventQuery

AuditEvents retrieves all the records using an executor.

func CandleExists

func CandleExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

CandleExists checks if the Candle row exists.

func Candles

func Candles(mods ...qm.QueryMod) candleQuery

Candles retrieves all the records using an executor.

func DatahistoryjobExists

func DatahistoryjobExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

DatahistoryjobExists checks if the Datahistoryjob row exists.

func DatahistoryjobresultExists

func DatahistoryjobresultExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

DatahistoryjobresultExists checks if the Datahistoryjobresult row exists.

func Datahistoryjobresults

func Datahistoryjobresults(mods ...qm.QueryMod) datahistoryjobresultQuery

Datahistoryjobresults retrieves all the records using an executor.

func Datahistoryjobs

func Datahistoryjobs(mods ...qm.QueryMod) datahistoryjobQuery

Datahistoryjobs retrieves all the records using an executor.

func ExchangeExists

func ExchangeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

ExchangeExists checks if the Exchange row exists.

func Exchanges

func Exchanges(mods ...qm.QueryMod) exchangeQuery

Exchanges 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 ScriptExecutionExists

func ScriptExecutionExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)

ScriptExecutionExists checks if the ScriptExecution row exists.

func ScriptExecutions

func ScriptExecutions(mods ...qm.QueryMod) scriptExecutionQuery

ScriptExecutions retrieves all the records using an executor.

func ScriptExists

func ScriptExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

ScriptExists checks if the Script row exists.

func Scripts

func Scripts(mods ...qm.QueryMod) scriptQuery

Scripts retrieves all the records using an executor.

func TradeExists

func TradeExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

TradeExists checks if the Trade row exists.

func Trades

func Trades(mods ...qm.QueryMod) tradeQuery

Trades retrieves all the records using an executor.

func WithdrawalCryptoExists

func WithdrawalCryptoExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)

WithdrawalCryptoExists checks if the WithdrawalCrypto row exists.

func WithdrawalCryptos

func WithdrawalCryptos(mods ...qm.QueryMod) withdrawalCryptoQuery

WithdrawalCryptos retrieves all the records using an executor.

func WithdrawalFiatExists

func WithdrawalFiatExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)

WithdrawalFiatExists checks if the WithdrawalFiat row exists.

func WithdrawalFiats

func WithdrawalFiats(mods ...qm.QueryMod) withdrawalFiatQuery

WithdrawalFiats retrieves all the records using an executor.

func WithdrawalHistories

func WithdrawalHistories(mods ...qm.QueryMod) withdrawalHistoryQuery

WithdrawalHistories retrieves all the records using an executor.

func WithdrawalHistoryExists

func WithdrawalHistoryExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

WithdrawalHistoryExists checks if the WithdrawalHistory row exists.

Types

type AuditEvent

type AuditEvent struct {
	ID         int64  `boil:"id" json:"id" toml:"id" yaml:"id"`
	Type       string `boil:"type" json:"type" toml:"type" yaml:"type"`
	Identifier string `boil:"identifier" json:"identifier" toml:"identifier" yaml:"identifier"`
	Message    string `boil:"message" json:"message" toml:"message" yaml:"message"`
	CreatedAt  string `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *auditEventR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L auditEventL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AuditEvent is an object representing the database table.

func FindAuditEvent

func FindAuditEvent(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*AuditEvent, error)

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

func (*AuditEvent) Delete

func (o *AuditEvent) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*AuditEvent) Insert

func (o *AuditEvent) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

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

func (*AuditEvent) Reload

func (o *AuditEvent) Reload(ctx context.Context, exec boil.ContextExecutor) error

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

func (*AuditEvent) Update

func (o *AuditEvent) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the AuditEvent. 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.

type AuditEventHook

type AuditEventHook func(context.Context, boil.ContextExecutor, *AuditEvent) error

AuditEventHook is the signature for custom AuditEvent hook methods

type AuditEventSlice

type AuditEventSlice []*AuditEvent

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

func (AuditEventSlice) DeleteAll

func (o AuditEventSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*AuditEventSlice) ReloadAll

func (o *AuditEventSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

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

func (AuditEventSlice) UpdateAll

func (o AuditEventSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

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

type Candle

type Candle struct {
	ID               string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	ExchangeNameID   string      `boil:"exchange_name_id" json:"exchange_name_id" toml:"exchange_name_id" yaml:"exchange_name_id"`
	Base             string      `boil:"Base" json:"Base" toml:"Base" yaml:"Base"`
	Quote            string      `boil:"Quote" json:"Quote" toml:"Quote" yaml:"Quote"`
	Interval         string      `boil:"Interval" json:"Interval" toml:"Interval" yaml:"Interval"`
	Timestamp        string      `boil:"Timestamp" json:"Timestamp" toml:"Timestamp" yaml:"Timestamp"`
	Open             float64     `boil:"Open" json:"Open" toml:"Open" yaml:"Open"`
	High             float64     `boil:"High" json:"High" toml:"High" yaml:"High"`
	Low              float64     `boil:"Low" json:"Low" toml:"Low" yaml:"Low"`
	Close            float64     `boil:"Close" json:"Close" toml:"Close" yaml:"Close"`
	Volume           float64     `boil:"Volume" json:"Volume" toml:"Volume" yaml:"Volume"`
	Asset            string      `boil:"Asset" json:"Asset" toml:"Asset" yaml:"Asset"`
	SourceJobID      null.String `boil:"source_job_id" json:"source_job_id,omitempty" toml:"source_job_id" yaml:"source_job_id,omitempty"`
	ValidationJobID  null.String `boil:"validation_job_id" json:"validation_job_id,omitempty" toml:"validation_job_id" yaml:"validation_job_id,omitempty"`
	ValidationIssues null.String `boil:"validation_issues" json:"validation_issues,omitempty" toml:"validation_issues" yaml:"validation_issues,omitempty"`

	R *candleR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L candleL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Candle is an object representing the database table.

func FindCandle

func FindCandle(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Candle, error)

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

func (*Candle) Delete

func (o *Candle) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*Candle) ExchangeName

func (o *Candle) ExchangeName(mods ...qm.QueryMod) exchangeQuery

ExchangeName pointed to by the foreign key.

func (*Candle) Insert

func (o *Candle) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

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

func (*Candle) Reload

func (o *Candle) Reload(ctx context.Context, exec boil.ContextExecutor) error

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

func (*Candle) RemoveSourceJob

func (o *Candle) RemoveSourceJob(ctx context.Context, exec boil.ContextExecutor, related *Datahistoryjob) error

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

func (*Candle) RemoveValidationJob

func (o *Candle) RemoveValidationJob(ctx context.Context, exec boil.ContextExecutor, related *Datahistoryjob) error

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

func (*Candle) SetExchangeName

func (o *Candle) SetExchangeName(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Exchange) error

SetExchangeName of the candle to the related item. Sets o.R.ExchangeName to related. Adds o to related.R.ExchangeNameCandle.

func (*Candle) SetSourceJob

func (o *Candle) SetSourceJob(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Datahistoryjob) error

SetSourceJob of the candle to the related item. Sets o.R.SourceJob to related. Adds o to related.R.SourceJobCandles.

func (*Candle) SetValidationJob

func (o *Candle) SetValidationJob(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Datahistoryjob) error

SetValidationJob of the candle to the related item. Sets o.R.ValidationJob to related. Adds o to related.R.ValidationJobCandles.

func (*Candle) SourceJob

func (o *Candle) SourceJob(mods ...qm.QueryMod) datahistoryjobQuery

SourceJob pointed to by the foreign key.

func (*Candle) Update

func (o *Candle) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

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

func (o *Candle) ValidationJob(mods ...qm.QueryMod) datahistoryjobQuery

ValidationJob pointed to by the foreign key.

type CandleHook

type CandleHook func(context.Context, boil.ContextExecutor, *Candle) error

CandleHook is the signature for custom Candle hook methods

type CandleSlice

type CandleSlice []*Candle

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

func (CandleSlice) DeleteAll

func (o CandleSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*CandleSlice) ReloadAll

func (o *CandleSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

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

func (CandleSlice) UpdateAll

func (o CandleSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

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

type Datahistoryjob

type Datahistoryjob struct {
	ID                       string       `boil:"id" json:"id" toml:"id" yaml:"id"`
	Nickname                 string       `boil:"nickname" json:"nickname" toml:"nickname" yaml:"nickname"`
	ExchangeNameID           string       `boil:"exchange_name_id" json:"exchange_name_id" toml:"exchange_name_id" yaml:"exchange_name_id"`
	Asset                    string       `boil:"asset" json:"asset" toml:"asset" yaml:"asset"`
	Base                     string       `boil:"base" json:"base" toml:"base" yaml:"base"`
	Quote                    string       `boil:"quote" json:"quote" toml:"quote" yaml:"quote"`
	StartTime                string       `boil:"start_time" json:"start_time" toml:"start_time" yaml:"start_time"`
	EndTime                  string       `boil:"end_time" json:"end_time" toml:"end_time" yaml:"end_time"`
	Interval                 float64      `boil:"interval" json:"interval" toml:"interval" yaml:"interval"`
	DataType                 float64      `boil:"data_type" json:"data_type" toml:"data_type" yaml:"data_type"`
	RequestSize              float64      `boil:"request_size" json:"request_size" toml:"request_size" yaml:"request_size"`
	MaxRetries               float64      `boil:"max_retries" json:"max_retries" toml:"max_retries" yaml:"max_retries"`
	BatchCount               float64      `boil:"batch_count" json:"batch_count" toml:"batch_count" yaml:"batch_count"`
	Status                   float64      `boil:"status" json:"status" toml:"status" yaml:"status"`
	Created                  string       `boil:"created" json:"created" toml:"created" yaml:"created"`
	ConversionInterval       null.Float64 `` /* 127-byte string literal not displayed */
	OverwriteData            null.Int64   `boil:"overwrite_data" json:"overwrite_data,omitempty" toml:"overwrite_data" yaml:"overwrite_data,omitempty"`
	DecimalPlaceComparison   null.Int64   `` /* 147-byte string literal not displayed */
	SecondaryExchangeID      null.String  `` /* 135-byte string literal not displayed */
	IssueTolerancePercentage null.Float64 `` /* 155-byte string literal not displayed */
	ReplaceOnIssue           null.Int64   `boil:"replace_on_issue" json:"replace_on_issue,omitempty" toml:"replace_on_issue" yaml:"replace_on_issue,omitempty"`

	R *datahistoryjobR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L datahistoryjobL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Datahistoryjob is an object representing the database table.

func FindDatahistoryjob

func FindDatahistoryjob(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Datahistoryjob, error)

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

func (*Datahistoryjob) AddJobDatahistoryjobresults

func (o *Datahistoryjob) AddJobDatahistoryjobresults(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Datahistoryjobresult) error

AddJobDatahistoryjobresults adds the given related objects to the existing relationships of the datahistoryjob, optionally inserting them as new records. Appends related to o.R.JobDatahistoryjobresults. Sets related.R.Job appropriately.

func (*Datahistoryjob) AddJobDatahistoryjobs

func (o *Datahistoryjob) AddJobDatahistoryjobs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Datahistoryjob) error

AddJobDatahistoryjobs adds the given related objects to the existing relationships of the datahistoryjob, optionally inserting them as new records. Appends related to o.R.JobDatahistoryjobs. Sets related.R.PrerequisiteJobDatahistoryjobs appropriately.

func (*Datahistoryjob) AddPrerequisiteJobDatahistoryjobs

func (o *Datahistoryjob) AddPrerequisiteJobDatahistoryjobs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Datahistoryjob) error

AddPrerequisiteJobDatahistoryjobs adds the given related objects to the existing relationships of the datahistoryjob, optionally inserting them as new records. Appends related to o.R.PrerequisiteJobDatahistoryjobs. Sets related.R.JobDatahistoryjobs appropriately.

func (*Datahistoryjob) AddSourceJobCandles

func (o *Datahistoryjob) AddSourceJobCandles(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Candle) error

AddSourceJobCandles adds the given related objects to the existing relationships of the datahistoryjob, optionally inserting them as new records. Appends related to o.R.SourceJobCandles. Sets related.R.SourceJob appropriately.

func (*Datahistoryjob) AddValidationJobCandles

func (o *Datahistoryjob) AddValidationJobCandles(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Candle) error

AddValidationJobCandles adds the given related objects to the existing relationships of the datahistoryjob, optionally inserting them as new records. Appends related to o.R.ValidationJobCandles. Sets related.R.ValidationJob appropriately.

func (*Datahistoryjob) Delete

func (o *Datahistoryjob) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*Datahistoryjob) ExchangeName

func (o *Datahistoryjob) ExchangeName(mods ...qm.QueryMod) exchangeQuery

ExchangeName pointed to by the foreign key.

func (*Datahistoryjob) Insert

func (o *Datahistoryjob) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

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

func (*Datahistoryjob) JobDatahistoryjobresults

func (o *Datahistoryjob) JobDatahistoryjobresults(mods ...qm.QueryMod) datahistoryjobresultQuery

JobDatahistoryjobresults retrieves all the datahistoryjobresult's Datahistoryjobresults with an executor via job_id column.

func (*Datahistoryjob) JobDatahistoryjobs

func (o *Datahistoryjob) JobDatahistoryjobs(mods ...qm.QueryMod) datahistoryjobQuery

JobDatahistoryjobs retrieves all the datahistoryjob's Datahistoryjobs with an executor via id column.

func (*Datahistoryjob) PrerequisiteJobDatahistoryjobs

func (o *Datahistoryjob) PrerequisiteJobDatahistoryjobs(mods ...qm.QueryMod) datahistoryjobQuery

PrerequisiteJobDatahistoryjobs retrieves all the datahistoryjob's Datahistoryjobs with an executor via id column.

func (*Datahistoryjob) Reload

func (o *Datahistoryjob) Reload(ctx context.Context, exec boil.ContextExecutor) error

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

func (*Datahistoryjob) RemoveJobDatahistoryjobs

func (o *Datahistoryjob) RemoveJobDatahistoryjobs(ctx context.Context, exec boil.ContextExecutor, related ...*Datahistoryjob) error

RemoveJobDatahistoryjobs relationships from objects passed in. Removes related items from R.JobDatahistoryjobs (uses pointer comparison, removal does not keep order) Sets related.R.PrerequisiteJobDatahistoryjobs.

func (*Datahistoryjob) RemovePrerequisiteJobDatahistoryjobs

func (o *Datahistoryjob) RemovePrerequisiteJobDatahistoryjobs(ctx context.Context, exec boil.ContextExecutor, related ...*Datahistoryjob) error

RemovePrerequisiteJobDatahistoryjobs relationships from objects passed in. Removes related items from R.PrerequisiteJobDatahistoryjobs (uses pointer comparison, removal does not keep order) Sets related.R.JobDatahistoryjobs.

func (*Datahistoryjob) RemoveSecondaryExchange

func (o *Datahistoryjob) RemoveSecondaryExchange(ctx context.Context, exec boil.ContextExecutor, related *Exchange) error

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

func (*Datahistoryjob) RemoveSourceJobCandles

func (o *Datahistoryjob) RemoveSourceJobCandles(ctx context.Context, exec boil.ContextExecutor, related ...*Candle) error

RemoveSourceJobCandles relationships from objects passed in. Removes related items from R.SourceJobCandles (uses pointer comparison, removal does not keep order) Sets related.R.SourceJob.

func (*Datahistoryjob) RemoveValidationJobCandles

func (o *Datahistoryjob) RemoveValidationJobCandles(ctx context.Context, exec boil.ContextExecutor, related ...*Candle) error

RemoveValidationJobCandles relationships from objects passed in. Removes related items from R.ValidationJobCandles (uses pointer comparison, removal does not keep order) Sets related.R.ValidationJob.

func (*Datahistoryjob) SecondaryExchange

func (o *Datahistoryjob) SecondaryExchange(mods ...qm.QueryMod) exchangeQuery

SecondaryExchange pointed to by the foreign key.

func (*Datahistoryjob) SetExchangeName

func (o *Datahistoryjob) SetExchangeName(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Exchange) error

SetExchangeName of the datahistoryjob to the related item. Sets o.R.ExchangeName to related. Adds o to related.R.ExchangeNameDatahistoryjobs.

func (*Datahistoryjob) SetJobDatahistoryjobs

func (o *Datahistoryjob) SetJobDatahistoryjobs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Datahistoryjob) error

SetJobDatahistoryjobs removes all previously related items of the datahistoryjob replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.PrerequisiteJobDatahistoryjobs's JobDatahistoryjobs accordingly. Replaces o.R.JobDatahistoryjobs with related. Sets related.R.PrerequisiteJobDatahistoryjobs's JobDatahistoryjobs accordingly.

func (*Datahistoryjob) SetPrerequisiteJobDatahistoryjobs

func (o *Datahistoryjob) SetPrerequisiteJobDatahistoryjobs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Datahistoryjob) error

SetPrerequisiteJobDatahistoryjobs removes all previously related items of the datahistoryjob replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.JobDatahistoryjobs's PrerequisiteJobDatahistoryjobs accordingly. Replaces o.R.PrerequisiteJobDatahistoryjobs with related. Sets related.R.JobDatahistoryjobs's PrerequisiteJobDatahistoryjobs accordingly.

func (*Datahistoryjob) SetSecondaryExchange

func (o *Datahistoryjob) SetSecondaryExchange(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Exchange) error

SetSecondaryExchange of the datahistoryjob to the related item. Sets o.R.SecondaryExchange to related. Adds o to related.R.SecondaryExchangeDatahistoryjobs.

func (*Datahistoryjob) SetSourceJobCandles

func (o *Datahistoryjob) SetSourceJobCandles(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Candle) error

SetSourceJobCandles removes all previously related items of the datahistoryjob replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SourceJob's SourceJobCandles accordingly. Replaces o.R.SourceJobCandles with related. Sets related.R.SourceJob's SourceJobCandles accordingly.

func (*Datahistoryjob) SetValidationJobCandles

func (o *Datahistoryjob) SetValidationJobCandles(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Candle) error

SetValidationJobCandles removes all previously related items of the datahistoryjob replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ValidationJob's ValidationJobCandles accordingly. Replaces o.R.ValidationJobCandles with related. Sets related.R.ValidationJob's ValidationJobCandles accordingly.

func (*Datahistoryjob) SourceJobCandles

func (o *Datahistoryjob) SourceJobCandles(mods ...qm.QueryMod) candleQuery

SourceJobCandles retrieves all the candle's Candles with an executor via source_job_id column.

func (*Datahistoryjob) Update

func (o *Datahistoryjob) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

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

func (o *Datahistoryjob) ValidationJobCandles(mods ...qm.QueryMod) candleQuery

ValidationJobCandles retrieves all the candle's Candles with an executor via validation_job_id column.

type DatahistoryjobHook

type DatahistoryjobHook func(context.Context, boil.ContextExecutor, *Datahistoryjob) error

DatahistoryjobHook is the signature for custom Datahistoryjob hook methods

type DatahistoryjobSlice

type DatahistoryjobSlice []*Datahistoryjob

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

func (DatahistoryjobSlice) DeleteAll

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

func (*DatahistoryjobSlice) ReloadAll

func (o *DatahistoryjobSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

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

func (DatahistoryjobSlice) UpdateAll

func (o DatahistoryjobSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

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

type Datahistoryjobresult

type Datahistoryjobresult struct {
	ID                string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	JobID             string      `boil:"job_id" json:"job_id" toml:"job_id" yaml:"job_id"`
	Result            null.String `boil:"result" json:"result,omitempty" toml:"result" yaml:"result,omitempty"`
	Status            float64     `boil:"status" json:"status" toml:"status" yaml:"status"`
	IntervalStartTime string      `boil:"interval_start_time" json:"interval_start_time" toml:"interval_start_time" yaml:"interval_start_time"`
	IntervalEndTime   string      `boil:"interval_end_time" json:"interval_end_time" toml:"interval_end_time" yaml:"interval_end_time"`
	RunTime           string      `boil:"run_time" json:"run_time" toml:"run_time" yaml:"run_time"`

	R *datahistoryjobresultR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L datahistoryjobresultL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Datahistoryjobresult is an object representing the database table.

func FindDatahistoryjobresult

func FindDatahistoryjobresult(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Datahistoryjobresult, error)

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

func (*Datahistoryjobresult) Delete

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

func (*Datahistoryjobresult) Insert

func (o *Datahistoryjobresult) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

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

func (*Datahistoryjobresult) Job

func (o *Datahistoryjobresult) Job(mods ...qm.QueryMod) datahistoryjobQuery

Job pointed to by the foreign key.

func (*Datahistoryjobresult) Reload

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

func (*Datahistoryjobresult) SetJob

func (o *Datahistoryjobresult) SetJob(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Datahistoryjob) error

SetJob of the datahistoryjobresult to the related item. Sets o.R.Job to related. Adds o to related.R.JobDatahistoryjobresults.

func (*Datahistoryjobresult) Update

func (o *Datahistoryjobresult) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Datahistoryjobresult. 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.

type DatahistoryjobresultHook

type DatahistoryjobresultHook func(context.Context, boil.ContextExecutor, *Datahistoryjobresult) error

DatahistoryjobresultHook is the signature for custom Datahistoryjobresult hook methods

type DatahistoryjobresultSlice

type DatahistoryjobresultSlice []*Datahistoryjobresult

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

func (DatahistoryjobresultSlice) DeleteAll

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

func (*DatahistoryjobresultSlice) ReloadAll

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

func (DatahistoryjobresultSlice) UpdateAll

func (o DatahistoryjobresultSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

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

type Exchange

type Exchange struct {
	ID   string `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name string `boil:"name" json:"name" toml:"name" yaml:"name"`

	R *exchangeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L exchangeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Exchange is an object representing the database table.

func FindExchange

func FindExchange(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Exchange, error)

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

func (*Exchange) AddExchangeNameDatahistoryjobs

func (o *Exchange) AddExchangeNameDatahistoryjobs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Datahistoryjob) error

AddExchangeNameDatahistoryjobs adds the given related objects to the existing relationships of the exchange, optionally inserting them as new records. Appends related to o.R.ExchangeNameDatahistoryjobs. Sets related.R.ExchangeName appropriately.

func (*Exchange) AddExchangeNameWithdrawalHistories

func (o *Exchange) AddExchangeNameWithdrawalHistories(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*WithdrawalHistory) error

AddExchangeNameWithdrawalHistories adds the given related objects to the existing relationships of the exchange, optionally inserting them as new records. Appends related to o.R.ExchangeNameWithdrawalHistories. Sets related.R.ExchangeName appropriately.

func (*Exchange) AddSecondaryExchangeDatahistoryjobs

func (o *Exchange) AddSecondaryExchangeDatahistoryjobs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Datahistoryjob) error

AddSecondaryExchangeDatahistoryjobs adds the given related objects to the existing relationships of the exchange, optionally inserting them as new records. Appends related to o.R.SecondaryExchangeDatahistoryjobs. Sets related.R.SecondaryExchange appropriately.

func (*Exchange) Delete

func (o *Exchange) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*Exchange) ExchangeNameCandle

func (o *Exchange) ExchangeNameCandle(mods ...qm.QueryMod) candleQuery

ExchangeNameCandle pointed to by the foreign key.

func (*Exchange) ExchangeNameDatahistoryjobs

func (o *Exchange) ExchangeNameDatahistoryjobs(mods ...qm.QueryMod) datahistoryjobQuery

ExchangeNameDatahistoryjobs retrieves all the datahistoryjob's Datahistoryjobs with an executor via exchange_name_id column.

func (*Exchange) ExchangeNameTrade

func (o *Exchange) ExchangeNameTrade(mods ...qm.QueryMod) tradeQuery

ExchangeNameTrade pointed to by the foreign key.

func (*Exchange) ExchangeNameWithdrawalHistories

func (o *Exchange) ExchangeNameWithdrawalHistories(mods ...qm.QueryMod) withdrawalHistoryQuery

ExchangeNameWithdrawalHistories retrieves all the withdrawal_history's WithdrawalHistories with an executor via exchange_name_id column.

func (*Exchange) Insert

func (o *Exchange) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

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

func (*Exchange) Reload

func (o *Exchange) Reload(ctx context.Context, exec boil.ContextExecutor) error

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

func (*Exchange) RemoveSecondaryExchangeDatahistoryjobs

func (o *Exchange) RemoveSecondaryExchangeDatahistoryjobs(ctx context.Context, exec boil.ContextExecutor, related ...*Datahistoryjob) error

RemoveSecondaryExchangeDatahistoryjobs relationships from objects passed in. Removes related items from R.SecondaryExchangeDatahistoryjobs (uses pointer comparison, removal does not keep order) Sets related.R.SecondaryExchange.

func (*Exchange) SecondaryExchangeDatahistoryjobs

func (o *Exchange) SecondaryExchangeDatahistoryjobs(mods ...qm.QueryMod) datahistoryjobQuery

SecondaryExchangeDatahistoryjobs retrieves all the datahistoryjob's Datahistoryjobs with an executor via secondary_exchange_id column.

func (*Exchange) SetExchangeNameCandle

func (o *Exchange) SetExchangeNameCandle(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Candle) error

SetExchangeNameCandle of the exchange to the related item. Sets o.R.ExchangeNameCandle to related. Adds o to related.R.ExchangeName.

func (*Exchange) SetExchangeNameTrade

func (o *Exchange) SetExchangeNameTrade(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Trade) error

SetExchangeNameTrade of the exchange to the related item. Sets o.R.ExchangeNameTrade to related. Adds o to related.R.ExchangeName.

func (*Exchange) SetSecondaryExchangeDatahistoryjobs

func (o *Exchange) SetSecondaryExchangeDatahistoryjobs(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Datahistoryjob) error

SetSecondaryExchangeDatahistoryjobs removes all previously related items of the exchange replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SecondaryExchange's SecondaryExchangeDatahistoryjobs accordingly. Replaces o.R.SecondaryExchangeDatahistoryjobs with related. Sets related.R.SecondaryExchange's SecondaryExchangeDatahistoryjobs accordingly.

func (*Exchange) Update

func (o *Exchange) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Exchange. 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.

type ExchangeHook

type ExchangeHook func(context.Context, boil.ContextExecutor, *Exchange) error

ExchangeHook is the signature for custom Exchange hook methods

type ExchangeSlice

type ExchangeSlice []*Exchange

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

func (ExchangeSlice) DeleteAll

func (o ExchangeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*ExchangeSlice) ReloadAll

func (o *ExchangeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

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

func (ExchangeSlice) UpdateAll

func (o ExchangeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

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

type M

type M map[string]interface{}

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

type Script

type Script struct {
	ID             string     `boil:"id" json:"id" toml:"id" yaml:"id"`
	ScriptID       string     `boil:"script_id" json:"script_id" toml:"script_id" yaml:"script_id"`
	ScriptName     string     `boil:"script_name" json:"script_name" toml:"script_name" yaml:"script_name"`
	ScriptPath     string     `boil:"script_path" json:"script_path" toml:"script_path" yaml:"script_path"`
	ScriptData     null.Bytes `boil:"script_data" json:"script_data,omitempty" toml:"script_data" yaml:"script_data,omitempty"`
	LastExecutedAt string     `boil:"last_executed_at" json:"last_executed_at" toml:"last_executed_at" yaml:"last_executed_at"`
	CreatedAt      string     `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *scriptR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L scriptL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Script is an object representing the database table.

func FindScript

func FindScript(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Script, error)

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

func (*Script) AddScriptExecutions

func (o *Script) AddScriptExecutions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*ScriptExecution) error

AddScriptExecutions adds the given related objects to the existing relationships of the script, optionally inserting them as new records. Appends related to o.R.ScriptExecutions. Sets related.R.Script appropriately.

func (*Script) Delete

func (o *Script) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*Script) Insert

func (o *Script) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

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

func (*Script) Reload

func (o *Script) Reload(ctx context.Context, exec boil.ContextExecutor) error

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

func (*Script) ScriptExecutions

func (o *Script) ScriptExecutions(mods ...qm.QueryMod) scriptExecutionQuery

ScriptExecutions retrieves all the script_execution's ScriptExecutions with an executor.

func (*Script) Update

func (o *Script) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Script. 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.

type ScriptExecution

type ScriptExecution struct {
	ID              int64  `boil:"id" json:"id" toml:"id" yaml:"id"`
	ScriptID        string `boil:"script_id" json:"script_id" toml:"script_id" yaml:"script_id"`
	ExecutionType   string `boil:"execution_type" json:"execution_type" toml:"execution_type" yaml:"execution_type"`
	ExecutionStatus string `boil:"execution_status" json:"execution_status" toml:"execution_status" yaml:"execution_status"`
	ExecutionTime   string `boil:"execution_time" json:"execution_time" toml:"execution_time" yaml:"execution_time"`

	R *scriptExecutionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L scriptExecutionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

ScriptExecution is an object representing the database table.

func FindScriptExecution

func FindScriptExecution(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*ScriptExecution, error)

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

func (*ScriptExecution) Delete

func (o *ScriptExecution) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*ScriptExecution) Insert

func (o *ScriptExecution) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

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

func (*ScriptExecution) Reload

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

func (*ScriptExecution) Script

func (o *ScriptExecution) Script(mods ...qm.QueryMod) scriptQuery

Script pointed to by the foreign key.

func (*ScriptExecution) SetScript

func (o *ScriptExecution) SetScript(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Script) error

SetScript of the scriptExecution to the related item. Sets o.R.Script to related. Adds o to related.R.ScriptExecutions.

func (*ScriptExecution) Update

func (o *ScriptExecution) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the ScriptExecution. 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.

type ScriptExecutionHook

type ScriptExecutionHook func(context.Context, boil.ContextExecutor, *ScriptExecution) error

ScriptExecutionHook is the signature for custom ScriptExecution hook methods

type ScriptExecutionSlice

type ScriptExecutionSlice []*ScriptExecution

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

func (ScriptExecutionSlice) DeleteAll

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

func (*ScriptExecutionSlice) ReloadAll

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

func (ScriptExecutionSlice) UpdateAll

func (o ScriptExecutionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

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

type ScriptHook

type ScriptHook func(context.Context, boil.ContextExecutor, *Script) error

ScriptHook is the signature for custom Script hook methods

type ScriptSlice

type ScriptSlice []*Script

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

func (ScriptSlice) DeleteAll

func (o ScriptSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*ScriptSlice) ReloadAll

func (o *ScriptSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

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

func (ScriptSlice) UpdateAll

func (o ScriptSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

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

type Trade

type Trade struct {
	ID             string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	ExchangeNameID string      `boil:"exchange_name_id" json:"exchange_name_id" toml:"exchange_name_id" yaml:"exchange_name_id"`
	Tid            null.String `boil:"tid" json:"tid,omitempty" toml:"tid" yaml:"tid,omitempty"`
	Base           string      `boil:"base" json:"base" toml:"base" yaml:"base"`
	Quote          string      `boil:"quote" json:"quote" toml:"quote" yaml:"quote"`
	Asset          string      `boil:"asset" json:"asset" toml:"asset" yaml:"asset"`
	Price          float64     `boil:"price" json:"price" toml:"price" yaml:"price"`
	Amount         float64     `boil:"amount" json:"amount" toml:"amount" yaml:"amount"`
	Side           null.String `boil:"side" json:"side,omitempty" toml:"side" yaml:"side,omitempty"`
	Timestamp      string      `boil:"timestamp" json:"timestamp" toml:"timestamp" yaml:"timestamp"`

	R *tradeR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L tradeL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Trade is an object representing the database table.

func FindTrade

func FindTrade(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Trade, error)

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

func (*Trade) Delete

func (o *Trade) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*Trade) ExchangeName

func (o *Trade) ExchangeName(mods ...qm.QueryMod) exchangeQuery

ExchangeName pointed to by the foreign key.

func (*Trade) Insert

func (o *Trade) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

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

func (*Trade) Reload

func (o *Trade) Reload(ctx context.Context, exec boil.ContextExecutor) error

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

func (*Trade) SetExchangeName

func (o *Trade) SetExchangeName(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Exchange) error

SetExchangeName of the trade to the related item. Sets o.R.ExchangeName to related. Adds o to related.R.ExchangeNameTrade.

func (*Trade) Update

func (o *Trade) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Trade. 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.

type TradeHook

type TradeHook func(context.Context, boil.ContextExecutor, *Trade) error

TradeHook is the signature for custom Trade hook methods

type TradeSlice

type TradeSlice []*Trade

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

func (TradeSlice) DeleteAll

func (o TradeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*TradeSlice) ReloadAll

func (o *TradeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

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

func (TradeSlice) UpdateAll

func (o TradeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

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

type WithdrawalCrypto

type WithdrawalCrypto struct {
	ID                  int64       `boil:"id" json:"id" toml:"id" yaml:"id"`
	Address             string      `boil:"address" json:"address" toml:"address" yaml:"address"`
	AddressTag          null.String `boil:"address_tag" json:"address_tag,omitempty" toml:"address_tag" yaml:"address_tag,omitempty"`
	Fee                 float64     `boil:"fee" json:"fee" toml:"fee" yaml:"fee"`
	WithdrawalHistoryID string      `boil:"withdrawal_history_id" json:"withdrawal_history_id" toml:"withdrawal_history_id" yaml:"withdrawal_history_id"`

	R *withdrawalCryptoR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L withdrawalCryptoL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

WithdrawalCrypto is an object representing the database table.

func FindWithdrawalCrypto

func FindWithdrawalCrypto(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*WithdrawalCrypto, error)

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

func (*WithdrawalCrypto) Delete

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

func (*WithdrawalCrypto) Insert

func (o *WithdrawalCrypto) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

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

func (*WithdrawalCrypto) Reload

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

func (*WithdrawalCrypto) SetWithdrawalHistory

func (o *WithdrawalCrypto) SetWithdrawalHistory(ctx context.Context, exec boil.ContextExecutor, insert bool, related *WithdrawalHistory) error

SetWithdrawalHistory of the withdrawalCrypto to the related item. Sets o.R.WithdrawalHistory to related. Adds o to related.R.WithdrawalCryptos.

func (*WithdrawalCrypto) Update

func (o *WithdrawalCrypto) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

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

func (o *WithdrawalCrypto) WithdrawalHistory(mods ...qm.QueryMod) withdrawalHistoryQuery

WithdrawalHistory pointed to by the foreign key.

type WithdrawalCryptoHook

type WithdrawalCryptoHook func(context.Context, boil.ContextExecutor, *WithdrawalCrypto) error

WithdrawalCryptoHook is the signature for custom WithdrawalCrypto hook methods

type WithdrawalCryptoSlice

type WithdrawalCryptoSlice []*WithdrawalCrypto

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

func (WithdrawalCryptoSlice) DeleteAll

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

func (*WithdrawalCryptoSlice) ReloadAll

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

func (WithdrawalCryptoSlice) UpdateAll

func (o WithdrawalCryptoSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

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

type WithdrawalFiat

type WithdrawalFiat struct {
	ID                  int64   `boil:"id" json:"id" toml:"id" yaml:"id"`
	BankName            string  `boil:"bank_name" json:"bank_name" toml:"bank_name" yaml:"bank_name"`
	BankAddress         string  `boil:"bank_address" json:"bank_address" toml:"bank_address" yaml:"bank_address"`
	BankAccountName     string  `boil:"bank_account_name" json:"bank_account_name" toml:"bank_account_name" yaml:"bank_account_name"`
	BankAccountNumber   string  `boil:"bank_account_number" json:"bank_account_number" toml:"bank_account_number" yaml:"bank_account_number"`
	BSB                 string  `boil:"bsb" json:"bsb" toml:"bsb" yaml:"bsb"`
	SwiftCode           string  `boil:"swift_code" json:"swift_code" toml:"swift_code" yaml:"swift_code"`
	Iban                string  `boil:"iban" json:"iban" toml:"iban" yaml:"iban"`
	BankCode            float64 `boil:"bank_code" json:"bank_code" toml:"bank_code" yaml:"bank_code"`
	WithdrawalHistoryID string  `boil:"withdrawal_history_id" json:"withdrawal_history_id" toml:"withdrawal_history_id" yaml:"withdrawal_history_id"`

	R *withdrawalFiatR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L withdrawalFiatL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

WithdrawalFiat is an object representing the database table.

func FindWithdrawalFiat

func FindWithdrawalFiat(ctx context.Context, exec boil.ContextExecutor, iD int64, selectCols ...string) (*WithdrawalFiat, error)

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

func (*WithdrawalFiat) Delete

func (o *WithdrawalFiat) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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

func (*WithdrawalFiat) Insert

func (o *WithdrawalFiat) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

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

func (*WithdrawalFiat) Reload

func (o *WithdrawalFiat) Reload(ctx context.Context, exec boil.ContextExecutor) error

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

func (*WithdrawalFiat) SetWithdrawalHistory

func (o *WithdrawalFiat) SetWithdrawalHistory(ctx context.Context, exec boil.ContextExecutor, insert bool, related *WithdrawalHistory) error

SetWithdrawalHistory of the withdrawalFiat to the related item. Sets o.R.WithdrawalHistory to related. Adds o to related.R.WithdrawalFiats.

func (*WithdrawalFiat) Update

func (o *WithdrawalFiat) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

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

func (o *WithdrawalFiat) WithdrawalHistory(mods ...qm.QueryMod) withdrawalHistoryQuery

WithdrawalHistory pointed to by the foreign key.

type WithdrawalFiatHook

type WithdrawalFiatHook func(context.Context, boil.ContextExecutor, *WithdrawalFiat) error

WithdrawalFiatHook is the signature for custom WithdrawalFiat hook methods

type WithdrawalFiatSlice

type WithdrawalFiatSlice []*WithdrawalFiat

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

func (WithdrawalFiatSlice) DeleteAll

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

func (*WithdrawalFiatSlice) ReloadAll

func (o *WithdrawalFiatSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

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

func (WithdrawalFiatSlice) UpdateAll

func (o WithdrawalFiatSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

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

type WithdrawalHistory

type WithdrawalHistory struct {
	ID             string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	ExchangeNameID string      `boil:"exchange_name_id" json:"exchange_name_id" toml:"exchange_name_id" yaml:"exchange_name_id"`
	ExchangeID     string      `boil:"exchange_id" json:"exchange_id" toml:"exchange_id" yaml:"exchange_id"`
	Status         string      `boil:"status" json:"status" toml:"status" yaml:"status"`
	Currency       string      `boil:"currency" json:"currency" toml:"currency" yaml:"currency"`
	Amount         float64     `boil:"amount" json:"amount" toml:"amount" yaml:"amount"`
	Description    null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"`
	WithdrawType   int64       `boil:"withdraw_type" json:"withdraw_type" toml:"withdraw_type" yaml:"withdraw_type"`
	CreatedAt      string      `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt      string      `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *withdrawalHistoryR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L withdrawalHistoryL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

WithdrawalHistory is an object representing the database table.

func FindWithdrawalHistory

func FindWithdrawalHistory(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*WithdrawalHistory, error)

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

func (*WithdrawalHistory) AddWithdrawalCryptos

func (o *WithdrawalHistory) AddWithdrawalCryptos(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*WithdrawalCrypto) error

AddWithdrawalCryptos adds the given related objects to the existing relationships of the withdrawal_history, optionally inserting them as new records. Appends related to o.R.WithdrawalCryptos. Sets related.R.WithdrawalHistory appropriately.

func (*WithdrawalHistory) AddWithdrawalFiats

func (o *WithdrawalHistory) AddWithdrawalFiats(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*WithdrawalFiat) error

AddWithdrawalFiats adds the given related objects to the existing relationships of the withdrawal_history, optionally inserting them as new records. Appends related to o.R.WithdrawalFiats. Sets related.R.WithdrawalHistory appropriately.

func (*WithdrawalHistory) Delete

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

func (*WithdrawalHistory) ExchangeName

func (o *WithdrawalHistory) ExchangeName(mods ...qm.QueryMod) exchangeQuery

ExchangeName pointed to by the foreign key.

func (*WithdrawalHistory) Insert

func (o *WithdrawalHistory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

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

func (*WithdrawalHistory) Reload

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

func (*WithdrawalHistory) SetExchangeName

func (o *WithdrawalHistory) SetExchangeName(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Exchange) error

SetExchangeName of the withdrawalHistory to the related item. Sets o.R.ExchangeName to related. Adds o to related.R.ExchangeNameWithdrawalHistories.

func (*WithdrawalHistory) Update

func (o *WithdrawalHistory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

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

func (o *WithdrawalHistory) WithdrawalCryptos(mods ...qm.QueryMod) withdrawalCryptoQuery

WithdrawalCryptos retrieves all the withdrawal_crypto's WithdrawalCryptos with an executor.

func (*WithdrawalHistory) WithdrawalFiats

func (o *WithdrawalHistory) WithdrawalFiats(mods ...qm.QueryMod) withdrawalFiatQuery

WithdrawalFiats retrieves all the withdrawal_fiat's WithdrawalFiats with an executor.

type WithdrawalHistoryHook

type WithdrawalHistoryHook func(context.Context, boil.ContextExecutor, *WithdrawalHistory) error

WithdrawalHistoryHook is the signature for custom WithdrawalHistory hook methods

type WithdrawalHistorySlice

type WithdrawalHistorySlice []*WithdrawalHistory

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

func (WithdrawalHistorySlice) DeleteAll

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

func (*WithdrawalHistorySlice) ReloadAll

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

func (WithdrawalHistorySlice) UpdateAll

func (o WithdrawalHistorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

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

Jump to

Keyboard shortcuts

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