Documentation ¶
Index ¶
- Variables
- func AddBFOrderHook(hookPoint boil.HookPoint, bfOrderHook BFOrderHook)
- func AddBFTransactionHook(hookPoint boil.HookPoint, bfTransactionHook BFTransactionHook)
- func AddBalanceHook(hookPoint boil.HookPoint, balanceHook BalanceHook)
- func AddBittrexDepositHistoryHook(hookPoint boil.HookPoint, bittrexDepositHistoryHook BittrexDepositHistoryHook)
- func AddBittrexOrderHistoryHook(hookPoint boil.HookPoint, bittrexOrderHistoryHook BittrexOrderHistoryHook)
- func AddBittrexWithdrawHistoryHook(hookPoint boil.HookPoint, ...)
- func AddCoincheckHistoryHook(hookPoint boil.HookPoint, coincheckHistoryHook CoincheckHistoryHook)
- func AddConfigHook(hookPoint boil.HookPoint, configHook ConfigHook)
- func AddCryptactCustomHook(hookPoint boil.HookPoint, cryptactCustomHook CryptactCustomHook)
- func AddEntryHook(hookPoint boil.HookPoint, entryHook EntryHook)
- func AddEventHook(hookPoint boil.HookPoint, eventHook EventHook)
- func AddMarketPriceHook(hookPoint boil.HookPoint, marketPriceHook MarketPriceHook)
- func AddMethodHook(hookPoint boil.HookPoint, methodHook MethodHook)
- func AddPoloniexDepositHook(hookPoint boil.HookPoint, poloniexDepositHook PoloniexDepositHook)
- func AddPoloniexDistributionHook(hookPoint boil.HookPoint, poloniexDistributionHook PoloniexDistributionHook)
- func AddPoloniexTradeHook(hookPoint boil.HookPoint, poloniexTradeHook PoloniexTradeHook)
- func AddPoloniexWithdrawalHook(hookPoint boil.HookPoint, poloniexWithdrawalHook PoloniexWithdrawalHook)
- func AddSymbolHook(hookPoint boil.HookPoint, symbolHook SymbolHook)
- func AddTransactionHook(hookPoint boil.HookPoint, transactionHook TransactionHook)
- func AddTransitionHook(hookPoint boil.HookPoint, transitionHook TransitionHook)
- func BFOrderExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func BFOrders(mods ...qm.QueryMod) bfOrderQuery
- func BFTransactionExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func BFTransactions(mods ...qm.QueryMod) bfTransactionQuery
- func BalanceExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func Balances(mods ...qm.QueryMod) balanceQuery
- func BittrexDepositHistories(mods ...qm.QueryMod) bittrexDepositHistoryQuery
- func BittrexDepositHistoryExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func BittrexOrderHistories(mods ...qm.QueryMod) bittrexOrderHistoryQuery
- func BittrexOrderHistoryExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func BittrexWithdrawHistories(mods ...qm.QueryMod) bittrexWithdrawHistoryQuery
- func BittrexWithdrawHistoryExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func CoincheckHistories(mods ...qm.QueryMod) coincheckHistoryQuery
- func CoincheckHistoryExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func ConfigExists(ctx context.Context, exec boil.ContextExecutor, iD int, year int) (bool, error)
- func Configs(mods ...qm.QueryMod) configQuery
- func CryptactCustomExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func CryptactCustoms(mods ...qm.QueryMod) cryptactCustomQuery
- func Entries(mods ...qm.QueryMod) entryQuery
- func EntryExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func EventExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func Events(mods ...qm.QueryMod) eventQuery
- func MarketPriceExists(ctx context.Context, exec boil.ContextExecutor, source string, ...) (bool, error)
- func MarketPrices(mods ...qm.QueryMod) marketPriceQuery
- func MethodExists(ctx context.Context, exec boil.ContextExecutor, year int) (bool, error)
- func Methods(mods ...qm.QueryMod) methodQuery
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func PoloniexDepositExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func PoloniexDeposits(mods ...qm.QueryMod) poloniexDepositQuery
- func PoloniexDistributionExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func PoloniexDistributions(mods ...qm.QueryMod) poloniexDistributionQuery
- func PoloniexTradeExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func PoloniexTrades(mods ...qm.QueryMod) poloniexTradeQuery
- func PoloniexWithdrawalExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func PoloniexWithdrawals(mods ...qm.QueryMod) poloniexWithdrawalQuery
- func SymbolExists(ctx context.Context, exec boil.ContextExecutor, symbol string) (bool, error)
- func Symbols(mods ...qm.QueryMod) symbolQuery
- func TransactionExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
- func Transactions(mods ...qm.QueryMod) transactionQuery
- func TransitionExists(ctx context.Context, exec boil.ContextExecutor, eventID int) (bool, error)
- func Transitions(mods ...qm.QueryMod) transitionQuery
- type BFOrder
- func (o *BFOrder) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *BFOrder) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *BFOrder) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *BFOrder) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *BFOrder) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type BFOrderHook
- type BFOrderSlice
- type BFTransaction
- func (o *BFTransaction) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *BFTransaction) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *BFTransaction) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *BFTransaction) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *BFTransaction) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type BFTransactionHook
- type BFTransactionSlice
- func (o BFTransactionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *BFTransactionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o BFTransactionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type Balance
- func (o *Balance) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Balance) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Balance) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Balance) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Balance) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type BalanceHook
- type BalanceSlice
- type BittrexDepositHistory
- func (o *BittrexDepositHistory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *BittrexDepositHistory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *BittrexDepositHistory) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *BittrexDepositHistory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *BittrexDepositHistory) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type BittrexDepositHistoryHook
- type BittrexDepositHistorySlice
- func (o BittrexDepositHistorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *BittrexDepositHistorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o BittrexDepositHistorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type BittrexOrderHistory
- func (o *BittrexOrderHistory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *BittrexOrderHistory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *BittrexOrderHistory) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *BittrexOrderHistory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *BittrexOrderHistory) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type BittrexOrderHistoryHook
- type BittrexOrderHistorySlice
- func (o BittrexOrderHistorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *BittrexOrderHistorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o BittrexOrderHistorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type BittrexWithdrawHistory
- func (o *BittrexWithdrawHistory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *BittrexWithdrawHistory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *BittrexWithdrawHistory) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *BittrexWithdrawHistory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *BittrexWithdrawHistory) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type BittrexWithdrawHistoryHook
- type BittrexWithdrawHistorySlice
- func (o BittrexWithdrawHistorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *BittrexWithdrawHistorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o BittrexWithdrawHistorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type CoincheckHistory
- func (o *CoincheckHistory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *CoincheckHistory) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *CoincheckHistory) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *CoincheckHistory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *CoincheckHistory) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type CoincheckHistoryHook
- type CoincheckHistorySlice
- func (o CoincheckHistorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *CoincheckHistorySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o CoincheckHistorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type Config
- func (o *Config) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Config) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Config) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Config) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Config) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type ConfigHook
- type ConfigSlice
- type CryptactCustom
- func (o *CryptactCustom) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *CryptactCustom) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *CryptactCustom) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *CryptactCustom) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *CryptactCustom) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type CryptactCustomHook
- type CryptactCustomSlice
- func (o CryptactCustomSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *CryptactCustomSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o CryptactCustomSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type Entry
- func (o *Entry) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Entry) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Entry) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Entry) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Entry) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type EntryHook
- type EntrySlice
- type Event
- func (o *Event) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Event) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Event) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Event) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Event) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type EventHook
- type EventSlice
- type M
- type MarketPrice
- func (o *MarketPrice) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *MarketPrice) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *MarketPrice) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *MarketPrice) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *MarketPrice) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MarketPriceHook
- type MarketPriceSlice
- type Method
- func (o *Method) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Method) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Method) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Method) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Method) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type MethodHook
- type MethodSlice
- type PoloniexDeposit
- func (o *PoloniexDeposit) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PoloniexDeposit) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *PoloniexDeposit) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PoloniexDeposit) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *PoloniexDeposit) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type PoloniexDepositHook
- type PoloniexDepositSlice
- func (o PoloniexDepositSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PoloniexDepositSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o PoloniexDepositSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type PoloniexDistribution
- func (o *PoloniexDistribution) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PoloniexDistribution) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *PoloniexDistribution) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PoloniexDistribution) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *PoloniexDistribution) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type PoloniexDistributionHook
- type PoloniexDistributionSlice
- func (o PoloniexDistributionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PoloniexDistributionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o PoloniexDistributionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type PoloniexTrade
- func (o *PoloniexTrade) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PoloniexTrade) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *PoloniexTrade) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PoloniexTrade) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *PoloniexTrade) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type PoloniexTradeHook
- type PoloniexTradeSlice
- func (o PoloniexTradeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PoloniexTradeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o PoloniexTradeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type PoloniexWithdrawal
- func (o *PoloniexWithdrawal) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PoloniexWithdrawal) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *PoloniexWithdrawal) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PoloniexWithdrawal) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *PoloniexWithdrawal) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type PoloniexWithdrawalHook
- type PoloniexWithdrawalSlice
- func (o PoloniexWithdrawalSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PoloniexWithdrawalSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o PoloniexWithdrawalSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type Symbol
- func (o *Symbol) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Symbol) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Symbol) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Symbol) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Symbol) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type SymbolHook
- type SymbolSlice
- type Transaction
- func (o *Transaction) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Transaction) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Transaction) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Transaction) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Transaction) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type TransactionHook
- type TransactionSlice
- type Transition
- func (o *Transition) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Transition) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Transition) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Transition) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Transition) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type TransitionHook
- type TransitionSlice
Constants ¶
This section is empty.
Variables ¶
var BFOrderColumns = struct { ID string OrderID string TransactionID string TRDate string }{ ID: "id", OrderID: "order_id", TransactionID: "transaction_id", TRDate: "tr_date", }
var BFOrderRels = struct {
}{}
BFOrderRels is where relationship names are stored.
var BFOrderWhere = struct { ID whereHelperint OrderID whereHelperstring TransactionID whereHelperint TRDate whereHelpertime_Time }{ ID: whereHelperint{/* contains filtered or unexported fields */}, OrderID: whereHelperstring{/* contains filtered or unexported fields */}, TransactionID: whereHelperint{/* contains filtered or unexported fields */}, TRDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var BFTransactionColumns = struct { ID string TRDate string Currency string TRType string TRPrice string Currency1 string Currency1Quantity string Fee string Currency1JpyRate string Currency2 string Currency2Quantity string DealType string OrderID string Remarks string }{ ID: "id", TRDate: "tr_date", Currency: "currency", TRType: "tr_type", TRPrice: "tr_price", Currency1: "currency1", Currency1Quantity: "currency1_quantity", Fee: "fee", Currency1JpyRate: "currency1_jpy_rate", Currency2: "currency2", Currency2Quantity: "currency2_quantity", DealType: "deal_type", OrderID: "order_id", Remarks: "remarks", }
var BFTransactionRels = struct {
}{}
BFTransactionRels is where relationship names are stored.
var BFTransactionWhere = struct { ID whereHelperint TRDate whereHelpertime_Time Currency whereHelperstring TRType whereHelperint TRPrice whereHelpertypes_Decimal Currency1 whereHelperstring Currency1Quantity whereHelpertypes_Decimal Fee whereHelpertypes_Decimal Currency1JpyRate whereHelpertypes_NullDecimal Currency2 whereHelpernull_String Currency2Quantity whereHelpertypes_Decimal DealType whereHelpernull_Int OrderID whereHelperstring Remarks whereHelpernull_String }{ ID: whereHelperint{/* contains filtered or unexported fields */}, TRDate: whereHelpertime_Time{/* contains filtered or unexported fields */}, Currency: whereHelperstring{/* contains filtered or unexported fields */}, TRType: whereHelperint{/* contains filtered or unexported fields */}, TRPrice: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Currency1: whereHelperstring{/* contains filtered or unexported fields */}, Currency1Quantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Fee: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Currency1JpyRate: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, Currency2: whereHelpernull_String{/* contains filtered or unexported fields */}, Currency2Quantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, DealType: whereHelpernull_Int{/* contains filtered or unexported fields */}, OrderID: whereHelperstring{/* contains filtered or unexported fields */}, Remarks: whereHelpernull_String{/* contains filtered or unexported fields */}, }
var BalanceColumns = struct { ID string Year string Currency string BeginningQuantity string OpenQuantity string CloseQuantity string Price string Quantity string Profit string }{ ID: "id", Year: "year", Currency: "currency", BeginningQuantity: "beginning_quantity", OpenQuantity: "open_quantity", CloseQuantity: "close_quantity", Price: "price", Quantity: "quantity", Profit: "profit", }
var BalanceRels = struct {
}{}
BalanceRels is where relationship names are stored.
var BalanceWhere = struct { ID whereHelperint Year whereHelperint Currency whereHelperstring BeginningQuantity whereHelpertypes_Decimal OpenQuantity whereHelpertypes_Decimal CloseQuantity whereHelpertypes_Decimal Price whereHelpertypes_Decimal Quantity whereHelpertypes_Decimal Profit whereHelpertypes_Decimal }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Year: whereHelperint{/* contains filtered or unexported fields */}, Currency: whereHelperstring{/* contains filtered or unexported fields */}, BeginningQuantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, OpenQuantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, CloseQuantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Price: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Quantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Profit: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, }
var BittrexDepositHistoryColumns = struct { ID string Timestamp string Currency string Quantity string Status string }{ ID: "id", Timestamp: "timestamp", Currency: "currency", Quantity: "quantity", Status: "status", }
var BittrexDepositHistoryRels = struct {
}{}
BittrexDepositHistoryRels is where relationship names are stored.
var BittrexDepositHistoryWhere = struct { ID whereHelperint Timestamp whereHelpertime_Time Currency whereHelperstring Quantity whereHelpertypes_Decimal Status whereHelperstring }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Timestamp: whereHelpertime_Time{/* contains filtered or unexported fields */}, Currency: whereHelperstring{/* contains filtered or unexported fields */}, Quantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Status: whereHelperstring{/* contains filtered or unexported fields */}, }
var BittrexOrderHistoryColumns = struct { ID string UUID string Exchange string Timestamp string OrderType string Limit string Quantity string QuantityRemaining string Commission string Price string PricePerUnit string IsConditional string Condition string ConditionTarget string ImmediateOrCancel string Closed string TimeInForceTypeID string TimeInForce string }{ ID: "id", UUID: "uuid", Exchange: "exchange", Timestamp: "timestamp", OrderType: "order_type", Limit: "limit", Quantity: "quantity", QuantityRemaining: "quantity_remaining", Commission: "commission", Price: "price", PricePerUnit: "price_per_unit", IsConditional: "is_conditional", Condition: "condition", ConditionTarget: "condition_target", ImmediateOrCancel: "immediate_or_cancel", Closed: "closed", TimeInForceTypeID: "time_in_force_type_id", TimeInForce: "time_in_force", }
var BittrexOrderHistoryRels = struct {
}{}
BittrexOrderHistoryRels is where relationship names are stored.
var BittrexOrderHistoryWhere = struct { ID whereHelperint UUID whereHelperstring Exchange whereHelperstring Timestamp whereHelpertime_Time OrderType whereHelperint Limit whereHelpertypes_Decimal Quantity whereHelpertypes_Decimal QuantityRemaining whereHelpertypes_Decimal Commission whereHelpertypes_Decimal Price whereHelpertypes_Decimal PricePerUnit whereHelpertypes_Decimal IsConditional whereHelperbool Condition whereHelpernull_String ConditionTarget whereHelpertypes_NullDecimal ImmediateOrCancel whereHelperbool Closed whereHelpertime_Time TimeInForceTypeID whereHelperint TimeInForce whereHelpernull_String }{ ID: whereHelperint{/* contains filtered or unexported fields */}, UUID: whereHelperstring{/* contains filtered or unexported fields */}, Exchange: whereHelperstring{/* contains filtered or unexported fields */}, Timestamp: whereHelpertime_Time{/* contains filtered or unexported fields */}, OrderType: whereHelperint{/* contains filtered or unexported fields */}, Limit: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Quantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, QuantityRemaining: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Commission: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Price: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, PricePerUnit: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, IsConditional: whereHelperbool{/* contains filtered or unexported fields */}, Condition: whereHelpernull_String{/* contains filtered or unexported fields */}, ConditionTarget: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, ImmediateOrCancel: whereHelperbool{/* contains filtered or unexported fields */}, Closed: whereHelpertime_Time{/* contains filtered or unexported fields */}, TimeInForceTypeID: whereHelperint{/* contains filtered or unexported fields */}, TimeInForce: whereHelpernull_String{/* contains filtered or unexported fields */}, }
var BittrexWithdrawHistoryColumns = struct { ID string Timestamp string Currency string Quantity string Status string }{ ID: "id", Timestamp: "timestamp", Currency: "currency", Quantity: "quantity", Status: "status", }
var BittrexWithdrawHistoryRels = struct {
}{}
BittrexWithdrawHistoryRels is where relationship names are stored.
var BittrexWithdrawHistoryWhere = struct { ID whereHelperint Timestamp whereHelpertime_Time Currency whereHelperstring Quantity whereHelpertypes_Decimal Status whereHelperstring }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Timestamp: whereHelpertime_Time{/* contains filtered or unexported fields */}, Currency: whereHelperstring{/* contains filtered or unexported fields */}, Quantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Status: whereHelperstring{/* contains filtered or unexported fields */}, }
var CoincheckHistoryColumns = struct { ID string IDCode string Time string Operation string Amount string TradingCurrency string Price string OriginalCurrency string Fee string Comment string }{ ID: "id", IDCode: "id_code", Time: "time", Operation: "operation", Amount: "amount", TradingCurrency: "trading_currency", Price: "price", OriginalCurrency: "original_currency", Fee: "fee", Comment: "comment", }
var CoincheckHistoryRels = struct {
}{}
CoincheckHistoryRels is where relationship names are stored.
var CoincheckHistoryWhere = struct { ID whereHelperint IDCode whereHelperstring Time whereHelpertime_Time Operation whereHelperstring Amount whereHelpertypes_Decimal TradingCurrency whereHelperstring Price whereHelpertypes_NullDecimal OriginalCurrency whereHelpernull_String Fee whereHelpertypes_NullDecimal Comment whereHelperstring }{ ID: whereHelperint{/* contains filtered or unexported fields */}, IDCode: whereHelperstring{/* contains filtered or unexported fields */}, Time: whereHelpertime_Time{/* contains filtered or unexported fields */}, Operation: whereHelperstring{/* contains filtered or unexported fields */}, Amount: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, TradingCurrency: whereHelperstring{/* contains filtered or unexported fields */}, Price: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, OriginalCurrency: whereHelpernull_String{/* contains filtered or unexported fields */}, Fee: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, Comment: whereHelperstring{/* contains filtered or unexported fields */}, }
var ConfigColumns = struct { ID string Year string CostMethod string }{ ID: "id", Year: "year", CostMethod: "cost_method", }
var ConfigRels = struct {
}{}
ConfigRels is where relationship names are stored.
var ConfigWhere = struct { ID whereHelperint Year whereHelperint CostMethod whereHelperstring }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Year: whereHelperint{/* contains filtered or unexported fields */}, CostMethod: whereHelperstring{/* contains filtered or unexported fields */}, }
var CryptactCustomColumns = struct { ID string Timestamp string Action string Source string Base string Volume string Price string Counter string Fee string FeeCcy string }{ ID: "id", Timestamp: "timestamp", Action: "action", Source: "source", Base: "base", Volume: "volume", Price: "price", Counter: "counter", Fee: "fee", FeeCcy: "fee_ccy", }
var CryptactCustomRels = struct {
}{}
CryptactCustomRels is where relationship names are stored.
var CryptactCustomWhere = struct { ID whereHelperint Timestamp whereHelpertime_Time Action whereHelperstring Source whereHelperstring Base whereHelperstring Volume whereHelpertypes_Decimal Price whereHelpertypes_NullDecimal Counter whereHelperstring Fee whereHelpertypes_Decimal FeeCcy whereHelperstring }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Timestamp: whereHelpertime_Time{/* contains filtered or unexported fields */}, Action: whereHelperstring{/* contains filtered or unexported fields */}, Source: whereHelperstring{/* contains filtered or unexported fields */}, Base: whereHelperstring{/* contains filtered or unexported fields */}, Volume: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Price: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, Counter: whereHelperstring{/* contains filtered or unexported fields */}, Fee: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, FeeCcy: whereHelperstring{/* contains filtered or unexported fields */}, }
var EntryColumns = struct { ID string TransactionID string Time string Type string Currency string Quantity string Position string FiatCurrency string FiatQuantity string Commission string Price string }{ ID: "id", TransactionID: "transaction_id", Time: "time", Type: "type", Currency: "currency", Quantity: "quantity", Position: "position", FiatCurrency: "fiat_currency", FiatQuantity: "fiat_quantity", Commission: "commission", Price: "price", }
var EntryRels = struct {
}{}
EntryRels is where relationship names are stored.
var EntryWhere = struct { ID whereHelperint TransactionID whereHelperint Time whereHelpertime_Time Type whereHelperstring Currency whereHelperstring Quantity whereHelpertypes_Decimal Position whereHelpertypes_Decimal FiatCurrency whereHelperstring FiatQuantity whereHelpertypes_Decimal Commission whereHelpertypes_NullDecimal Price whereHelpertypes_NullDecimal }{ ID: whereHelperint{/* contains filtered or unexported fields */}, TransactionID: whereHelperint{/* contains filtered or unexported fields */}, Time: whereHelpertime_Time{/* contains filtered or unexported fields */}, Type: whereHelperstring{/* contains filtered or unexported fields */}, Currency: whereHelperstring{/* contains filtered or unexported fields */}, Quantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Position: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, FiatCurrency: whereHelperstring{/* contains filtered or unexported fields */}, FiatQuantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Commission: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, Price: whereHelpertypes_NullDecimal{/* contains filtered or unexported fields */}, }
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
var EventColumns = struct { ID string TransactionID string Time string Type string Currency string Quantity string BaseCurrency string BaseQuantity string }{ ID: "id", TransactionID: "transaction_id", Time: "time", Type: "type", Currency: "currency", Quantity: "quantity", BaseCurrency: "base_currency", BaseQuantity: "base_quantity", }
var EventRels = struct {
}{}
EventRels is where relationship names are stored.
var EventWhere = struct { ID whereHelperint TransactionID whereHelperint Time whereHelpertime_Time Type whereHelperstring Currency whereHelperstring Quantity whereHelpertypes_Decimal BaseCurrency whereHelperstring BaseQuantity whereHelpertypes_Decimal }{ ID: whereHelperint{/* contains filtered or unexported fields */}, TransactionID: whereHelperint{/* contains filtered or unexported fields */}, Time: whereHelpertime_Time{/* contains filtered or unexported fields */}, Type: whereHelperstring{/* contains filtered or unexported fields */}, Currency: whereHelperstring{/* contains filtered or unexported fields */}, Quantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, BaseCurrency: whereHelperstring{/* contains filtered or unexported fields */}, BaseQuantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, }
var MarketPriceColumns = struct { Source string Currency string Time string BaseCurrency string Price string }{ Source: "source", Currency: "currency", Time: "time", BaseCurrency: "base_currency", Price: "price", }
var MarketPriceRels = struct {
}{}
MarketPriceRels is where relationship names are stored.
var MarketPriceWhere = struct { Source whereHelperstring Currency whereHelperstring Time whereHelpertime_Time BaseCurrency whereHelperstring Price whereHelpertypes_Decimal }{ Source: whereHelperstring{/* contains filtered or unexported fields */}, Currency: whereHelperstring{/* contains filtered or unexported fields */}, Time: whereHelpertime_Time{/* contains filtered or unexported fields */}, BaseCurrency: whereHelperstring{/* contains filtered or unexported fields */}, Price: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, }
var MethodColumns = struct { Year string Method string }{ Year: "year", Method: "method", }
var MethodRels = struct {
}{}
MethodRels is where relationship names are stored.
var MethodWhere = struct { Year whereHelperint Method whereHelperstring }{ Year: whereHelperint{/* contains filtered or unexported fields */}, Method: whereHelperstring{/* contains filtered or unexported fields */}, }
var PoloniexDepositColumns = struct { ID string Date string Currency string Amount string Address string Status string }{ ID: "id", Date: "date", Currency: "currency", Amount: "amount", Address: "address", Status: "status", }
var PoloniexDepositRels = struct {
}{}
PoloniexDepositRels is where relationship names are stored.
var PoloniexDepositWhere = struct { ID whereHelperint Date whereHelpertime_Time Currency whereHelperstring Amount whereHelpertypes_Decimal Address whereHelperstring Status whereHelperstring }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Date: whereHelpertime_Time{/* contains filtered or unexported fields */}, Currency: whereHelperstring{/* contains filtered or unexported fields */}, Amount: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Address: whereHelperstring{/* contains filtered or unexported fields */}, Status: whereHelperstring{/* contains filtered or unexported fields */}, }
var PoloniexDistributionColumns = struct { ID string Date string Currency string Amount string Wallet string }{ ID: "id", Date: "date", Currency: "currency", Amount: "amount", Wallet: "wallet", }
var PoloniexDistributionRels = struct {
}{}
PoloniexDistributionRels is where relationship names are stored.
var PoloniexDistributionWhere = struct { ID whereHelperint Date whereHelpertime_Time Currency whereHelperstring Amount whereHelpertypes_Decimal Wallet whereHelperstring }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Date: whereHelpertime_Time{/* contains filtered or unexported fields */}, Currency: whereHelperstring{/* contains filtered or unexported fields */}, Amount: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Wallet: whereHelperstring{/* contains filtered or unexported fields */}, }
var PoloniexTradeColumns = struct { ID string Date string Market string Type string Price string Amount string Total string Fee string OrderNumber string BaseTotalLessFee string QuoteTotalLessFee string FeeCurrency string FeeTotal string }{ ID: "id", Date: "date", Market: "market", Type: "type", Price: "price", Amount: "amount", Total: "total", Fee: "fee", OrderNumber: "order_number", BaseTotalLessFee: "base_total_less_fee", QuoteTotalLessFee: "quote_total_less_fee", FeeCurrency: "fee_currency", FeeTotal: "fee_total", }
var PoloniexTradeRels = struct {
}{}
PoloniexTradeRels is where relationship names are stored.
var PoloniexTradeWhere = struct { ID whereHelperint Date whereHelpertime_Time Market whereHelperstring Type whereHelperstring Price whereHelpertypes_Decimal Amount whereHelpertypes_Decimal Total whereHelpertypes_Decimal Fee whereHelperstring OrderNumber whereHelperint64 BaseTotalLessFee whereHelpertypes_Decimal QuoteTotalLessFee whereHelpertypes_Decimal FeeCurrency whereHelperstring FeeTotal whereHelpertypes_Decimal }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Date: whereHelpertime_Time{/* contains filtered or unexported fields */}, Market: whereHelperstring{/* contains filtered or unexported fields */}, Type: whereHelperstring{/* contains filtered or unexported fields */}, Price: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Amount: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Total: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Fee: whereHelperstring{/* contains filtered or unexported fields */}, OrderNumber: whereHelperint64{/* contains filtered or unexported fields */}, BaseTotalLessFee: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, QuoteTotalLessFee: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, FeeCurrency: whereHelperstring{/* contains filtered or unexported fields */}, FeeTotal: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, }
var PoloniexWithdrawalColumns = struct { ID string Date string Currency string Amount string FeeDeducted string AmountMinusFee string Address string Status string }{ ID: "id", Date: "date", Currency: "currency", Amount: "amount", FeeDeducted: "fee_deducted", AmountMinusFee: "amount_minus_fee", Address: "address", Status: "status", }
var PoloniexWithdrawalRels = struct {
}{}
PoloniexWithdrawalRels is where relationship names are stored.
var PoloniexWithdrawalWhere = struct { ID whereHelperint Date whereHelpertime_Time Currency whereHelperstring Amount whereHelpertypes_Decimal FeeDeducted whereHelpertypes_Decimal AmountMinusFee whereHelpertypes_Decimal Address whereHelperstring Status whereHelperstring }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Date: whereHelpertime_Time{/* contains filtered or unexported fields */}, Currency: whereHelperstring{/* contains filtered or unexported fields */}, Amount: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, FeeDeducted: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, AmountMinusFee: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, Address: whereHelperstring{/* contains filtered or unexported fields */}, Status: whereHelperstring{/* contains filtered or unexported fields */}, }
var SymbolColumns = struct { Symbol string Name string }{ Symbol: "symbol", Name: "name", }
var SymbolRels = struct {
}{}
SymbolRels is where relationship names are stored.
var SymbolWhere = struct { Symbol whereHelperstring Name whereHelperstring }{ Symbol: whereHelperstring{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, }
var TableNames = struct { Balance string BFOrders string BFTransactions string BittrexDepositHistory string BittrexOrderHistory string BittrexWithdrawHistory string CoincheckHistory string Config string CryptactCustom string Entry string Event string MarketPrice string Method string PoloniexDeposits string PoloniexDistributions string PoloniexTrades string PoloniexWithdrawals string Symbols string Transactions string Transition string }{ Balance: "balance", BFOrders: "bf_orders", BFTransactions: "bf_transactions", BittrexDepositHistory: "bittrex_deposit_history", BittrexOrderHistory: "bittrex_order_history", BittrexWithdrawHistory: "bittrex_withdraw_history", CoincheckHistory: "coincheck_history", Config: "config", CryptactCustom: "cryptact_custom", Entry: "entry", Event: "event", MarketPrice: "market_price", Method: "method", PoloniexDeposits: "poloniex_deposits", PoloniexDistributions: "poloniex_distributions", PoloniexTrades: "poloniex_trades", PoloniexWithdrawals: "poloniex_withdrawals", Symbols: "symbols", Transactions: "transactions", Transition: "transition", }
var TransactionColumns = struct { ID string Time string WalletCode string WalletTid string Description string }{ ID: "id", Time: "time", WalletCode: "wallet_code", WalletTid: "wallet_tid", Description: "description", }
var TransactionRels = struct {
}{}
TransactionRels is where relationship names are stored.
var TransactionWhere = struct { ID whereHelperint Time whereHelpertime_Time WalletCode whereHelperstring WalletTid whereHelperint Description whereHelperstring }{ ID: whereHelperint{/* contains filtered or unexported fields */}, Time: whereHelpertime_Time{/* contains filtered or unexported fields */}, WalletCode: whereHelperstring{/* contains filtered or unexported fields */}, WalletTid: whereHelperint{/* contains filtered or unexported fields */}, Description: whereHelperstring{/* contains filtered or unexported fields */}, }
var TransitionColumns = struct { EventID string TransactionID string Currency string Quantity string }{ EventID: "event_id", TransactionID: "transaction_id", Currency: "currency", Quantity: "quantity", }
var TransitionRels = struct {
}{}
TransitionRels is where relationship names are stored.
var TransitionWhere = struct { EventID whereHelperint TransactionID whereHelperint Currency whereHelperstring Quantity whereHelpertypes_Decimal }{ EventID: whereHelperint{/* contains filtered or unexported fields */}, TransactionID: whereHelperint{/* contains filtered or unexported fields */}, Currency: whereHelperstring{/* contains filtered or unexported fields */}, Quantity: whereHelpertypes_Decimal{/* contains filtered or unexported fields */}, }
Functions ¶
func AddBFOrderHook ¶
func AddBFOrderHook(hookPoint boil.HookPoint, bfOrderHook BFOrderHook)
AddBFOrderHook registers your hook function for all future operations.
func AddBFTransactionHook ¶
func AddBFTransactionHook(hookPoint boil.HookPoint, bfTransactionHook BFTransactionHook)
AddBFTransactionHook registers your hook function for all future operations.
func AddBalanceHook ¶
func AddBalanceHook(hookPoint boil.HookPoint, balanceHook BalanceHook)
AddBalanceHook registers your hook function for all future operations.
func AddBittrexDepositHistoryHook ¶
func AddBittrexDepositHistoryHook(hookPoint boil.HookPoint, bittrexDepositHistoryHook BittrexDepositHistoryHook)
AddBittrexDepositHistoryHook registers your hook function for all future operations.
func AddBittrexOrderHistoryHook ¶
func AddBittrexOrderHistoryHook(hookPoint boil.HookPoint, bittrexOrderHistoryHook BittrexOrderHistoryHook)
AddBittrexOrderHistoryHook registers your hook function for all future operations.
func AddBittrexWithdrawHistoryHook ¶
func AddBittrexWithdrawHistoryHook(hookPoint boil.HookPoint, bittrexWithdrawHistoryHook BittrexWithdrawHistoryHook)
AddBittrexWithdrawHistoryHook registers your hook function for all future operations.
func AddCoincheckHistoryHook ¶
func AddCoincheckHistoryHook(hookPoint boil.HookPoint, coincheckHistoryHook CoincheckHistoryHook)
AddCoincheckHistoryHook registers your hook function for all future operations.
func AddConfigHook ¶
func AddConfigHook(hookPoint boil.HookPoint, configHook ConfigHook)
AddConfigHook registers your hook function for all future operations.
func AddCryptactCustomHook ¶
func AddCryptactCustomHook(hookPoint boil.HookPoint, cryptactCustomHook CryptactCustomHook)
AddCryptactCustomHook registers your hook function for all future operations.
func AddEntryHook ¶
AddEntryHook registers your hook function for all future operations.
func AddEventHook ¶
AddEventHook registers your hook function for all future operations.
func AddMarketPriceHook ¶
func AddMarketPriceHook(hookPoint boil.HookPoint, marketPriceHook MarketPriceHook)
AddMarketPriceHook registers your hook function for all future operations.
func AddMethodHook ¶
func AddMethodHook(hookPoint boil.HookPoint, methodHook MethodHook)
AddMethodHook registers your hook function for all future operations.
func AddPoloniexDepositHook ¶
func AddPoloniexDepositHook(hookPoint boil.HookPoint, poloniexDepositHook PoloniexDepositHook)
AddPoloniexDepositHook registers your hook function for all future operations.
func AddPoloniexDistributionHook ¶
func AddPoloniexDistributionHook(hookPoint boil.HookPoint, poloniexDistributionHook PoloniexDistributionHook)
AddPoloniexDistributionHook registers your hook function for all future operations.
func AddPoloniexTradeHook ¶
func AddPoloniexTradeHook(hookPoint boil.HookPoint, poloniexTradeHook PoloniexTradeHook)
AddPoloniexTradeHook registers your hook function for all future operations.
func AddPoloniexWithdrawalHook ¶
func AddPoloniexWithdrawalHook(hookPoint boil.HookPoint, poloniexWithdrawalHook PoloniexWithdrawalHook)
AddPoloniexWithdrawalHook registers your hook function for all future operations.
func AddSymbolHook ¶
func AddSymbolHook(hookPoint boil.HookPoint, symbolHook SymbolHook)
AddSymbolHook registers your hook function for all future operations.
func AddTransactionHook ¶
func AddTransactionHook(hookPoint boil.HookPoint, transactionHook TransactionHook)
AddTransactionHook registers your hook function for all future operations.
func AddTransitionHook ¶
func AddTransitionHook(hookPoint boil.HookPoint, transitionHook TransitionHook)
AddTransitionHook registers your hook function for all future operations.
func BFOrderExists ¶
BFOrderExists checks if the BFOrder row exists.
func BFTransactionExists ¶
BFTransactionExists checks if the BFTransaction row exists.
func BFTransactions ¶
BFTransactions retrieves all the records using an executor.
func BalanceExists ¶
BalanceExists checks if the Balance row exists.
func BittrexDepositHistories ¶
BittrexDepositHistories retrieves all the records using an executor.
func BittrexDepositHistoryExists ¶
func BittrexDepositHistoryExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
BittrexDepositHistoryExists checks if the BittrexDepositHistory row exists.
func BittrexOrderHistories ¶
BittrexOrderHistories retrieves all the records using an executor.
func BittrexOrderHistoryExists ¶
func BittrexOrderHistoryExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
BittrexOrderHistoryExists checks if the BittrexOrderHistory row exists.
func BittrexWithdrawHistories ¶
BittrexWithdrawHistories retrieves all the records using an executor.
func BittrexWithdrawHistoryExists ¶
func BittrexWithdrawHistoryExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
BittrexWithdrawHistoryExists checks if the BittrexWithdrawHistory row exists.
func CoincheckHistories ¶
CoincheckHistories retrieves all the records using an executor.
func CoincheckHistoryExists ¶
CoincheckHistoryExists checks if the CoincheckHistory row exists.
func ConfigExists ¶
ConfigExists checks if the Config row exists.
func CryptactCustomExists ¶
CryptactCustomExists checks if the CryptactCustom row exists.
func CryptactCustoms ¶
CryptactCustoms retrieves all the records using an executor.
func EntryExists ¶
EntryExists checks if the Entry row exists.
func EventExists ¶
EventExists checks if the Event row exists.
func MarketPriceExists ¶
func MarketPriceExists(ctx context.Context, exec boil.ContextExecutor, source string, baseCurrency string, currency string, time time.Time) (bool, error)
MarketPriceExists checks if the MarketPrice row exists.
func MarketPrices ¶
MarketPrices retrieves all the records using an executor.
func MethodExists ¶
MethodExists checks if the Method row exists.
func PoloniexDepositExists ¶
PoloniexDepositExists checks if the PoloniexDeposit row exists.
func PoloniexDeposits ¶
PoloniexDeposits retrieves all the records using an executor.
func PoloniexDistributionExists ¶
func PoloniexDistributionExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)
PoloniexDistributionExists checks if the PoloniexDistribution row exists.
func PoloniexDistributions ¶
PoloniexDistributions retrieves all the records using an executor.
func PoloniexTradeExists ¶
PoloniexTradeExists checks if the PoloniexTrade row exists.
func PoloniexTrades ¶
PoloniexTrades retrieves all the records using an executor.
func PoloniexWithdrawalExists ¶
PoloniexWithdrawalExists checks if the PoloniexWithdrawal row exists.
func PoloniexWithdrawals ¶
PoloniexWithdrawals retrieves all the records using an executor.
func SymbolExists ¶
SymbolExists checks if the Symbol row exists.
func TransactionExists ¶
TransactionExists checks if the Transaction row exists.
func Transactions ¶
Transactions retrieves all the records using an executor.
func TransitionExists ¶
TransitionExists checks if the Transition row exists.
func Transitions ¶
Transitions retrieves all the records using an executor.
Types ¶
type BFOrder ¶
type BFOrder struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` OrderID string `boil:"order_id" json:"order_id" toml:"order_id" yaml:"order_id"` TransactionID int `boil:"transaction_id" json:"transaction_id" toml:"transaction_id" yaml:"transaction_id"` TRDate time.Time `boil:"tr_date" json:"tr_date" toml:"tr_date" yaml:"tr_date"` R *bfOrderR `boil:"-" json:"-" toml:"-" yaml:"-"` L bfOrderL `boil:"-" json:"-" toml:"-" yaml:"-"` }
BFOrder is an object representing the database table.
func FindBFOrder ¶
func FindBFOrder(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*BFOrder, error)
FindBFOrder retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*BFOrder) Delete ¶
Delete deletes a single BFOrder record with an executor. Delete will match against the primary key column to find the record to delete.
func (*BFOrder) Insert ¶
func (o *BFOrder) 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 (*BFOrder) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*BFOrder) Update ¶
func (o *BFOrder) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the BFOrder. 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 (*BFOrder) Upsert ¶
func (o *BFOrder) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type BFOrderHook ¶
BFOrderHook is the signature for custom BFOrder hook methods
type BFOrderSlice ¶
type BFOrderSlice []*BFOrder
BFOrderSlice is an alias for a slice of pointers to BFOrder. This should generally be used opposed to []BFOrder.
func (BFOrderSlice) DeleteAll ¶
func (o BFOrderSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*BFOrderSlice) ReloadAll ¶
func (o *BFOrderSlice) 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 (BFOrderSlice) UpdateAll ¶
func (o BFOrderSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type BFTransaction ¶
type BFTransaction struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` TRDate time.Time `boil:"tr_date" json:"tr_date" toml:"tr_date" yaml:"tr_date"` Currency string `boil:"currency" json:"currency" toml:"currency" yaml:"currency"` TRType int `boil:"tr_type" json:"tr_type" toml:"tr_type" yaml:"tr_type"` TRPrice types.Decimal `boil:"tr_price" json:"tr_price" toml:"tr_price" yaml:"tr_price"` Currency1 string `boil:"currency1" json:"currency1" toml:"currency1" yaml:"currency1"` Currency1Quantity types.Decimal `boil:"currency1_quantity" json:"currency1_quantity" toml:"currency1_quantity" yaml:"currency1_quantity"` Fee types.Decimal `boil:"fee" json:"fee" toml:"fee" yaml:"fee"` Currency1JpyRate types.NullDecimal `boil:"currency1_jpy_rate" json:"currency1_jpy_rate,omitempty" toml:"currency1_jpy_rate" yaml:"currency1_jpy_rate,omitempty"` Currency2 null.String `boil:"currency2" json:"currency2,omitempty" toml:"currency2" yaml:"currency2,omitempty"` Currency2Quantity types.Decimal `boil:"currency2_quantity" json:"currency2_quantity" toml:"currency2_quantity" yaml:"currency2_quantity"` DealType null.Int `boil:"deal_type" json:"deal_type,omitempty" toml:"deal_type" yaml:"deal_type,omitempty"` OrderID string `boil:"order_id" json:"order_id" toml:"order_id" yaml:"order_id"` Remarks null.String `boil:"remarks" json:"remarks,omitempty" toml:"remarks" yaml:"remarks,omitempty"` R *bfTransactionR `boil:"-" json:"-" toml:"-" yaml:"-"` L bfTransactionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
BFTransaction is an object representing the database table.
func FindBFTransaction ¶
func FindBFTransaction(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*BFTransaction, error)
FindBFTransaction retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*BFTransaction) Delete ¶
func (o *BFTransaction) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single BFTransaction record with an executor. Delete will match against the primary key column to find the record to delete.
func (*BFTransaction) Insert ¶
func (o *BFTransaction) 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 (*BFTransaction) Reload ¶
func (o *BFTransaction) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*BFTransaction) Update ¶
func (o *BFTransaction) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the BFTransaction. 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 (*BFTransaction) Upsert ¶
func (o *BFTransaction) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type BFTransactionHook ¶
type BFTransactionHook func(context.Context, boil.ContextExecutor, *BFTransaction) error
BFTransactionHook is the signature for custom BFTransaction hook methods
type BFTransactionSlice ¶
type BFTransactionSlice []*BFTransaction
BFTransactionSlice is an alias for a slice of pointers to BFTransaction. This should generally be used opposed to []BFTransaction.
func (BFTransactionSlice) DeleteAll ¶
func (o BFTransactionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*BFTransactionSlice) ReloadAll ¶
func (o *BFTransactionSlice) 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 (BFTransactionSlice) UpdateAll ¶
func (o BFTransactionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Balance ¶
type Balance struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Year int `boil:"year" json:"year" toml:"year" yaml:"year"` Currency string `boil:"currency" json:"currency" toml:"currency" yaml:"currency"` BeginningQuantity types.Decimal `boil:"beginning_quantity" json:"beginning_quantity" toml:"beginning_quantity" yaml:"beginning_quantity"` OpenQuantity types.Decimal `boil:"open_quantity" json:"open_quantity" toml:"open_quantity" yaml:"open_quantity"` CloseQuantity types.Decimal `boil:"close_quantity" json:"close_quantity" toml:"close_quantity" yaml:"close_quantity"` Price types.Decimal `boil:"price" json:"price" toml:"price" yaml:"price"` Quantity types.Decimal `boil:"quantity" json:"quantity" toml:"quantity" yaml:"quantity"` Profit types.Decimal `boil:"profit" json:"profit" toml:"profit" yaml:"profit"` R *balanceR `boil:"-" json:"-" toml:"-" yaml:"-"` L balanceL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Balance is an object representing the database table.
func FindBalance ¶
func FindBalance(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Balance, error)
FindBalance retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Balance) Delete ¶
Delete deletes a single Balance record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Balance) Insert ¶
func (o *Balance) 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 (*Balance) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Balance) Update ¶
func (o *Balance) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Balance. 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 (*Balance) Upsert ¶
func (o *Balance) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type BalanceHook ¶
BalanceHook is the signature for custom Balance hook methods
type BalanceSlice ¶
type BalanceSlice []*Balance
BalanceSlice is an alias for a slice of pointers to Balance. This should generally be used opposed to []Balance.
func (BalanceSlice) DeleteAll ¶
func (o BalanceSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*BalanceSlice) ReloadAll ¶
func (o *BalanceSlice) 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 (BalanceSlice) UpdateAll ¶
func (o BalanceSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type BittrexDepositHistory ¶
type BittrexDepositHistory struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Timestamp time.Time `boil:"timestamp" json:"timestamp" toml:"timestamp" yaml:"timestamp"` Currency string `boil:"currency" json:"currency" toml:"currency" yaml:"currency"` Quantity types.Decimal `boil:"quantity" json:"quantity" toml:"quantity" yaml:"quantity"` Status string `boil:"status" json:"status" toml:"status" yaml:"status"` R *bittrexDepositHistoryR `boil:"-" json:"-" toml:"-" yaml:"-"` L bittrexDepositHistoryL `boil:"-" json:"-" toml:"-" yaml:"-"` }
BittrexDepositHistory is an object representing the database table.
func FindBittrexDepositHistory ¶
func FindBittrexDepositHistory(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*BittrexDepositHistory, error)
FindBittrexDepositHistory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*BittrexDepositHistory) Delete ¶
func (o *BittrexDepositHistory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single BittrexDepositHistory record with an executor. Delete will match against the primary key column to find the record to delete.
func (*BittrexDepositHistory) Insert ¶
func (o *BittrexDepositHistory) 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 (*BittrexDepositHistory) Reload ¶
func (o *BittrexDepositHistory) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*BittrexDepositHistory) Update ¶
func (o *BittrexDepositHistory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the BittrexDepositHistory. 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 (*BittrexDepositHistory) Upsert ¶
func (o *BittrexDepositHistory) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type BittrexDepositHistoryHook ¶
type BittrexDepositHistoryHook func(context.Context, boil.ContextExecutor, *BittrexDepositHistory) error
BittrexDepositHistoryHook is the signature for custom BittrexDepositHistory hook methods
type BittrexDepositHistorySlice ¶
type BittrexDepositHistorySlice []*BittrexDepositHistory
BittrexDepositHistorySlice is an alias for a slice of pointers to BittrexDepositHistory. This should generally be used opposed to []BittrexDepositHistory.
func (BittrexDepositHistorySlice) DeleteAll ¶
func (o BittrexDepositHistorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*BittrexDepositHistorySlice) ReloadAll ¶
func (o *BittrexDepositHistorySlice) 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 (BittrexDepositHistorySlice) UpdateAll ¶
func (o BittrexDepositHistorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type BittrexOrderHistory ¶
type BittrexOrderHistory struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` UUID string `boil:"uuid" json:"uuid" toml:"uuid" yaml:"uuid"` Exchange string `boil:"exchange" json:"exchange" toml:"exchange" yaml:"exchange"` Timestamp time.Time `boil:"timestamp" json:"timestamp" toml:"timestamp" yaml:"timestamp"` OrderType int `boil:"order_type" json:"order_type" toml:"order_type" yaml:"order_type"` Limit types.Decimal `boil:"limit" json:"limit" toml:"limit" yaml:"limit"` Quantity types.Decimal `boil:"quantity" json:"quantity" toml:"quantity" yaml:"quantity"` QuantityRemaining types.Decimal `boil:"quantity_remaining" json:"quantity_remaining" toml:"quantity_remaining" yaml:"quantity_remaining"` Commission types.Decimal `boil:"commission" json:"commission" toml:"commission" yaml:"commission"` Price types.Decimal `boil:"price" json:"price" toml:"price" yaml:"price"` PricePerUnit types.Decimal `boil:"price_per_unit" json:"price_per_unit" toml:"price_per_unit" yaml:"price_per_unit"` IsConditional bool `boil:"is_conditional" json:"is_conditional" toml:"is_conditional" yaml:"is_conditional"` Condition null.String `boil:"condition" json:"condition,omitempty" toml:"condition" yaml:"condition,omitempty"` ConditionTarget types.NullDecimal `boil:"condition_target" json:"condition_target,omitempty" toml:"condition_target" yaml:"condition_target,omitempty"` ImmediateOrCancel bool `boil:"immediate_or_cancel" json:"immediate_or_cancel" toml:"immediate_or_cancel" yaml:"immediate_or_cancel"` Closed time.Time `boil:"closed" json:"closed" toml:"closed" yaml:"closed"` TimeInForceTypeID int `boil:"time_in_force_type_id" json:"time_in_force_type_id" toml:"time_in_force_type_id" yaml:"time_in_force_type_id"` TimeInForce null.String `boil:"time_in_force" json:"time_in_force,omitempty" toml:"time_in_force" yaml:"time_in_force,omitempty"` R *bittrexOrderHistoryR `boil:"-" json:"-" toml:"-" yaml:"-"` L bittrexOrderHistoryL `boil:"-" json:"-" toml:"-" yaml:"-"` }
BittrexOrderHistory is an object representing the database table.
func FindBittrexOrderHistory ¶
func FindBittrexOrderHistory(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*BittrexOrderHistory, error)
FindBittrexOrderHistory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*BittrexOrderHistory) Delete ¶
func (o *BittrexOrderHistory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single BittrexOrderHistory record with an executor. Delete will match against the primary key column to find the record to delete.
func (*BittrexOrderHistory) Insert ¶
func (o *BittrexOrderHistory) 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 (*BittrexOrderHistory) Reload ¶
func (o *BittrexOrderHistory) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*BittrexOrderHistory) Update ¶
func (o *BittrexOrderHistory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the BittrexOrderHistory. 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 (*BittrexOrderHistory) Upsert ¶
func (o *BittrexOrderHistory) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type BittrexOrderHistoryHook ¶
type BittrexOrderHistoryHook func(context.Context, boil.ContextExecutor, *BittrexOrderHistory) error
BittrexOrderHistoryHook is the signature for custom BittrexOrderHistory hook methods
type BittrexOrderHistorySlice ¶
type BittrexOrderHistorySlice []*BittrexOrderHistory
BittrexOrderHistorySlice is an alias for a slice of pointers to BittrexOrderHistory. This should generally be used opposed to []BittrexOrderHistory.
func (BittrexOrderHistorySlice) DeleteAll ¶
func (o BittrexOrderHistorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*BittrexOrderHistorySlice) ReloadAll ¶
func (o *BittrexOrderHistorySlice) 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 (BittrexOrderHistorySlice) UpdateAll ¶
func (o BittrexOrderHistorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type BittrexWithdrawHistory ¶
type BittrexWithdrawHistory struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Timestamp time.Time `boil:"timestamp" json:"timestamp" toml:"timestamp" yaml:"timestamp"` Currency string `boil:"currency" json:"currency" toml:"currency" yaml:"currency"` Quantity types.Decimal `boil:"quantity" json:"quantity" toml:"quantity" yaml:"quantity"` Status string `boil:"status" json:"status" toml:"status" yaml:"status"` R *bittrexWithdrawHistoryR `boil:"-" json:"-" toml:"-" yaml:"-"` L bittrexWithdrawHistoryL `boil:"-" json:"-" toml:"-" yaml:"-"` }
BittrexWithdrawHistory is an object representing the database table.
func FindBittrexWithdrawHistory ¶
func FindBittrexWithdrawHistory(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*BittrexWithdrawHistory, error)
FindBittrexWithdrawHistory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*BittrexWithdrawHistory) Delete ¶
func (o *BittrexWithdrawHistory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single BittrexWithdrawHistory record with an executor. Delete will match against the primary key column to find the record to delete.
func (*BittrexWithdrawHistory) Insert ¶
func (o *BittrexWithdrawHistory) 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 (*BittrexWithdrawHistory) Reload ¶
func (o *BittrexWithdrawHistory) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*BittrexWithdrawHistory) Update ¶
func (o *BittrexWithdrawHistory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the BittrexWithdrawHistory. 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 (*BittrexWithdrawHistory) Upsert ¶
func (o *BittrexWithdrawHistory) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type BittrexWithdrawHistoryHook ¶
type BittrexWithdrawHistoryHook func(context.Context, boil.ContextExecutor, *BittrexWithdrawHistory) error
BittrexWithdrawHistoryHook is the signature for custom BittrexWithdrawHistory hook methods
type BittrexWithdrawHistorySlice ¶
type BittrexWithdrawHistorySlice []*BittrexWithdrawHistory
BittrexWithdrawHistorySlice is an alias for a slice of pointers to BittrexWithdrawHistory. This should generally be used opposed to []BittrexWithdrawHistory.
func (BittrexWithdrawHistorySlice) DeleteAll ¶
func (o BittrexWithdrawHistorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*BittrexWithdrawHistorySlice) ReloadAll ¶
func (o *BittrexWithdrawHistorySlice) 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 (BittrexWithdrawHistorySlice) UpdateAll ¶
func (o BittrexWithdrawHistorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type CoincheckHistory ¶
type CoincheckHistory struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` IDCode string `boil:"id_code" json:"id_code" toml:"id_code" yaml:"id_code"` Time time.Time `boil:"time" json:"time" toml:"time" yaml:"time"` Operation string `boil:"operation" json:"operation" toml:"operation" yaml:"operation"` Amount types.Decimal `boil:"amount" json:"amount" toml:"amount" yaml:"amount"` TradingCurrency string `boil:"trading_currency" json:"trading_currency" toml:"trading_currency" yaml:"trading_currency"` Price types.NullDecimal `boil:"price" json:"price,omitempty" toml:"price" yaml:"price,omitempty"` OriginalCurrency null.String `boil:"original_currency" json:"original_currency,omitempty" toml:"original_currency" yaml:"original_currency,omitempty"` Fee types.NullDecimal `boil:"fee" json:"fee,omitempty" toml:"fee" yaml:"fee,omitempty"` Comment string `boil:"comment" json:"comment" toml:"comment" yaml:"comment"` R *coincheckHistoryR `boil:"-" json:"-" toml:"-" yaml:"-"` L coincheckHistoryL `boil:"-" json:"-" toml:"-" yaml:"-"` }
CoincheckHistory is an object representing the database table.
func FindCoincheckHistory ¶
func FindCoincheckHistory(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*CoincheckHistory, error)
FindCoincheckHistory retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*CoincheckHistory) Delete ¶
func (o *CoincheckHistory) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single CoincheckHistory record with an executor. Delete will match against the primary key column to find the record to delete.
func (*CoincheckHistory) Insert ¶
func (o *CoincheckHistory) 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 (*CoincheckHistory) Reload ¶
func (o *CoincheckHistory) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*CoincheckHistory) Update ¶
func (o *CoincheckHistory) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the CoincheckHistory. 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 (*CoincheckHistory) Upsert ¶
func (o *CoincheckHistory) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type CoincheckHistoryHook ¶
type CoincheckHistoryHook func(context.Context, boil.ContextExecutor, *CoincheckHistory) error
CoincheckHistoryHook is the signature for custom CoincheckHistory hook methods
type CoincheckHistorySlice ¶
type CoincheckHistorySlice []*CoincheckHistory
CoincheckHistorySlice is an alias for a slice of pointers to CoincheckHistory. This should generally be used opposed to []CoincheckHistory.
func (CoincheckHistorySlice) DeleteAll ¶
func (o CoincheckHistorySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*CoincheckHistorySlice) ReloadAll ¶
func (o *CoincheckHistorySlice) 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 (CoincheckHistorySlice) UpdateAll ¶
func (o CoincheckHistorySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Config ¶
type Config struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Year int `boil:"year" json:"year" toml:"year" yaml:"year"` CostMethod string `boil:"cost_method" json:"cost_method" toml:"cost_method" yaml:"cost_method"` R *configR `boil:"-" json:"-" toml:"-" yaml:"-"` L configL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Config is an object representing the database table.
func FindConfig ¶
func FindConfig(ctx context.Context, exec boil.ContextExecutor, iD int, year int, selectCols ...string) (*Config, error)
FindConfig retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Config) Delete ¶
Delete deletes a single Config record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Config) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Config) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Config) Update ¶
func (o *Config) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Config. 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 (*Config) Upsert ¶
func (o *Config) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type ConfigHook ¶
ConfigHook is the signature for custom Config hook methods
type ConfigSlice ¶
type ConfigSlice []*Config
ConfigSlice is an alias for a slice of pointers to Config. This should generally be used opposed to []Config.
func (ConfigSlice) DeleteAll ¶
func (o ConfigSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*ConfigSlice) ReloadAll ¶
func (o *ConfigSlice) 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 (ConfigSlice) UpdateAll ¶
func (o ConfigSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type CryptactCustom ¶
type CryptactCustom struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Timestamp time.Time `boil:"timestamp" json:"timestamp" toml:"timestamp" yaml:"timestamp"` Action string `boil:"action" json:"action" toml:"action" yaml:"action"` Source string `boil:"source" json:"source" toml:"source" yaml:"source"` Base string `boil:"base" json:"base" toml:"base" yaml:"base"` Volume types.Decimal `boil:"volume" json:"volume" toml:"volume" yaml:"volume"` Price types.NullDecimal `boil:"price" json:"price,omitempty" toml:"price" yaml:"price,omitempty"` Counter string `boil:"counter" json:"counter" toml:"counter" yaml:"counter"` Fee types.Decimal `boil:"fee" json:"fee" toml:"fee" yaml:"fee"` FeeCcy string `boil:"fee_ccy" json:"fee_ccy" toml:"fee_ccy" yaml:"fee_ccy"` R *cryptactCustomR `boil:"-" json:"-" toml:"-" yaml:"-"` L cryptactCustomL `boil:"-" json:"-" toml:"-" yaml:"-"` }
CryptactCustom is an object representing the database table.
func FindCryptactCustom ¶
func FindCryptactCustom(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*CryptactCustom, error)
FindCryptactCustom retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*CryptactCustom) Delete ¶
func (o *CryptactCustom) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single CryptactCustom record with an executor. Delete will match against the primary key column to find the record to delete.
func (*CryptactCustom) Insert ¶
func (o *CryptactCustom) 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 (*CryptactCustom) Reload ¶
func (o *CryptactCustom) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*CryptactCustom) Update ¶
func (o *CryptactCustom) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the CryptactCustom. 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 (*CryptactCustom) Upsert ¶
func (o *CryptactCustom) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type CryptactCustomHook ¶
type CryptactCustomHook func(context.Context, boil.ContextExecutor, *CryptactCustom) error
CryptactCustomHook is the signature for custom CryptactCustom hook methods
type CryptactCustomSlice ¶
type CryptactCustomSlice []*CryptactCustom
CryptactCustomSlice is an alias for a slice of pointers to CryptactCustom. This should generally be used opposed to []CryptactCustom.
func (CryptactCustomSlice) DeleteAll ¶
func (o CryptactCustomSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*CryptactCustomSlice) ReloadAll ¶
func (o *CryptactCustomSlice) 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 (CryptactCustomSlice) UpdateAll ¶
func (o CryptactCustomSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Entry ¶
type Entry struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` TransactionID int `boil:"transaction_id" json:"transaction_id" toml:"transaction_id" yaml:"transaction_id"` Time time.Time `boil:"time" json:"time" toml:"time" yaml:"time"` Type string `boil:"type" json:"type" toml:"type" yaml:"type"` Currency string `boil:"currency" json:"currency" toml:"currency" yaml:"currency"` Quantity types.Decimal `boil:"quantity" json:"quantity" toml:"quantity" yaml:"quantity"` Position types.Decimal `boil:"position" json:"position" toml:"position" yaml:"position"` FiatCurrency string `boil:"fiat_currency" json:"fiat_currency" toml:"fiat_currency" yaml:"fiat_currency"` FiatQuantity types.Decimal `boil:"fiat_quantity" json:"fiat_quantity" toml:"fiat_quantity" yaml:"fiat_quantity"` Commission types.NullDecimal `boil:"commission" json:"commission,omitempty" toml:"commission" yaml:"commission,omitempty"` Price types.NullDecimal `boil:"price" json:"price,omitempty" toml:"price" yaml:"price,omitempty"` R *entryR `boil:"-" json:"-" toml:"-" yaml:"-"` L entryL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Entry is an object representing the database table.
func FindEntry ¶
func FindEntry(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Entry, error)
FindEntry retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Entry) Delete ¶
Delete deletes a single Entry record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Entry) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Entry) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Entry) Update ¶
func (o *Entry) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Entry. 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 (*Entry) Upsert ¶
func (o *Entry) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type EntrySlice ¶
type EntrySlice []*Entry
EntrySlice is an alias for a slice of pointers to Entry. This should generally be used opposed to []Entry.
func (EntrySlice) DeleteAll ¶
func (o EntrySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*EntrySlice) ReloadAll ¶
func (o *EntrySlice) 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 (EntrySlice) UpdateAll ¶
func (o EntrySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Event ¶
type Event struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` TransactionID int `boil:"transaction_id" json:"transaction_id" toml:"transaction_id" yaml:"transaction_id"` Time time.Time `boil:"time" json:"time" toml:"time" yaml:"time"` Type string `boil:"type" json:"type" toml:"type" yaml:"type"` Currency string `boil:"currency" json:"currency" toml:"currency" yaml:"currency"` Quantity types.Decimal `boil:"quantity" json:"quantity" toml:"quantity" yaml:"quantity"` BaseCurrency string `boil:"base_currency" json:"base_currency" toml:"base_currency" yaml:"base_currency"` BaseQuantity types.Decimal `boil:"base_quantity" json:"base_quantity" toml:"base_quantity" yaml:"base_quantity"` R *eventR `boil:"-" json:"-" toml:"-" yaml:"-"` L eventL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Event is an object representing the database table.
func FindEvent ¶
func FindEvent(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Event, error)
FindEvent retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Event) Delete ¶
Delete deletes a single Event record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Event) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Event) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Event) Update ¶
func (o *Event) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Event. 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 (*Event) Upsert ¶
func (o *Event) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type EventSlice ¶
type EventSlice []*Event
EventSlice is an alias for a slice of pointers to Event. This should generally be used opposed to []Event.
func (EventSlice) DeleteAll ¶
func (o EventSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*EventSlice) ReloadAll ¶
func (o *EventSlice) 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 (EventSlice) UpdateAll ¶
func (o EventSlice) 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 MarketPrice ¶
type MarketPrice struct { Source string `boil:"source" json:"source" toml:"source" yaml:"source"` Currency string `boil:"currency" json:"currency" toml:"currency" yaml:"currency"` Time time.Time `boil:"time" json:"time" toml:"time" yaml:"time"` BaseCurrency string `boil:"base_currency" json:"base_currency" toml:"base_currency" yaml:"base_currency"` Price types.Decimal `boil:"price" json:"price" toml:"price" yaml:"price"` R *marketPriceR `boil:"-" json:"-" toml:"-" yaml:"-"` L marketPriceL `boil:"-" json:"-" toml:"-" yaml:"-"` }
MarketPrice is an object representing the database table.
func FindMarketPrice ¶
func FindMarketPrice(ctx context.Context, exec boil.ContextExecutor, source string, baseCurrency string, currency string, time time.Time, selectCols ...string) (*MarketPrice, error)
FindMarketPrice retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*MarketPrice) Delete ¶
func (o *MarketPrice) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single MarketPrice record with an executor. Delete will match against the primary key column to find the record to delete.
func (*MarketPrice) Insert ¶
func (o *MarketPrice) 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 (*MarketPrice) Reload ¶
func (o *MarketPrice) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*MarketPrice) Update ¶
func (o *MarketPrice) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the MarketPrice. 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 (*MarketPrice) Upsert ¶
func (o *MarketPrice) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MarketPriceHook ¶
type MarketPriceHook func(context.Context, boil.ContextExecutor, *MarketPrice) error
MarketPriceHook is the signature for custom MarketPrice hook methods
type MarketPriceSlice ¶
type MarketPriceSlice []*MarketPrice
MarketPriceSlice is an alias for a slice of pointers to MarketPrice. This should generally be used opposed to []MarketPrice.
func (MarketPriceSlice) DeleteAll ¶
func (o MarketPriceSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MarketPriceSlice) ReloadAll ¶
func (o *MarketPriceSlice) 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 (MarketPriceSlice) UpdateAll ¶
func (o MarketPriceSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Method ¶
type Method struct { Year int `boil:"year" json:"year" toml:"year" yaml:"year"` Method string `boil:"method" json:"method" toml:"method" yaml:"method"` R *methodR `boil:"-" json:"-" toml:"-" yaml:"-"` L methodL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Method is an object representing the database table.
func FindMethod ¶
func FindMethod(ctx context.Context, exec boil.ContextExecutor, year int, selectCols ...string) (*Method, error)
FindMethod retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Method) Delete ¶
Delete deletes a single Method record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Method) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Method) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Method) Update ¶
func (o *Method) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Method. 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 (*Method) Upsert ¶
func (o *Method) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type MethodHook ¶
MethodHook is the signature for custom Method hook methods
type MethodSlice ¶
type MethodSlice []*Method
MethodSlice is an alias for a slice of pointers to Method. This should generally be used opposed to []Method.
func (MethodSlice) DeleteAll ¶
func (o MethodSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*MethodSlice) ReloadAll ¶
func (o *MethodSlice) 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 (MethodSlice) UpdateAll ¶
func (o MethodSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type PoloniexDeposit ¶
type PoloniexDeposit struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Date time.Time `boil:"date" json:"date" toml:"date" yaml:"date"` Currency string `boil:"currency" json:"currency" toml:"currency" yaml:"currency"` Amount types.Decimal `boil:"amount" json:"amount" toml:"amount" yaml:"amount"` Address string `boil:"address" json:"address" toml:"address" yaml:"address"` Status string `boil:"status" json:"status" toml:"status" yaml:"status"` R *poloniexDepositR `boil:"-" json:"-" toml:"-" yaml:"-"` L poloniexDepositL `boil:"-" json:"-" toml:"-" yaml:"-"` }
PoloniexDeposit is an object representing the database table.
func FindPoloniexDeposit ¶
func FindPoloniexDeposit(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*PoloniexDeposit, error)
FindPoloniexDeposit retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*PoloniexDeposit) Delete ¶
func (o *PoloniexDeposit) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single PoloniexDeposit record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PoloniexDeposit) Insert ¶
func (o *PoloniexDeposit) 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 (*PoloniexDeposit) Reload ¶
func (o *PoloniexDeposit) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PoloniexDeposit) Update ¶
func (o *PoloniexDeposit) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the PoloniexDeposit. 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 (*PoloniexDeposit) Upsert ¶
func (o *PoloniexDeposit) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type PoloniexDepositHook ¶
type PoloniexDepositHook func(context.Context, boil.ContextExecutor, *PoloniexDeposit) error
PoloniexDepositHook is the signature for custom PoloniexDeposit hook methods
type PoloniexDepositSlice ¶
type PoloniexDepositSlice []*PoloniexDeposit
PoloniexDepositSlice is an alias for a slice of pointers to PoloniexDeposit. This should generally be used opposed to []PoloniexDeposit.
func (PoloniexDepositSlice) DeleteAll ¶
func (o PoloniexDepositSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*PoloniexDepositSlice) ReloadAll ¶
func (o *PoloniexDepositSlice) 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 (PoloniexDepositSlice) UpdateAll ¶
func (o PoloniexDepositSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type PoloniexDistribution ¶
type PoloniexDistribution struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Date time.Time `boil:"date" json:"date" toml:"date" yaml:"date"` Currency string `boil:"currency" json:"currency" toml:"currency" yaml:"currency"` Amount types.Decimal `boil:"amount" json:"amount" toml:"amount" yaml:"amount"` Wallet string `boil:"wallet" json:"wallet" toml:"wallet" yaml:"wallet"` R *poloniexDistributionR `boil:"-" json:"-" toml:"-" yaml:"-"` L poloniexDistributionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
PoloniexDistribution is an object representing the database table.
func FindPoloniexDistribution ¶
func FindPoloniexDistribution(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*PoloniexDistribution, error)
FindPoloniexDistribution retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*PoloniexDistribution) Delete ¶
func (o *PoloniexDistribution) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single PoloniexDistribution record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PoloniexDistribution) Insert ¶
func (o *PoloniexDistribution) 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 (*PoloniexDistribution) Reload ¶
func (o *PoloniexDistribution) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PoloniexDistribution) Update ¶
func (o *PoloniexDistribution) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the PoloniexDistribution. 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 (*PoloniexDistribution) Upsert ¶
func (o *PoloniexDistribution) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type PoloniexDistributionHook ¶
type PoloniexDistributionHook func(context.Context, boil.ContextExecutor, *PoloniexDistribution) error
PoloniexDistributionHook is the signature for custom PoloniexDistribution hook methods
type PoloniexDistributionSlice ¶
type PoloniexDistributionSlice []*PoloniexDistribution
PoloniexDistributionSlice is an alias for a slice of pointers to PoloniexDistribution. This should generally be used opposed to []PoloniexDistribution.
func (PoloniexDistributionSlice) DeleteAll ¶
func (o PoloniexDistributionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*PoloniexDistributionSlice) ReloadAll ¶
func (o *PoloniexDistributionSlice) 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 (PoloniexDistributionSlice) UpdateAll ¶
func (o PoloniexDistributionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type PoloniexTrade ¶
type PoloniexTrade struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Date time.Time `boil:"date" json:"date" toml:"date" yaml:"date"` Market string `boil:"market" json:"market" toml:"market" yaml:"market"` Type string `boil:"type" json:"type" toml:"type" yaml:"type"` Price types.Decimal `boil:"price" json:"price" toml:"price" yaml:"price"` Amount types.Decimal `boil:"amount" json:"amount" toml:"amount" yaml:"amount"` Total types.Decimal `boil:"total" json:"total" toml:"total" yaml:"total"` Fee string `boil:"fee" json:"fee" toml:"fee" yaml:"fee"` OrderNumber int64 `boil:"order_number" json:"order_number" toml:"order_number" yaml:"order_number"` BaseTotalLessFee types.Decimal `boil:"base_total_less_fee" json:"base_total_less_fee" toml:"base_total_less_fee" yaml:"base_total_less_fee"` QuoteTotalLessFee types.Decimal `boil:"quote_total_less_fee" json:"quote_total_less_fee" toml:"quote_total_less_fee" yaml:"quote_total_less_fee"` FeeCurrency string `boil:"fee_currency" json:"fee_currency" toml:"fee_currency" yaml:"fee_currency"` FeeTotal types.Decimal `boil:"fee_total" json:"fee_total" toml:"fee_total" yaml:"fee_total"` R *poloniexTradeR `boil:"-" json:"-" toml:"-" yaml:"-"` L poloniexTradeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
PoloniexTrade is an object representing the database table.
func FindPoloniexTrade ¶
func FindPoloniexTrade(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*PoloniexTrade, error)
FindPoloniexTrade retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*PoloniexTrade) Delete ¶
func (o *PoloniexTrade) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single PoloniexTrade record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PoloniexTrade) Insert ¶
func (o *PoloniexTrade) 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 (*PoloniexTrade) Reload ¶
func (o *PoloniexTrade) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PoloniexTrade) Update ¶
func (o *PoloniexTrade) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the PoloniexTrade. 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 (*PoloniexTrade) Upsert ¶
func (o *PoloniexTrade) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type PoloniexTradeHook ¶
type PoloniexTradeHook func(context.Context, boil.ContextExecutor, *PoloniexTrade) error
PoloniexTradeHook is the signature for custom PoloniexTrade hook methods
type PoloniexTradeSlice ¶
type PoloniexTradeSlice []*PoloniexTrade
PoloniexTradeSlice is an alias for a slice of pointers to PoloniexTrade. This should generally be used opposed to []PoloniexTrade.
func (PoloniexTradeSlice) DeleteAll ¶
func (o PoloniexTradeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*PoloniexTradeSlice) ReloadAll ¶
func (o *PoloniexTradeSlice) 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 (PoloniexTradeSlice) UpdateAll ¶
func (o PoloniexTradeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type PoloniexWithdrawal ¶
type PoloniexWithdrawal struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Date time.Time `boil:"date" json:"date" toml:"date" yaml:"date"` Currency string `boil:"currency" json:"currency" toml:"currency" yaml:"currency"` Amount types.Decimal `boil:"amount" json:"amount" toml:"amount" yaml:"amount"` FeeDeducted types.Decimal `boil:"fee_deducted" json:"fee_deducted" toml:"fee_deducted" yaml:"fee_deducted"` AmountMinusFee types.Decimal `boil:"amount_minus_fee" json:"amount_minus_fee" toml:"amount_minus_fee" yaml:"amount_minus_fee"` Address string `boil:"address" json:"address" toml:"address" yaml:"address"` Status string `boil:"status" json:"status" toml:"status" yaml:"status"` R *poloniexWithdrawalR `boil:"-" json:"-" toml:"-" yaml:"-"` L poloniexWithdrawalL `boil:"-" json:"-" toml:"-" yaml:"-"` }
PoloniexWithdrawal is an object representing the database table.
func FindPoloniexWithdrawal ¶
func FindPoloniexWithdrawal(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*PoloniexWithdrawal, error)
FindPoloniexWithdrawal retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*PoloniexWithdrawal) Delete ¶
func (o *PoloniexWithdrawal) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single PoloniexWithdrawal record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PoloniexWithdrawal) Insert ¶
func (o *PoloniexWithdrawal) 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 (*PoloniexWithdrawal) Reload ¶
func (o *PoloniexWithdrawal) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PoloniexWithdrawal) Update ¶
func (o *PoloniexWithdrawal) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the PoloniexWithdrawal. 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 (*PoloniexWithdrawal) Upsert ¶
func (o *PoloniexWithdrawal) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type PoloniexWithdrawalHook ¶
type PoloniexWithdrawalHook func(context.Context, boil.ContextExecutor, *PoloniexWithdrawal) error
PoloniexWithdrawalHook is the signature for custom PoloniexWithdrawal hook methods
type PoloniexWithdrawalSlice ¶
type PoloniexWithdrawalSlice []*PoloniexWithdrawal
PoloniexWithdrawalSlice is an alias for a slice of pointers to PoloniexWithdrawal. This should generally be used opposed to []PoloniexWithdrawal.
func (PoloniexWithdrawalSlice) DeleteAll ¶
func (o PoloniexWithdrawalSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*PoloniexWithdrawalSlice) ReloadAll ¶
func (o *PoloniexWithdrawalSlice) 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 (PoloniexWithdrawalSlice) UpdateAll ¶
func (o PoloniexWithdrawalSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Symbol ¶
type Symbol struct { Symbol string `boil:"symbol" json:"symbol" toml:"symbol" yaml:"symbol"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` R *symbolR `boil:"-" json:"-" toml:"-" yaml:"-"` L symbolL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Symbol is an object representing the database table.
func FindSymbol ¶
func FindSymbol(ctx context.Context, exec boil.ContextExecutor, symbol string, selectCols ...string) (*Symbol, error)
FindSymbol retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Symbol) Delete ¶
Delete deletes a single Symbol record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Symbol) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Symbol) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Symbol) Update ¶
func (o *Symbol) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Symbol. 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 (*Symbol) Upsert ¶
func (o *Symbol) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type SymbolHook ¶
SymbolHook is the signature for custom Symbol hook methods
type SymbolSlice ¶
type SymbolSlice []*Symbol
SymbolSlice is an alias for a slice of pointers to Symbol. This should generally be used opposed to []Symbol.
func (SymbolSlice) DeleteAll ¶
func (o SymbolSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*SymbolSlice) ReloadAll ¶
func (o *SymbolSlice) 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 (SymbolSlice) UpdateAll ¶
func (o SymbolSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Transaction ¶
type Transaction struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Time time.Time `boil:"time" json:"time" toml:"time" yaml:"time"` WalletCode string `boil:"wallet_code" json:"wallet_code" toml:"wallet_code" yaml:"wallet_code"` WalletTid int `boil:"wallet_tid" json:"wallet_tid" toml:"wallet_tid" yaml:"wallet_tid"` Description string `boil:"description" json:"description" toml:"description" yaml:"description"` R *transactionR `boil:"-" json:"-" toml:"-" yaml:"-"` L transactionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Transaction is an object representing the database table.
func FindTransaction ¶
func FindTransaction(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*Transaction, error)
FindTransaction retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Transaction) Delete ¶
func (o *Transaction) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single Transaction record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Transaction) Insert ¶
func (o *Transaction) 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 (*Transaction) Reload ¶
func (o *Transaction) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Transaction) Update ¶
func (o *Transaction) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Transaction. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Transaction) Upsert ¶
func (o *Transaction) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type TransactionHook ¶
type TransactionHook func(context.Context, boil.ContextExecutor, *Transaction) error
TransactionHook is the signature for custom Transaction hook methods
type TransactionSlice ¶
type TransactionSlice []*Transaction
TransactionSlice is an alias for a slice of pointers to Transaction. This should generally be used opposed to []Transaction.
func (TransactionSlice) DeleteAll ¶
func (o TransactionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*TransactionSlice) ReloadAll ¶
func (o *TransactionSlice) 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 (TransactionSlice) UpdateAll ¶
func (o TransactionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Transition ¶
type Transition struct { EventID int `boil:"event_id" json:"event_id" toml:"event_id" yaml:"event_id"` TransactionID int `boil:"transaction_id" json:"transaction_id" toml:"transaction_id" yaml:"transaction_id"` Currency string `boil:"currency" json:"currency" toml:"currency" yaml:"currency"` Quantity types.Decimal `boil:"quantity" json:"quantity" toml:"quantity" yaml:"quantity"` R *transitionR `boil:"-" json:"-" toml:"-" yaml:"-"` L transitionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Transition is an object representing the database table.
func FindTransition ¶
func FindTransition(ctx context.Context, exec boil.ContextExecutor, eventID int, selectCols ...string) (*Transition, error)
FindTransition retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Transition) Delete ¶
func (o *Transition) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single Transition record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Transition) Insert ¶
func (o *Transition) 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 (*Transition) Reload ¶
func (o *Transition) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Transition) Update ¶
func (o *Transition) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Transition. 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 (*Transition) Upsert ¶
func (o *Transition) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type TransitionHook ¶
type TransitionHook func(context.Context, boil.ContextExecutor, *Transition) error
TransitionHook is the signature for custom Transition hook methods
type TransitionSlice ¶
type TransitionSlice []*Transition
TransitionSlice is an alias for a slice of pointers to Transition. This should generally be used opposed to []Transition.
func (TransitionSlice) DeleteAll ¶
func (o TransitionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*TransitionSlice) ReloadAll ¶
func (o *TransitionSlice) 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 (TransitionSlice) UpdateAll ¶
func (o TransitionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
Source Files ¶
- balance.go
- bf_orders.go
- bf_transactions.go
- bittrex_deposit_history.go
- bittrex_order_history.go
- bittrex_withdraw_history.go
- boil_queries.go
- boil_table_names.go
- boil_types.go
- coincheck_history.go
- config.go
- cryptact_custom.go
- entry.go
- event.go
- market_price.go
- method.go
- mysql_upsert.go
- poloniex_deposits.go
- poloniex_distributions.go
- poloniex_trades.go
- poloniex_withdrawals.go
- symbols.go
- transactions.go
- transition.go