Documentation ¶
Index ¶
- Variables
- func AddCurrencyHook(hookPoint boil.HookPoint, currencyHook CurrencyHook)
- func AddCurrentChartDataHourlyHook(hookPoint boil.HookPoint, ...)
- func AddCurrentChartDataMinutelyHook(hookPoint boil.HookPoint, ...)
- func AddHistoryChartDatumHook(hookPoint boil.HookPoint, historyChartDatumHook HistoryChartDatumHook)
- func Currencies(mods ...qm.QueryMod) currencyQuery
- func CurrencyExists(exec boil.Executor, iD int) (bool, error)
- func CurrentChartDataHourlies(mods ...qm.QueryMod) currentChartDataHourlyQuery
- func CurrentChartDataHourlyExists(exec boil.Executor, iD int) (bool, error)
- func CurrentChartDataMinutelies(mods ...qm.QueryMod) currentChartDataMinutelyQuery
- func CurrentChartDataMinutelyExists(exec boil.Executor, iD int) (bool, error)
- func HistoryChartData(mods ...qm.QueryMod) historyChartDatumQuery
- func HistoryChartDatumExists(exec boil.Executor, iD int) (bool, error)
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- type Currency
- func (o *Currency) AddDestinationCurrencyCurrentChartDataHourlies(exec boil.Executor, insert bool, related ...*CurrentChartDataHourly) error
- func (o *Currency) AddDestinationCurrencyCurrentChartDataMinutelies(exec boil.Executor, insert bool, related ...*CurrentChartDataMinutely) error
- func (o *Currency) AddDestinationCurrencyHistoryChartData(exec boil.Executor, insert bool, related ...*HistoryChartDatum) error
- func (o *Currency) AddSourceCurrencyCurrentChartDataHourlies(exec boil.Executor, insert bool, related ...*CurrentChartDataHourly) error
- func (o *Currency) AddSourceCurrencyCurrentChartDataMinutelies(exec boil.Executor, insert bool, related ...*CurrentChartDataMinutely) error
- func (o *Currency) AddSourceCurrencyHistoryChartData(exec boil.Executor, insert bool, related ...*HistoryChartDatum) error
- func (o *Currency) Delete(exec boil.Executor) (int64, error)
- func (o *Currency) DestinationCurrencyCurrentChartDataHourlies(mods ...qm.QueryMod) currentChartDataHourlyQuery
- func (o *Currency) DestinationCurrencyCurrentChartDataMinutelies(mods ...qm.QueryMod) currentChartDataMinutelyQuery
- func (o *Currency) DestinationCurrencyHistoryChartData(mods ...qm.QueryMod) historyChartDatumQuery
- func (o *Currency) Insert(exec boil.Executor, columns boil.Columns) error
- func (o *Currency) Reload(exec boil.Executor) error
- func (o *Currency) SourceCurrencyCurrentChartDataHourlies(mods ...qm.QueryMod) currentChartDataHourlyQuery
- func (o *Currency) SourceCurrencyCurrentChartDataMinutelies(mods ...qm.QueryMod) currentChartDataMinutelyQuery
- func (o *Currency) SourceCurrencyHistoryChartData(mods ...qm.QueryMod) historyChartDatumQuery
- func (o *Currency) Update(exec boil.Executor, columns boil.Columns) (int64, error)
- func (o *Currency) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- type CurrencyHook
- type CurrencySlice
- type CurrentChartDataHourly
- func (o *CurrentChartDataHourly) Delete(exec boil.Executor) (int64, error)
- func (o *CurrentChartDataHourly) DestinationCurrency(mods ...qm.QueryMod) currencyQuery
- func (o *CurrentChartDataHourly) Insert(exec boil.Executor, columns boil.Columns) error
- func (o *CurrentChartDataHourly) Reload(exec boil.Executor) error
- func (o *CurrentChartDataHourly) SetDestinationCurrency(exec boil.Executor, insert bool, related *Currency) error
- func (o *CurrentChartDataHourly) SetSourceCurrency(exec boil.Executor, insert bool, related *Currency) error
- func (o *CurrentChartDataHourly) SourceCurrency(mods ...qm.QueryMod) currencyQuery
- func (o *CurrentChartDataHourly) Update(exec boil.Executor, columns boil.Columns) (int64, error)
- func (o *CurrentChartDataHourly) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- type CurrentChartDataHourlyHook
- type CurrentChartDataHourlySlice
- type CurrentChartDataMinutely
- func (o *CurrentChartDataMinutely) Delete(exec boil.Executor) (int64, error)
- func (o *CurrentChartDataMinutely) DestinationCurrency(mods ...qm.QueryMod) currencyQuery
- func (o *CurrentChartDataMinutely) Insert(exec boil.Executor, columns boil.Columns) error
- func (o *CurrentChartDataMinutely) Reload(exec boil.Executor) error
- func (o *CurrentChartDataMinutely) SetDestinationCurrency(exec boil.Executor, insert bool, related *Currency) error
- func (o *CurrentChartDataMinutely) SetSourceCurrency(exec boil.Executor, insert bool, related *Currency) error
- func (o *CurrentChartDataMinutely) SourceCurrency(mods ...qm.QueryMod) currencyQuery
- func (o *CurrentChartDataMinutely) Update(exec boil.Executor, columns boil.Columns) (int64, error)
- func (o *CurrentChartDataMinutely) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- type CurrentChartDataMinutelyHook
- type CurrentChartDataMinutelySlice
- type HistoryChartDatum
- func (o *HistoryChartDatum) Delete(exec boil.Executor) (int64, error)
- func (o *HistoryChartDatum) DestinationCurrency(mods ...qm.QueryMod) currencyQuery
- func (o *HistoryChartDatum) Insert(exec boil.Executor, columns boil.Columns) error
- func (o *HistoryChartDatum) Reload(exec boil.Executor) error
- func (o *HistoryChartDatum) SetDestinationCurrency(exec boil.Executor, insert bool, related *Currency) error
- func (o *HistoryChartDatum) SetSourceCurrency(exec boil.Executor, insert bool, related *Currency) error
- func (o *HistoryChartDatum) SourceCurrency(mods ...qm.QueryMod) currencyQuery
- func (o *HistoryChartDatum) Update(exec boil.Executor, columns boil.Columns) (int64, error)
- func (o *HistoryChartDatum) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- type HistoryChartDatumHook
- type HistoryChartDatumSlice
- type M
Constants ¶
This section is empty.
Variables ¶
var CurrencyColumns = struct { ID string CurrencyCode string CurrencyName string CurrencyIssuer string CreatedAt string UpdatedAt string UpdatedBy string }{ ID: "id", CurrencyCode: "currency_code", CurrencyName: "currency_name", CurrencyIssuer: "currency_issuer", CreatedAt: "created_at", UpdatedAt: "updated_at", UpdatedBy: "updated_by", }
var CurrencyRels = struct { SourceCurrencyCurrentChartDataHourlies string DestinationCurrencyCurrentChartDataHourlies string SourceCurrencyCurrentChartDataMinutelies string DestinationCurrencyCurrentChartDataMinutelies string SourceCurrencyHistoryChartData string DestinationCurrencyHistoryChartData string }{ SourceCurrencyCurrentChartDataHourlies: "SourceCurrencyCurrentChartDataHourlies", DestinationCurrencyCurrentChartDataHourlies: "DestinationCurrencyCurrentChartDataHourlies", SourceCurrencyCurrentChartDataMinutelies: "SourceCurrencyCurrentChartDataMinutelies", DestinationCurrencyCurrentChartDataMinutelies: "DestinationCurrencyCurrentChartDataMinutelies", SourceCurrencyHistoryChartData: "SourceCurrencyHistoryChartData", DestinationCurrencyHistoryChartData: "DestinationCurrencyHistoryChartData", }
CurrencyRels is where relationship names are stored.
var CurrentChartDataHourlyColumns = struct { ID string ExchangeRateTime string SourceCurrencyID string DestinationCurrencyID string ExchangeRate string CreatedAt string UpdatedAt string UpdatedBy string }{ ID: "id", ExchangeRateTime: "exchange_rate_time", SourceCurrencyID: "source_currency_id", DestinationCurrencyID: "destination_currency_id", ExchangeRate: "exchange_rate", CreatedAt: "created_at", UpdatedAt: "updated_at", UpdatedBy: "updated_by", }
var CurrentChartDataHourlyRels = struct { SourceCurrency string DestinationCurrency string }{ SourceCurrency: "SourceCurrency", DestinationCurrency: "DestinationCurrency", }
CurrentChartDataHourlyRels is where relationship names are stored.
var CurrentChartDataMinutelyColumns = struct { ID string ExchangeRateTime string SourceCurrencyID string DestinationCurrencyID string ExchangeRate string CreatedAt string UpdatedAt string UpdatedBy string }{ ID: "id", ExchangeRateTime: "exchange_rate_time", SourceCurrencyID: "source_currency_id", DestinationCurrencyID: "destination_currency_id", ExchangeRate: "exchange_rate", CreatedAt: "created_at", UpdatedAt: "updated_at", UpdatedBy: "updated_by", }
var CurrentChartDataMinutelyRels = struct { SourceCurrency string DestinationCurrency string }{ SourceCurrency: "SourceCurrency", DestinationCurrency: "DestinationCurrency", }
CurrentChartDataMinutelyRels is where relationship names are stored.
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 HistoryChartDatumColumns = struct { ID string ExchangeRateDate string SourceCurrencyID string DestinationCurrencyID string ExchangeRate string CreatedAt string UpdatedAt string UpdatedBy string }{ ID: "id", ExchangeRateDate: "exchange_rate_date", SourceCurrencyID: "source_currency_id", DestinationCurrencyID: "destination_currency_id", ExchangeRate: "exchange_rate", CreatedAt: "created_at", UpdatedAt: "updated_at", UpdatedBy: "updated_by", }
var HistoryChartDatumRels = struct { SourceCurrency string DestinationCurrency string }{ SourceCurrency: "SourceCurrency", DestinationCurrency: "DestinationCurrency", }
HistoryChartDatumRels is where relationship names are stored.
var TableNames = struct { Currency string CurrentChartDataHourly string CurrentChartDataMinutely string HistoryChartData string }{ Currency: "currency", CurrentChartDataHourly: "current_chart_data_hourly", CurrentChartDataMinutely: "current_chart_data_minutely", HistoryChartData: "history_chart_data", }
Functions ¶
func AddCurrencyHook ¶
func AddCurrencyHook(hookPoint boil.HookPoint, currencyHook CurrencyHook)
AddCurrencyHook registers your hook function for all future operations.
func AddCurrentChartDataHourlyHook ¶
func AddCurrentChartDataHourlyHook(hookPoint boil.HookPoint, currentChartDataHourlyHook CurrentChartDataHourlyHook)
AddCurrentChartDataHourlyHook registers your hook function for all future operations.
func AddCurrentChartDataMinutelyHook ¶
func AddCurrentChartDataMinutelyHook(hookPoint boil.HookPoint, currentChartDataMinutelyHook CurrentChartDataMinutelyHook)
AddCurrentChartDataMinutelyHook registers your hook function for all future operations.
func AddHistoryChartDatumHook ¶
func AddHistoryChartDatumHook(hookPoint boil.HookPoint, historyChartDatumHook HistoryChartDatumHook)
AddHistoryChartDatumHook registers your hook function for all future operations.
func Currencies ¶
Currencies retrieves all the records using an executor.
func CurrencyExists ¶
CurrencyExists checks if the Currency row exists.
func CurrentChartDataHourlies ¶
CurrentChartDataHourlies retrieves all the records using an executor.
func CurrentChartDataHourlyExists ¶
CurrentChartDataHourlyExists checks if the CurrentChartDataHourly row exists.
func CurrentChartDataMinutelies ¶
CurrentChartDataMinutelies retrieves all the records using an executor.
func CurrentChartDataMinutelyExists ¶
CurrentChartDataMinutelyExists checks if the CurrentChartDataMinutely row exists.
func HistoryChartData ¶
HistoryChartData retrieves all the records using an executor.
func HistoryChartDatumExists ¶
HistoryChartDatumExists checks if the HistoryChartDatum row exists.
Types ¶
type Currency ¶
type Currency struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` CurrencyCode string `boil:"currency_code" json:"currency_code" toml:"currency_code" yaml:"currency_code"` CurrencyName string `boil:"currency_name" json:"currency_name" toml:"currency_name" yaml:"currency_name"` CurrencyIssuer string `boil:"currency_issuer" json:"currency_issuer" toml:"currency_issuer" yaml:"currency_issuer"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` UpdatedBy string `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"` R *currencyR `boil:"-" json:"-" toml:"-" yaml:"-"` L currencyL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Currency is an object representing the database table.
func FindCurrency ¶
FindCurrency retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Currency) AddDestinationCurrencyCurrentChartDataHourlies ¶
func (o *Currency) AddDestinationCurrencyCurrentChartDataHourlies(exec boil.Executor, insert bool, related ...*CurrentChartDataHourly) error
AddDestinationCurrencyCurrentChartDataHourlies adds the given related objects to the existing relationships of the currency, optionally inserting them as new records. Appends related to o.R.DestinationCurrencyCurrentChartDataHourlies. Sets related.R.DestinationCurrency appropriately.
func (*Currency) AddDestinationCurrencyCurrentChartDataMinutelies ¶
func (o *Currency) AddDestinationCurrencyCurrentChartDataMinutelies(exec boil.Executor, insert bool, related ...*CurrentChartDataMinutely) error
AddDestinationCurrencyCurrentChartDataMinutelies adds the given related objects to the existing relationships of the currency, optionally inserting them as new records. Appends related to o.R.DestinationCurrencyCurrentChartDataMinutelies. Sets related.R.DestinationCurrency appropriately.
func (*Currency) AddDestinationCurrencyHistoryChartData ¶
func (o *Currency) AddDestinationCurrencyHistoryChartData(exec boil.Executor, insert bool, related ...*HistoryChartDatum) error
AddDestinationCurrencyHistoryChartData adds the given related objects to the existing relationships of the currency, optionally inserting them as new records. Appends related to o.R.DestinationCurrencyHistoryChartData. Sets related.R.DestinationCurrency appropriately.
func (*Currency) AddSourceCurrencyCurrentChartDataHourlies ¶
func (o *Currency) AddSourceCurrencyCurrentChartDataHourlies(exec boil.Executor, insert bool, related ...*CurrentChartDataHourly) error
AddSourceCurrencyCurrentChartDataHourlies adds the given related objects to the existing relationships of the currency, optionally inserting them as new records. Appends related to o.R.SourceCurrencyCurrentChartDataHourlies. Sets related.R.SourceCurrency appropriately.
func (*Currency) AddSourceCurrencyCurrentChartDataMinutelies ¶
func (o *Currency) AddSourceCurrencyCurrentChartDataMinutelies(exec boil.Executor, insert bool, related ...*CurrentChartDataMinutely) error
AddSourceCurrencyCurrentChartDataMinutelies adds the given related objects to the existing relationships of the currency, optionally inserting them as new records. Appends related to o.R.SourceCurrencyCurrentChartDataMinutelies. Sets related.R.SourceCurrency appropriately.
func (*Currency) AddSourceCurrencyHistoryChartData ¶
func (o *Currency) AddSourceCurrencyHistoryChartData(exec boil.Executor, insert bool, related ...*HistoryChartDatum) error
AddSourceCurrencyHistoryChartData adds the given related objects to the existing relationships of the currency, optionally inserting them as new records. Appends related to o.R.SourceCurrencyHistoryChartData. Sets related.R.SourceCurrency appropriately.
func (*Currency) Delete ¶
Delete deletes a single Currency record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Currency) DestinationCurrencyCurrentChartDataHourlies ¶
func (o *Currency) DestinationCurrencyCurrentChartDataHourlies(mods ...qm.QueryMod) currentChartDataHourlyQuery
DestinationCurrencyCurrentChartDataHourlies retrieves all the current_chart_data_hourly's CurrentChartDataHourlies with an executor via destination_currency_id column.
func (*Currency) DestinationCurrencyCurrentChartDataMinutelies ¶
func (o *Currency) DestinationCurrencyCurrentChartDataMinutelies(mods ...qm.QueryMod) currentChartDataMinutelyQuery
DestinationCurrencyCurrentChartDataMinutelies retrieves all the current_chart_data_minutely's CurrentChartDataMinutelies with an executor via destination_currency_id column.
func (*Currency) DestinationCurrencyHistoryChartData ¶
DestinationCurrencyHistoryChartData retrieves all the history_chart_datum's HistoryChartData with an executor via destination_currency_id column.
func (*Currency) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Currency) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Currency) SourceCurrencyCurrentChartDataHourlies ¶
func (o *Currency) SourceCurrencyCurrentChartDataHourlies(mods ...qm.QueryMod) currentChartDataHourlyQuery
SourceCurrencyCurrentChartDataHourlies retrieves all the current_chart_data_hourly's CurrentChartDataHourlies with an executor via source_currency_id column.
func (*Currency) SourceCurrencyCurrentChartDataMinutelies ¶
func (o *Currency) SourceCurrencyCurrentChartDataMinutelies(mods ...qm.QueryMod) currentChartDataMinutelyQuery
SourceCurrencyCurrentChartDataMinutelies retrieves all the current_chart_data_minutely's CurrentChartDataMinutelies with an executor via source_currency_id column.
func (*Currency) SourceCurrencyHistoryChartData ¶
SourceCurrencyHistoryChartData retrieves all the history_chart_datum's HistoryChartData with an executor via source_currency_id column.
func (*Currency) Update ¶
Update uses an executor to update the Currency. 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 (*Currency) Upsert ¶
func (o *Currency) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type CurrencyHook ¶
CurrencyHook is the signature for custom Currency hook methods
type CurrencySlice ¶
type CurrencySlice []*Currency
CurrencySlice is an alias for a slice of pointers to Currency. This should generally be used opposed to []Currency.
func (CurrencySlice) DeleteAll ¶
func (o CurrencySlice) DeleteAll(exec boil.Executor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
type CurrentChartDataHourly ¶
type CurrentChartDataHourly struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` ExchangeRateTime time.Time `boil:"exchange_rate_time" json:"exchange_rate_time" toml:"exchange_rate_time" yaml:"exchange_rate_time"` SourceCurrencyID int `boil:"source_currency_id" json:"source_currency_id" toml:"source_currency_id" yaml:"source_currency_id"` DestinationCurrencyID int `boil:"destination_currency_id" json:"destination_currency_id" toml:"destination_currency_id" yaml:"destination_currency_id"` ExchangeRate float64 `boil:"exchange_rate" json:"exchange_rate" toml:"exchange_rate" yaml:"exchange_rate"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` UpdatedBy string `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"` R *currentChartDataHourlyR `boil:"-" json:"-" toml:"-" yaml:"-"` L currentChartDataHourlyL `boil:"-" json:"-" toml:"-" yaml:"-"` }
CurrentChartDataHourly is an object representing the database table.
func FindCurrentChartDataHourly ¶
func FindCurrentChartDataHourly(exec boil.Executor, iD int, selectCols ...string) (*CurrentChartDataHourly, error)
FindCurrentChartDataHourly retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*CurrentChartDataHourly) Delete ¶
func (o *CurrentChartDataHourly) Delete(exec boil.Executor) (int64, error)
Delete deletes a single CurrentChartDataHourly record with an executor. Delete will match against the primary key column to find the record to delete.
func (*CurrentChartDataHourly) DestinationCurrency ¶
func (o *CurrentChartDataHourly) DestinationCurrency(mods ...qm.QueryMod) currencyQuery
DestinationCurrency pointed to by the foreign key.
func (*CurrentChartDataHourly) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*CurrentChartDataHourly) Reload ¶
func (o *CurrentChartDataHourly) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*CurrentChartDataHourly) SetDestinationCurrency ¶
func (o *CurrentChartDataHourly) SetDestinationCurrency(exec boil.Executor, insert bool, related *Currency) error
SetDestinationCurrency of the currentChartDataHourly to the related item. Sets o.R.DestinationCurrency to related. Adds o to related.R.DestinationCurrencyCurrentChartDataHourlies.
func (*CurrentChartDataHourly) SetSourceCurrency ¶
func (o *CurrentChartDataHourly) SetSourceCurrency(exec boil.Executor, insert bool, related *Currency) error
SetSourceCurrency of the currentChartDataHourly to the related item. Sets o.R.SourceCurrency to related. Adds o to related.R.SourceCurrencyCurrentChartDataHourlies.
func (*CurrentChartDataHourly) SourceCurrency ¶
func (o *CurrentChartDataHourly) SourceCurrency(mods ...qm.QueryMod) currencyQuery
SourceCurrency pointed to by the foreign key.
func (*CurrentChartDataHourly) Update ¶
Update uses an executor to update the CurrentChartDataHourly. 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 (*CurrentChartDataHourly) Upsert ¶
func (o *CurrentChartDataHourly) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type CurrentChartDataHourlyHook ¶
type CurrentChartDataHourlyHook func(boil.Executor, *CurrentChartDataHourly) error
CurrentChartDataHourlyHook is the signature for custom CurrentChartDataHourly hook methods
type CurrentChartDataHourlySlice ¶
type CurrentChartDataHourlySlice []*CurrentChartDataHourly
CurrentChartDataHourlySlice is an alias for a slice of pointers to CurrentChartDataHourly. This should generally be used opposed to []CurrentChartDataHourly.
func (CurrentChartDataHourlySlice) DeleteAll ¶
func (o CurrentChartDataHourlySlice) DeleteAll(exec boil.Executor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
type CurrentChartDataMinutely ¶
type CurrentChartDataMinutely struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` ExchangeRateTime time.Time `boil:"exchange_rate_time" json:"exchange_rate_time" toml:"exchange_rate_time" yaml:"exchange_rate_time"` SourceCurrencyID int `boil:"source_currency_id" json:"source_currency_id" toml:"source_currency_id" yaml:"source_currency_id"` DestinationCurrencyID int `boil:"destination_currency_id" json:"destination_currency_id" toml:"destination_currency_id" yaml:"destination_currency_id"` ExchangeRate float64 `boil:"exchange_rate" json:"exchange_rate" toml:"exchange_rate" yaml:"exchange_rate"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` UpdatedBy string `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"` R *currentChartDataMinutelyR `boil:"-" json:"-" toml:"-" yaml:"-"` L currentChartDataMinutelyL `boil:"-" json:"-" toml:"-" yaml:"-"` }
CurrentChartDataMinutely is an object representing the database table.
func FindCurrentChartDataMinutely ¶
func FindCurrentChartDataMinutely(exec boil.Executor, iD int, selectCols ...string) (*CurrentChartDataMinutely, error)
FindCurrentChartDataMinutely retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*CurrentChartDataMinutely) Delete ¶
func (o *CurrentChartDataMinutely) Delete(exec boil.Executor) (int64, error)
Delete deletes a single CurrentChartDataMinutely record with an executor. Delete will match against the primary key column to find the record to delete.
func (*CurrentChartDataMinutely) DestinationCurrency ¶
func (o *CurrentChartDataMinutely) DestinationCurrency(mods ...qm.QueryMod) currencyQuery
DestinationCurrency pointed to by the foreign key.
func (*CurrentChartDataMinutely) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*CurrentChartDataMinutely) Reload ¶
func (o *CurrentChartDataMinutely) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*CurrentChartDataMinutely) SetDestinationCurrency ¶
func (o *CurrentChartDataMinutely) SetDestinationCurrency(exec boil.Executor, insert bool, related *Currency) error
SetDestinationCurrency of the currentChartDataMinutely to the related item. Sets o.R.DestinationCurrency to related. Adds o to related.R.DestinationCurrencyCurrentChartDataMinutelies.
func (*CurrentChartDataMinutely) SetSourceCurrency ¶
func (o *CurrentChartDataMinutely) SetSourceCurrency(exec boil.Executor, insert bool, related *Currency) error
SetSourceCurrency of the currentChartDataMinutely to the related item. Sets o.R.SourceCurrency to related. Adds o to related.R.SourceCurrencyCurrentChartDataMinutelies.
func (*CurrentChartDataMinutely) SourceCurrency ¶
func (o *CurrentChartDataMinutely) SourceCurrency(mods ...qm.QueryMod) currencyQuery
SourceCurrency pointed to by the foreign key.
func (*CurrentChartDataMinutely) Update ¶
Update uses an executor to update the CurrentChartDataMinutely. 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 (*CurrentChartDataMinutely) Upsert ¶
func (o *CurrentChartDataMinutely) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type CurrentChartDataMinutelyHook ¶
type CurrentChartDataMinutelyHook func(boil.Executor, *CurrentChartDataMinutely) error
CurrentChartDataMinutelyHook is the signature for custom CurrentChartDataMinutely hook methods
type CurrentChartDataMinutelySlice ¶
type CurrentChartDataMinutelySlice []*CurrentChartDataMinutely
CurrentChartDataMinutelySlice is an alias for a slice of pointers to CurrentChartDataMinutely. This should generally be used opposed to []CurrentChartDataMinutely.
func (CurrentChartDataMinutelySlice) DeleteAll ¶
func (o CurrentChartDataMinutelySlice) DeleteAll(exec boil.Executor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
type HistoryChartDatum ¶
type HistoryChartDatum struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` ExchangeRateDate time.Time `boil:"exchange_rate_date" json:"exchange_rate_date" toml:"exchange_rate_date" yaml:"exchange_rate_date"` SourceCurrencyID int `boil:"source_currency_id" json:"source_currency_id" toml:"source_currency_id" yaml:"source_currency_id"` DestinationCurrencyID int `boil:"destination_currency_id" json:"destination_currency_id" toml:"destination_currency_id" yaml:"destination_currency_id"` ExchangeRate float64 `boil:"exchange_rate" json:"exchange_rate" toml:"exchange_rate" yaml:"exchange_rate"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` UpdatedAt time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"` UpdatedBy string `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"` R *historyChartDatumR `boil:"-" json:"-" toml:"-" yaml:"-"` L historyChartDatumL `boil:"-" json:"-" toml:"-" yaml:"-"` }
HistoryChartDatum is an object representing the database table.
func FindHistoryChartDatum ¶
func FindHistoryChartDatum(exec boil.Executor, iD int, selectCols ...string) (*HistoryChartDatum, error)
FindHistoryChartDatum retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*HistoryChartDatum) Delete ¶
func (o *HistoryChartDatum) Delete(exec boil.Executor) (int64, error)
Delete deletes a single HistoryChartDatum record with an executor. Delete will match against the primary key column to find the record to delete.
func (*HistoryChartDatum) DestinationCurrency ¶
func (o *HistoryChartDatum) DestinationCurrency(mods ...qm.QueryMod) currencyQuery
DestinationCurrency pointed to by the foreign key.
func (*HistoryChartDatum) Insert ¶
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*HistoryChartDatum) Reload ¶
func (o *HistoryChartDatum) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*HistoryChartDatum) SetDestinationCurrency ¶
func (o *HistoryChartDatum) SetDestinationCurrency(exec boil.Executor, insert bool, related *Currency) error
SetDestinationCurrency of the historyChartDatum to the related item. Sets o.R.DestinationCurrency to related. Adds o to related.R.DestinationCurrencyHistoryChartData.
func (*HistoryChartDatum) SetSourceCurrency ¶
func (o *HistoryChartDatum) SetSourceCurrency(exec boil.Executor, insert bool, related *Currency) error
SetSourceCurrency of the historyChartDatum to the related item. Sets o.R.SourceCurrency to related. Adds o to related.R.SourceCurrencyHistoryChartData.
func (*HistoryChartDatum) SourceCurrency ¶
func (o *HistoryChartDatum) SourceCurrency(mods ...qm.QueryMod) currencyQuery
SourceCurrency pointed to by the foreign key.
func (*HistoryChartDatum) Update ¶
Update uses an executor to update the HistoryChartDatum. 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 (*HistoryChartDatum) Upsert ¶
func (o *HistoryChartDatum) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type HistoryChartDatumHook ¶
type HistoryChartDatumHook func(boil.Executor, *HistoryChartDatum) error
HistoryChartDatumHook is the signature for custom HistoryChartDatum hook methods
type HistoryChartDatumSlice ¶
type HistoryChartDatumSlice []*HistoryChartDatum
HistoryChartDatumSlice is an alias for a slice of pointers to HistoryChartDatum. This should generally be used opposed to []HistoryChartDatum.
func (HistoryChartDatumSlice) DeleteAll ¶
func (o HistoryChartDatumSlice) DeleteAll(exec boil.Executor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.