Documentation
¶
Index ¶
- Variables
- func AddEquityHook(hookPoint boil.HookPoint, equityHook EquityHook)
- func AddInstitutionHook(hookPoint boil.HookPoint, institutionHook InstitutionHook)
- func AddInstitutionRoleHook(hookPoint boil.HookPoint, institutionRoleHook InstitutionRoleHook)
- func AddInstrumentClassHook(hookPoint boil.HookPoint, instrumentClassHook InstrumentClassHook)
- func AddInstrumentHook(hookPoint boil.HookPoint, instrumentHook InstrumentHook)
- func AddInstrumentJSONHook(hookPoint boil.HookPoint, instrumentJSONHook InstrumentJSONHook)
- func AddInstrumentSourceHook(hookPoint boil.HookPoint, instrumentSourceHook InstrumentSourceHook)
- func Equities(exec boil.Executor, mods ...qm.QueryMod) equityQuery
- func EquitiesG(mods ...qm.QueryMod) equityQuery
- func EquityExists(exec boil.Executor, instrumentID int) (bool, error)
- func EquityExistsG(instrumentID int) (bool, error)
- func EquityExistsGP(instrumentID int) bool
- func EquityExistsP(exec boil.Executor, instrumentID int) bool
- func InstitutionExists(exec boil.Executor, id int) (bool, error)
- func InstitutionExistsG(id int) (bool, error)
- func InstitutionExistsGP(id int) bool
- func InstitutionExistsP(exec boil.Executor, id int) bool
- func InstitutionRoleExists(exec boil.Executor, institutionID int, instrumentID int) (bool, error)
- func InstitutionRoleExistsG(institutionID int, instrumentID int) (bool, error)
- func InstitutionRoleExistsGP(institutionID int, instrumentID int) bool
- func InstitutionRoleExistsP(exec boil.Executor, institutionID int, instrumentID int) bool
- func InstitutionRoles(exec boil.Executor, mods ...qm.QueryMod) institutionRoleQuery
- func InstitutionRolesG(mods ...qm.QueryMod) institutionRoleQuery
- func Institutions(exec boil.Executor, mods ...qm.QueryMod) institutionQuery
- func InstitutionsG(mods ...qm.QueryMod) institutionQuery
- func InstrumentClassExists(exec boil.Executor, id int16) (bool, error)
- func InstrumentClassExistsG(id int16) (bool, error)
- func InstrumentClassExistsGP(id int16) bool
- func InstrumentClassExistsP(exec boil.Executor, id int16) bool
- func InstrumentClasses(exec boil.Executor, mods ...qm.QueryMod) instrumentClassQuery
- func InstrumentClassesG(mods ...qm.QueryMod) instrumentClassQuery
- func InstrumentExists(exec boil.Executor, id int) (bool, error)
- func InstrumentExistsG(id int) (bool, error)
- func InstrumentExistsGP(id int) bool
- func InstrumentExistsP(exec boil.Executor, id int) bool
- func InstrumentJSONExists(exec boil.Executor, id int) (bool, error)
- func InstrumentJSONExistsG(id int) (bool, error)
- func InstrumentJSONExistsGP(id int) bool
- func InstrumentJSONExistsP(exec boil.Executor, id int) bool
- func InstrumentJsons(exec boil.Executor, mods ...qm.QueryMod) instrumentJSONQuery
- func InstrumentJsonsG(mods ...qm.QueryMod) instrumentJSONQuery
- func InstrumentSourceExists(exec boil.Executor, id int16) (bool, error)
- func InstrumentSourceExistsG(id int16) (bool, error)
- func InstrumentSourceExistsGP(id int16) bool
- func InstrumentSourceExistsP(exec boil.Executor, id int16) bool
- func InstrumentSources(exec boil.Executor, mods ...qm.QueryMod) instrumentSourceQuery
- func InstrumentSourcesG(mods ...qm.QueryMod) instrumentSourceQuery
- func Instruments(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
- func InstrumentsG(mods ...qm.QueryMod) instrumentQuery
- func NewQuery(exec boil.Executor, mods ...qm.QueryMod) *queries.Query
- func NewQueryG(mods ...qm.QueryMod) *queries.Query
- type Equity
- func FindEquity(exec boil.Executor, instrumentID int, selectCols ...string) (*Equity, error)
- func FindEquityG(instrumentID int, selectCols ...string) (*Equity, error)
- func FindEquityGP(instrumentID int, selectCols ...string) *Equity
- func FindEquityP(exec boil.Executor, instrumentID int, selectCols ...string) *Equity
- func (o *Equity) CompanyCurrency(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
- func (o *Equity) CompanyCurrencyG(mods ...qm.QueryMod) instrumentQuery
- func (o *Equity) Delete(exec boil.Executor) error
- func (o *Equity) DeleteG() error
- func (o *Equity) DeleteGP()
- func (o *Equity) DeleteP(exec boil.Executor)
- func (o *Equity) ExerciseCurrency(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
- func (o *Equity) ExerciseCurrencyG(mods ...qm.QueryMod) instrumentQuery
- func (o *Equity) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Equity) InsertG(whitelist ...string) error
- func (o *Equity) InsertGP(whitelist ...string)
- func (o *Equity) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Equity) Instrument(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
- func (o *Equity) InstrumentG(mods ...qm.QueryMod) instrumentQuery
- func (o *Equity) PayCurrency(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
- func (o *Equity) PayCurrencyG(mods ...qm.QueryMod) instrumentQuery
- func (o *Equity) Reload(exec boil.Executor) error
- func (o *Equity) ReloadG() error
- func (o *Equity) ReloadGP()
- func (o *Equity) ReloadP(exec boil.Executor)
- func (o *Equity) RemoveCompanyCurrency(exec boil.Executor, related *Instrument) error
- func (o *Equity) RemoveCompanyCurrencyG(related *Instrument) error
- func (o *Equity) RemoveCompanyCurrencyGP(related *Instrument)
- func (o *Equity) RemoveCompanyCurrencyP(exec boil.Executor, related *Instrument)
- func (o *Equity) RemoveExerciseCurrency(exec boil.Executor, related *Instrument) error
- func (o *Equity) RemoveExerciseCurrencyG(related *Instrument) error
- func (o *Equity) RemoveExerciseCurrencyGP(related *Instrument)
- func (o *Equity) RemoveExerciseCurrencyP(exec boil.Executor, related *Instrument)
- func (o *Equity) RemovePayCurrency(exec boil.Executor, related *Instrument) error
- func (o *Equity) RemovePayCurrencyG(related *Instrument) error
- func (o *Equity) RemovePayCurrencyGP(related *Instrument)
- func (o *Equity) RemovePayCurrencyP(exec boil.Executor, related *Instrument)
- func (o *Equity) SetCompanyCurrency(exec boil.Executor, insert bool, related *Instrument) error
- func (o *Equity) SetCompanyCurrencyG(insert bool, related *Instrument) error
- func (o *Equity) SetCompanyCurrencyGP(insert bool, related *Instrument)
- func (o *Equity) SetCompanyCurrencyP(exec boil.Executor, insert bool, related *Instrument)
- func (o *Equity) SetExerciseCurrency(exec boil.Executor, insert bool, related *Instrument) error
- func (o *Equity) SetExerciseCurrencyG(insert bool, related *Instrument) error
- func (o *Equity) SetExerciseCurrencyGP(insert bool, related *Instrument)
- func (o *Equity) SetExerciseCurrencyP(exec boil.Executor, insert bool, related *Instrument)
- func (o *Equity) SetInstrument(exec boil.Executor, insert bool, related *Instrument) error
- func (o *Equity) SetInstrumentG(insert bool, related *Instrument) error
- func (o *Equity) SetInstrumentGP(insert bool, related *Instrument)
- func (o *Equity) SetInstrumentP(exec boil.Executor, insert bool, related *Instrument)
- func (o *Equity) SetPayCurrency(exec boil.Executor, insert bool, related *Instrument) error
- func (o *Equity) SetPayCurrencyG(insert bool, related *Instrument) error
- func (o *Equity) SetPayCurrencyGP(insert bool, related *Instrument)
- func (o *Equity) SetPayCurrencyP(exec boil.Executor, insert bool, related *Instrument)
- func (o *Equity) Update(exec boil.Executor, whitelist ...string) error
- func (o *Equity) UpdateG(whitelist ...string) error
- func (o *Equity) UpdateGP(whitelist ...string)
- func (o *Equity) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Equity) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *Equity) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *Equity) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *Equity) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type EquityHook
- type EquitySlice
- func (o EquitySlice) DeleteAll(exec boil.Executor) error
- func (o EquitySlice) DeleteAllG() error
- func (o EquitySlice) DeleteAllGP()
- func (o EquitySlice) DeleteAllP(exec boil.Executor)
- func (o *EquitySlice) ReloadAll(exec boil.Executor) error
- func (o *EquitySlice) ReloadAllG() error
- func (o *EquitySlice) ReloadAllGP()
- func (o *EquitySlice) ReloadAllP(exec boil.Executor)
- func (o EquitySlice) UpdateAll(exec boil.Executor, cols M) error
- func (o EquitySlice) UpdateAllG(cols M) error
- func (o EquitySlice) UpdateAllGP(cols M)
- func (o EquitySlice) UpdateAllP(exec boil.Executor, cols M)
- type Institution
- func FindInstitution(exec boil.Executor, id int, selectCols ...string) (*Institution, error)
- func FindInstitutionG(id int, selectCols ...string) (*Institution, error)
- func FindInstitutionGP(id int, selectCols ...string) *Institution
- func FindInstitutionP(exec boil.Executor, id int, selectCols ...string) *Institution
- func (o *Institution) AddInstitutionRoles(exec boil.Executor, insert bool, related ...*InstitutionRole) error
- func (o *Institution) AddInstitutionRolesG(insert bool, related ...*InstitutionRole) error
- func (o *Institution) AddInstitutionRolesGP(insert bool, related ...*InstitutionRole)
- func (o *Institution) AddInstitutionRolesP(exec boil.Executor, insert bool, related ...*InstitutionRole)
- func (o *Institution) Delete(exec boil.Executor) error
- func (o *Institution) DeleteG() error
- func (o *Institution) DeleteGP()
- func (o *Institution) DeleteP(exec boil.Executor)
- func (o *Institution) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Institution) InsertG(whitelist ...string) error
- func (o *Institution) InsertGP(whitelist ...string)
- func (o *Institution) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Institution) InstitutionRoles(exec boil.Executor, mods ...qm.QueryMod) institutionRoleQuery
- func (o *Institution) InstitutionRolesG(mods ...qm.QueryMod) institutionRoleQuery
- func (o *Institution) Reload(exec boil.Executor) error
- func (o *Institution) ReloadG() error
- func (o *Institution) ReloadGP()
- func (o *Institution) ReloadP(exec boil.Executor)
- func (o *Institution) Update(exec boil.Executor, whitelist ...string) error
- func (o *Institution) UpdateG(whitelist ...string) error
- func (o *Institution) UpdateGP(whitelist ...string)
- func (o *Institution) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Institution) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *Institution) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *Institution) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *Institution) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type InstitutionHook
- type InstitutionRole
- func FindInstitutionRole(exec boil.Executor, institutionID int, instrumentID int, selectCols ...string) (*InstitutionRole, error)
- func FindInstitutionRoleG(institutionID int, instrumentID int, selectCols ...string) (*InstitutionRole, error)
- func FindInstitutionRoleGP(institutionID int, instrumentID int, selectCols ...string) *InstitutionRole
- func FindInstitutionRoleP(exec boil.Executor, institutionID int, instrumentID int, selectCols ...string) *InstitutionRole
- func (o *InstitutionRole) Delete(exec boil.Executor) error
- func (o *InstitutionRole) DeleteG() error
- func (o *InstitutionRole) DeleteGP()
- func (o *InstitutionRole) DeleteP(exec boil.Executor)
- func (o *InstitutionRole) Insert(exec boil.Executor, whitelist ...string) error
- func (o *InstitutionRole) InsertG(whitelist ...string) error
- func (o *InstitutionRole) InsertGP(whitelist ...string)
- func (o *InstitutionRole) InsertP(exec boil.Executor, whitelist ...string)
- func (o *InstitutionRole) Institution(exec boil.Executor, mods ...qm.QueryMod) institutionQuery
- func (o *InstitutionRole) InstitutionG(mods ...qm.QueryMod) institutionQuery
- func (o *InstitutionRole) Instrument(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
- func (o *InstitutionRole) InstrumentG(mods ...qm.QueryMod) instrumentQuery
- func (o *InstitutionRole) Reload(exec boil.Executor) error
- func (o *InstitutionRole) ReloadG() error
- func (o *InstitutionRole) ReloadGP()
- func (o *InstitutionRole) ReloadP(exec boil.Executor)
- func (o *InstitutionRole) SetInstitution(exec boil.Executor, insert bool, related *Institution) error
- func (o *InstitutionRole) SetInstitutionG(insert bool, related *Institution) error
- func (o *InstitutionRole) SetInstitutionGP(insert bool, related *Institution)
- func (o *InstitutionRole) SetInstitutionP(exec boil.Executor, insert bool, related *Institution)
- func (o *InstitutionRole) SetInstrument(exec boil.Executor, insert bool, related *Instrument) error
- func (o *InstitutionRole) SetInstrumentG(insert bool, related *Instrument) error
- func (o *InstitutionRole) SetInstrumentGP(insert bool, related *Instrument)
- func (o *InstitutionRole) SetInstrumentP(exec boil.Executor, insert bool, related *Instrument)
- func (o *InstitutionRole) Update(exec boil.Executor, whitelist ...string) error
- func (o *InstitutionRole) UpdateG(whitelist ...string) error
- func (o *InstitutionRole) UpdateGP(whitelist ...string)
- func (o *InstitutionRole) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *InstitutionRole) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *InstitutionRole) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *InstitutionRole) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *InstitutionRole) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type InstitutionRoleHook
- type InstitutionRoleSlice
- func (o InstitutionRoleSlice) DeleteAll(exec boil.Executor) error
- func (o InstitutionRoleSlice) DeleteAllG() error
- func (o InstitutionRoleSlice) DeleteAllGP()
- func (o InstitutionRoleSlice) DeleteAllP(exec boil.Executor)
- func (o *InstitutionRoleSlice) ReloadAll(exec boil.Executor) error
- func (o *InstitutionRoleSlice) ReloadAllG() error
- func (o *InstitutionRoleSlice) ReloadAllGP()
- func (o *InstitutionRoleSlice) ReloadAllP(exec boil.Executor)
- func (o InstitutionRoleSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o InstitutionRoleSlice) UpdateAllG(cols M) error
- func (o InstitutionRoleSlice) UpdateAllGP(cols M)
- func (o InstitutionRoleSlice) UpdateAllP(exec boil.Executor, cols M)
- type InstitutionSlice
- func (o InstitutionSlice) DeleteAll(exec boil.Executor) error
- func (o InstitutionSlice) DeleteAllG() error
- func (o InstitutionSlice) DeleteAllGP()
- func (o InstitutionSlice) DeleteAllP(exec boil.Executor)
- func (o *InstitutionSlice) ReloadAll(exec boil.Executor) error
- func (o *InstitutionSlice) ReloadAllG() error
- func (o *InstitutionSlice) ReloadAllGP()
- func (o *InstitutionSlice) ReloadAllP(exec boil.Executor)
- func (o InstitutionSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o InstitutionSlice) UpdateAllG(cols M) error
- func (o InstitutionSlice) UpdateAllGP(cols M)
- func (o InstitutionSlice) UpdateAllP(exec boil.Executor, cols M)
- type Instrument
- func FindInstrument(exec boil.Executor, id int, selectCols ...string) (*Instrument, error)
- func FindInstrumentG(id int, selectCols ...string) (*Instrument, error)
- func FindInstrumentGP(id int, selectCols ...string) *Instrument
- func FindInstrumentP(exec boil.Executor, id int, selectCols ...string) *Instrument
- func (o *Instrument) AddCompanyCurrencyEquities(exec boil.Executor, insert bool, related ...*Equity) error
- func (o *Instrument) AddCompanyCurrencyEquitiesG(insert bool, related ...*Equity) error
- func (o *Instrument) AddCompanyCurrencyEquitiesGP(insert bool, related ...*Equity)
- func (o *Instrument) AddCompanyCurrencyEquitiesP(exec boil.Executor, insert bool, related ...*Equity)
- func (o *Instrument) AddCurrencyInstrumentJsons(exec boil.Executor, insert bool, related ...*InstrumentJSON) error
- func (o *Instrument) AddCurrencyInstrumentJsonsG(insert bool, related ...*InstrumentJSON) error
- func (o *Instrument) AddCurrencyInstrumentJsonsGP(insert bool, related ...*InstrumentJSON)
- func (o *Instrument) AddCurrencyInstrumentJsonsP(exec boil.Executor, insert bool, related ...*InstrumentJSON)
- func (o *Instrument) AddCurrencyInstruments(exec boil.Executor, insert bool, related ...*Instrument) error
- func (o *Instrument) AddCurrencyInstrumentsG(insert bool, related ...*Instrument) error
- func (o *Instrument) AddCurrencyInstrumentsGP(insert bool, related ...*Instrument)
- func (o *Instrument) AddCurrencyInstrumentsP(exec boil.Executor, insert bool, related ...*Instrument)
- func (o *Instrument) AddExerciseCurrencyEquities(exec boil.Executor, insert bool, related ...*Equity) error
- func (o *Instrument) AddExerciseCurrencyEquitiesG(insert bool, related ...*Equity) error
- func (o *Instrument) AddExerciseCurrencyEquitiesGP(insert bool, related ...*Equity)
- func (o *Instrument) AddExerciseCurrencyEquitiesP(exec boil.Executor, insert bool, related ...*Equity)
- func (o *Instrument) AddInstitutionRoles(exec boil.Executor, insert bool, related ...*InstitutionRole) error
- func (o *Instrument) AddInstitutionRolesG(insert bool, related ...*InstitutionRole) error
- func (o *Instrument) AddInstitutionRolesGP(insert bool, related ...*InstitutionRole)
- func (o *Instrument) AddInstitutionRolesP(exec boil.Executor, insert bool, related ...*InstitutionRole)
- func (o *Instrument) AddPayCurrencyEquities(exec boil.Executor, insert bool, related ...*Equity) error
- func (o *Instrument) AddPayCurrencyEquitiesG(insert bool, related ...*Equity) error
- func (o *Instrument) AddPayCurrencyEquitiesGP(insert bool, related ...*Equity)
- func (o *Instrument) AddPayCurrencyEquitiesP(exec boil.Executor, insert bool, related ...*Equity)
- func (o *Instrument) CompanyCurrencyEquities(exec boil.Executor, mods ...qm.QueryMod) equityQuery
- func (o *Instrument) CompanyCurrencyEquitiesG(mods ...qm.QueryMod) equityQuery
- func (o *Instrument) Currency(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
- func (o *Instrument) CurrencyG(mods ...qm.QueryMod) instrumentQuery
- func (o *Instrument) CurrencyInstrumentJsons(exec boil.Executor, mods ...qm.QueryMod) instrumentJSONQuery
- func (o *Instrument) CurrencyInstrumentJsonsG(mods ...qm.QueryMod) instrumentJSONQuery
- func (o *Instrument) CurrencyInstruments(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
- func (o *Instrument) CurrencyInstrumentsG(mods ...qm.QueryMod) instrumentQuery
- func (o *Instrument) Delete(exec boil.Executor) error
- func (o *Instrument) DeleteG() error
- func (o *Instrument) DeleteGP()
- func (o *Instrument) DeleteP(exec boil.Executor)
- func (o *Instrument) Equity(exec boil.Executor, mods ...qm.QueryMod) equityQuery
- func (o *Instrument) EquityG(mods ...qm.QueryMod) equityQuery
- func (o *Instrument) ExerciseCurrencyEquities(exec boil.Executor, mods ...qm.QueryMod) equityQuery
- func (o *Instrument) ExerciseCurrencyEquitiesG(mods ...qm.QueryMod) equityQuery
- func (o *Instrument) Insert(exec boil.Executor, whitelist ...string) error
- func (o *Instrument) InsertG(whitelist ...string) error
- func (o *Instrument) InsertGP(whitelist ...string)
- func (o *Instrument) InsertP(exec boil.Executor, whitelist ...string)
- func (o *Instrument) InstitutionRoles(exec boil.Executor, mods ...qm.QueryMod) institutionRoleQuery
- func (o *Instrument) InstitutionRolesG(mods ...qm.QueryMod) institutionRoleQuery
- func (o *Instrument) InstrumentClass(exec boil.Executor, mods ...qm.QueryMod) instrumentClassQuery
- func (o *Instrument) InstrumentClassG(mods ...qm.QueryMod) instrumentClassQuery
- func (o *Instrument) InstrumentSource(exec boil.Executor, mods ...qm.QueryMod) instrumentSourceQuery
- func (o *Instrument) InstrumentSourceG(mods ...qm.QueryMod) instrumentSourceQuery
- func (o *Instrument) PayCurrencyEquities(exec boil.Executor, mods ...qm.QueryMod) equityQuery
- func (o *Instrument) PayCurrencyEquitiesG(mods ...qm.QueryMod) equityQuery
- func (o *Instrument) Reload(exec boil.Executor) error
- func (o *Instrument) ReloadG() error
- func (o *Instrument) ReloadGP()
- func (o *Instrument) ReloadP(exec boil.Executor)
- func (o *Instrument) RemoveCompanyCurrencyEquities(exec boil.Executor, related ...*Equity) error
- func (o *Instrument) RemoveCompanyCurrencyEquitiesG(related ...*Equity) error
- func (o *Instrument) RemoveCompanyCurrencyEquitiesGP(related ...*Equity)
- func (o *Instrument) RemoveCompanyCurrencyEquitiesP(exec boil.Executor, related ...*Equity)
- func (o *Instrument) RemoveCurrency(exec boil.Executor, related *Instrument) error
- func (o *Instrument) RemoveCurrencyG(related *Instrument) error
- func (o *Instrument) RemoveCurrencyGP(related *Instrument)
- func (o *Instrument) RemoveCurrencyInstrumentJsons(exec boil.Executor, related ...*InstrumentJSON) error
- func (o *Instrument) RemoveCurrencyInstrumentJsonsG(related ...*InstrumentJSON) error
- func (o *Instrument) RemoveCurrencyInstrumentJsonsGP(related ...*InstrumentJSON)
- func (o *Instrument) RemoveCurrencyInstrumentJsonsP(exec boil.Executor, related ...*InstrumentJSON)
- func (o *Instrument) RemoveCurrencyInstruments(exec boil.Executor, related ...*Instrument) error
- func (o *Instrument) RemoveCurrencyInstrumentsG(related ...*Instrument) error
- func (o *Instrument) RemoveCurrencyInstrumentsGP(related ...*Instrument)
- func (o *Instrument) RemoveCurrencyInstrumentsP(exec boil.Executor, related ...*Instrument)
- func (o *Instrument) RemoveCurrencyP(exec boil.Executor, related *Instrument)
- func (o *Instrument) RemoveExerciseCurrencyEquities(exec boil.Executor, related ...*Equity) error
- func (o *Instrument) RemoveExerciseCurrencyEquitiesG(related ...*Equity) error
- func (o *Instrument) RemoveExerciseCurrencyEquitiesGP(related ...*Equity)
- func (o *Instrument) RemoveExerciseCurrencyEquitiesP(exec boil.Executor, related ...*Equity)
- func (o *Instrument) RemovePayCurrencyEquities(exec boil.Executor, related ...*Equity) error
- func (o *Instrument) RemovePayCurrencyEquitiesG(related ...*Equity) error
- func (o *Instrument) RemovePayCurrencyEquitiesGP(related ...*Equity)
- func (o *Instrument) RemovePayCurrencyEquitiesP(exec boil.Executor, related ...*Equity)
- func (o *Instrument) SetCompanyCurrencyEquities(exec boil.Executor, insert bool, related ...*Equity) error
- func (o *Instrument) SetCompanyCurrencyEquitiesG(insert bool, related ...*Equity) error
- func (o *Instrument) SetCompanyCurrencyEquitiesGP(insert bool, related ...*Equity)
- func (o *Instrument) SetCompanyCurrencyEquitiesP(exec boil.Executor, insert bool, related ...*Equity)
- func (o *Instrument) SetCurrency(exec boil.Executor, insert bool, related *Instrument) error
- func (o *Instrument) SetCurrencyG(insert bool, related *Instrument) error
- func (o *Instrument) SetCurrencyGP(insert bool, related *Instrument)
- func (o *Instrument) SetCurrencyInstrumentJsons(exec boil.Executor, insert bool, related ...*InstrumentJSON) error
- func (o *Instrument) SetCurrencyInstrumentJsonsG(insert bool, related ...*InstrumentJSON) error
- func (o *Instrument) SetCurrencyInstrumentJsonsGP(insert bool, related ...*InstrumentJSON)
- func (o *Instrument) SetCurrencyInstrumentJsonsP(exec boil.Executor, insert bool, related ...*InstrumentJSON)
- func (o *Instrument) SetCurrencyInstruments(exec boil.Executor, insert bool, related ...*Instrument) error
- func (o *Instrument) SetCurrencyInstrumentsG(insert bool, related ...*Instrument) error
- func (o *Instrument) SetCurrencyInstrumentsGP(insert bool, related ...*Instrument)
- func (o *Instrument) SetCurrencyInstrumentsP(exec boil.Executor, insert bool, related ...*Instrument)
- func (o *Instrument) SetCurrencyP(exec boil.Executor, insert bool, related *Instrument)
- func (o *Instrument) SetEquity(exec boil.Executor, insert bool, related *Equity) error
- func (o *Instrument) SetEquityG(insert bool, related *Equity) error
- func (o *Instrument) SetEquityGP(insert bool, related *Equity)
- func (o *Instrument) SetEquityP(exec boil.Executor, insert bool, related *Equity)
- func (o *Instrument) SetExerciseCurrencyEquities(exec boil.Executor, insert bool, related ...*Equity) error
- func (o *Instrument) SetExerciseCurrencyEquitiesG(insert bool, related ...*Equity) error
- func (o *Instrument) SetExerciseCurrencyEquitiesGP(insert bool, related ...*Equity)
- func (o *Instrument) SetExerciseCurrencyEquitiesP(exec boil.Executor, insert bool, related ...*Equity)
- func (o *Instrument) SetInstrumentClass(exec boil.Executor, insert bool, related *InstrumentClass) error
- func (o *Instrument) SetInstrumentClassG(insert bool, related *InstrumentClass) error
- func (o *Instrument) SetInstrumentClassGP(insert bool, related *InstrumentClass)
- func (o *Instrument) SetInstrumentClassP(exec boil.Executor, insert bool, related *InstrumentClass)
- func (o *Instrument) SetInstrumentSource(exec boil.Executor, insert bool, related *InstrumentSource) error
- func (o *Instrument) SetInstrumentSourceG(insert bool, related *InstrumentSource) error
- func (o *Instrument) SetInstrumentSourceGP(insert bool, related *InstrumentSource)
- func (o *Instrument) SetInstrumentSourceP(exec boil.Executor, insert bool, related *InstrumentSource)
- func (o *Instrument) SetPayCurrencyEquities(exec boil.Executor, insert bool, related ...*Equity) error
- func (o *Instrument) SetPayCurrencyEquitiesG(insert bool, related ...*Equity) error
- func (o *Instrument) SetPayCurrencyEquitiesGP(insert bool, related ...*Equity)
- func (o *Instrument) SetPayCurrencyEquitiesP(exec boil.Executor, insert bool, related ...*Equity)
- func (o *Instrument) Update(exec boil.Executor, whitelist ...string) error
- func (o *Instrument) UpdateG(whitelist ...string) error
- func (o *Instrument) UpdateGP(whitelist ...string)
- func (o *Instrument) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *Instrument) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *Instrument) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *Instrument) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *Instrument) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type InstrumentClass
- func FindInstrumentClass(exec boil.Executor, id int16, selectCols ...string) (*InstrumentClass, error)
- func FindInstrumentClassG(id int16, selectCols ...string) (*InstrumentClass, error)
- func FindInstrumentClassGP(id int16, selectCols ...string) *InstrumentClass
- func FindInstrumentClassP(exec boil.Executor, id int16, selectCols ...string) *InstrumentClass
- func (o *InstrumentClass) AddInstruments(exec boil.Executor, insert bool, related ...*Instrument) error
- func (o *InstrumentClass) AddInstrumentsG(insert bool, related ...*Instrument) error
- func (o *InstrumentClass) AddInstrumentsGP(insert bool, related ...*Instrument)
- func (o *InstrumentClass) AddInstrumentsP(exec boil.Executor, insert bool, related ...*Instrument)
- func (o *InstrumentClass) Delete(exec boil.Executor) error
- func (o *InstrumentClass) DeleteG() error
- func (o *InstrumentClass) DeleteGP()
- func (o *InstrumentClass) DeleteP(exec boil.Executor)
- func (o *InstrumentClass) Insert(exec boil.Executor, whitelist ...string) error
- func (o *InstrumentClass) InsertG(whitelist ...string) error
- func (o *InstrumentClass) InsertGP(whitelist ...string)
- func (o *InstrumentClass) InsertP(exec boil.Executor, whitelist ...string)
- func (o *InstrumentClass) Instruments(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
- func (o *InstrumentClass) InstrumentsG(mods ...qm.QueryMod) instrumentQuery
- func (o *InstrumentClass) Reload(exec boil.Executor) error
- func (o *InstrumentClass) ReloadG() error
- func (o *InstrumentClass) ReloadGP()
- func (o *InstrumentClass) ReloadP(exec boil.Executor)
- func (o *InstrumentClass) Update(exec boil.Executor, whitelist ...string) error
- func (o *InstrumentClass) UpdateG(whitelist ...string) error
- func (o *InstrumentClass) UpdateGP(whitelist ...string)
- func (o *InstrumentClass) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *InstrumentClass) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *InstrumentClass) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *InstrumentClass) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *InstrumentClass) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type InstrumentClassHook
- type InstrumentClassSlice
- func (o InstrumentClassSlice) DeleteAll(exec boil.Executor) error
- func (o InstrumentClassSlice) DeleteAllG() error
- func (o InstrumentClassSlice) DeleteAllGP()
- func (o InstrumentClassSlice) DeleteAllP(exec boil.Executor)
- func (o *InstrumentClassSlice) ReloadAll(exec boil.Executor) error
- func (o *InstrumentClassSlice) ReloadAllG() error
- func (o *InstrumentClassSlice) ReloadAllGP()
- func (o *InstrumentClassSlice) ReloadAllP(exec boil.Executor)
- func (o InstrumentClassSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o InstrumentClassSlice) UpdateAllG(cols M) error
- func (o InstrumentClassSlice) UpdateAllGP(cols M)
- func (o InstrumentClassSlice) UpdateAllP(exec boil.Executor, cols M)
- type InstrumentHook
- type InstrumentJSON
- func FindInstrumentJSON(exec boil.Executor, id int, selectCols ...string) (*InstrumentJSON, error)
- func FindInstrumentJSONG(id int, selectCols ...string) (*InstrumentJSON, error)
- func FindInstrumentJSONGP(id int, selectCols ...string) *InstrumentJSON
- func FindInstrumentJSONP(exec boil.Executor, id int, selectCols ...string) *InstrumentJSON
- func (o *InstrumentJSON) Currency(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
- func (o *InstrumentJSON) CurrencyG(mods ...qm.QueryMod) instrumentQuery
- func (o *InstrumentJSON) Delete(exec boil.Executor) error
- func (o *InstrumentJSON) DeleteG() error
- func (o *InstrumentJSON) DeleteGP()
- func (o *InstrumentJSON) DeleteP(exec boil.Executor)
- func (o *InstrumentJSON) Insert(exec boil.Executor, whitelist ...string) error
- func (o *InstrumentJSON) InsertG(whitelist ...string) error
- func (o *InstrumentJSON) InsertGP(whitelist ...string)
- func (o *InstrumentJSON) InsertP(exec boil.Executor, whitelist ...string)
- func (o *InstrumentJSON) Reload(exec boil.Executor) error
- func (o *InstrumentJSON) ReloadG() error
- func (o *InstrumentJSON) ReloadGP()
- func (o *InstrumentJSON) ReloadP(exec boil.Executor)
- func (o *InstrumentJSON) RemoveCurrency(exec boil.Executor, related *Instrument) error
- func (o *InstrumentJSON) RemoveCurrencyG(related *Instrument) error
- func (o *InstrumentJSON) RemoveCurrencyGP(related *Instrument)
- func (o *InstrumentJSON) RemoveCurrencyP(exec boil.Executor, related *Instrument)
- func (o *InstrumentJSON) SetCurrency(exec boil.Executor, insert bool, related *Instrument) error
- func (o *InstrumentJSON) SetCurrencyG(insert bool, related *Instrument) error
- func (o *InstrumentJSON) SetCurrencyGP(insert bool, related *Instrument)
- func (o *InstrumentJSON) SetCurrencyP(exec boil.Executor, insert bool, related *Instrument)
- func (o *InstrumentJSON) Update(exec boil.Executor, whitelist ...string) error
- func (o *InstrumentJSON) UpdateG(whitelist ...string) error
- func (o *InstrumentJSON) UpdateGP(whitelist ...string)
- func (o *InstrumentJSON) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *InstrumentJSON) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *InstrumentJSON) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *InstrumentJSON) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *InstrumentJSON) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type InstrumentJSONHook
- type InstrumentJSONSlice
- func (o InstrumentJSONSlice) DeleteAll(exec boil.Executor) error
- func (o InstrumentJSONSlice) DeleteAllG() error
- func (o InstrumentJSONSlice) DeleteAllGP()
- func (o InstrumentJSONSlice) DeleteAllP(exec boil.Executor)
- func (o *InstrumentJSONSlice) ReloadAll(exec boil.Executor) error
- func (o *InstrumentJSONSlice) ReloadAllG() error
- func (o *InstrumentJSONSlice) ReloadAllGP()
- func (o *InstrumentJSONSlice) ReloadAllP(exec boil.Executor)
- func (o InstrumentJSONSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o InstrumentJSONSlice) UpdateAllG(cols M) error
- func (o InstrumentJSONSlice) UpdateAllGP(cols M)
- func (o InstrumentJSONSlice) UpdateAllP(exec boil.Executor, cols M)
- type InstrumentSlice
- func (o InstrumentSlice) DeleteAll(exec boil.Executor) error
- func (o InstrumentSlice) DeleteAllG() error
- func (o InstrumentSlice) DeleteAllGP()
- func (o InstrumentSlice) DeleteAllP(exec boil.Executor)
- func (o *InstrumentSlice) ReloadAll(exec boil.Executor) error
- func (o *InstrumentSlice) ReloadAllG() error
- func (o *InstrumentSlice) ReloadAllGP()
- func (o *InstrumentSlice) ReloadAllP(exec boil.Executor)
- func (o InstrumentSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o InstrumentSlice) UpdateAllG(cols M) error
- func (o InstrumentSlice) UpdateAllGP(cols M)
- func (o InstrumentSlice) UpdateAllP(exec boil.Executor, cols M)
- type InstrumentSource
- func FindInstrumentSource(exec boil.Executor, id int16, selectCols ...string) (*InstrumentSource, error)
- func FindInstrumentSourceG(id int16, selectCols ...string) (*InstrumentSource, error)
- func FindInstrumentSourceGP(id int16, selectCols ...string) *InstrumentSource
- func FindInstrumentSourceP(exec boil.Executor, id int16, selectCols ...string) *InstrumentSource
- func (o *InstrumentSource) AddInstruments(exec boil.Executor, insert bool, related ...*Instrument) error
- func (o *InstrumentSource) AddInstrumentsG(insert bool, related ...*Instrument) error
- func (o *InstrumentSource) AddInstrumentsGP(insert bool, related ...*Instrument)
- func (o *InstrumentSource) AddInstrumentsP(exec boil.Executor, insert bool, related ...*Instrument)
- func (o *InstrumentSource) Delete(exec boil.Executor) error
- func (o *InstrumentSource) DeleteG() error
- func (o *InstrumentSource) DeleteGP()
- func (o *InstrumentSource) DeleteP(exec boil.Executor)
- func (o *InstrumentSource) Insert(exec boil.Executor, whitelist ...string) error
- func (o *InstrumentSource) InsertG(whitelist ...string) error
- func (o *InstrumentSource) InsertGP(whitelist ...string)
- func (o *InstrumentSource) InsertP(exec boil.Executor, whitelist ...string)
- func (o *InstrumentSource) Instruments(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
- func (o *InstrumentSource) InstrumentsG(mods ...qm.QueryMod) instrumentQuery
- func (o *InstrumentSource) Reload(exec boil.Executor) error
- func (o *InstrumentSource) ReloadG() error
- func (o *InstrumentSource) ReloadGP()
- func (o *InstrumentSource) ReloadP(exec boil.Executor)
- func (o *InstrumentSource) Update(exec boil.Executor, whitelist ...string) error
- func (o *InstrumentSource) UpdateG(whitelist ...string) error
- func (o *InstrumentSource) UpdateGP(whitelist ...string)
- func (o *InstrumentSource) UpdateP(exec boil.Executor, whitelist ...string)
- func (o *InstrumentSource) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...) error
- func (o *InstrumentSource) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...) error
- func (o *InstrumentSource) UpsertGP(updateOnConflict bool, conflictColumns []string, updateColumns []string, ...)
- func (o *InstrumentSource) UpsertP(exec boil.Executor, updateOnConflict bool, conflictColumns []string, ...)
- type InstrumentSourceHook
- type InstrumentSourceSlice
- func (o InstrumentSourceSlice) DeleteAll(exec boil.Executor) error
- func (o InstrumentSourceSlice) DeleteAllG() error
- func (o InstrumentSourceSlice) DeleteAllGP()
- func (o InstrumentSourceSlice) DeleteAllP(exec boil.Executor)
- func (o *InstrumentSourceSlice) ReloadAll(exec boil.Executor) error
- func (o *InstrumentSourceSlice) ReloadAllG() error
- func (o *InstrumentSourceSlice) ReloadAllGP()
- func (o *InstrumentSourceSlice) ReloadAllP(exec boil.Executor)
- func (o InstrumentSourceSlice) UpdateAll(exec boil.Executor, cols M) error
- func (o InstrumentSourceSlice) UpdateAllG(cols M) error
- func (o InstrumentSourceSlice) UpdateAllGP(cols M)
- func (o InstrumentSourceSlice) UpdateAllP(exec boil.Executor, cols M)
- type M
Constants ¶
This section is empty.
Variables ¶
var EquityColumns = struct { InstrumentID string PayCurrencyID string ExerciseCurrencyID string CompanyCurrencyID string FromDate string ThruDate string CreatedAt string CreatedBy string UpdatedAt string UpdatedBy string }{ InstrumentID: "instrument_id", PayCurrencyID: "pay_currency_id", ExerciseCurrencyID: "exercise_currency_id", CompanyCurrencyID: "company_currency_id", FromDate: "from_date", ThruDate: "thru_date", CreatedAt: "created_at", CreatedBy: "created_by", UpdatedAt: "updated_at", UpdatedBy: "updated_by", }
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 InstitutionColumns = struct { ID string Name string Description string Acronym string FromDate string ThruDate string CreatedAt string CreatedBy string UpdatedAt string UpdatedBy string }{ ID: "id", Name: "name", Description: "description", Acronym: "acronym", FromDate: "from_date", ThruDate: "thru_date", CreatedAt: "created_at", CreatedBy: "created_by", UpdatedAt: "updated_at", UpdatedBy: "updated_by", }
var InstitutionRoleColumns = struct { InstitutionID string InstrumentID string Description string FromDate string ThruDate string CreatedAt string CreatedBy string UpdatedAt string UpdatedBy string }{ InstitutionID: "institution_id", InstrumentID: "instrument_id", Description: "description", FromDate: "from_date", ThruDate: "thru_date", CreatedAt: "created_at", CreatedBy: "created_by", UpdatedAt: "updated_at", UpdatedBy: "updated_by", }
var InstrumentClassColumns = struct { ID string Name string }{ ID: "id", Name: "name", }
var InstrumentColumns = struct { ID string Symbol string Name string Description string InstrumentClassID string InstrumentSourceID string CurrencyID string FromDate string ThruDate string CreatedAt string UpdatedAt string CreatedBy string UpdatedBy string }{ ID: "id", Symbol: "symbol", Name: "name", Description: "description", InstrumentClassID: "instrument_class_id", InstrumentSourceID: "instrument_source_id", CurrencyID: "currency_id", FromDate: "from_date", ThruDate: "thru_date", CreatedAt: "created_at", UpdatedAt: "updated_at", CreatedBy: "created_by", UpdatedBy: "updated_by", }
var InstrumentJSONColumns = struct { ID string Name string Description string Datum string Audit string CurrencyID string FromDate string ThruDate string CreatedAt string UpdatedAt string CreatedBy string UpdatedBy string }{ ID: "id", Name: "name", Description: "description", Datum: "datum", Audit: "audit", CurrencyID: "currency_id", FromDate: "from_date", ThruDate: "thru_date", CreatedAt: "created_at", UpdatedAt: "updated_at", CreatedBy: "created_by", UpdatedBy: "updated_by", }
var InstrumentSourceColumns = struct { ID string Name string }{ ID: "id", Name: "name", }
var TableNames = struct { Equity string Institution string InstitutionRole string Instrument string InstrumentClass string InstrumentJSON string InstrumentSource string }{ Equity: "equity", Institution: "institution", InstitutionRole: "institution_role", Instrument: "instrument", InstrumentClass: "instrument_class", InstrumentJSON: "instrument_json", InstrumentSource: "instrument_source", }
Functions ¶
func AddEquityHook ¶
func AddEquityHook(hookPoint boil.HookPoint, equityHook EquityHook)
AddEquityHook registers your hook function for all future operations.
func AddInstitutionHook ¶
func AddInstitutionHook(hookPoint boil.HookPoint, institutionHook InstitutionHook)
AddInstitutionHook registers your hook function for all future operations.
func AddInstitutionRoleHook ¶
func AddInstitutionRoleHook(hookPoint boil.HookPoint, institutionRoleHook InstitutionRoleHook)
AddInstitutionRoleHook registers your hook function for all future operations.
func AddInstrumentClassHook ¶
func AddInstrumentClassHook(hookPoint boil.HookPoint, instrumentClassHook InstrumentClassHook)
AddInstrumentClassHook registers your hook function for all future operations.
func AddInstrumentHook ¶
func AddInstrumentHook(hookPoint boil.HookPoint, instrumentHook InstrumentHook)
AddInstrumentHook registers your hook function for all future operations.
func AddInstrumentJSONHook ¶
func AddInstrumentJSONHook(hookPoint boil.HookPoint, instrumentJSONHook InstrumentJSONHook)
AddInstrumentJSONHook registers your hook function for all future operations.
func AddInstrumentSourceHook ¶
func AddInstrumentSourceHook(hookPoint boil.HookPoint, instrumentSourceHook InstrumentSourceHook)
AddInstrumentSourceHook registers your hook function for all future operations.
func EquityExists ¶
EquityExists checks if the Equity row exists.
func EquityExistsG ¶
EquityExistsG checks if the Equity row exists.
func EquityExistsGP ¶
EquityExistsGP checks if the Equity row exists. Panics on error.
func EquityExistsP ¶
EquityExistsP checks if the Equity row exists. Panics on error.
func InstitutionExists ¶
InstitutionExists checks if the Institution row exists.
func InstitutionExistsG ¶
InstitutionExistsG checks if the Institution row exists.
func InstitutionExistsGP ¶
InstitutionExistsGP checks if the Institution row exists. Panics on error.
func InstitutionExistsP ¶
InstitutionExistsP checks if the Institution row exists. Panics on error.
func InstitutionRoleExists ¶
InstitutionRoleExists checks if the InstitutionRole row exists.
func InstitutionRoleExistsG ¶
InstitutionRoleExistsG checks if the InstitutionRole row exists.
func InstitutionRoleExistsGP ¶
InstitutionRoleExistsGP checks if the InstitutionRole row exists. Panics on error.
func InstitutionRoleExistsP ¶
InstitutionRoleExistsP checks if the InstitutionRole row exists. Panics on error.
func InstitutionRoles ¶
InstitutionRoles retrieves all the records using an executor.
func InstitutionRolesG ¶
InstitutionRolesG retrieves all records.
func Institutions ¶
Institutions retrieves all the records using an executor.
func InstitutionsG ¶
InstitutionsG retrieves all records.
func InstrumentClassExists ¶
InstrumentClassExists checks if the InstrumentClass row exists.
func InstrumentClassExistsG ¶
InstrumentClassExistsG checks if the InstrumentClass row exists.
func InstrumentClassExistsGP ¶
InstrumentClassExistsGP checks if the InstrumentClass row exists. Panics on error.
func InstrumentClassExistsP ¶
InstrumentClassExistsP checks if the InstrumentClass row exists. Panics on error.
func InstrumentClasses ¶
InstrumentClasses retrieves all the records using an executor.
func InstrumentClassesG ¶
InstrumentClassesG retrieves all records.
func InstrumentExists ¶
InstrumentExists checks if the Instrument row exists.
func InstrumentExistsG ¶
InstrumentExistsG checks if the Instrument row exists.
func InstrumentExistsGP ¶
InstrumentExistsGP checks if the Instrument row exists. Panics on error.
func InstrumentExistsP ¶
InstrumentExistsP checks if the Instrument row exists. Panics on error.
func InstrumentJSONExists ¶
InstrumentJSONExists checks if the InstrumentJSON row exists.
func InstrumentJSONExistsG ¶
InstrumentJSONExistsG checks if the InstrumentJSON row exists.
func InstrumentJSONExistsGP ¶
InstrumentJSONExistsGP checks if the InstrumentJSON row exists. Panics on error.
func InstrumentJSONExistsP ¶
InstrumentJSONExistsP checks if the InstrumentJSON row exists. Panics on error.
func InstrumentJsons ¶
InstrumentJsons retrieves all the records using an executor.
func InstrumentJsonsG ¶
InstrumentJsonsG retrieves all records.
func InstrumentSourceExists ¶
InstrumentSourceExists checks if the InstrumentSource row exists.
func InstrumentSourceExistsG ¶
InstrumentSourceExistsG checks if the InstrumentSource row exists.
func InstrumentSourceExistsGP ¶
InstrumentSourceExistsGP checks if the InstrumentSource row exists. Panics on error.
func InstrumentSourceExistsP ¶
InstrumentSourceExistsP checks if the InstrumentSource row exists. Panics on error.
func InstrumentSources ¶
InstrumentSources retrieves all the records using an executor.
func InstrumentSourcesG ¶
InstrumentSourcesG retrieves all records.
func Instruments ¶
Instruments retrieves all the records using an executor.
func InstrumentsG ¶
InstrumentsG retrieves all records.
Types ¶
type Equity ¶
type Equity struct { InstrumentID int `boil:"instrument_id" json:"instrument_id" toml:"instrument_id" yaml:"instrument_id"` PayCurrencyID null.Int `boil:"pay_currency_id" json:"pay_currency_id,omitempty" toml:"pay_currency_id" yaml:"pay_currency_id,omitempty"` ExerciseCurrencyID null.Int `` /* 131-byte string literal not displayed */ CompanyCurrencyID null.Int `` /* 127-byte string literal not displayed */ FromDate time.Time `boil:"from_date" json:"from_date" toml:"from_date" yaml:"from_date"` ThruDate null.Time `boil:"thru_date" json:"thru_date,omitempty" toml:"thru_date" yaml:"thru_date,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` CreatedBy string `boil:"created_by" json:"created_by" toml:"created_by" yaml:"created_by"` 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 *equityR `boil:"-" json:"-" toml:"-" yaml:"-"` L equityL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Equity is an object representing the database table.
func FindEquity ¶
FindEquity retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindEquityG ¶
FindEquityG retrieves a single record by ID.
func FindEquityGP ¶
FindEquityGP retrieves a single record by ID, and panics on error.
func FindEquityP ¶
FindEquityP retrieves a single record by ID with an executor, and panics on error.
func (*Equity) CompanyCurrency ¶
CompanyCurrency pointed to by the foreign key.
func (*Equity) CompanyCurrencyG ¶
CompanyCurrencyG pointed to by the foreign key.
func (*Equity) Delete ¶
Delete deletes a single Equity record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Equity) DeleteG ¶
DeleteG deletes a single Equity record. DeleteG will match against the primary key column to find the record to delete.
func (*Equity) DeleteGP ¶
func (o *Equity) DeleteGP()
DeleteGP deletes a single Equity record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Equity) DeleteP ¶
DeleteP deletes a single Equity record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Equity) ExerciseCurrency ¶
ExerciseCurrency pointed to by the foreign key.
func (*Equity) ExerciseCurrencyG ¶
ExerciseCurrencyG pointed to by the foreign key.
func (*Equity) Insert ¶
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Equity) InsertGP ¶
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Equity) InsertP ¶
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Equity) Instrument ¶
Instrument pointed to by the foreign key.
func (*Equity) InstrumentG ¶
InstrumentG pointed to by the foreign key.
func (*Equity) PayCurrency ¶
PayCurrency pointed to by the foreign key.
func (*Equity) PayCurrencyG ¶
PayCurrencyG pointed to by the foreign key.
func (*Equity) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*Equity) ReloadGP ¶
func (o *Equity) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Equity) ReloadP ¶
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Equity) RemoveCompanyCurrency ¶
func (o *Equity) RemoveCompanyCurrency(exec boil.Executor, related *Instrument) error
RemoveCompanyCurrency relationship. Sets o.R.CompanyCurrency to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*Equity) RemoveCompanyCurrencyG ¶
func (o *Equity) RemoveCompanyCurrencyG(related *Instrument) error
RemoveCompanyCurrencyG relationship. Sets o.R.CompanyCurrency to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*Equity) RemoveCompanyCurrencyGP ¶
func (o *Equity) RemoveCompanyCurrencyGP(related *Instrument)
RemoveCompanyCurrencyGP relationship. Sets o.R.CompanyCurrency to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*Equity) RemoveCompanyCurrencyP ¶
func (o *Equity) RemoveCompanyCurrencyP(exec boil.Executor, related *Instrument)
RemoveCompanyCurrencyP relationship. Sets o.R.CompanyCurrency to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*Equity) RemoveExerciseCurrency ¶
func (o *Equity) RemoveExerciseCurrency(exec boil.Executor, related *Instrument) error
RemoveExerciseCurrency relationship. Sets o.R.ExerciseCurrency to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*Equity) RemoveExerciseCurrencyG ¶
func (o *Equity) RemoveExerciseCurrencyG(related *Instrument) error
RemoveExerciseCurrencyG relationship. Sets o.R.ExerciseCurrency to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*Equity) RemoveExerciseCurrencyGP ¶
func (o *Equity) RemoveExerciseCurrencyGP(related *Instrument)
RemoveExerciseCurrencyGP relationship. Sets o.R.ExerciseCurrency to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*Equity) RemoveExerciseCurrencyP ¶
func (o *Equity) RemoveExerciseCurrencyP(exec boil.Executor, related *Instrument)
RemoveExerciseCurrencyP relationship. Sets o.R.ExerciseCurrency to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*Equity) RemovePayCurrency ¶
func (o *Equity) RemovePayCurrency(exec boil.Executor, related *Instrument) error
RemovePayCurrency relationship. Sets o.R.PayCurrency to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*Equity) RemovePayCurrencyG ¶
func (o *Equity) RemovePayCurrencyG(related *Instrument) error
RemovePayCurrencyG relationship. Sets o.R.PayCurrency to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*Equity) RemovePayCurrencyGP ¶
func (o *Equity) RemovePayCurrencyGP(related *Instrument)
RemovePayCurrencyGP relationship. Sets o.R.PayCurrency to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*Equity) RemovePayCurrencyP ¶
func (o *Equity) RemovePayCurrencyP(exec boil.Executor, related *Instrument)
RemovePayCurrencyP relationship. Sets o.R.PayCurrency to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*Equity) SetCompanyCurrency ¶
SetCompanyCurrency of the equity to the related item. Sets o.R.CompanyCurrency to related. Adds o to related.R.CompanyCurrencyEquities.
func (*Equity) SetCompanyCurrencyG ¶
func (o *Equity) SetCompanyCurrencyG(insert bool, related *Instrument) error
SetCompanyCurrencyG of the equity to the related item. Sets o.R.CompanyCurrency to related. Adds o to related.R.CompanyCurrencyEquities. Uses the global database handle.
func (*Equity) SetCompanyCurrencyGP ¶
func (o *Equity) SetCompanyCurrencyGP(insert bool, related *Instrument)
SetCompanyCurrencyGP of the equity to the related item. Sets o.R.CompanyCurrency to related. Adds o to related.R.CompanyCurrencyEquities. Uses the global database handle and panics on error.
func (*Equity) SetCompanyCurrencyP ¶
func (o *Equity) SetCompanyCurrencyP(exec boil.Executor, insert bool, related *Instrument)
SetCompanyCurrencyP of the equity to the related item. Sets o.R.CompanyCurrency to related. Adds o to related.R.CompanyCurrencyEquities. Panics on error.
func (*Equity) SetExerciseCurrency ¶
SetExerciseCurrency of the equity to the related item. Sets o.R.ExerciseCurrency to related. Adds o to related.R.ExerciseCurrencyEquities.
func (*Equity) SetExerciseCurrencyG ¶
func (o *Equity) SetExerciseCurrencyG(insert bool, related *Instrument) error
SetExerciseCurrencyG of the equity to the related item. Sets o.R.ExerciseCurrency to related. Adds o to related.R.ExerciseCurrencyEquities. Uses the global database handle.
func (*Equity) SetExerciseCurrencyGP ¶
func (o *Equity) SetExerciseCurrencyGP(insert bool, related *Instrument)
SetExerciseCurrencyGP of the equity to the related item. Sets o.R.ExerciseCurrency to related. Adds o to related.R.ExerciseCurrencyEquities. Uses the global database handle and panics on error.
func (*Equity) SetExerciseCurrencyP ¶
func (o *Equity) SetExerciseCurrencyP(exec boil.Executor, insert bool, related *Instrument)
SetExerciseCurrencyP of the equity to the related item. Sets o.R.ExerciseCurrency to related. Adds o to related.R.ExerciseCurrencyEquities. Panics on error.
func (*Equity) SetInstrument ¶
SetInstrument of the equity to the related item. Sets o.R.Instrument to related. Adds o to related.R.Equity.
func (*Equity) SetInstrumentG ¶
func (o *Equity) SetInstrumentG(insert bool, related *Instrument) error
SetInstrumentG of the equity to the related item. Sets o.R.Instrument to related. Adds o to related.R.Equity. Uses the global database handle.
func (*Equity) SetInstrumentGP ¶
func (o *Equity) SetInstrumentGP(insert bool, related *Instrument)
SetInstrumentGP of the equity to the related item. Sets o.R.Instrument to related. Adds o to related.R.Equity. Uses the global database handle and panics on error.
func (*Equity) SetInstrumentP ¶
func (o *Equity) SetInstrumentP(exec boil.Executor, insert bool, related *Instrument)
SetInstrumentP of the equity to the related item. Sets o.R.Instrument to related. Adds o to related.R.Equity. Panics on error.
func (*Equity) SetPayCurrency ¶
SetPayCurrency of the equity to the related item. Sets o.R.PayCurrency to related. Adds o to related.R.PayCurrencyEquities.
func (*Equity) SetPayCurrencyG ¶
func (o *Equity) SetPayCurrencyG(insert bool, related *Instrument) error
SetPayCurrencyG of the equity to the related item. Sets o.R.PayCurrency to related. Adds o to related.R.PayCurrencyEquities. Uses the global database handle.
func (*Equity) SetPayCurrencyGP ¶
func (o *Equity) SetPayCurrencyGP(insert bool, related *Instrument)
SetPayCurrencyGP of the equity to the related item. Sets o.R.PayCurrency to related. Adds o to related.R.PayCurrencyEquities. Uses the global database handle and panics on error.
func (*Equity) SetPayCurrencyP ¶
func (o *Equity) SetPayCurrencyP(exec boil.Executor, insert bool, related *Instrument)
SetPayCurrencyP of the equity to the related item. Sets o.R.PayCurrency to related. Adds o to related.R.PayCurrencyEquities. Panics on error.
func (*Equity) Update ¶
Update uses an executor to update the Equity. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Equity) UpdateG ¶
UpdateG a single Equity record. See Update for whitelist behavior description.
func (*Equity) UpdateGP ¶
UpdateGP a single Equity record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Equity) UpdateP ¶
UpdateP uses an executor to update the Equity, and panics on error. See Update for whitelist behavior description.
func (*Equity) Upsert ¶
func (o *Equity) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Equity) UpsertG ¶
func (o *Equity) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type EquityHook ¶
EquityHook is the signature for custom Equity hook methods
type EquitySlice ¶
type EquitySlice []*Equity
EquitySlice is an alias for a slice of pointers to Equity. This should generally be used opposed to []Equity.
func (EquitySlice) DeleteAll ¶
func (o EquitySlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (EquitySlice) DeleteAllG ¶
func (o EquitySlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (EquitySlice) DeleteAllGP ¶
func (o EquitySlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (EquitySlice) DeleteAllP ¶
func (o EquitySlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*EquitySlice) ReloadAll ¶
func (o *EquitySlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*EquitySlice) ReloadAllG ¶
func (o *EquitySlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*EquitySlice) ReloadAllGP ¶
func (o *EquitySlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*EquitySlice) ReloadAllP ¶
func (o *EquitySlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (EquitySlice) UpdateAll ¶
func (o EquitySlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (EquitySlice) UpdateAllG ¶
func (o EquitySlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (EquitySlice) UpdateAllGP ¶
func (o EquitySlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (EquitySlice) UpdateAllP ¶
func (o EquitySlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Institution ¶
type Institution struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` Acronym null.String `boil:"acronym" json:"acronym,omitempty" toml:"acronym" yaml:"acronym,omitempty"` FromDate time.Time `boil:"from_date" json:"from_date" toml:"from_date" yaml:"from_date"` ThruDate null.Time `boil:"thru_date" json:"thru_date,omitempty" toml:"thru_date" yaml:"thru_date,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` CreatedBy string `boil:"created_by" json:"created_by" toml:"created_by" yaml:"created_by"` 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 *institutionR `boil:"-" json:"-" toml:"-" yaml:"-"` L institutionL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Institution is an object representing the database table.
func FindInstitution ¶
FindInstitution retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindInstitutionG ¶
func FindInstitutionG(id int, selectCols ...string) (*Institution, error)
FindInstitutionG retrieves a single record by ID.
func FindInstitutionGP ¶
func FindInstitutionGP(id int, selectCols ...string) *Institution
FindInstitutionGP retrieves a single record by ID, and panics on error.
func FindInstitutionP ¶
func FindInstitutionP(exec boil.Executor, id int, selectCols ...string) *Institution
FindInstitutionP retrieves a single record by ID with an executor, and panics on error.
func (*Institution) AddInstitutionRoles ¶
func (o *Institution) AddInstitutionRoles(exec boil.Executor, insert bool, related ...*InstitutionRole) error
AddInstitutionRoles adds the given related objects to the existing relationships of the institution, optionally inserting them as new records. Appends related to o.R.InstitutionRoles. Sets related.R.Institution appropriately.
func (*Institution) AddInstitutionRolesG ¶
func (o *Institution) AddInstitutionRolesG(insert bool, related ...*InstitutionRole) error
AddInstitutionRolesG adds the given related objects to the existing relationships of the institution, optionally inserting them as new records. Appends related to o.R.InstitutionRoles. Sets related.R.Institution appropriately. Uses the global database handle.
func (*Institution) AddInstitutionRolesGP ¶
func (o *Institution) AddInstitutionRolesGP(insert bool, related ...*InstitutionRole)
AddInstitutionRolesGP adds the given related objects to the existing relationships of the institution, optionally inserting them as new records. Appends related to o.R.InstitutionRoles. Sets related.R.Institution appropriately. Uses the global database handle and panics on error.
func (*Institution) AddInstitutionRolesP ¶
func (o *Institution) AddInstitutionRolesP(exec boil.Executor, insert bool, related ...*InstitutionRole)
AddInstitutionRolesP adds the given related objects to the existing relationships of the institution, optionally inserting them as new records. Appends related to o.R.InstitutionRoles. Sets related.R.Institution appropriately. Panics on error.
func (*Institution) Delete ¶
func (o *Institution) Delete(exec boil.Executor) error
Delete deletes a single Institution record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Institution) DeleteG ¶
func (o *Institution) DeleteG() error
DeleteG deletes a single Institution record. DeleteG will match against the primary key column to find the record to delete.
func (*Institution) DeleteGP ¶
func (o *Institution) DeleteGP()
DeleteGP deletes a single Institution record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Institution) DeleteP ¶
func (o *Institution) DeleteP(exec boil.Executor)
DeleteP deletes a single Institution record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Institution) Insert ¶
func (o *Institution) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Institution) InsertG ¶
func (o *Institution) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*Institution) InsertGP ¶
func (o *Institution) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Institution) InsertP ¶
func (o *Institution) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Institution) InstitutionRoles ¶
func (o *Institution) InstitutionRoles(exec boil.Executor, mods ...qm.QueryMod) institutionRoleQuery
InstitutionRoles retrieves all the institution_role's institution role with an executor.
func (*Institution) InstitutionRolesG ¶
func (o *Institution) InstitutionRolesG(mods ...qm.QueryMod) institutionRoleQuery
InstitutionRolesG retrieves all the institution_role's institution role.
func (*Institution) Reload ¶
func (o *Institution) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Institution) ReloadG ¶
func (o *Institution) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*Institution) ReloadGP ¶
func (o *Institution) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Institution) ReloadP ¶
func (o *Institution) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Institution) Update ¶
func (o *Institution) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the Institution. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Institution) UpdateG ¶
func (o *Institution) UpdateG(whitelist ...string) error
UpdateG a single Institution record. See Update for whitelist behavior description.
func (*Institution) UpdateGP ¶
func (o *Institution) UpdateGP(whitelist ...string)
UpdateGP a single Institution record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Institution) UpdateP ¶
func (o *Institution) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the Institution, and panics on error. See Update for whitelist behavior description.
func (*Institution) Upsert ¶
func (o *Institution) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Institution) UpsertG ¶
func (o *Institution) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type InstitutionHook ¶
type InstitutionHook func(boil.Executor, *Institution) error
InstitutionHook is the signature for custom Institution hook methods
type InstitutionRole ¶
type InstitutionRole struct { InstitutionID int `boil:"institution_id" json:"institution_id" toml:"institution_id" yaml:"institution_id"` InstrumentID int `boil:"instrument_id" json:"instrument_id" toml:"instrument_id" yaml:"instrument_id"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` FromDate time.Time `boil:"from_date" json:"from_date" toml:"from_date" yaml:"from_date"` ThruDate null.Time `boil:"thru_date" json:"thru_date,omitempty" toml:"thru_date" yaml:"thru_date,omitempty"` CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"` CreatedBy string `boil:"created_by" json:"created_by" toml:"created_by" yaml:"created_by"` 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 *institutionRoleR `boil:"-" json:"-" toml:"-" yaml:"-"` L institutionRoleL `boil:"-" json:"-" toml:"-" yaml:"-"` }
InstitutionRole is an object representing the database table.
func FindInstitutionRole ¶
func FindInstitutionRole(exec boil.Executor, institutionID int, instrumentID int, selectCols ...string) (*InstitutionRole, error)
FindInstitutionRole retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindInstitutionRoleG ¶
func FindInstitutionRoleG(institutionID int, instrumentID int, selectCols ...string) (*InstitutionRole, error)
FindInstitutionRoleG retrieves a single record by ID.
func FindInstitutionRoleGP ¶
func FindInstitutionRoleGP(institutionID int, instrumentID int, selectCols ...string) *InstitutionRole
FindInstitutionRoleGP retrieves a single record by ID, and panics on error.
func FindInstitutionRoleP ¶
func FindInstitutionRoleP(exec boil.Executor, institutionID int, instrumentID int, selectCols ...string) *InstitutionRole
FindInstitutionRoleP retrieves a single record by ID with an executor, and panics on error.
func (*InstitutionRole) Delete ¶
func (o *InstitutionRole) Delete(exec boil.Executor) error
Delete deletes a single InstitutionRole record with an executor. Delete will match against the primary key column to find the record to delete.
func (*InstitutionRole) DeleteG ¶
func (o *InstitutionRole) DeleteG() error
DeleteG deletes a single InstitutionRole record. DeleteG will match against the primary key column to find the record to delete.
func (*InstitutionRole) DeleteGP ¶
func (o *InstitutionRole) DeleteGP()
DeleteGP deletes a single InstitutionRole record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*InstitutionRole) DeleteP ¶
func (o *InstitutionRole) DeleteP(exec boil.Executor)
DeleteP deletes a single InstitutionRole record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*InstitutionRole) Insert ¶
func (o *InstitutionRole) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*InstitutionRole) InsertG ¶
func (o *InstitutionRole) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*InstitutionRole) InsertGP ¶
func (o *InstitutionRole) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*InstitutionRole) InsertP ¶
func (o *InstitutionRole) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*InstitutionRole) Institution ¶
func (o *InstitutionRole) Institution(exec boil.Executor, mods ...qm.QueryMod) institutionQuery
Institution pointed to by the foreign key.
func (*InstitutionRole) InstitutionG ¶
func (o *InstitutionRole) InstitutionG(mods ...qm.QueryMod) institutionQuery
InstitutionG pointed to by the foreign key.
func (*InstitutionRole) Instrument ¶
func (o *InstitutionRole) Instrument(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
Instrument pointed to by the foreign key.
func (*InstitutionRole) InstrumentG ¶
func (o *InstitutionRole) InstrumentG(mods ...qm.QueryMod) instrumentQuery
InstrumentG pointed to by the foreign key.
func (*InstitutionRole) Reload ¶
func (o *InstitutionRole) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*InstitutionRole) ReloadG ¶
func (o *InstitutionRole) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*InstitutionRole) ReloadGP ¶
func (o *InstitutionRole) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*InstitutionRole) ReloadP ¶
func (o *InstitutionRole) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*InstitutionRole) SetInstitution ¶
func (o *InstitutionRole) SetInstitution(exec boil.Executor, insert bool, related *Institution) error
SetInstitution of the institution_role to the related item. Sets o.R.Institution to related. Adds o to related.R.InstitutionRoles.
func (*InstitutionRole) SetInstitutionG ¶
func (o *InstitutionRole) SetInstitutionG(insert bool, related *Institution) error
SetInstitutionG of the institution_role to the related item. Sets o.R.Institution to related. Adds o to related.R.InstitutionRoles. Uses the global database handle.
func (*InstitutionRole) SetInstitutionGP ¶
func (o *InstitutionRole) SetInstitutionGP(insert bool, related *Institution)
SetInstitutionGP of the institution_role to the related item. Sets o.R.Institution to related. Adds o to related.R.InstitutionRoles. Uses the global database handle and panics on error.
func (*InstitutionRole) SetInstitutionP ¶
func (o *InstitutionRole) SetInstitutionP(exec boil.Executor, insert bool, related *Institution)
SetInstitutionP of the institution_role to the related item. Sets o.R.Institution to related. Adds o to related.R.InstitutionRoles. Panics on error.
func (*InstitutionRole) SetInstrument ¶
func (o *InstitutionRole) SetInstrument(exec boil.Executor, insert bool, related *Instrument) error
SetInstrument of the institution_role to the related item. Sets o.R.Instrument to related. Adds o to related.R.InstitutionRoles.
func (*InstitutionRole) SetInstrumentG ¶
func (o *InstitutionRole) SetInstrumentG(insert bool, related *Instrument) error
SetInstrumentG of the institution_role to the related item. Sets o.R.Instrument to related. Adds o to related.R.InstitutionRoles. Uses the global database handle.
func (*InstitutionRole) SetInstrumentGP ¶
func (o *InstitutionRole) SetInstrumentGP(insert bool, related *Instrument)
SetInstrumentGP of the institution_role to the related item. Sets o.R.Instrument to related. Adds o to related.R.InstitutionRoles. Uses the global database handle and panics on error.
func (*InstitutionRole) SetInstrumentP ¶
func (o *InstitutionRole) SetInstrumentP(exec boil.Executor, insert bool, related *Instrument)
SetInstrumentP of the institution_role to the related item. Sets o.R.Instrument to related. Adds o to related.R.InstitutionRoles. Panics on error.
func (*InstitutionRole) Update ¶
func (o *InstitutionRole) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the InstitutionRole. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*InstitutionRole) UpdateG ¶
func (o *InstitutionRole) UpdateG(whitelist ...string) error
UpdateG a single InstitutionRole record. See Update for whitelist behavior description.
func (*InstitutionRole) UpdateGP ¶
func (o *InstitutionRole) UpdateGP(whitelist ...string)
UpdateGP a single InstitutionRole record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*InstitutionRole) UpdateP ¶
func (o *InstitutionRole) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the InstitutionRole, and panics on error. See Update for whitelist behavior description.
func (*InstitutionRole) Upsert ¶
func (o *InstitutionRole) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*InstitutionRole) UpsertG ¶
func (o *InstitutionRole) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type InstitutionRoleHook ¶
type InstitutionRoleHook func(boil.Executor, *InstitutionRole) error
InstitutionRoleHook is the signature for custom InstitutionRole hook methods
type InstitutionRoleSlice ¶
type InstitutionRoleSlice []*InstitutionRole
InstitutionRoleSlice is an alias for a slice of pointers to InstitutionRole. This should generally be used opposed to []InstitutionRole.
func (InstitutionRoleSlice) DeleteAll ¶
func (o InstitutionRoleSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (InstitutionRoleSlice) DeleteAllG ¶
func (o InstitutionRoleSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (InstitutionRoleSlice) DeleteAllGP ¶
func (o InstitutionRoleSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (InstitutionRoleSlice) DeleteAllP ¶
func (o InstitutionRoleSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*InstitutionRoleSlice) ReloadAll ¶
func (o *InstitutionRoleSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InstitutionRoleSlice) ReloadAllG ¶
func (o *InstitutionRoleSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InstitutionRoleSlice) ReloadAllGP ¶
func (o *InstitutionRoleSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*InstitutionRoleSlice) ReloadAllP ¶
func (o *InstitutionRoleSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (InstitutionRoleSlice) UpdateAll ¶
func (o InstitutionRoleSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (InstitutionRoleSlice) UpdateAllG ¶
func (o InstitutionRoleSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (InstitutionRoleSlice) UpdateAllGP ¶
func (o InstitutionRoleSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (InstitutionRoleSlice) UpdateAllP ¶
func (o InstitutionRoleSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type InstitutionSlice ¶
type InstitutionSlice []*Institution
InstitutionSlice is an alias for a slice of pointers to Institution. This should generally be used opposed to []Institution.
func (InstitutionSlice) DeleteAll ¶
func (o InstitutionSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (InstitutionSlice) DeleteAllG ¶
func (o InstitutionSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (InstitutionSlice) DeleteAllGP ¶
func (o InstitutionSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (InstitutionSlice) DeleteAllP ¶
func (o InstitutionSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*InstitutionSlice) ReloadAll ¶
func (o *InstitutionSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InstitutionSlice) ReloadAllG ¶
func (o *InstitutionSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InstitutionSlice) ReloadAllGP ¶
func (o *InstitutionSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*InstitutionSlice) ReloadAllP ¶
func (o *InstitutionSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (InstitutionSlice) UpdateAll ¶
func (o InstitutionSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (InstitutionSlice) UpdateAllG ¶
func (o InstitutionSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (InstitutionSlice) UpdateAllGP ¶
func (o InstitutionSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (InstitutionSlice) UpdateAllP ¶
func (o InstitutionSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type Instrument ¶
type Instrument struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Symbol string `boil:"symbol" json:"symbol" toml:"symbol" yaml:"symbol"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` InstrumentClassID int16 `boil:"instrument_class_id" json:"instrument_class_id" toml:"instrument_class_id" yaml:"instrument_class_id"` InstrumentSourceID int16 `boil:"instrument_source_id" json:"instrument_source_id" toml:"instrument_source_id" yaml:"instrument_source_id"` CurrencyID null.Int `boil:"currency_id" json:"currency_id,omitempty" toml:"currency_id" yaml:"currency_id,omitempty"` FromDate time.Time `boil:"from_date" json:"from_date" toml:"from_date" yaml:"from_date"` ThruDate null.Time `boil:"thru_date" json:"thru_date,omitempty" toml:"thru_date" yaml:"thru_date,omitempty"` 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"` CreatedBy string `boil:"created_by" json:"created_by" toml:"created_by" yaml:"created_by"` UpdatedBy string `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"` R *instrumentR `boil:"-" json:"-" toml:"-" yaml:"-"` L instrumentL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Instrument is an object representing the database table.
func FindInstrument ¶
FindInstrument retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindInstrumentG ¶
func FindInstrumentG(id int, selectCols ...string) (*Instrument, error)
FindInstrumentG retrieves a single record by ID.
func FindInstrumentGP ¶
func FindInstrumentGP(id int, selectCols ...string) *Instrument
FindInstrumentGP retrieves a single record by ID, and panics on error.
func FindInstrumentP ¶
func FindInstrumentP(exec boil.Executor, id int, selectCols ...string) *Instrument
FindInstrumentP retrieves a single record by ID with an executor, and panics on error.
func (*Instrument) AddCompanyCurrencyEquities ¶
func (o *Instrument) AddCompanyCurrencyEquities(exec boil.Executor, insert bool, related ...*Equity) error
AddCompanyCurrencyEquities adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.CompanyCurrencyEquities. Sets related.R.CompanyCurrency appropriately.
func (*Instrument) AddCompanyCurrencyEquitiesG ¶
func (o *Instrument) AddCompanyCurrencyEquitiesG(insert bool, related ...*Equity) error
AddCompanyCurrencyEquitiesG adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.CompanyCurrencyEquities. Sets related.R.CompanyCurrency appropriately. Uses the global database handle.
func (*Instrument) AddCompanyCurrencyEquitiesGP ¶
func (o *Instrument) AddCompanyCurrencyEquitiesGP(insert bool, related ...*Equity)
AddCompanyCurrencyEquitiesGP adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.CompanyCurrencyEquities. Sets related.R.CompanyCurrency appropriately. Uses the global database handle and panics on error.
func (*Instrument) AddCompanyCurrencyEquitiesP ¶
func (o *Instrument) AddCompanyCurrencyEquitiesP(exec boil.Executor, insert bool, related ...*Equity)
AddCompanyCurrencyEquitiesP adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.CompanyCurrencyEquities. Sets related.R.CompanyCurrency appropriately. Panics on error.
func (*Instrument) AddCurrencyInstrumentJsons ¶
func (o *Instrument) AddCurrencyInstrumentJsons(exec boil.Executor, insert bool, related ...*InstrumentJSON) error
AddCurrencyInstrumentJsons adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.CurrencyInstrumentJsons. Sets related.R.Currency appropriately.
func (*Instrument) AddCurrencyInstrumentJsonsG ¶
func (o *Instrument) AddCurrencyInstrumentJsonsG(insert bool, related ...*InstrumentJSON) error
AddCurrencyInstrumentJsonsG adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.CurrencyInstrumentJsons. Sets related.R.Currency appropriately. Uses the global database handle.
func (*Instrument) AddCurrencyInstrumentJsonsGP ¶
func (o *Instrument) AddCurrencyInstrumentJsonsGP(insert bool, related ...*InstrumentJSON)
AddCurrencyInstrumentJsonsGP adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.CurrencyInstrumentJsons. Sets related.R.Currency appropriately. Uses the global database handle and panics on error.
func (*Instrument) AddCurrencyInstrumentJsonsP ¶
func (o *Instrument) AddCurrencyInstrumentJsonsP(exec boil.Executor, insert bool, related ...*InstrumentJSON)
AddCurrencyInstrumentJsonsP adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.CurrencyInstrumentJsons. Sets related.R.Currency appropriately. Panics on error.
func (*Instrument) AddCurrencyInstruments ¶
func (o *Instrument) AddCurrencyInstruments(exec boil.Executor, insert bool, related ...*Instrument) error
AddCurrencyInstruments adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.CurrencyInstruments. Sets related.R.Currency appropriately.
func (*Instrument) AddCurrencyInstrumentsG ¶
func (o *Instrument) AddCurrencyInstrumentsG(insert bool, related ...*Instrument) error
AddCurrencyInstrumentsG adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.CurrencyInstruments. Sets related.R.Currency appropriately. Uses the global database handle.
func (*Instrument) AddCurrencyInstrumentsGP ¶
func (o *Instrument) AddCurrencyInstrumentsGP(insert bool, related ...*Instrument)
AddCurrencyInstrumentsGP adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.CurrencyInstruments. Sets related.R.Currency appropriately. Uses the global database handle and panics on error.
func (*Instrument) AddCurrencyInstrumentsP ¶
func (o *Instrument) AddCurrencyInstrumentsP(exec boil.Executor, insert bool, related ...*Instrument)
AddCurrencyInstrumentsP adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.CurrencyInstruments. Sets related.R.Currency appropriately. Panics on error.
func (*Instrument) AddExerciseCurrencyEquities ¶
func (o *Instrument) AddExerciseCurrencyEquities(exec boil.Executor, insert bool, related ...*Equity) error
AddExerciseCurrencyEquities adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.ExerciseCurrencyEquities. Sets related.R.ExerciseCurrency appropriately.
func (*Instrument) AddExerciseCurrencyEquitiesG ¶
func (o *Instrument) AddExerciseCurrencyEquitiesG(insert bool, related ...*Equity) error
AddExerciseCurrencyEquitiesG adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.ExerciseCurrencyEquities. Sets related.R.ExerciseCurrency appropriately. Uses the global database handle.
func (*Instrument) AddExerciseCurrencyEquitiesGP ¶
func (o *Instrument) AddExerciseCurrencyEquitiesGP(insert bool, related ...*Equity)
AddExerciseCurrencyEquitiesGP adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.ExerciseCurrencyEquities. Sets related.R.ExerciseCurrency appropriately. Uses the global database handle and panics on error.
func (*Instrument) AddExerciseCurrencyEquitiesP ¶
func (o *Instrument) AddExerciseCurrencyEquitiesP(exec boil.Executor, insert bool, related ...*Equity)
AddExerciseCurrencyEquitiesP adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.ExerciseCurrencyEquities. Sets related.R.ExerciseCurrency appropriately. Panics on error.
func (*Instrument) AddInstitutionRoles ¶
func (o *Instrument) AddInstitutionRoles(exec boil.Executor, insert bool, related ...*InstitutionRole) error
AddInstitutionRoles adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.InstitutionRoles. Sets related.R.Instrument appropriately.
func (*Instrument) AddInstitutionRolesG ¶
func (o *Instrument) AddInstitutionRolesG(insert bool, related ...*InstitutionRole) error
AddInstitutionRolesG adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.InstitutionRoles. Sets related.R.Instrument appropriately. Uses the global database handle.
func (*Instrument) AddInstitutionRolesGP ¶
func (o *Instrument) AddInstitutionRolesGP(insert bool, related ...*InstitutionRole)
AddInstitutionRolesGP adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.InstitutionRoles. Sets related.R.Instrument appropriately. Uses the global database handle and panics on error.
func (*Instrument) AddInstitutionRolesP ¶
func (o *Instrument) AddInstitutionRolesP(exec boil.Executor, insert bool, related ...*InstitutionRole)
AddInstitutionRolesP adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.InstitutionRoles. Sets related.R.Instrument appropriately. Panics on error.
func (*Instrument) AddPayCurrencyEquities ¶
func (o *Instrument) AddPayCurrencyEquities(exec boil.Executor, insert bool, related ...*Equity) error
AddPayCurrencyEquities adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.PayCurrencyEquities. Sets related.R.PayCurrency appropriately.
func (*Instrument) AddPayCurrencyEquitiesG ¶
func (o *Instrument) AddPayCurrencyEquitiesG(insert bool, related ...*Equity) error
AddPayCurrencyEquitiesG adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.PayCurrencyEquities. Sets related.R.PayCurrency appropriately. Uses the global database handle.
func (*Instrument) AddPayCurrencyEquitiesGP ¶
func (o *Instrument) AddPayCurrencyEquitiesGP(insert bool, related ...*Equity)
AddPayCurrencyEquitiesGP adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.PayCurrencyEquities. Sets related.R.PayCurrency appropriately. Uses the global database handle and panics on error.
func (*Instrument) AddPayCurrencyEquitiesP ¶
func (o *Instrument) AddPayCurrencyEquitiesP(exec boil.Executor, insert bool, related ...*Equity)
AddPayCurrencyEquitiesP adds the given related objects to the existing relationships of the instrument, optionally inserting them as new records. Appends related to o.R.PayCurrencyEquities. Sets related.R.PayCurrency appropriately. Panics on error.
func (*Instrument) CompanyCurrencyEquities ¶
func (o *Instrument) CompanyCurrencyEquities(exec boil.Executor, mods ...qm.QueryMod) equityQuery
CompanyCurrencyEquities retrieves all the equity's equity with an executor via company_currency_id column.
func (*Instrument) CompanyCurrencyEquitiesG ¶
func (o *Instrument) CompanyCurrencyEquitiesG(mods ...qm.QueryMod) equityQuery
CompanyCurrencyEquitiesG retrieves all the equity's equity via company_currency_id column.
func (*Instrument) Currency ¶
func (o *Instrument) Currency(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
Currency pointed to by the foreign key.
func (*Instrument) CurrencyG ¶
func (o *Instrument) CurrencyG(mods ...qm.QueryMod) instrumentQuery
CurrencyG pointed to by the foreign key.
func (*Instrument) CurrencyInstrumentJsons ¶
func (o *Instrument) CurrencyInstrumentJsons(exec boil.Executor, mods ...qm.QueryMod) instrumentJSONQuery
CurrencyInstrumentJsons retrieves all the instrument_json's instrument json with an executor via currency_id column.
func (*Instrument) CurrencyInstrumentJsonsG ¶
func (o *Instrument) CurrencyInstrumentJsonsG(mods ...qm.QueryMod) instrumentJSONQuery
CurrencyInstrumentJsonsG retrieves all the instrument_json's instrument json via currency_id column.
func (*Instrument) CurrencyInstruments ¶
func (o *Instrument) CurrencyInstruments(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
CurrencyInstruments retrieves all the instrument's instrument with an executor via currency_id column.
func (*Instrument) CurrencyInstrumentsG ¶
func (o *Instrument) CurrencyInstrumentsG(mods ...qm.QueryMod) instrumentQuery
CurrencyInstrumentsG retrieves all the instrument's instrument via currency_id column.
func (*Instrument) Delete ¶
func (o *Instrument) Delete(exec boil.Executor) error
Delete deletes a single Instrument record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Instrument) DeleteG ¶
func (o *Instrument) DeleteG() error
DeleteG deletes a single Instrument record. DeleteG will match against the primary key column to find the record to delete.
func (*Instrument) DeleteGP ¶
func (o *Instrument) DeleteGP()
DeleteGP deletes a single Instrument record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*Instrument) DeleteP ¶
func (o *Instrument) DeleteP(exec boil.Executor)
DeleteP deletes a single Instrument record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*Instrument) Equity ¶
func (o *Instrument) Equity(exec boil.Executor, mods ...qm.QueryMod) equityQuery
Equity pointed to by the foreign key.
func (*Instrument) EquityG ¶
func (o *Instrument) EquityG(mods ...qm.QueryMod) equityQuery
EquityG pointed to by the foreign key.
func (*Instrument) ExerciseCurrencyEquities ¶
func (o *Instrument) ExerciseCurrencyEquities(exec boil.Executor, mods ...qm.QueryMod) equityQuery
ExerciseCurrencyEquities retrieves all the equity's equity with an executor via exercise_currency_id column.
func (*Instrument) ExerciseCurrencyEquitiesG ¶
func (o *Instrument) ExerciseCurrencyEquitiesG(mods ...qm.QueryMod) equityQuery
ExerciseCurrencyEquitiesG retrieves all the equity's equity via exercise_currency_id column.
func (*Instrument) Insert ¶
func (o *Instrument) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*Instrument) InsertG ¶
func (o *Instrument) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*Instrument) InsertGP ¶
func (o *Instrument) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*Instrument) InsertP ¶
func (o *Instrument) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*Instrument) InstitutionRoles ¶
func (o *Instrument) InstitutionRoles(exec boil.Executor, mods ...qm.QueryMod) institutionRoleQuery
InstitutionRoles retrieves all the institution_role's institution role with an executor.
func (*Instrument) InstitutionRolesG ¶
func (o *Instrument) InstitutionRolesG(mods ...qm.QueryMod) institutionRoleQuery
InstitutionRolesG retrieves all the institution_role's institution role.
func (*Instrument) InstrumentClass ¶
func (o *Instrument) InstrumentClass(exec boil.Executor, mods ...qm.QueryMod) instrumentClassQuery
InstrumentClass pointed to by the foreign key.
func (*Instrument) InstrumentClassG ¶
func (o *Instrument) InstrumentClassG(mods ...qm.QueryMod) instrumentClassQuery
InstrumentClassG pointed to by the foreign key.
func (*Instrument) InstrumentSource ¶
func (o *Instrument) InstrumentSource(exec boil.Executor, mods ...qm.QueryMod) instrumentSourceQuery
InstrumentSource pointed to by the foreign key.
func (*Instrument) InstrumentSourceG ¶
func (o *Instrument) InstrumentSourceG(mods ...qm.QueryMod) instrumentSourceQuery
InstrumentSourceG pointed to by the foreign key.
func (*Instrument) PayCurrencyEquities ¶
func (o *Instrument) PayCurrencyEquities(exec boil.Executor, mods ...qm.QueryMod) equityQuery
PayCurrencyEquities retrieves all the equity's equity with an executor via pay_currency_id column.
func (*Instrument) PayCurrencyEquitiesG ¶
func (o *Instrument) PayCurrencyEquitiesG(mods ...qm.QueryMod) equityQuery
PayCurrencyEquitiesG retrieves all the equity's equity via pay_currency_id column.
func (*Instrument) Reload ¶
func (o *Instrument) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Instrument) ReloadG ¶
func (o *Instrument) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*Instrument) ReloadGP ¶
func (o *Instrument) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*Instrument) ReloadP ¶
func (o *Instrument) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*Instrument) RemoveCompanyCurrencyEquities ¶
func (o *Instrument) RemoveCompanyCurrencyEquities(exec boil.Executor, related ...*Equity) error
RemoveCompanyCurrencyEquities relationships from objects passed in. Removes related items from R.CompanyCurrencyEquities (uses pointer comparison, removal does not keep order) Sets related.R.CompanyCurrency.
func (*Instrument) RemoveCompanyCurrencyEquitiesG ¶
func (o *Instrument) RemoveCompanyCurrencyEquitiesG(related ...*Equity) error
RemoveCompanyCurrencyEquitiesG relationships from objects passed in. Removes related items from R.CompanyCurrencyEquities (uses pointer comparison, removal does not keep order) Sets related.R.CompanyCurrency. Uses the global database handle.
func (*Instrument) RemoveCompanyCurrencyEquitiesGP ¶
func (o *Instrument) RemoveCompanyCurrencyEquitiesGP(related ...*Equity)
RemoveCompanyCurrencyEquitiesGP relationships from objects passed in. Removes related items from R.CompanyCurrencyEquities (uses pointer comparison, removal does not keep order) Sets related.R.CompanyCurrency. Uses the global database handle and panics on error.
func (*Instrument) RemoveCompanyCurrencyEquitiesP ¶
func (o *Instrument) RemoveCompanyCurrencyEquitiesP(exec boil.Executor, related ...*Equity)
RemoveCompanyCurrencyEquitiesP relationships from objects passed in. Removes related items from R.CompanyCurrencyEquities (uses pointer comparison, removal does not keep order) Sets related.R.CompanyCurrency. Panics on error.
func (*Instrument) RemoveCurrency ¶
func (o *Instrument) RemoveCurrency(exec boil.Executor, related *Instrument) error
RemoveCurrency relationship. Sets o.R.Currency to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*Instrument) RemoveCurrencyG ¶
func (o *Instrument) RemoveCurrencyG(related *Instrument) error
RemoveCurrencyG relationship. Sets o.R.Currency to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*Instrument) RemoveCurrencyGP ¶
func (o *Instrument) RemoveCurrencyGP(related *Instrument)
RemoveCurrencyGP relationship. Sets o.R.Currency to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*Instrument) RemoveCurrencyInstrumentJsons ¶
func (o *Instrument) RemoveCurrencyInstrumentJsons(exec boil.Executor, related ...*InstrumentJSON) error
RemoveCurrencyInstrumentJsons relationships from objects passed in. Removes related items from R.CurrencyInstrumentJsons (uses pointer comparison, removal does not keep order) Sets related.R.Currency.
func (*Instrument) RemoveCurrencyInstrumentJsonsG ¶
func (o *Instrument) RemoveCurrencyInstrumentJsonsG(related ...*InstrumentJSON) error
RemoveCurrencyInstrumentJsonsG relationships from objects passed in. Removes related items from R.CurrencyInstrumentJsons (uses pointer comparison, removal does not keep order) Sets related.R.Currency. Uses the global database handle.
func (*Instrument) RemoveCurrencyInstrumentJsonsGP ¶
func (o *Instrument) RemoveCurrencyInstrumentJsonsGP(related ...*InstrumentJSON)
RemoveCurrencyInstrumentJsonsGP relationships from objects passed in. Removes related items from R.CurrencyInstrumentJsons (uses pointer comparison, removal does not keep order) Sets related.R.Currency. Uses the global database handle and panics on error.
func (*Instrument) RemoveCurrencyInstrumentJsonsP ¶
func (o *Instrument) RemoveCurrencyInstrumentJsonsP(exec boil.Executor, related ...*InstrumentJSON)
RemoveCurrencyInstrumentJsonsP relationships from objects passed in. Removes related items from R.CurrencyInstrumentJsons (uses pointer comparison, removal does not keep order) Sets related.R.Currency. Panics on error.
func (*Instrument) RemoveCurrencyInstruments ¶
func (o *Instrument) RemoveCurrencyInstruments(exec boil.Executor, related ...*Instrument) error
RemoveCurrencyInstruments relationships from objects passed in. Removes related items from R.CurrencyInstruments (uses pointer comparison, removal does not keep order) Sets related.R.Currency.
func (*Instrument) RemoveCurrencyInstrumentsG ¶
func (o *Instrument) RemoveCurrencyInstrumentsG(related ...*Instrument) error
RemoveCurrencyInstrumentsG relationships from objects passed in. Removes related items from R.CurrencyInstruments (uses pointer comparison, removal does not keep order) Sets related.R.Currency. Uses the global database handle.
func (*Instrument) RemoveCurrencyInstrumentsGP ¶
func (o *Instrument) RemoveCurrencyInstrumentsGP(related ...*Instrument)
RemoveCurrencyInstrumentsGP relationships from objects passed in. Removes related items from R.CurrencyInstruments (uses pointer comparison, removal does not keep order) Sets related.R.Currency. Uses the global database handle and panics on error.
func (*Instrument) RemoveCurrencyInstrumentsP ¶
func (o *Instrument) RemoveCurrencyInstrumentsP(exec boil.Executor, related ...*Instrument)
RemoveCurrencyInstrumentsP relationships from objects passed in. Removes related items from R.CurrencyInstruments (uses pointer comparison, removal does not keep order) Sets related.R.Currency. Panics on error.
func (*Instrument) RemoveCurrencyP ¶
func (o *Instrument) RemoveCurrencyP(exec boil.Executor, related *Instrument)
RemoveCurrencyP relationship. Sets o.R.Currency to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*Instrument) RemoveExerciseCurrencyEquities ¶
func (o *Instrument) RemoveExerciseCurrencyEquities(exec boil.Executor, related ...*Equity) error
RemoveExerciseCurrencyEquities relationships from objects passed in. Removes related items from R.ExerciseCurrencyEquities (uses pointer comparison, removal does not keep order) Sets related.R.ExerciseCurrency.
func (*Instrument) RemoveExerciseCurrencyEquitiesG ¶
func (o *Instrument) RemoveExerciseCurrencyEquitiesG(related ...*Equity) error
RemoveExerciseCurrencyEquitiesG relationships from objects passed in. Removes related items from R.ExerciseCurrencyEquities (uses pointer comparison, removal does not keep order) Sets related.R.ExerciseCurrency. Uses the global database handle.
func (*Instrument) RemoveExerciseCurrencyEquitiesGP ¶
func (o *Instrument) RemoveExerciseCurrencyEquitiesGP(related ...*Equity)
RemoveExerciseCurrencyEquitiesGP relationships from objects passed in. Removes related items from R.ExerciseCurrencyEquities (uses pointer comparison, removal does not keep order) Sets related.R.ExerciseCurrency. Uses the global database handle and panics on error.
func (*Instrument) RemoveExerciseCurrencyEquitiesP ¶
func (o *Instrument) RemoveExerciseCurrencyEquitiesP(exec boil.Executor, related ...*Equity)
RemoveExerciseCurrencyEquitiesP relationships from objects passed in. Removes related items from R.ExerciseCurrencyEquities (uses pointer comparison, removal does not keep order) Sets related.R.ExerciseCurrency. Panics on error.
func (*Instrument) RemovePayCurrencyEquities ¶
func (o *Instrument) RemovePayCurrencyEquities(exec boil.Executor, related ...*Equity) error
RemovePayCurrencyEquities relationships from objects passed in. Removes related items from R.PayCurrencyEquities (uses pointer comparison, removal does not keep order) Sets related.R.PayCurrency.
func (*Instrument) RemovePayCurrencyEquitiesG ¶
func (o *Instrument) RemovePayCurrencyEquitiesG(related ...*Equity) error
RemovePayCurrencyEquitiesG relationships from objects passed in. Removes related items from R.PayCurrencyEquities (uses pointer comparison, removal does not keep order) Sets related.R.PayCurrency. Uses the global database handle.
func (*Instrument) RemovePayCurrencyEquitiesGP ¶
func (o *Instrument) RemovePayCurrencyEquitiesGP(related ...*Equity)
RemovePayCurrencyEquitiesGP relationships from objects passed in. Removes related items from R.PayCurrencyEquities (uses pointer comparison, removal does not keep order) Sets related.R.PayCurrency. Uses the global database handle and panics on error.
func (*Instrument) RemovePayCurrencyEquitiesP ¶
func (o *Instrument) RemovePayCurrencyEquitiesP(exec boil.Executor, related ...*Equity)
RemovePayCurrencyEquitiesP relationships from objects passed in. Removes related items from R.PayCurrencyEquities (uses pointer comparison, removal does not keep order) Sets related.R.PayCurrency. Panics on error.
func (*Instrument) SetCompanyCurrencyEquities ¶
func (o *Instrument) SetCompanyCurrencyEquities(exec boil.Executor, insert bool, related ...*Equity) error
SetCompanyCurrencyEquities removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.CompanyCurrency's CompanyCurrencyEquities accordingly. Replaces o.R.CompanyCurrencyEquities with related. Sets related.R.CompanyCurrency's CompanyCurrencyEquities accordingly.
func (*Instrument) SetCompanyCurrencyEquitiesG ¶
func (o *Instrument) SetCompanyCurrencyEquitiesG(insert bool, related ...*Equity) error
SetCompanyCurrencyEquitiesG removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.CompanyCurrency's CompanyCurrencyEquities accordingly. Replaces o.R.CompanyCurrencyEquities with related. Sets related.R.CompanyCurrency's CompanyCurrencyEquities accordingly. Uses the global database handle.
func (*Instrument) SetCompanyCurrencyEquitiesGP ¶
func (o *Instrument) SetCompanyCurrencyEquitiesGP(insert bool, related ...*Equity)
SetCompanyCurrencyEquitiesGP removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.CompanyCurrency's CompanyCurrencyEquities accordingly. Replaces o.R.CompanyCurrencyEquities with related. Sets related.R.CompanyCurrency's CompanyCurrencyEquities accordingly. Uses the global database handle and panics on error.
func (*Instrument) SetCompanyCurrencyEquitiesP ¶
func (o *Instrument) SetCompanyCurrencyEquitiesP(exec boil.Executor, insert bool, related ...*Equity)
SetCompanyCurrencyEquitiesP removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.CompanyCurrency's CompanyCurrencyEquities accordingly. Replaces o.R.CompanyCurrencyEquities with related. Sets related.R.CompanyCurrency's CompanyCurrencyEquities accordingly. Panics on error.
func (*Instrument) SetCurrency ¶
func (o *Instrument) SetCurrency(exec boil.Executor, insert bool, related *Instrument) error
SetCurrency of the instrument to the related item. Sets o.R.Currency to related. Adds o to related.R.CurrencyInstruments.
func (*Instrument) SetCurrencyG ¶
func (o *Instrument) SetCurrencyG(insert bool, related *Instrument) error
SetCurrencyG of the instrument to the related item. Sets o.R.Currency to related. Adds o to related.R.CurrencyInstruments. Uses the global database handle.
func (*Instrument) SetCurrencyGP ¶
func (o *Instrument) SetCurrencyGP(insert bool, related *Instrument)
SetCurrencyGP of the instrument to the related item. Sets o.R.Currency to related. Adds o to related.R.CurrencyInstruments. Uses the global database handle and panics on error.
func (*Instrument) SetCurrencyInstrumentJsons ¶
func (o *Instrument) SetCurrencyInstrumentJsons(exec boil.Executor, insert bool, related ...*InstrumentJSON) error
SetCurrencyInstrumentJsons removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Currency's CurrencyInstrumentJsons accordingly. Replaces o.R.CurrencyInstrumentJsons with related. Sets related.R.Currency's CurrencyInstrumentJsons accordingly.
func (*Instrument) SetCurrencyInstrumentJsonsG ¶
func (o *Instrument) SetCurrencyInstrumentJsonsG(insert bool, related ...*InstrumentJSON) error
SetCurrencyInstrumentJsonsG removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Currency's CurrencyInstrumentJsons accordingly. Replaces o.R.CurrencyInstrumentJsons with related. Sets related.R.Currency's CurrencyInstrumentJsons accordingly. Uses the global database handle.
func (*Instrument) SetCurrencyInstrumentJsonsGP ¶
func (o *Instrument) SetCurrencyInstrumentJsonsGP(insert bool, related ...*InstrumentJSON)
SetCurrencyInstrumentJsonsGP removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Currency's CurrencyInstrumentJsons accordingly. Replaces o.R.CurrencyInstrumentJsons with related. Sets related.R.Currency's CurrencyInstrumentJsons accordingly. Uses the global database handle and panics on error.
func (*Instrument) SetCurrencyInstrumentJsonsP ¶
func (o *Instrument) SetCurrencyInstrumentJsonsP(exec boil.Executor, insert bool, related ...*InstrumentJSON)
SetCurrencyInstrumentJsonsP removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Currency's CurrencyInstrumentJsons accordingly. Replaces o.R.CurrencyInstrumentJsons with related. Sets related.R.Currency's CurrencyInstrumentJsons accordingly. Panics on error.
func (*Instrument) SetCurrencyInstruments ¶
func (o *Instrument) SetCurrencyInstruments(exec boil.Executor, insert bool, related ...*Instrument) error
SetCurrencyInstruments removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Currency's CurrencyInstruments accordingly. Replaces o.R.CurrencyInstruments with related. Sets related.R.Currency's CurrencyInstruments accordingly.
func (*Instrument) SetCurrencyInstrumentsG ¶
func (o *Instrument) SetCurrencyInstrumentsG(insert bool, related ...*Instrument) error
SetCurrencyInstrumentsG removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Currency's CurrencyInstruments accordingly. Replaces o.R.CurrencyInstruments with related. Sets related.R.Currency's CurrencyInstruments accordingly. Uses the global database handle.
func (*Instrument) SetCurrencyInstrumentsGP ¶
func (o *Instrument) SetCurrencyInstrumentsGP(insert bool, related ...*Instrument)
SetCurrencyInstrumentsGP removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Currency's CurrencyInstruments accordingly. Replaces o.R.CurrencyInstruments with related. Sets related.R.Currency's CurrencyInstruments accordingly. Uses the global database handle and panics on error.
func (*Instrument) SetCurrencyInstrumentsP ¶
func (o *Instrument) SetCurrencyInstrumentsP(exec boil.Executor, insert bool, related ...*Instrument)
SetCurrencyInstrumentsP removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.Currency's CurrencyInstruments accordingly. Replaces o.R.CurrencyInstruments with related. Sets related.R.Currency's CurrencyInstruments accordingly. Panics on error.
func (*Instrument) SetCurrencyP ¶
func (o *Instrument) SetCurrencyP(exec boil.Executor, insert bool, related *Instrument)
SetCurrencyP of the instrument to the related item. Sets o.R.Currency to related. Adds o to related.R.CurrencyInstruments. Panics on error.
func (*Instrument) SetEquity ¶
SetEquity of the instrument to the related item. Sets o.R.Equity to related. Adds o to related.R.Instrument.
func (*Instrument) SetEquityG ¶
func (o *Instrument) SetEquityG(insert bool, related *Equity) error
SetEquityG of the instrument to the related item. Sets o.R.Equity to related. Adds o to related.R.Instrument. Uses the global database handle.
func (*Instrument) SetEquityGP ¶
func (o *Instrument) SetEquityGP(insert bool, related *Equity)
SetEquityGP of the instrument to the related item. Sets o.R.Equity to related. Adds o to related.R.Instrument. Uses the global database handle and panics on error.
func (*Instrument) SetEquityP ¶
func (o *Instrument) SetEquityP(exec boil.Executor, insert bool, related *Equity)
SetEquityP of the instrument to the related item. Sets o.R.Equity to related. Adds o to related.R.Instrument. Panics on error.
func (*Instrument) SetExerciseCurrencyEquities ¶
func (o *Instrument) SetExerciseCurrencyEquities(exec boil.Executor, insert bool, related ...*Equity) error
SetExerciseCurrencyEquities removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ExerciseCurrency's ExerciseCurrencyEquities accordingly. Replaces o.R.ExerciseCurrencyEquities with related. Sets related.R.ExerciseCurrency's ExerciseCurrencyEquities accordingly.
func (*Instrument) SetExerciseCurrencyEquitiesG ¶
func (o *Instrument) SetExerciseCurrencyEquitiesG(insert bool, related ...*Equity) error
SetExerciseCurrencyEquitiesG removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ExerciseCurrency's ExerciseCurrencyEquities accordingly. Replaces o.R.ExerciseCurrencyEquities with related. Sets related.R.ExerciseCurrency's ExerciseCurrencyEquities accordingly. Uses the global database handle.
func (*Instrument) SetExerciseCurrencyEquitiesGP ¶
func (o *Instrument) SetExerciseCurrencyEquitiesGP(insert bool, related ...*Equity)
SetExerciseCurrencyEquitiesGP removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ExerciseCurrency's ExerciseCurrencyEquities accordingly. Replaces o.R.ExerciseCurrencyEquities with related. Sets related.R.ExerciseCurrency's ExerciseCurrencyEquities accordingly. Uses the global database handle and panics on error.
func (*Instrument) SetExerciseCurrencyEquitiesP ¶
func (o *Instrument) SetExerciseCurrencyEquitiesP(exec boil.Executor, insert bool, related ...*Equity)
SetExerciseCurrencyEquitiesP removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.ExerciseCurrency's ExerciseCurrencyEquities accordingly. Replaces o.R.ExerciseCurrencyEquities with related. Sets related.R.ExerciseCurrency's ExerciseCurrencyEquities accordingly. Panics on error.
func (*Instrument) SetInstrumentClass ¶
func (o *Instrument) SetInstrumentClass(exec boil.Executor, insert bool, related *InstrumentClass) error
SetInstrumentClass of the instrument to the related item. Sets o.R.InstrumentClass to related. Adds o to related.R.Instruments.
func (*Instrument) SetInstrumentClassG ¶
func (o *Instrument) SetInstrumentClassG(insert bool, related *InstrumentClass) error
SetInstrumentClassG of the instrument to the related item. Sets o.R.InstrumentClass to related. Adds o to related.R.Instruments. Uses the global database handle.
func (*Instrument) SetInstrumentClassGP ¶
func (o *Instrument) SetInstrumentClassGP(insert bool, related *InstrumentClass)
SetInstrumentClassGP of the instrument to the related item. Sets o.R.InstrumentClass to related. Adds o to related.R.Instruments. Uses the global database handle and panics on error.
func (*Instrument) SetInstrumentClassP ¶
func (o *Instrument) SetInstrumentClassP(exec boil.Executor, insert bool, related *InstrumentClass)
SetInstrumentClassP of the instrument to the related item. Sets o.R.InstrumentClass to related. Adds o to related.R.Instruments. Panics on error.
func (*Instrument) SetInstrumentSource ¶
func (o *Instrument) SetInstrumentSource(exec boil.Executor, insert bool, related *InstrumentSource) error
SetInstrumentSource of the instrument to the related item. Sets o.R.InstrumentSource to related. Adds o to related.R.Instruments.
func (*Instrument) SetInstrumentSourceG ¶
func (o *Instrument) SetInstrumentSourceG(insert bool, related *InstrumentSource) error
SetInstrumentSourceG of the instrument to the related item. Sets o.R.InstrumentSource to related. Adds o to related.R.Instruments. Uses the global database handle.
func (*Instrument) SetInstrumentSourceGP ¶
func (o *Instrument) SetInstrumentSourceGP(insert bool, related *InstrumentSource)
SetInstrumentSourceGP of the instrument to the related item. Sets o.R.InstrumentSource to related. Adds o to related.R.Instruments. Uses the global database handle and panics on error.
func (*Instrument) SetInstrumentSourceP ¶
func (o *Instrument) SetInstrumentSourceP(exec boil.Executor, insert bool, related *InstrumentSource)
SetInstrumentSourceP of the instrument to the related item. Sets o.R.InstrumentSource to related. Adds o to related.R.Instruments. Panics on error.
func (*Instrument) SetPayCurrencyEquities ¶
func (o *Instrument) SetPayCurrencyEquities(exec boil.Executor, insert bool, related ...*Equity) error
SetPayCurrencyEquities removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.PayCurrency's PayCurrencyEquities accordingly. Replaces o.R.PayCurrencyEquities with related. Sets related.R.PayCurrency's PayCurrencyEquities accordingly.
func (*Instrument) SetPayCurrencyEquitiesG ¶
func (o *Instrument) SetPayCurrencyEquitiesG(insert bool, related ...*Equity) error
SetPayCurrencyEquitiesG removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.PayCurrency's PayCurrencyEquities accordingly. Replaces o.R.PayCurrencyEquities with related. Sets related.R.PayCurrency's PayCurrencyEquities accordingly. Uses the global database handle.
func (*Instrument) SetPayCurrencyEquitiesGP ¶
func (o *Instrument) SetPayCurrencyEquitiesGP(insert bool, related ...*Equity)
SetPayCurrencyEquitiesGP removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.PayCurrency's PayCurrencyEquities accordingly. Replaces o.R.PayCurrencyEquities with related. Sets related.R.PayCurrency's PayCurrencyEquities accordingly. Uses the global database handle and panics on error.
func (*Instrument) SetPayCurrencyEquitiesP ¶
func (o *Instrument) SetPayCurrencyEquitiesP(exec boil.Executor, insert bool, related ...*Equity)
SetPayCurrencyEquitiesP removes all previously related items of the instrument replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.PayCurrency's PayCurrencyEquities accordingly. Replaces o.R.PayCurrencyEquities with related. Sets related.R.PayCurrency's PayCurrencyEquities accordingly. Panics on error.
func (*Instrument) Update ¶
func (o *Instrument) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the Instrument. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Instrument) UpdateG ¶
func (o *Instrument) UpdateG(whitelist ...string) error
UpdateG a single Instrument record. See Update for whitelist behavior description.
func (*Instrument) UpdateGP ¶
func (o *Instrument) UpdateGP(whitelist ...string)
UpdateGP a single Instrument record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*Instrument) UpdateP ¶
func (o *Instrument) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the Instrument, and panics on error. See Update for whitelist behavior description.
func (*Instrument) Upsert ¶
func (o *Instrument) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*Instrument) UpsertG ¶
func (o *Instrument) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type InstrumentClass ¶
type InstrumentClass struct { ID int16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"` R *instrumentClassR `boil:"-" json:"-" toml:"-" yaml:"-"` L instrumentClassL `boil:"-" json:"-" toml:"-" yaml:"-"` }
InstrumentClass is an object representing the database table.
func FindInstrumentClass ¶
func FindInstrumentClass(exec boil.Executor, id int16, selectCols ...string) (*InstrumentClass, error)
FindInstrumentClass retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindInstrumentClassG ¶
func FindInstrumentClassG(id int16, selectCols ...string) (*InstrumentClass, error)
FindInstrumentClassG retrieves a single record by ID.
func FindInstrumentClassGP ¶
func FindInstrumentClassGP(id int16, selectCols ...string) *InstrumentClass
FindInstrumentClassGP retrieves a single record by ID, and panics on error.
func FindInstrumentClassP ¶
func FindInstrumentClassP(exec boil.Executor, id int16, selectCols ...string) *InstrumentClass
FindInstrumentClassP retrieves a single record by ID with an executor, and panics on error.
func (*InstrumentClass) AddInstruments ¶
func (o *InstrumentClass) AddInstruments(exec boil.Executor, insert bool, related ...*Instrument) error
AddInstruments adds the given related objects to the existing relationships of the instrument_class, optionally inserting them as new records. Appends related to o.R.Instruments. Sets related.R.InstrumentClass appropriately.
func (*InstrumentClass) AddInstrumentsG ¶
func (o *InstrumentClass) AddInstrumentsG(insert bool, related ...*Instrument) error
AddInstrumentsG adds the given related objects to the existing relationships of the instrument_class, optionally inserting them as new records. Appends related to o.R.Instruments. Sets related.R.InstrumentClass appropriately. Uses the global database handle.
func (*InstrumentClass) AddInstrumentsGP ¶
func (o *InstrumentClass) AddInstrumentsGP(insert bool, related ...*Instrument)
AddInstrumentsGP adds the given related objects to the existing relationships of the instrument_class, optionally inserting them as new records. Appends related to o.R.Instruments. Sets related.R.InstrumentClass appropriately. Uses the global database handle and panics on error.
func (*InstrumentClass) AddInstrumentsP ¶
func (o *InstrumentClass) AddInstrumentsP(exec boil.Executor, insert bool, related ...*Instrument)
AddInstrumentsP adds the given related objects to the existing relationships of the instrument_class, optionally inserting them as new records. Appends related to o.R.Instruments. Sets related.R.InstrumentClass appropriately. Panics on error.
func (*InstrumentClass) Delete ¶
func (o *InstrumentClass) Delete(exec boil.Executor) error
Delete deletes a single InstrumentClass record with an executor. Delete will match against the primary key column to find the record to delete.
func (*InstrumentClass) DeleteG ¶
func (o *InstrumentClass) DeleteG() error
DeleteG deletes a single InstrumentClass record. DeleteG will match against the primary key column to find the record to delete.
func (*InstrumentClass) DeleteGP ¶
func (o *InstrumentClass) DeleteGP()
DeleteGP deletes a single InstrumentClass record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*InstrumentClass) DeleteP ¶
func (o *InstrumentClass) DeleteP(exec boil.Executor)
DeleteP deletes a single InstrumentClass record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*InstrumentClass) Insert ¶
func (o *InstrumentClass) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*InstrumentClass) InsertG ¶
func (o *InstrumentClass) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*InstrumentClass) InsertGP ¶
func (o *InstrumentClass) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*InstrumentClass) InsertP ¶
func (o *InstrumentClass) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*InstrumentClass) Instruments ¶
func (o *InstrumentClass) Instruments(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
Instruments retrieves all the instrument's instrument with an executor.
func (*InstrumentClass) InstrumentsG ¶
func (o *InstrumentClass) InstrumentsG(mods ...qm.QueryMod) instrumentQuery
InstrumentsG retrieves all the instrument's instrument.
func (*InstrumentClass) Reload ¶
func (o *InstrumentClass) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*InstrumentClass) ReloadG ¶
func (o *InstrumentClass) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*InstrumentClass) ReloadGP ¶
func (o *InstrumentClass) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*InstrumentClass) ReloadP ¶
func (o *InstrumentClass) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*InstrumentClass) Update ¶
func (o *InstrumentClass) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the InstrumentClass. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*InstrumentClass) UpdateG ¶
func (o *InstrumentClass) UpdateG(whitelist ...string) error
UpdateG a single InstrumentClass record. See Update for whitelist behavior description.
func (*InstrumentClass) UpdateGP ¶
func (o *InstrumentClass) UpdateGP(whitelist ...string)
UpdateGP a single InstrumentClass record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*InstrumentClass) UpdateP ¶
func (o *InstrumentClass) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the InstrumentClass, and panics on error. See Update for whitelist behavior description.
func (*InstrumentClass) Upsert ¶
func (o *InstrumentClass) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*InstrumentClass) UpsertG ¶
func (o *InstrumentClass) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type InstrumentClassHook ¶
type InstrumentClassHook func(boil.Executor, *InstrumentClass) error
InstrumentClassHook is the signature for custom InstrumentClass hook methods
type InstrumentClassSlice ¶
type InstrumentClassSlice []*InstrumentClass
InstrumentClassSlice is an alias for a slice of pointers to InstrumentClass. This should generally be used opposed to []InstrumentClass.
func (InstrumentClassSlice) DeleteAll ¶
func (o InstrumentClassSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (InstrumentClassSlice) DeleteAllG ¶
func (o InstrumentClassSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (InstrumentClassSlice) DeleteAllGP ¶
func (o InstrumentClassSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (InstrumentClassSlice) DeleteAllP ¶
func (o InstrumentClassSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*InstrumentClassSlice) ReloadAll ¶
func (o *InstrumentClassSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InstrumentClassSlice) ReloadAllG ¶
func (o *InstrumentClassSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InstrumentClassSlice) ReloadAllGP ¶
func (o *InstrumentClassSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*InstrumentClassSlice) ReloadAllP ¶
func (o *InstrumentClassSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (InstrumentClassSlice) UpdateAll ¶
func (o InstrumentClassSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (InstrumentClassSlice) UpdateAllG ¶
func (o InstrumentClassSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (InstrumentClassSlice) UpdateAllGP ¶
func (o InstrumentClassSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (InstrumentClassSlice) UpdateAllP ¶
func (o InstrumentClassSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type InstrumentHook ¶
type InstrumentHook func(boil.Executor, *Instrument) error
InstrumentHook is the signature for custom Instrument hook methods
type InstrumentJSON ¶
type InstrumentJSON struct { ID int `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Description null.String `boil:"description" json:"description,omitempty" toml:"description" yaml:"description,omitempty"` Datum null.JSON `boil:"datum" json:"datum,omitempty" toml:"datum" yaml:"datum,omitempty"` Audit null.JSON `boil:"audit" json:"audit,omitempty" toml:"audit" yaml:"audit,omitempty"` CurrencyID null.Int `boil:"currency_id" json:"currency_id,omitempty" toml:"currency_id" yaml:"currency_id,omitempty"` FromDate time.Time `boil:"from_date" json:"from_date" toml:"from_date" yaml:"from_date"` ThruDate null.Time `boil:"thru_date" json:"thru_date,omitempty" toml:"thru_date" yaml:"thru_date,omitempty"` 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"` CreatedBy string `boil:"created_by" json:"created_by" toml:"created_by" yaml:"created_by"` UpdatedBy string `boil:"updated_by" json:"updated_by" toml:"updated_by" yaml:"updated_by"` R *instrumentJSONR `boil:"-" json:"-" toml:"-" yaml:"-"` L instrumentJSONL `boil:"-" json:"-" toml:"-" yaml:"-"` }
InstrumentJSON is an object representing the database table.
func FindInstrumentJSON ¶
FindInstrumentJSON retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindInstrumentJSONG ¶
func FindInstrumentJSONG(id int, selectCols ...string) (*InstrumentJSON, error)
FindInstrumentJSONG retrieves a single record by ID.
func FindInstrumentJSONGP ¶
func FindInstrumentJSONGP(id int, selectCols ...string) *InstrumentJSON
FindInstrumentJSONGP retrieves a single record by ID, and panics on error.
func FindInstrumentJSONP ¶
func FindInstrumentJSONP(exec boil.Executor, id int, selectCols ...string) *InstrumentJSON
FindInstrumentJSONP retrieves a single record by ID with an executor, and panics on error.
func (*InstrumentJSON) Currency ¶
func (o *InstrumentJSON) Currency(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
Currency pointed to by the foreign key.
func (*InstrumentJSON) CurrencyG ¶
func (o *InstrumentJSON) CurrencyG(mods ...qm.QueryMod) instrumentQuery
CurrencyG pointed to by the foreign key.
func (*InstrumentJSON) Delete ¶
func (o *InstrumentJSON) Delete(exec boil.Executor) error
Delete deletes a single InstrumentJSON record with an executor. Delete will match against the primary key column to find the record to delete.
func (*InstrumentJSON) DeleteG ¶
func (o *InstrumentJSON) DeleteG() error
DeleteG deletes a single InstrumentJSON record. DeleteG will match against the primary key column to find the record to delete.
func (*InstrumentJSON) DeleteGP ¶
func (o *InstrumentJSON) DeleteGP()
DeleteGP deletes a single InstrumentJSON record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*InstrumentJSON) DeleteP ¶
func (o *InstrumentJSON) DeleteP(exec boil.Executor)
DeleteP deletes a single InstrumentJSON record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*InstrumentJSON) Insert ¶
func (o *InstrumentJSON) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*InstrumentJSON) InsertG ¶
func (o *InstrumentJSON) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*InstrumentJSON) InsertGP ¶
func (o *InstrumentJSON) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*InstrumentJSON) InsertP ¶
func (o *InstrumentJSON) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*InstrumentJSON) Reload ¶
func (o *InstrumentJSON) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*InstrumentJSON) ReloadG ¶
func (o *InstrumentJSON) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*InstrumentJSON) ReloadGP ¶
func (o *InstrumentJSON) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*InstrumentJSON) ReloadP ¶
func (o *InstrumentJSON) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*InstrumentJSON) RemoveCurrency ¶
func (o *InstrumentJSON) RemoveCurrency(exec boil.Executor, related *Instrument) error
RemoveCurrency relationship. Sets o.R.Currency to nil. Removes o from all passed in related items' relationships struct (Optional).
func (*InstrumentJSON) RemoveCurrencyG ¶
func (o *InstrumentJSON) RemoveCurrencyG(related *Instrument) error
RemoveCurrencyG relationship. Sets o.R.Currency to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle.
func (*InstrumentJSON) RemoveCurrencyGP ¶
func (o *InstrumentJSON) RemoveCurrencyGP(related *Instrument)
RemoveCurrencyGP relationship. Sets o.R.Currency to nil. Removes o from all passed in related items' relationships struct (Optional). Uses the global database handle and panics on error.
func (*InstrumentJSON) RemoveCurrencyP ¶
func (o *InstrumentJSON) RemoveCurrencyP(exec boil.Executor, related *Instrument)
RemoveCurrencyP relationship. Sets o.R.Currency to nil. Removes o from all passed in related items' relationships struct (Optional). Panics on error.
func (*InstrumentJSON) SetCurrency ¶
func (o *InstrumentJSON) SetCurrency(exec boil.Executor, insert bool, related *Instrument) error
SetCurrency of the instrument_json to the related item. Sets o.R.Currency to related. Adds o to related.R.CurrencyInstrumentJsons.
func (*InstrumentJSON) SetCurrencyG ¶
func (o *InstrumentJSON) SetCurrencyG(insert bool, related *Instrument) error
SetCurrencyG of the instrument_json to the related item. Sets o.R.Currency to related. Adds o to related.R.CurrencyInstrumentJsons. Uses the global database handle.
func (*InstrumentJSON) SetCurrencyGP ¶
func (o *InstrumentJSON) SetCurrencyGP(insert bool, related *Instrument)
SetCurrencyGP of the instrument_json to the related item. Sets o.R.Currency to related. Adds o to related.R.CurrencyInstrumentJsons. Uses the global database handle and panics on error.
func (*InstrumentJSON) SetCurrencyP ¶
func (o *InstrumentJSON) SetCurrencyP(exec boil.Executor, insert bool, related *Instrument)
SetCurrencyP of the instrument_json to the related item. Sets o.R.Currency to related. Adds o to related.R.CurrencyInstrumentJsons. Panics on error.
func (*InstrumentJSON) Update ¶
func (o *InstrumentJSON) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the InstrumentJSON. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*InstrumentJSON) UpdateG ¶
func (o *InstrumentJSON) UpdateG(whitelist ...string) error
UpdateG a single InstrumentJSON record. See Update for whitelist behavior description.
func (*InstrumentJSON) UpdateGP ¶
func (o *InstrumentJSON) UpdateGP(whitelist ...string)
UpdateGP a single InstrumentJSON record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*InstrumentJSON) UpdateP ¶
func (o *InstrumentJSON) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the InstrumentJSON, and panics on error. See Update for whitelist behavior description.
func (*InstrumentJSON) Upsert ¶
func (o *InstrumentJSON) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*InstrumentJSON) UpsertG ¶
func (o *InstrumentJSON) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type InstrumentJSONHook ¶
type InstrumentJSONHook func(boil.Executor, *InstrumentJSON) error
InstrumentJSONHook is the signature for custom InstrumentJSON hook methods
type InstrumentJSONSlice ¶
type InstrumentJSONSlice []*InstrumentJSON
InstrumentJSONSlice is an alias for a slice of pointers to InstrumentJSON. This should generally be used opposed to []InstrumentJSON.
func (InstrumentJSONSlice) DeleteAll ¶
func (o InstrumentJSONSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (InstrumentJSONSlice) DeleteAllG ¶
func (o InstrumentJSONSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (InstrumentJSONSlice) DeleteAllGP ¶
func (o InstrumentJSONSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (InstrumentJSONSlice) DeleteAllP ¶
func (o InstrumentJSONSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*InstrumentJSONSlice) ReloadAll ¶
func (o *InstrumentJSONSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InstrumentJSONSlice) ReloadAllG ¶
func (o *InstrumentJSONSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InstrumentJSONSlice) ReloadAllGP ¶
func (o *InstrumentJSONSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*InstrumentJSONSlice) ReloadAllP ¶
func (o *InstrumentJSONSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (InstrumentJSONSlice) UpdateAll ¶
func (o InstrumentJSONSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (InstrumentJSONSlice) UpdateAllG ¶
func (o InstrumentJSONSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (InstrumentJSONSlice) UpdateAllGP ¶
func (o InstrumentJSONSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (InstrumentJSONSlice) UpdateAllP ¶
func (o InstrumentJSONSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type InstrumentSlice ¶
type InstrumentSlice []*Instrument
InstrumentSlice is an alias for a slice of pointers to Instrument. This should generally be used opposed to []Instrument.
func (InstrumentSlice) DeleteAll ¶
func (o InstrumentSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (InstrumentSlice) DeleteAllG ¶
func (o InstrumentSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (InstrumentSlice) DeleteAllGP ¶
func (o InstrumentSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (InstrumentSlice) DeleteAllP ¶
func (o InstrumentSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*InstrumentSlice) ReloadAll ¶
func (o *InstrumentSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InstrumentSlice) ReloadAllG ¶
func (o *InstrumentSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InstrumentSlice) ReloadAllGP ¶
func (o *InstrumentSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*InstrumentSlice) ReloadAllP ¶
func (o *InstrumentSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (InstrumentSlice) UpdateAll ¶
func (o InstrumentSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (InstrumentSlice) UpdateAllG ¶
func (o InstrumentSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (InstrumentSlice) UpdateAllGP ¶
func (o InstrumentSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (InstrumentSlice) UpdateAllP ¶
func (o InstrumentSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.
type InstrumentSource ¶
type InstrumentSource struct { ID int16 `boil:"id" json:"id" toml:"id" yaml:"id"` Name null.String `boil:"name" json:"name,omitempty" toml:"name" yaml:"name,omitempty"` R *instrumentSourceR `boil:"-" json:"-" toml:"-" yaml:"-"` L instrumentSourceL `boil:"-" json:"-" toml:"-" yaml:"-"` }
InstrumentSource is an object representing the database table.
func FindInstrumentSource ¶
func FindInstrumentSource(exec boil.Executor, id int16, selectCols ...string) (*InstrumentSource, error)
FindInstrumentSource retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func FindInstrumentSourceG ¶
func FindInstrumentSourceG(id int16, selectCols ...string) (*InstrumentSource, error)
FindInstrumentSourceG retrieves a single record by ID.
func FindInstrumentSourceGP ¶
func FindInstrumentSourceGP(id int16, selectCols ...string) *InstrumentSource
FindInstrumentSourceGP retrieves a single record by ID, and panics on error.
func FindInstrumentSourceP ¶
func FindInstrumentSourceP(exec boil.Executor, id int16, selectCols ...string) *InstrumentSource
FindInstrumentSourceP retrieves a single record by ID with an executor, and panics on error.
func (*InstrumentSource) AddInstruments ¶
func (o *InstrumentSource) AddInstruments(exec boil.Executor, insert bool, related ...*Instrument) error
AddInstruments adds the given related objects to the existing relationships of the instrument_source, optionally inserting them as new records. Appends related to o.R.Instruments. Sets related.R.InstrumentSource appropriately.
func (*InstrumentSource) AddInstrumentsG ¶
func (o *InstrumentSource) AddInstrumentsG(insert bool, related ...*Instrument) error
AddInstrumentsG adds the given related objects to the existing relationships of the instrument_source, optionally inserting them as new records. Appends related to o.R.Instruments. Sets related.R.InstrumentSource appropriately. Uses the global database handle.
func (*InstrumentSource) AddInstrumentsGP ¶
func (o *InstrumentSource) AddInstrumentsGP(insert bool, related ...*Instrument)
AddInstrumentsGP adds the given related objects to the existing relationships of the instrument_source, optionally inserting them as new records. Appends related to o.R.Instruments. Sets related.R.InstrumentSource appropriately. Uses the global database handle and panics on error.
func (*InstrumentSource) AddInstrumentsP ¶
func (o *InstrumentSource) AddInstrumentsP(exec boil.Executor, insert bool, related ...*Instrument)
AddInstrumentsP adds the given related objects to the existing relationships of the instrument_source, optionally inserting them as new records. Appends related to o.R.Instruments. Sets related.R.InstrumentSource appropriately. Panics on error.
func (*InstrumentSource) Delete ¶
func (o *InstrumentSource) Delete(exec boil.Executor) error
Delete deletes a single InstrumentSource record with an executor. Delete will match against the primary key column to find the record to delete.
func (*InstrumentSource) DeleteG ¶
func (o *InstrumentSource) DeleteG() error
DeleteG deletes a single InstrumentSource record. DeleteG will match against the primary key column to find the record to delete.
func (*InstrumentSource) DeleteGP ¶
func (o *InstrumentSource) DeleteGP()
DeleteGP deletes a single InstrumentSource record. DeleteGP will match against the primary key column to find the record to delete. Panics on error.
func (*InstrumentSource) DeleteP ¶
func (o *InstrumentSource) DeleteP(exec boil.Executor)
DeleteP deletes a single InstrumentSource record with an executor. DeleteP will match against the primary key column to find the record to delete. Panics on error.
func (*InstrumentSource) Insert ¶
func (o *InstrumentSource) Insert(exec boil.Executor, whitelist ...string) error
Insert a single record using an executor. Whitelist behavior: If a whitelist is provided, only those columns supplied are inserted No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns without a default value are included (i.e. name, age) - All columns with a default, but non-zero are included (i.e. health = 75)
func (*InstrumentSource) InsertG ¶
func (o *InstrumentSource) InsertG(whitelist ...string) error
InsertG a single record. See Insert for whitelist behavior description.
func (*InstrumentSource) InsertGP ¶
func (o *InstrumentSource) InsertGP(whitelist ...string)
InsertGP a single record, and panics on error. See Insert for whitelist behavior description.
func (*InstrumentSource) InsertP ¶
func (o *InstrumentSource) InsertP(exec boil.Executor, whitelist ...string)
InsertP a single record using an executor, and panics on error. See Insert for whitelist behavior description.
func (*InstrumentSource) Instruments ¶
func (o *InstrumentSource) Instruments(exec boil.Executor, mods ...qm.QueryMod) instrumentQuery
Instruments retrieves all the instrument's instrument with an executor.
func (*InstrumentSource) InstrumentsG ¶
func (o *InstrumentSource) InstrumentsG(mods ...qm.QueryMod) instrumentQuery
InstrumentsG retrieves all the instrument's instrument.
func (*InstrumentSource) Reload ¶
func (o *InstrumentSource) Reload(exec boil.Executor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*InstrumentSource) ReloadG ¶
func (o *InstrumentSource) ReloadG() error
ReloadG refetches the object from the database using the primary keys.
func (*InstrumentSource) ReloadGP ¶
func (o *InstrumentSource) ReloadGP()
ReloadGP refetches the object from the database and panics on error.
func (*InstrumentSource) ReloadP ¶
func (o *InstrumentSource) ReloadP(exec boil.Executor)
ReloadP refetches the object from the database with an executor. Panics on error.
func (*InstrumentSource) Update ¶
func (o *InstrumentSource) Update(exec boil.Executor, whitelist ...string) error
Update uses an executor to update the InstrumentSource. Whitelist behavior: If a whitelist is provided, only the columns given are updated. No whitelist behavior: Without a whitelist, columns are inferred by the following rules: - All columns are inferred to start with - All primary keys are subtracted from this set Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*InstrumentSource) UpdateG ¶
func (o *InstrumentSource) UpdateG(whitelist ...string) error
UpdateG a single InstrumentSource record. See Update for whitelist behavior description.
func (*InstrumentSource) UpdateGP ¶
func (o *InstrumentSource) UpdateGP(whitelist ...string)
UpdateGP a single InstrumentSource record. UpdateGP takes a whitelist of column names that should be updated. Panics on error. See Update for whitelist behavior description.
func (*InstrumentSource) UpdateP ¶
func (o *InstrumentSource) UpdateP(exec boil.Executor, whitelist ...string)
UpdateP uses an executor to update the InstrumentSource, and panics on error. See Update for whitelist behavior description.
func (*InstrumentSource) Upsert ¶
func (o *InstrumentSource) Upsert(exec boil.Executor, updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict.
func (*InstrumentSource) UpsertG ¶
func (o *InstrumentSource) UpsertG(updateOnConflict bool, conflictColumns []string, updateColumns []string, whitelist ...string) error
UpsertG attempts an insert, and does an update or ignore on conflict.
type InstrumentSourceHook ¶
type InstrumentSourceHook func(boil.Executor, *InstrumentSource) error
InstrumentSourceHook is the signature for custom InstrumentSource hook methods
type InstrumentSourceSlice ¶
type InstrumentSourceSlice []*InstrumentSource
InstrumentSourceSlice is an alias for a slice of pointers to InstrumentSource. This should generally be used opposed to []InstrumentSource.
func (InstrumentSourceSlice) DeleteAll ¶
func (o InstrumentSourceSlice) DeleteAll(exec boil.Executor) error
DeleteAll deletes all rows in the slice, using an executor.
func (InstrumentSourceSlice) DeleteAllG ¶
func (o InstrumentSourceSlice) DeleteAllG() error
DeleteAllG deletes all rows in the slice.
func (InstrumentSourceSlice) DeleteAllGP ¶
func (o InstrumentSourceSlice) DeleteAllGP()
DeleteAllGP deletes all rows in the slice, and panics on error.
func (InstrumentSourceSlice) DeleteAllP ¶
func (o InstrumentSourceSlice) DeleteAllP(exec boil.Executor)
DeleteAllP deletes all rows in the slice, using an executor, and panics on error.
func (*InstrumentSourceSlice) ReloadAll ¶
func (o *InstrumentSourceSlice) ReloadAll(exec boil.Executor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InstrumentSourceSlice) ReloadAllG ¶
func (o *InstrumentSourceSlice) ReloadAllG() error
ReloadAllG refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (*InstrumentSourceSlice) ReloadAllGP ¶
func (o *InstrumentSourceSlice) ReloadAllGP()
ReloadAllGP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (*InstrumentSourceSlice) ReloadAllP ¶
func (o *InstrumentSourceSlice) ReloadAllP(exec boil.Executor)
ReloadAllP refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice. Panics on error.
func (InstrumentSourceSlice) UpdateAll ¶
func (o InstrumentSourceSlice) UpdateAll(exec boil.Executor, cols M) error
UpdateAll updates all rows with the specified column values, using an executor.
func (InstrumentSourceSlice) UpdateAllG ¶
func (o InstrumentSourceSlice) UpdateAllG(cols M) error
UpdateAllG updates all rows with the specified column values.
func (InstrumentSourceSlice) UpdateAllGP ¶
func (o InstrumentSourceSlice) UpdateAllGP(cols M)
UpdateAllGP updates all rows with the specified column values, and panics on error.
func (InstrumentSourceSlice) UpdateAllP ¶
func (o InstrumentSourceSlice) UpdateAllP(exec boil.Executor, cols M)
UpdateAllP updates all rows with the specified column values, and panics on error.