Documentation
¶
Index ¶
- Variables
- func AddAuditEventHook(hookPoint boil.HookPoint, auditEventHook AuditEventHook)
- func AddScriptExecutionHook(hookPoint boil.HookPoint, scriptExecutionHook ScriptExecutionHook)
- func AddScriptHook(hookPoint boil.HookPoint, scriptHook ScriptHook)
- func AddWithdrawalCryptoHook(hookPoint boil.HookPoint, withdrawalCryptoHook WithdrawalCryptoHook)
- func AddWithdrawalFiatHook(hookPoint boil.HookPoint, withdrawalFiatHook WithdrawalFiatHook)
- func AddWithdrawalHistoryHook(hookPoint boil.HookPoint, withdrawalHistoryHook WithdrawalHistoryHook)
- func AuditEventExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func AuditEvents(mods ...qm.QueryMod) auditEventQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func ScriptExecutionExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func ScriptExecutions(mods ...qm.QueryMod) scriptExecutionQuery
- func ScriptExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func Scripts(mods ...qm.QueryMod) scriptQuery
- func WithdrawalCryptoExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func WithdrawalCryptos(mods ...qm.QueryMod) withdrawalCryptoQuery
- func WithdrawalFiatExists(ctx context.Context, exec boil.ContextExecutor, iD int64) (bool, error)
- func WithdrawalFiats(mods ...qm.QueryMod) withdrawalFiatQuery
- func WithdrawalHistories(mods ...qm.QueryMod) withdrawalHistoryQuery
- func WithdrawalHistoryExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- type AuditEvent
- func (o *AuditEvent) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *AuditEvent) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *AuditEvent) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *AuditEvent) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- type AuditEventHook
- type AuditEventSlice
- type M
- type Script
- func (o *Script) AddScriptExecutions(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *Script) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Script) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Script) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Script) ScriptExecutions(mods ...qm.QueryMod) scriptExecutionQuery
- func (o *Script) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- type ScriptExecution
- func (o *ScriptExecution) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ScriptExecution) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *ScriptExecution) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *ScriptExecution) Script(mods ...qm.QueryMod) scriptQuery
- func (o *ScriptExecution) SetScript(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Script) error
- func (o *ScriptExecution) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- type ScriptExecutionHook
- type ScriptExecutionSlice
- func (o ScriptExecutionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *ScriptExecutionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o ScriptExecutionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type ScriptHook
- type ScriptSlice
- type WithdrawalCrypto
- func (o *WithdrawalCrypto) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *WithdrawalCrypto) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *WithdrawalCrypto) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *WithdrawalCrypto) SetWithdrawalHistory(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *WithdrawalCrypto) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *WithdrawalCrypto) WithdrawalHistory(mods ...qm.QueryMod) withdrawalHistoryQuery
- type WithdrawalCryptoHook
- type WithdrawalCryptoSlice
- func (o WithdrawalCryptoSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *WithdrawalCryptoSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o WithdrawalCryptoSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type WithdrawalFiat
- func (o *WithdrawalFiat) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *WithdrawalFiat) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *WithdrawalFiat) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *WithdrawalFiat) SetWithdrawalHistory(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *WithdrawalFiat) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *WithdrawalFiat) WithdrawalHistory(mods ...qm.QueryMod) withdrawalHistoryQuery
- type WithdrawalFiatHook
- type WithdrawalFiatSlice
- func (o WithdrawalFiatSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *WithdrawalFiatSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o WithdrawalFiatSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type WithdrawalHistory
- func (o *WithdrawalHistory) AddWithdrawalCryptos(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *WithdrawalHistory) AddWithdrawalFiats(ctx context.Context, exec boil.ContextExecutor, insert bool, ...) error
- func (o *WithdrawalHistory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *WithdrawalHistory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *WithdrawalHistory) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *WithdrawalHistory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *WithdrawalHistory) WithdrawalCryptos(mods ...qm.QueryMod) withdrawalCryptoQuery
- func (o *WithdrawalHistory) WithdrawalFiats(mods ...qm.QueryMod) withdrawalFiatQuery
- type WithdrawalHistoryHook
- type WithdrawalHistorySlice
- func (o WithdrawalHistorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *WithdrawalHistorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o WithdrawalHistorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
Constants ¶
This section is empty.
Variables ¶
var AuditEventColumns = struct { ID string Type string Identifier string Message string CreatedAt string }{ ID: "id", Type: "type", Identifier: "identifier", Message: "message", CreatedAt: "created_at", }
var AuditEventRels = struct {
}{}
AuditEventRels is where relationship names are stored.
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 */}, }
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.
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", }
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", }
var ScriptExecutionRels = struct { Script string }{ Script: "Script", }
ScriptExecutionRels is where relationship names are stored.
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 */}, }
var ScriptRels = struct { ScriptExecutions string }{ ScriptExecutions: "ScriptExecutions", }
ScriptRels is where relationship names are stored.
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 */}, }
var TableNames = struct { AuditEvent string Script string ScriptExecution string WithdrawalCrypto string WithdrawalFiat string WithdrawalHistory string }{ AuditEvent: "audit_event", Script: "script", ScriptExecution: "script_execution", WithdrawalCrypto: "withdrawal_crypto", WithdrawalFiat: "withdrawal_fiat", WithdrawalHistory: "withdrawal_history", }
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", }
var WithdrawalCryptoRels = struct { WithdrawalHistory string }{ WithdrawalHistory: "WithdrawalHistory", }
WithdrawalCryptoRels is where relationship names are stored.
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 */}, }
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", }
var WithdrawalFiatRels = struct { WithdrawalHistory string }{ WithdrawalHistory: "WithdrawalHistory", }
WithdrawalFiatRels is where relationship names are stored.
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 */}, }
var WithdrawalHistoryColumns = struct { ID string Exchange string ExchangeID string Status string Currency string Amount string Description string WithdrawType string CreatedAt string UpdatedAt string }{ ID: "id", Exchange: "exchange", ExchangeID: "exchange_id", Status: "status", Currency: "currency", Amount: "amount", Description: "description", WithdrawType: "withdraw_type", CreatedAt: "created_at", UpdatedAt: "updated_at", }
var WithdrawalHistoryRels = struct { WithdrawalCryptos string WithdrawalFiats string }{ WithdrawalCryptos: "WithdrawalCryptos", WithdrawalFiats: "WithdrawalFiats", }
WithdrawalHistoryRels is where relationship names are stored.
var WithdrawalHistoryWhere = struct { ID whereHelperstring Exchange 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 */}, Exchange: 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 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 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 ¶
AuditEventExists checks if the AuditEvent row exists.
func AuditEvents ¶
AuditEvents retrieves all the records using an executor.
func ScriptExecutionExists ¶
ScriptExecutionExists checks if the ScriptExecution row exists.
func ScriptExecutions ¶
ScriptExecutions retrieves all the records using an executor.
func ScriptExists ¶
ScriptExists checks if the Script row exists.
func WithdrawalCryptoExists ¶
WithdrawalCryptoExists checks if the WithdrawalCrypto row exists.
func WithdrawalCryptos ¶
WithdrawalCryptos retrieves all the records using an executor.
func WithdrawalFiatExists ¶
WithdrawalFiatExists checks if the WithdrawalFiat row exists.
func WithdrawalFiats ¶
WithdrawalFiats retrieves all the records using an executor.
func WithdrawalHistories ¶
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 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 ¶
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 ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Script) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Script) ScriptExecutions ¶
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 ¶
func (o *ScriptExecution) Reload(ctx context.Context, exec boil.ContextExecutor) error
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 ¶
func (o ScriptExecutionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ScriptExecutionSlice) ReloadAll ¶
func (o *ScriptExecutionSlice) 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 (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 ¶
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 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 ¶
func (o *WithdrawalCrypto) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
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 ¶
func (o *WithdrawalCrypto) Reload(ctx context.Context, exec boil.ContextExecutor) error
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 ¶
func (o WithdrawalCryptoSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*WithdrawalCryptoSlice) ReloadAll ¶
func (o *WithdrawalCryptoSlice) 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 (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 ¶
func (o WithdrawalFiatSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
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"` Exchange string `boil:"exchange" json:"exchange" toml:"exchange" yaml:"exchange"` 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 ¶
func (o *WithdrawalHistory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
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) 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 ¶
func (o *WithdrawalHistory) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
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 ¶
func (o WithdrawalHistorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*WithdrawalHistorySlice) ReloadAll ¶
func (o *WithdrawalHistorySlice) 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 (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.