Documentation ¶
Index ¶
- Variables
- func AddAreaCodeHook(hookPoint boil.HookPoint, areaCodeHook AreaCodeHook)
- func AddEarthquakeActivityHook(hookPoint boil.HookPoint, earthquakeActivityHook EarthquakeActivityHook)
- func AddEarthquakeCountHook(hookPoint boil.HookPoint, earthquakeCountHook EarthquakeCountHook)
- func AddEarthquakeEpicenterHook(hookPoint boil.HookPoint, earthquakeEpicenterHook EarthquakeEpicenterHook)
- func AddEarthquakeHook(hookPoint boil.HookPoint, earthquakeHook EarthquakeHook)
- func AddEarthquakeInfoHook(hookPoint boil.HookPoint, earthquakeInfoHook EarthquakeInfoHook)
- func AddEarthquakeReportHook(hookPoint boil.HookPoint, earthquakeReportHook EarthquakeReportHook)
- func AddEarthquakeUpdateHook(hookPoint boil.HookPoint, earthquakeUpdateHook EarthquakeUpdateHook)
- func AddIntensityStationCodeHook(hookPoint boil.HookPoint, intensityStationCodeHook IntensityStationCodeHook)
- func AddJmaXmlEntryHook(hookPoint boil.HookPoint, jmaXmlEntryHook JmaXmlEntryHook)
- func AddPrefectureCodeHook(hookPoint boil.HookPoint, prefectureCodeHook PrefectureCodeHook)
- func AddTsunamiConnectHook(hookPoint boil.HookPoint, tsunamiConnectHook TsunamiConnectHook)
- func AddTsunamiInfoHook(hookPoint boil.HookPoint, tsunamiInfoHook TsunamiInfoHook)
- func AddTwitterThreadHook(hookPoint boil.HookPoint, twitterThreadHook TwitterThreadHook)
- func AreaCodeExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func AreaCodes(mods ...qm.QueryMod) areaCodeQuery
- func EarthquakeActivities(mods ...qm.QueryMod) earthquakeActivityQuery
- func EarthquakeActivityExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func EarthquakeCountExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func EarthquakeCounts(mods ...qm.QueryMod) earthquakeCountQuery
- func EarthquakeEpicenterExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func EarthquakeEpicenters(mods ...qm.QueryMod) earthquakeEpicenterQuery
- func EarthquakeExists(ctx context.Context, exec boil.ContextExecutor, eventID uint64) (bool, error)
- func EarthquakeInfoExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func EarthquakeInfos(mods ...qm.QueryMod) earthquakeInfoQuery
- func EarthquakeReportExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func EarthquakeReports(mods ...qm.QueryMod) earthquakeReportQuery
- func EarthquakeUpdateExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func EarthquakeUpdates(mods ...qm.QueryMod) earthquakeUpdateQuery
- func Earthquakes(mods ...qm.QueryMod) earthquakeQuery
- func IntensityStationCodeExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func IntensityStationCodes(mods ...qm.QueryMod) intensityStationCodeQuery
- func JmaXmlEntries(mods ...qm.QueryMod) jmaXmlEntryQuery
- func JmaXmlEntryExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)
- func NewQuery(mods ...qm.QueryMod) *queries.Query
- func PrefectureCodeExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func PrefectureCodes(mods ...qm.QueryMod) prefectureCodeQuery
- func TsunamiConnectExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func TsunamiConnects(mods ...qm.QueryMod) tsunamiConnectQuery
- func TsunamiInfoExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
- func TsunamiInfos(mods ...qm.QueryMod) tsunamiInfoQuery
- func TwitterThreadExists(ctx context.Context, exec boil.ContextExecutor, eventID uint64) (bool, error)
- func TwitterThreads(mods ...qm.QueryMod) twitterThreadQuery
- type AreaCode
- func (o *AreaCode) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *AreaCode) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *AreaCode) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *AreaCode) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *AreaCode) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *AreaCode) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type AreaCodeHook
- type AreaCodeSlice
- type Earthquake
- func (o *Earthquake) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *Earthquake) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *Earthquake) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *Earthquake) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *Earthquake) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *Earthquake) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type EarthquakeActivity
- func (o *EarthquakeActivity) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *EarthquakeActivity) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *EarthquakeActivity) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *EarthquakeActivity) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *EarthquakeActivity) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *EarthquakeActivity) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type EarthquakeActivityHook
- type EarthquakeActivitySlice
- func (o EarthquakeActivitySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *EarthquakeActivitySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o EarthquakeActivitySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type EarthquakeCount
- func (o *EarthquakeCount) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *EarthquakeCount) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *EarthquakeCount) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *EarthquakeCount) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *EarthquakeCount) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *EarthquakeCount) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type EarthquakeCountHook
- type EarthquakeCountSlice
- func (o EarthquakeCountSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *EarthquakeCountSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o EarthquakeCountSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type EarthquakeEpicenter
- func (o *EarthquakeEpicenter) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *EarthquakeEpicenter) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *EarthquakeEpicenter) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *EarthquakeEpicenter) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *EarthquakeEpicenter) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *EarthquakeEpicenter) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type EarthquakeEpicenterHook
- type EarthquakeEpicenterSlice
- func (o EarthquakeEpicenterSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *EarthquakeEpicenterSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o EarthquakeEpicenterSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type EarthquakeHook
- type EarthquakeInfo
- func (o *EarthquakeInfo) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *EarthquakeInfo) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *EarthquakeInfo) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *EarthquakeInfo) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *EarthquakeInfo) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *EarthquakeInfo) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type EarthquakeInfoHook
- type EarthquakeInfoSlice
- func (o EarthquakeInfoSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *EarthquakeInfoSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o EarthquakeInfoSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type EarthquakeReport
- func (o *EarthquakeReport) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *EarthquakeReport) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *EarthquakeReport) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *EarthquakeReport) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *EarthquakeReport) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *EarthquakeReport) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type EarthquakeReportHook
- type EarthquakeReportSlice
- func (o EarthquakeReportSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *EarthquakeReportSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o EarthquakeReportSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type EarthquakeSlice
- type EarthquakeUpdate
- func (o *EarthquakeUpdate) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *EarthquakeUpdate) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *EarthquakeUpdate) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *EarthquakeUpdate) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *EarthquakeUpdate) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *EarthquakeUpdate) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type EarthquakeUpdateHook
- type EarthquakeUpdateSlice
- func (o EarthquakeUpdateSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *EarthquakeUpdateSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o EarthquakeUpdateSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type IntensityStationCode
- func (o *IntensityStationCode) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *IntensityStationCode) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *IntensityStationCode) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *IntensityStationCode) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *IntensityStationCode) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *IntensityStationCode) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type IntensityStationCodeHook
- type IntensityStationCodeSlice
- func (o IntensityStationCodeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *IntensityStationCodeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o IntensityStationCodeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type JmaXmlEntry
- func (o *JmaXmlEntry) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *JmaXmlEntry) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *JmaXmlEntry) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *JmaXmlEntry) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *JmaXmlEntry) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *JmaXmlEntry) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type JmaXmlEntryHook
- type JmaXmlEntrySlice
- type M
- type PrefectureCode
- func (o *PrefectureCode) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PrefectureCode) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *PrefectureCode) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *PrefectureCode) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *PrefectureCode) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *PrefectureCode) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type PrefectureCodeHook
- type PrefectureCodeSlice
- func (o PrefectureCodeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *PrefectureCodeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o PrefectureCodeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type TsunamiConnect
- func (o *TsunamiConnect) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *TsunamiConnect) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *TsunamiConnect) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *TsunamiConnect) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *TsunamiConnect) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *TsunamiConnect) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type TsunamiConnectHook
- type TsunamiConnectSlice
- func (o TsunamiConnectSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *TsunamiConnectSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o TsunamiConnectSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
- type TsunamiInfo
- func (o *TsunamiInfo) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *TsunamiInfo) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *TsunamiInfo) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *TsunamiInfo) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *TsunamiInfo) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *TsunamiInfo) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type TsunamiInfoHook
- type TsunamiInfoSlice
- type TwitterThread
- func (o *TwitterThread) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *TwitterThread) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
- func (o *TwitterThread) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
- func (o *TwitterThread) Reload(ctx context.Context, exec boil.ContextExecutor) error
- func (o *TwitterThread) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
- func (o *TwitterThread) Upsert(ctx context.Context, exec boil.ContextExecutor, ...) error
- type TwitterThreadHook
- type TwitterThreadSlice
- func (o TwitterThreadSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
- func (o *TwitterThreadSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
- func (o TwitterThreadSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
Constants ¶
This section is empty.
Variables ¶
var AreaCodeColumns = struct { ID string Name string PrefectureID string Created string Updated string }{ ID: "id", Name: "name", PrefectureID: "prefecture_id", Created: "created", Updated: "updated", }
var AreaCodeRels = struct {
}{}
AreaCodeRels is where relationship names are stored.
var AreaCodeTableColumns = struct { ID string Name string PrefectureID string Created string Updated string }{ ID: "AreaCodes.id", Name: "AreaCodes.name", PrefectureID: "AreaCodes.prefecture_id", Created: "AreaCodes.created", Updated: "AreaCodes.updated", }
var AreaCodeWhere = struct { ID whereHelperuint Name whereHelperstring PrefectureID whereHelperuint Created whereHelpertime_Time Updated whereHelpertime_Time }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, PrefectureID: whereHelperuint{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, Updated: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var EarthquakeActivityColumns = struct { ID string EventID string Date string Created string Row string }{ ID: "id", EventID: "event_id", Date: "date", Created: "created", Row: "row", }
var EarthquakeActivityRels = struct {
}{}
EarthquakeActivityRels is where relationship names are stored.
var EarthquakeActivityTableColumns = struct { ID string EventID string Date string Created string Row string }{ ID: "EarthquakeActivity.id", EventID: "EarthquakeActivity.event_id", Date: "EarthquakeActivity.date", Created: "EarthquakeActivity.created", Row: "EarthquakeActivity.row", }
var EarthquakeActivityWhere = struct { ID whereHelperuint EventID whereHelperuint64 Date whereHelpertime_Time Created whereHelpertime_Time Row whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, EventID: whereHelperuint64{/* contains filtered or unexported fields */}, Date: whereHelpertime_Time{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, Row: whereHelperstring{/* contains filtered or unexported fields */}, }
var EarthquakeColumns = struct { EventID string Lat string Lon string Depth string EpicenterName string MaxInt string Magnitude string Date string Created string Modified string }{ EventID: "event_id", Lat: "lat", Lon: "lon", Depth: "depth", EpicenterName: "epicenter_name", MaxInt: "max_int", Magnitude: "magnitude", Date: "date", Created: "created", Modified: "modified", }
var EarthquakeCountColumns = struct { ID string EventID string Date string Created string Row string }{ ID: "id", EventID: "event_id", Date: "date", Created: "created", Row: "row", }
var EarthquakeCountRels = struct {
}{}
EarthquakeCountRels is where relationship names are stored.
var EarthquakeCountTableColumns = struct { ID string EventID string Date string Created string Row string }{ ID: "EarthquakeCount.id", EventID: "EarthquakeCount.event_id", Date: "EarthquakeCount.date", Created: "EarthquakeCount.created", Row: "EarthquakeCount.row", }
var EarthquakeCountWhere = struct { ID whereHelperuint EventID whereHelperuint64 Date whereHelpertime_Time Created whereHelpertime_Time Row whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, EventID: whereHelperuint64{/* contains filtered or unexported fields */}, Date: whereHelpertime_Time{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, Row: whereHelperstring{/* contains filtered or unexported fields */}, }
var EarthquakeEpicenterColumns = struct { ID string EventID string Lat string Lon string Depth string EpicenterName string Magnitude string Date string Created string Row string }{ ID: "id", EventID: "event_id", Lat: "lat", Lon: "lon", Depth: "depth", EpicenterName: "epicenter_name", Magnitude: "magnitude", Date: "date", Created: "created", Row: "row", }
var EarthquakeEpicenterRels = struct {
}{}
EarthquakeEpicenterRels is where relationship names are stored.
var EarthquakeEpicenterTableColumns = struct { ID string EventID string Lat string Lon string Depth string EpicenterName string Magnitude string Date string Created string Row string }{ ID: "EarthquakeEpicenters.id", EventID: "EarthquakeEpicenters.event_id", Lat: "EarthquakeEpicenters.lat", Lon: "EarthquakeEpicenters.lon", Depth: "EarthquakeEpicenters.depth", EpicenterName: "EarthquakeEpicenters.epicenter_name", Magnitude: "EarthquakeEpicenters.magnitude", Date: "EarthquakeEpicenters.date", Created: "EarthquakeEpicenters.created", Row: "EarthquakeEpicenters.row", }
var EarthquakeEpicenterWhere = struct { ID whereHelperuint EventID whereHelperuint64 Lat whereHelpernull_Float64 Lon whereHelpernull_Float64 Depth whereHelpernull_Int EpicenterName whereHelperstring Magnitude whereHelpernull_String Date whereHelpertime_Time Created whereHelpertime_Time Row whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, EventID: whereHelperuint64{/* contains filtered or unexported fields */}, Lat: whereHelpernull_Float64{/* contains filtered or unexported fields */}, Lon: whereHelpernull_Float64{/* contains filtered or unexported fields */}, Depth: whereHelpernull_Int{/* contains filtered or unexported fields */}, EpicenterName: whereHelperstring{/* contains filtered or unexported fields */}, Magnitude: whereHelpernull_String{/* contains filtered or unexported fields */}, Date: whereHelpertime_Time{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, Row: whereHelperstring{/* contains filtered or unexported fields */}, }
var EarthquakeInfoColumns = struct { ID string EventID string Lat string Lon string Depth string EpicenterName string MaxInt string Magnitude string Date string Created string Row string }{ ID: "id", EventID: "event_id", Lat: "lat", Lon: "lon", Depth: "depth", EpicenterName: "epicenter_name", MaxInt: "max_int", Magnitude: "magnitude", Date: "date", Created: "created", Row: "row", }
var EarthquakeInfoRels = struct {
}{}
EarthquakeInfoRels is where relationship names are stored.
var EarthquakeInfoTableColumns = struct { ID string EventID string Lat string Lon string Depth string EpicenterName string MaxInt string Magnitude string Date string Created string Row string }{ ID: "EarthquakeInfos.id", EventID: "EarthquakeInfos.event_id", Lat: "EarthquakeInfos.lat", Lon: "EarthquakeInfos.lon", Depth: "EarthquakeInfos.depth", EpicenterName: "EarthquakeInfos.epicenter_name", MaxInt: "EarthquakeInfos.max_int", Magnitude: "EarthquakeInfos.magnitude", Date: "EarthquakeInfos.date", Created: "EarthquakeInfos.created", Row: "EarthquakeInfos.row", }
var EarthquakeInfoWhere = struct { ID whereHelperuint EventID whereHelperuint64 Lat whereHelpernull_Float64 Lon whereHelpernull_Float64 Depth whereHelpernull_Int EpicenterName whereHelperstring MaxInt whereHelpernull_String Magnitude whereHelpernull_String Date whereHelpertime_Time Created whereHelpertime_Time Row whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, EventID: whereHelperuint64{/* contains filtered or unexported fields */}, Lat: whereHelpernull_Float64{/* contains filtered or unexported fields */}, Lon: whereHelpernull_Float64{/* contains filtered or unexported fields */}, Depth: whereHelpernull_Int{/* contains filtered or unexported fields */}, EpicenterName: whereHelperstring{/* contains filtered or unexported fields */}, MaxInt: whereHelpernull_String{/* contains filtered or unexported fields */}, Magnitude: whereHelpernull_String{/* contains filtered or unexported fields */}, Date: whereHelpertime_Time{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, Row: whereHelperstring{/* contains filtered or unexported fields */}, }
var EarthquakeRels = struct {
}{}
EarthquakeRels is where relationship names are stored.
var EarthquakeReportColumns = struct { ID string EventID string MaxInt string Date string Created string Row string }{ ID: "id", EventID: "event_id", MaxInt: "max_int", Date: "date", Created: "created", Row: "row", }
var EarthquakeReportRels = struct {
}{}
EarthquakeReportRels is where relationship names are stored.
var EarthquakeReportTableColumns = struct { ID string EventID string MaxInt string Date string Created string Row string }{ ID: "EarthquakeReports.id", EventID: "EarthquakeReports.event_id", MaxInt: "EarthquakeReports.max_int", Date: "EarthquakeReports.date", Created: "EarthquakeReports.created", Row: "EarthquakeReports.row", }
var EarthquakeReportWhere = struct { ID whereHelperuint EventID whereHelperuint64 MaxInt whereHelperstring Date whereHelpertime_Time Created whereHelpertime_Time Row whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, EventID: whereHelperuint64{/* contains filtered or unexported fields */}, MaxInt: whereHelperstring{/* contains filtered or unexported fields */}, Date: whereHelpertime_Time{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, Row: whereHelperstring{/* contains filtered or unexported fields */}, }
var EarthquakeTableColumns = struct { EventID string Lat string Lon string Depth string EpicenterName string MaxInt string Magnitude string Date string Created string Modified string }{ EventID: "Earthquakes.event_id", Lat: "Earthquakes.lat", Lon: "Earthquakes.lon", Depth: "Earthquakes.depth", EpicenterName: "Earthquakes.epicenter_name", MaxInt: "Earthquakes.max_int", Magnitude: "Earthquakes.magnitude", Date: "Earthquakes.date", Created: "Earthquakes.created", Modified: "Earthquakes.modified", }
var EarthquakeUpdateColumns = struct { ID string EventID string Lat string Lon string Depth string Magnitude string Date string Created string Row string }{ ID: "id", EventID: "event_id", Lat: "lat", Lon: "lon", Depth: "depth", Magnitude: "magnitude", Date: "date", Created: "created", Row: "row", }
var EarthquakeUpdateRels = struct {
}{}
EarthquakeUpdateRels is where relationship names are stored.
var EarthquakeUpdateTableColumns = struct { ID string EventID string Lat string Lon string Depth string Magnitude string Date string Created string Row string }{ ID: "EarthquakeUpdate.id", EventID: "EarthquakeUpdate.event_id", Lat: "EarthquakeUpdate.lat", Lon: "EarthquakeUpdate.lon", Depth: "EarthquakeUpdate.depth", Magnitude: "EarthquakeUpdate.magnitude", Date: "EarthquakeUpdate.date", Created: "EarthquakeUpdate.created", Row: "EarthquakeUpdate.row", }
var EarthquakeUpdateWhere = struct { ID whereHelperuint EventID whereHelperuint64 Lat whereHelpernull_Float64 Lon whereHelpernull_Float64 Depth whereHelpernull_Int Magnitude whereHelpernull_String Date whereHelpertime_Time Created whereHelpertime_Time Row whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, EventID: whereHelperuint64{/* contains filtered or unexported fields */}, Lat: whereHelpernull_Float64{/* contains filtered or unexported fields */}, Lon: whereHelpernull_Float64{/* contains filtered or unexported fields */}, Depth: whereHelpernull_Int{/* contains filtered or unexported fields */}, Magnitude: whereHelpernull_String{/* contains filtered or unexported fields */}, Date: whereHelpertime_Time{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, Row: whereHelperstring{/* contains filtered or unexported fields */}, }
var EarthquakeWhere = struct { EventID whereHelperuint64 Lat whereHelpernull_Float64 Lon whereHelpernull_Float64 Depth whereHelpernull_Int EpicenterName whereHelpernull_String MaxInt whereHelperstring Magnitude whereHelpernull_String Date whereHelpertime_Time Created whereHelpertime_Time Modified whereHelpertime_Time }{ EventID: whereHelperuint64{/* contains filtered or unexported fields */}, Lat: whereHelpernull_Float64{/* contains filtered or unexported fields */}, Lon: whereHelpernull_Float64{/* contains filtered or unexported fields */}, Depth: whereHelpernull_Int{/* contains filtered or unexported fields */}, EpicenterName: whereHelpernull_String{/* contains filtered or unexported fields */}, MaxInt: whereHelperstring{/* contains filtered or unexported fields */}, Magnitude: whereHelpernull_String{/* contains filtered or unexported fields */}, Date: whereHelpertime_Time{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, Modified: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var ErrSyncFail = errors.New("models: failed to synchronize data after insert")
ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.
var IntensityStationCodeColumns = struct { ID string Name string Lat string Lon string PrefectureID string AreaID string Created string Updated string }{ ID: "id", Name: "name", Lat: "lat", Lon: "lon", PrefectureID: "prefecture_id", AreaID: "area_id", Created: "created", Updated: "updated", }
var IntensityStationCodeRels = struct {
}{}
IntensityStationCodeRels is where relationship names are stored.
var IntensityStationCodeTableColumns = struct { ID string Name string Lat string Lon string PrefectureID string AreaID string Created string Updated string }{ ID: "IntensityStationCodes.id", Name: "IntensityStationCodes.name", Lat: "IntensityStationCodes.lat", Lon: "IntensityStationCodes.lon", PrefectureID: "IntensityStationCodes.prefecture_id", AreaID: "IntensityStationCodes.area_id", Created: "IntensityStationCodes.created", Updated: "IntensityStationCodes.updated", }
var IntensityStationCodeWhere = struct { ID whereHelperuint Name whereHelperstring Lat whereHelperfloat64 Lon whereHelperfloat64 PrefectureID whereHelperuint AreaID whereHelperuint Created whereHelpertime_Time Updated whereHelpertime_Time }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Lat: whereHelperfloat64{/* contains filtered or unexported fields */}, Lon: whereHelperfloat64{/* contains filtered or unexported fields */}, PrefectureID: whereHelperuint{/* contains filtered or unexported fields */}, AreaID: whereHelperuint{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, Updated: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var JmaXmlEntryColumns = struct { ID string Updated string Created string }{ ID: "id", Updated: "updated", Created: "created", }
var JmaXmlEntryRels = struct {
}{}
JmaXmlEntryRels is where relationship names are stored.
var JmaXmlEntryTableColumns = struct { ID string Updated string Created string }{ ID: "JmaXmlEntries.id", Updated: "JmaXmlEntries.updated", Created: "JmaXmlEntries.created", }
var JmaXmlEntryWhere = struct { ID whereHelperstring Updated whereHelpertime_Time Created whereHelpertime_Time }{ ID: whereHelperstring{/* contains filtered or unexported fields */}, Updated: whereHelpertime_Time{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var PrefectureCodeColumns = struct { ID string Name string Created string Updated string }{ ID: "id", Name: "name", Created: "created", Updated: "updated", }
var PrefectureCodeRels = struct {
}{}
PrefectureCodeRels is where relationship names are stored.
var PrefectureCodeTableColumns = struct { ID string Name string Created string Updated string }{ ID: "PrefectureCodes.id", Name: "PrefectureCodes.name", Created: "PrefectureCodes.created", Updated: "PrefectureCodes.updated", }
var PrefectureCodeWhere = struct { ID whereHelperuint Name whereHelperstring Created whereHelpertime_Time Updated whereHelpertime_Time }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, Name: whereHelperstring{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, Updated: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var TableNames = struct { AreaCodes string EarthquakeActivity string EarthquakeCount string EarthquakeEpicenters string EarthquakeInfos string EarthquakeReports string EarthquakeUpdate string Earthquakes string IntensityStationCodes string JmaXmlEntries string PrefectureCodes string TsunamiConnects string TsunamiInfos string TwitterThreads string }{ AreaCodes: "AreaCodes", EarthquakeActivity: "EarthquakeActivity", EarthquakeCount: "EarthquakeCount", EarthquakeEpicenters: "EarthquakeEpicenters", EarthquakeInfos: "EarthquakeInfos", EarthquakeReports: "EarthquakeReports", EarthquakeUpdate: "EarthquakeUpdate", Earthquakes: "Earthquakes", IntensityStationCodes: "IntensityStationCodes", JmaXmlEntries: "JmaXmlEntries", PrefectureCodes: "PrefectureCodes", TsunamiConnects: "TsunamiConnects", TsunamiInfos: "TsunamiInfos", TwitterThreads: "TwitterThreads", }
var TsunamiConnectColumns = struct { ID string TsunamiID string EventID string Created string }{ ID: "id", TsunamiID: "tsunami_id", EventID: "event_id", Created: "created", }
var TsunamiConnectRels = struct {
}{}
TsunamiConnectRels is where relationship names are stored.
var TsunamiConnectTableColumns = struct { ID string TsunamiID string EventID string Created string }{ ID: "TsunamiConnects.id", TsunamiID: "TsunamiConnects.tsunami_id", EventID: "TsunamiConnects.event_id", Created: "TsunamiConnects.created", }
var TsunamiConnectWhere = struct { ID whereHelperuint TsunamiID whereHelperint EventID whereHelperuint64 Created whereHelpertime_Time }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, TsunamiID: whereHelperint{/* contains filtered or unexported fields */}, EventID: whereHelperuint64{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var TsunamiInfoColumns = struct { ID string Date string Created string Row string }{ ID: "id", Date: "date", Created: "created", Row: "row", }
var TsunamiInfoRels = struct {
}{}
TsunamiInfoRels is where relationship names are stored.
var TsunamiInfoTableColumns = struct { ID string Date string Created string Row string }{ ID: "TsunamiInfos.id", Date: "TsunamiInfos.date", Created: "TsunamiInfos.created", Row: "TsunamiInfos.row", }
var TsunamiInfoWhere = struct { ID whereHelperuint Date whereHelpertime_Time Created whereHelpertime_Time Row whereHelperstring }{ ID: whereHelperuint{/* contains filtered or unexported fields */}, Date: whereHelpertime_Time{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, Row: whereHelperstring{/* contains filtered or unexported fields */}, }
var TwitterThreadColumns = struct { EventID string TweetID string Created string }{ EventID: "event_id", TweetID: "tweet_id", Created: "created", }
var TwitterThreadRels = struct {
}{}
TwitterThreadRels is where relationship names are stored.
var TwitterThreadTableColumns = struct { EventID string TweetID string Created string }{ EventID: "TwitterThreads.event_id", TweetID: "TwitterThreads.tweet_id", Created: "TwitterThreads.created", }
var TwitterThreadWhere = struct { EventID whereHelperuint64 TweetID whereHelperstring Created whereHelpertime_Time }{ EventID: whereHelperuint64{/* contains filtered or unexported fields */}, TweetID: whereHelperstring{/* contains filtered or unexported fields */}, Created: whereHelpertime_Time{/* contains filtered or unexported fields */}, }
var ViewNames = struct {
}{}
Functions ¶
func AddAreaCodeHook ¶
func AddAreaCodeHook(hookPoint boil.HookPoint, areaCodeHook AreaCodeHook)
AddAreaCodeHook registers your hook function for all future operations.
func AddEarthquakeActivityHook ¶
func AddEarthquakeActivityHook(hookPoint boil.HookPoint, earthquakeActivityHook EarthquakeActivityHook)
AddEarthquakeActivityHook registers your hook function for all future operations.
func AddEarthquakeCountHook ¶
func AddEarthquakeCountHook(hookPoint boil.HookPoint, earthquakeCountHook EarthquakeCountHook)
AddEarthquakeCountHook registers your hook function for all future operations.
func AddEarthquakeEpicenterHook ¶
func AddEarthquakeEpicenterHook(hookPoint boil.HookPoint, earthquakeEpicenterHook EarthquakeEpicenterHook)
AddEarthquakeEpicenterHook registers your hook function for all future operations.
func AddEarthquakeHook ¶
func AddEarthquakeHook(hookPoint boil.HookPoint, earthquakeHook EarthquakeHook)
AddEarthquakeHook registers your hook function for all future operations.
func AddEarthquakeInfoHook ¶
func AddEarthquakeInfoHook(hookPoint boil.HookPoint, earthquakeInfoHook EarthquakeInfoHook)
AddEarthquakeInfoHook registers your hook function for all future operations.
func AddEarthquakeReportHook ¶
func AddEarthquakeReportHook(hookPoint boil.HookPoint, earthquakeReportHook EarthquakeReportHook)
AddEarthquakeReportHook registers your hook function for all future operations.
func AddEarthquakeUpdateHook ¶
func AddEarthquakeUpdateHook(hookPoint boil.HookPoint, earthquakeUpdateHook EarthquakeUpdateHook)
AddEarthquakeUpdateHook registers your hook function for all future operations.
func AddIntensityStationCodeHook ¶
func AddIntensityStationCodeHook(hookPoint boil.HookPoint, intensityStationCodeHook IntensityStationCodeHook)
AddIntensityStationCodeHook registers your hook function for all future operations.
func AddJmaXmlEntryHook ¶
func AddJmaXmlEntryHook(hookPoint boil.HookPoint, jmaXmlEntryHook JmaXmlEntryHook)
AddJmaXmlEntryHook registers your hook function for all future operations.
func AddPrefectureCodeHook ¶
func AddPrefectureCodeHook(hookPoint boil.HookPoint, prefectureCodeHook PrefectureCodeHook)
AddPrefectureCodeHook registers your hook function for all future operations.
func AddTsunamiConnectHook ¶
func AddTsunamiConnectHook(hookPoint boil.HookPoint, tsunamiConnectHook TsunamiConnectHook)
AddTsunamiConnectHook registers your hook function for all future operations.
func AddTsunamiInfoHook ¶
func AddTsunamiInfoHook(hookPoint boil.HookPoint, tsunamiInfoHook TsunamiInfoHook)
AddTsunamiInfoHook registers your hook function for all future operations.
func AddTwitterThreadHook ¶
func AddTwitterThreadHook(hookPoint boil.HookPoint, twitterThreadHook TwitterThreadHook)
AddTwitterThreadHook registers your hook function for all future operations.
func AreaCodeExists ¶
AreaCodeExists checks if the AreaCode row exists.
func EarthquakeActivities ¶
EarthquakeActivities retrieves all the records using an executor.
func EarthquakeActivityExists ¶
func EarthquakeActivityExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
EarthquakeActivityExists checks if the EarthquakeActivity row exists.
func EarthquakeCountExists ¶
EarthquakeCountExists checks if the EarthquakeCount row exists.
func EarthquakeCounts ¶
EarthquakeCounts retrieves all the records using an executor.
func EarthquakeEpicenterExists ¶
func EarthquakeEpicenterExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
EarthquakeEpicenterExists checks if the EarthquakeEpicenter row exists.
func EarthquakeEpicenters ¶
EarthquakeEpicenters retrieves all the records using an executor.
func EarthquakeExists ¶
EarthquakeExists checks if the Earthquake row exists.
func EarthquakeInfoExists ¶
EarthquakeInfoExists checks if the EarthquakeInfo row exists.
func EarthquakeInfos ¶
EarthquakeInfos retrieves all the records using an executor.
func EarthquakeReportExists ¶
EarthquakeReportExists checks if the EarthquakeReport row exists.
func EarthquakeReports ¶
EarthquakeReports retrieves all the records using an executor.
func EarthquakeUpdateExists ¶
EarthquakeUpdateExists checks if the EarthquakeUpdate row exists.
func EarthquakeUpdates ¶
EarthquakeUpdates retrieves all the records using an executor.
func Earthquakes ¶
Earthquakes retrieves all the records using an executor.
func IntensityStationCodeExists ¶
func IntensityStationCodeExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)
IntensityStationCodeExists checks if the IntensityStationCode row exists.
func IntensityStationCodes ¶
IntensityStationCodes retrieves all the records using an executor.
func JmaXmlEntries ¶
JmaXmlEntries retrieves all the records using an executor.
func JmaXmlEntryExists ¶
JmaXmlEntryExists checks if the JmaXmlEntry row exists.
func PrefectureCodeExists ¶
PrefectureCodeExists checks if the PrefectureCode row exists.
func PrefectureCodes ¶
PrefectureCodes retrieves all the records using an executor.
func TsunamiConnectExists ¶
TsunamiConnectExists checks if the TsunamiConnect row exists.
func TsunamiConnects ¶
TsunamiConnects retrieves all the records using an executor.
func TsunamiInfoExists ¶
TsunamiInfoExists checks if the TsunamiInfo row exists.
func TsunamiInfos ¶
TsunamiInfos retrieves all the records using an executor.
func TwitterThreadExists ¶
func TwitterThreadExists(ctx context.Context, exec boil.ContextExecutor, eventID uint64) (bool, error)
TwitterThreadExists checks if the TwitterThread row exists.
func TwitterThreads ¶
TwitterThreads retrieves all the records using an executor.
Types ¶
type AreaCode ¶
type AreaCode struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` PrefectureID uint `boil:"prefecture_id" json:"prefecture_id" toml:"prefecture_id" yaml:"prefecture_id"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Updated time.Time `boil:"updated" json:"updated" toml:"updated" yaml:"updated"` R *areaCodeR `boil:"-" json:"-" toml:"-" yaml:"-"` L areaCodeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
AreaCode is an object representing the database table.
func FindAreaCode ¶
func FindAreaCode(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*AreaCode, error)
FindAreaCode retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*AreaCode) Delete ¶
Delete deletes a single AreaCode record with an executor. Delete will match against the primary key column to find the record to delete.
func (*AreaCode) Insert ¶
func (o *AreaCode) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*AreaCode) Reload ¶
Reload refetches the object from the database using the primary keys with an executor.
func (*AreaCode) Update ¶
func (o *AreaCode) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the AreaCode. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*AreaCode) Upsert ¶
func (o *AreaCode) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type AreaCodeHook ¶
AreaCodeHook is the signature for custom AreaCode hook methods
type AreaCodeSlice ¶
type AreaCodeSlice []*AreaCode
AreaCodeSlice is an alias for a slice of pointers to AreaCode. This should almost always be used instead of []AreaCode.
func (AreaCodeSlice) DeleteAll ¶
func (o AreaCodeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*AreaCodeSlice) ReloadAll ¶
func (o *AreaCodeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (AreaCodeSlice) UpdateAll ¶
func (o AreaCodeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type Earthquake ¶
type Earthquake struct { EventID uint64 `boil:"event_id" json:"event_id" toml:"event_id" yaml:"event_id"` Lat null.Float64 `boil:"lat" json:"lat,omitempty" toml:"lat" yaml:"lat,omitempty"` Lon null.Float64 `boil:"lon" json:"lon,omitempty" toml:"lon" yaml:"lon,omitempty"` Depth null.Int `boil:"depth" json:"depth,omitempty" toml:"depth" yaml:"depth,omitempty"` EpicenterName null.String `boil:"epicenter_name" json:"epicenter_name,omitempty" toml:"epicenter_name" yaml:"epicenter_name,omitempty"` MaxInt string `boil:"max_int" json:"max_int" toml:"max_int" yaml:"max_int"` Magnitude null.String `boil:"magnitude" json:"magnitude,omitempty" toml:"magnitude" yaml:"magnitude,omitempty"` Date time.Time `boil:"date" json:"date" toml:"date" yaml:"date"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Modified time.Time `boil:"modified" json:"modified" toml:"modified" yaml:"modified"` R *earthquakeR `boil:"-" json:"-" toml:"-" yaml:"-"` L earthquakeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
Earthquake is an object representing the database table.
func FindEarthquake ¶
func FindEarthquake(ctx context.Context, exec boil.ContextExecutor, eventID uint64, selectCols ...string) (*Earthquake, error)
FindEarthquake retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*Earthquake) Delete ¶
func (o *Earthquake) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single Earthquake record with an executor. Delete will match against the primary key column to find the record to delete.
func (*Earthquake) Exists ¶
func (o *Earthquake) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the Earthquake row exists.
func (*Earthquake) Insert ¶
func (o *Earthquake) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*Earthquake) Reload ¶
func (o *Earthquake) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*Earthquake) Update ¶
func (o *Earthquake) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the Earthquake. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*Earthquake) Upsert ¶
func (o *Earthquake) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type EarthquakeActivity ¶
type EarthquakeActivity struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` EventID uint64 `boil:"event_id" json:"event_id" toml:"event_id" yaml:"event_id"` Date time.Time `boil:"date" json:"date" toml:"date" yaml:"date"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Row string `boil:"row" json:"row" toml:"row" yaml:"row"` R *earthquakeActivityR `boil:"-" json:"-" toml:"-" yaml:"-"` L earthquakeActivityL `boil:"-" json:"-" toml:"-" yaml:"-"` }
EarthquakeActivity is an object representing the database table.
func FindEarthquakeActivity ¶
func FindEarthquakeActivity(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*EarthquakeActivity, error)
FindEarthquakeActivity retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*EarthquakeActivity) Delete ¶
func (o *EarthquakeActivity) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single EarthquakeActivity record with an executor. Delete will match against the primary key column to find the record to delete.
func (*EarthquakeActivity) Exists ¶
func (o *EarthquakeActivity) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the EarthquakeActivity row exists.
func (*EarthquakeActivity) Insert ¶
func (o *EarthquakeActivity) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*EarthquakeActivity) Reload ¶
func (o *EarthquakeActivity) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*EarthquakeActivity) Update ¶
func (o *EarthquakeActivity) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the EarthquakeActivity. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*EarthquakeActivity) Upsert ¶
func (o *EarthquakeActivity) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type EarthquakeActivityHook ¶
type EarthquakeActivityHook func(context.Context, boil.ContextExecutor, *EarthquakeActivity) error
EarthquakeActivityHook is the signature for custom EarthquakeActivity hook methods
type EarthquakeActivitySlice ¶
type EarthquakeActivitySlice []*EarthquakeActivity
EarthquakeActivitySlice is an alias for a slice of pointers to EarthquakeActivity. This should almost always be used instead of []EarthquakeActivity.
func (EarthquakeActivitySlice) DeleteAll ¶
func (o EarthquakeActivitySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*EarthquakeActivitySlice) ReloadAll ¶
func (o *EarthquakeActivitySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (EarthquakeActivitySlice) UpdateAll ¶
func (o EarthquakeActivitySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type EarthquakeCount ¶
type EarthquakeCount struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` EventID uint64 `boil:"event_id" json:"event_id" toml:"event_id" yaml:"event_id"` Date time.Time `boil:"date" json:"date" toml:"date" yaml:"date"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Row string `boil:"row" json:"row" toml:"row" yaml:"row"` R *earthquakeCountR `boil:"-" json:"-" toml:"-" yaml:"-"` L earthquakeCountL `boil:"-" json:"-" toml:"-" yaml:"-"` }
EarthquakeCount is an object representing the database table.
func FindEarthquakeCount ¶
func FindEarthquakeCount(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*EarthquakeCount, error)
FindEarthquakeCount retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*EarthquakeCount) Delete ¶
func (o *EarthquakeCount) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single EarthquakeCount record with an executor. Delete will match against the primary key column to find the record to delete.
func (*EarthquakeCount) Exists ¶
func (o *EarthquakeCount) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the EarthquakeCount row exists.
func (*EarthquakeCount) Insert ¶
func (o *EarthquakeCount) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*EarthquakeCount) Reload ¶
func (o *EarthquakeCount) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*EarthquakeCount) Update ¶
func (o *EarthquakeCount) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the EarthquakeCount. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*EarthquakeCount) Upsert ¶
func (o *EarthquakeCount) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type EarthquakeCountHook ¶
type EarthquakeCountHook func(context.Context, boil.ContextExecutor, *EarthquakeCount) error
EarthquakeCountHook is the signature for custom EarthquakeCount hook methods
type EarthquakeCountSlice ¶
type EarthquakeCountSlice []*EarthquakeCount
EarthquakeCountSlice is an alias for a slice of pointers to EarthquakeCount. This should almost always be used instead of []EarthquakeCount.
func (EarthquakeCountSlice) DeleteAll ¶
func (o EarthquakeCountSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*EarthquakeCountSlice) ReloadAll ¶
func (o *EarthquakeCountSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (EarthquakeCountSlice) UpdateAll ¶
func (o EarthquakeCountSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type EarthquakeEpicenter ¶
type EarthquakeEpicenter struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` EventID uint64 `boil:"event_id" json:"event_id" toml:"event_id" yaml:"event_id"` Lat null.Float64 `boil:"lat" json:"lat,omitempty" toml:"lat" yaml:"lat,omitempty"` Lon null.Float64 `boil:"lon" json:"lon,omitempty" toml:"lon" yaml:"lon,omitempty"` Depth null.Int `boil:"depth" json:"depth,omitempty" toml:"depth" yaml:"depth,omitempty"` EpicenterName string `boil:"epicenter_name" json:"epicenter_name" toml:"epicenter_name" yaml:"epicenter_name"` Magnitude null.String `boil:"magnitude" json:"magnitude,omitempty" toml:"magnitude" yaml:"magnitude,omitempty"` Date time.Time `boil:"date" json:"date" toml:"date" yaml:"date"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Row string `boil:"row" json:"row" toml:"row" yaml:"row"` R *earthquakeEpicenterR `boil:"-" json:"-" toml:"-" yaml:"-"` L earthquakeEpicenterL `boil:"-" json:"-" toml:"-" yaml:"-"` }
EarthquakeEpicenter is an object representing the database table.
func FindEarthquakeEpicenter ¶
func FindEarthquakeEpicenter(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*EarthquakeEpicenter, error)
FindEarthquakeEpicenter retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*EarthquakeEpicenter) Delete ¶
func (o *EarthquakeEpicenter) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single EarthquakeEpicenter record with an executor. Delete will match against the primary key column to find the record to delete.
func (*EarthquakeEpicenter) Exists ¶
func (o *EarthquakeEpicenter) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the EarthquakeEpicenter row exists.
func (*EarthquakeEpicenter) Insert ¶
func (o *EarthquakeEpicenter) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*EarthquakeEpicenter) Reload ¶
func (o *EarthquakeEpicenter) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*EarthquakeEpicenter) Update ¶
func (o *EarthquakeEpicenter) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the EarthquakeEpicenter. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*EarthquakeEpicenter) Upsert ¶
func (o *EarthquakeEpicenter) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type EarthquakeEpicenterHook ¶
type EarthquakeEpicenterHook func(context.Context, boil.ContextExecutor, *EarthquakeEpicenter) error
EarthquakeEpicenterHook is the signature for custom EarthquakeEpicenter hook methods
type EarthquakeEpicenterSlice ¶
type EarthquakeEpicenterSlice []*EarthquakeEpicenter
EarthquakeEpicenterSlice is an alias for a slice of pointers to EarthquakeEpicenter. This should almost always be used instead of []EarthquakeEpicenter.
func (EarthquakeEpicenterSlice) DeleteAll ¶
func (o EarthquakeEpicenterSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*EarthquakeEpicenterSlice) ReloadAll ¶
func (o *EarthquakeEpicenterSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (EarthquakeEpicenterSlice) UpdateAll ¶
func (o EarthquakeEpicenterSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type EarthquakeHook ¶
type EarthquakeHook func(context.Context, boil.ContextExecutor, *Earthquake) error
EarthquakeHook is the signature for custom Earthquake hook methods
type EarthquakeInfo ¶
type EarthquakeInfo struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` EventID uint64 `boil:"event_id" json:"event_id" toml:"event_id" yaml:"event_id"` Lat null.Float64 `boil:"lat" json:"lat,omitempty" toml:"lat" yaml:"lat,omitempty"` Lon null.Float64 `boil:"lon" json:"lon,omitempty" toml:"lon" yaml:"lon,omitempty"` Depth null.Int `boil:"depth" json:"depth,omitempty" toml:"depth" yaml:"depth,omitempty"` EpicenterName string `boil:"epicenter_name" json:"epicenter_name" toml:"epicenter_name" yaml:"epicenter_name"` MaxInt null.String `boil:"max_int" json:"max_int,omitempty" toml:"max_int" yaml:"max_int,omitempty"` Magnitude null.String `boil:"magnitude" json:"magnitude,omitempty" toml:"magnitude" yaml:"magnitude,omitempty"` Date time.Time `boil:"date" json:"date" toml:"date" yaml:"date"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Row string `boil:"row" json:"row" toml:"row" yaml:"row"` R *earthquakeInfoR `boil:"-" json:"-" toml:"-" yaml:"-"` L earthquakeInfoL `boil:"-" json:"-" toml:"-" yaml:"-"` }
EarthquakeInfo is an object representing the database table.
func FindEarthquakeInfo ¶
func FindEarthquakeInfo(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*EarthquakeInfo, error)
FindEarthquakeInfo retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*EarthquakeInfo) Delete ¶
func (o *EarthquakeInfo) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single EarthquakeInfo record with an executor. Delete will match against the primary key column to find the record to delete.
func (*EarthquakeInfo) Exists ¶
func (o *EarthquakeInfo) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the EarthquakeInfo row exists.
func (*EarthquakeInfo) Insert ¶
func (o *EarthquakeInfo) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*EarthquakeInfo) Reload ¶
func (o *EarthquakeInfo) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*EarthquakeInfo) Update ¶
func (o *EarthquakeInfo) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the EarthquakeInfo. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*EarthquakeInfo) Upsert ¶
func (o *EarthquakeInfo) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type EarthquakeInfoHook ¶
type EarthquakeInfoHook func(context.Context, boil.ContextExecutor, *EarthquakeInfo) error
EarthquakeInfoHook is the signature for custom EarthquakeInfo hook methods
type EarthquakeInfoSlice ¶
type EarthquakeInfoSlice []*EarthquakeInfo
EarthquakeInfoSlice is an alias for a slice of pointers to EarthquakeInfo. This should almost always be used instead of []EarthquakeInfo.
func (EarthquakeInfoSlice) DeleteAll ¶
func (o EarthquakeInfoSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*EarthquakeInfoSlice) ReloadAll ¶
func (o *EarthquakeInfoSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (EarthquakeInfoSlice) UpdateAll ¶
func (o EarthquakeInfoSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type EarthquakeReport ¶
type EarthquakeReport struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` EventID uint64 `boil:"event_id" json:"event_id" toml:"event_id" yaml:"event_id"` MaxInt string `boil:"max_int" json:"max_int" toml:"max_int" yaml:"max_int"` Date time.Time `boil:"date" json:"date" toml:"date" yaml:"date"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Row string `boil:"row" json:"row" toml:"row" yaml:"row"` R *earthquakeReportR `boil:"-" json:"-" toml:"-" yaml:"-"` L earthquakeReportL `boil:"-" json:"-" toml:"-" yaml:"-"` }
EarthquakeReport is an object representing the database table.
func FindEarthquakeReport ¶
func FindEarthquakeReport(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*EarthquakeReport, error)
FindEarthquakeReport retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*EarthquakeReport) Delete ¶
func (o *EarthquakeReport) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single EarthquakeReport record with an executor. Delete will match against the primary key column to find the record to delete.
func (*EarthquakeReport) Exists ¶
func (o *EarthquakeReport) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the EarthquakeReport row exists.
func (*EarthquakeReport) Insert ¶
func (o *EarthquakeReport) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*EarthquakeReport) Reload ¶
func (o *EarthquakeReport) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*EarthquakeReport) Update ¶
func (o *EarthquakeReport) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the EarthquakeReport. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*EarthquakeReport) Upsert ¶
func (o *EarthquakeReport) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type EarthquakeReportHook ¶
type EarthquakeReportHook func(context.Context, boil.ContextExecutor, *EarthquakeReport) error
EarthquakeReportHook is the signature for custom EarthquakeReport hook methods
type EarthquakeReportSlice ¶
type EarthquakeReportSlice []*EarthquakeReport
EarthquakeReportSlice is an alias for a slice of pointers to EarthquakeReport. This should almost always be used instead of []EarthquakeReport.
func (EarthquakeReportSlice) DeleteAll ¶
func (o EarthquakeReportSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*EarthquakeReportSlice) ReloadAll ¶
func (o *EarthquakeReportSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (EarthquakeReportSlice) UpdateAll ¶
func (o EarthquakeReportSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type EarthquakeSlice ¶
type EarthquakeSlice []*Earthquake
EarthquakeSlice is an alias for a slice of pointers to Earthquake. This should almost always be used instead of []Earthquake.
func (EarthquakeSlice) DeleteAll ¶
func (o EarthquakeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*EarthquakeSlice) ReloadAll ¶
func (o *EarthquakeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (EarthquakeSlice) UpdateAll ¶
func (o EarthquakeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type EarthquakeUpdate ¶
type EarthquakeUpdate struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` EventID uint64 `boil:"event_id" json:"event_id" toml:"event_id" yaml:"event_id"` Lat null.Float64 `boil:"lat" json:"lat,omitempty" toml:"lat" yaml:"lat,omitempty"` Lon null.Float64 `boil:"lon" json:"lon,omitempty" toml:"lon" yaml:"lon,omitempty"` Depth null.Int `boil:"depth" json:"depth,omitempty" toml:"depth" yaml:"depth,omitempty"` Magnitude null.String `boil:"magnitude" json:"magnitude,omitempty" toml:"magnitude" yaml:"magnitude,omitempty"` Date time.Time `boil:"date" json:"date" toml:"date" yaml:"date"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Row string `boil:"row" json:"row" toml:"row" yaml:"row"` R *earthquakeUpdateR `boil:"-" json:"-" toml:"-" yaml:"-"` L earthquakeUpdateL `boil:"-" json:"-" toml:"-" yaml:"-"` }
EarthquakeUpdate is an object representing the database table.
func FindEarthquakeUpdate ¶
func FindEarthquakeUpdate(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*EarthquakeUpdate, error)
FindEarthquakeUpdate retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*EarthquakeUpdate) Delete ¶
func (o *EarthquakeUpdate) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single EarthquakeUpdate record with an executor. Delete will match against the primary key column to find the record to delete.
func (*EarthquakeUpdate) Exists ¶
func (o *EarthquakeUpdate) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the EarthquakeUpdate row exists.
func (*EarthquakeUpdate) Insert ¶
func (o *EarthquakeUpdate) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*EarthquakeUpdate) Reload ¶
func (o *EarthquakeUpdate) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*EarthquakeUpdate) Update ¶
func (o *EarthquakeUpdate) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the EarthquakeUpdate. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*EarthquakeUpdate) Upsert ¶
func (o *EarthquakeUpdate) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type EarthquakeUpdateHook ¶
type EarthquakeUpdateHook func(context.Context, boil.ContextExecutor, *EarthquakeUpdate) error
EarthquakeUpdateHook is the signature for custom EarthquakeUpdate hook methods
type EarthquakeUpdateSlice ¶
type EarthquakeUpdateSlice []*EarthquakeUpdate
EarthquakeUpdateSlice is an alias for a slice of pointers to EarthquakeUpdate. This should almost always be used instead of []EarthquakeUpdate.
func (EarthquakeUpdateSlice) DeleteAll ¶
func (o EarthquakeUpdateSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*EarthquakeUpdateSlice) ReloadAll ¶
func (o *EarthquakeUpdateSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (EarthquakeUpdateSlice) UpdateAll ¶
func (o EarthquakeUpdateSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type IntensityStationCode ¶
type IntensityStationCode struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Lat float64 `boil:"lat" json:"lat" toml:"lat" yaml:"lat"` Lon float64 `boil:"lon" json:"lon" toml:"lon" yaml:"lon"` PrefectureID uint `boil:"prefecture_id" json:"prefecture_id" toml:"prefecture_id" yaml:"prefecture_id"` AreaID uint `boil:"area_id" json:"area_id" toml:"area_id" yaml:"area_id"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Updated time.Time `boil:"updated" json:"updated" toml:"updated" yaml:"updated"` R *intensityStationCodeR `boil:"-" json:"-" toml:"-" yaml:"-"` L intensityStationCodeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
IntensityStationCode is an object representing the database table.
func FindIntensityStationCode ¶
func FindIntensityStationCode(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*IntensityStationCode, error)
FindIntensityStationCode retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*IntensityStationCode) Delete ¶
func (o *IntensityStationCode) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single IntensityStationCode record with an executor. Delete will match against the primary key column to find the record to delete.
func (*IntensityStationCode) Exists ¶
func (o *IntensityStationCode) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the IntensityStationCode row exists.
func (*IntensityStationCode) Insert ¶
func (o *IntensityStationCode) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*IntensityStationCode) Reload ¶
func (o *IntensityStationCode) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*IntensityStationCode) Update ¶
func (o *IntensityStationCode) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the IntensityStationCode. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*IntensityStationCode) Upsert ¶
func (o *IntensityStationCode) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type IntensityStationCodeHook ¶
type IntensityStationCodeHook func(context.Context, boil.ContextExecutor, *IntensityStationCode) error
IntensityStationCodeHook is the signature for custom IntensityStationCode hook methods
type IntensityStationCodeSlice ¶
type IntensityStationCodeSlice []*IntensityStationCode
IntensityStationCodeSlice is an alias for a slice of pointers to IntensityStationCode. This should almost always be used instead of []IntensityStationCode.
func (IntensityStationCodeSlice) DeleteAll ¶
func (o IntensityStationCodeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*IntensityStationCodeSlice) ReloadAll ¶
func (o *IntensityStationCodeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (IntensityStationCodeSlice) UpdateAll ¶
func (o IntensityStationCodeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type JmaXmlEntry ¶
type JmaXmlEntry struct { ID string `boil:"id" json:"id" toml:"id" yaml:"id"` Updated time.Time `boil:"updated" json:"updated" toml:"updated" yaml:"updated"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` R *jmaXmlEntryR `boil:"-" json:"-" toml:"-" yaml:"-"` L jmaXmlEntryL `boil:"-" json:"-" toml:"-" yaml:"-"` }
JmaXmlEntry is an object representing the database table.
func FindJmaXmlEntry ¶
func FindJmaXmlEntry(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*JmaXmlEntry, error)
FindJmaXmlEntry retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*JmaXmlEntry) Delete ¶
func (o *JmaXmlEntry) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single JmaXmlEntry record with an executor. Delete will match against the primary key column to find the record to delete.
func (*JmaXmlEntry) Exists ¶
func (o *JmaXmlEntry) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the JmaXmlEntry row exists.
func (*JmaXmlEntry) Insert ¶
func (o *JmaXmlEntry) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*JmaXmlEntry) Reload ¶
func (o *JmaXmlEntry) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*JmaXmlEntry) Update ¶
func (o *JmaXmlEntry) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the JmaXmlEntry. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*JmaXmlEntry) Upsert ¶
func (o *JmaXmlEntry) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type JmaXmlEntryHook ¶
type JmaXmlEntryHook func(context.Context, boil.ContextExecutor, *JmaXmlEntry) error
JmaXmlEntryHook is the signature for custom JmaXmlEntry hook methods
type JmaXmlEntrySlice ¶
type JmaXmlEntrySlice []*JmaXmlEntry
JmaXmlEntrySlice is an alias for a slice of pointers to JmaXmlEntry. This should almost always be used instead of []JmaXmlEntry.
func (JmaXmlEntrySlice) DeleteAll ¶
func (o JmaXmlEntrySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*JmaXmlEntrySlice) ReloadAll ¶
func (o *JmaXmlEntrySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (JmaXmlEntrySlice) UpdateAll ¶
func (o JmaXmlEntrySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type M ¶
type M map[string]interface{}
M type is for providing columns and column values to UpdateAll.
type PrefectureCode ¶
type PrefectureCode struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` Name string `boil:"name" json:"name" toml:"name" yaml:"name"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Updated time.Time `boil:"updated" json:"updated" toml:"updated" yaml:"updated"` R *prefectureCodeR `boil:"-" json:"-" toml:"-" yaml:"-"` L prefectureCodeL `boil:"-" json:"-" toml:"-" yaml:"-"` }
PrefectureCode is an object representing the database table.
func FindPrefectureCode ¶
func FindPrefectureCode(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*PrefectureCode, error)
FindPrefectureCode retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*PrefectureCode) Delete ¶
func (o *PrefectureCode) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single PrefectureCode record with an executor. Delete will match against the primary key column to find the record to delete.
func (*PrefectureCode) Exists ¶
func (o *PrefectureCode) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the PrefectureCode row exists.
func (*PrefectureCode) Insert ¶
func (o *PrefectureCode) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*PrefectureCode) Reload ¶
func (o *PrefectureCode) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*PrefectureCode) Update ¶
func (o *PrefectureCode) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the PrefectureCode. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*PrefectureCode) Upsert ¶
func (o *PrefectureCode) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type PrefectureCodeHook ¶
type PrefectureCodeHook func(context.Context, boil.ContextExecutor, *PrefectureCode) error
PrefectureCodeHook is the signature for custom PrefectureCode hook methods
type PrefectureCodeSlice ¶
type PrefectureCodeSlice []*PrefectureCode
PrefectureCodeSlice is an alias for a slice of pointers to PrefectureCode. This should almost always be used instead of []PrefectureCode.
func (PrefectureCodeSlice) DeleteAll ¶
func (o PrefectureCodeSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*PrefectureCodeSlice) ReloadAll ¶
func (o *PrefectureCodeSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (PrefectureCodeSlice) UpdateAll ¶
func (o PrefectureCodeSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type TsunamiConnect ¶
type TsunamiConnect struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` TsunamiID int `boil:"tsunami_id" json:"tsunami_id" toml:"tsunami_id" yaml:"tsunami_id"` EventID uint64 `boil:"event_id" json:"event_id" toml:"event_id" yaml:"event_id"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` R *tsunamiConnectR `boil:"-" json:"-" toml:"-" yaml:"-"` L tsunamiConnectL `boil:"-" json:"-" toml:"-" yaml:"-"` }
TsunamiConnect is an object representing the database table.
func FindTsunamiConnect ¶
func FindTsunamiConnect(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*TsunamiConnect, error)
FindTsunamiConnect retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*TsunamiConnect) Delete ¶
func (o *TsunamiConnect) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single TsunamiConnect record with an executor. Delete will match against the primary key column to find the record to delete.
func (*TsunamiConnect) Exists ¶
func (o *TsunamiConnect) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the TsunamiConnect row exists.
func (*TsunamiConnect) Insert ¶
func (o *TsunamiConnect) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*TsunamiConnect) Reload ¶
func (o *TsunamiConnect) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*TsunamiConnect) Update ¶
func (o *TsunamiConnect) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the TsunamiConnect. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*TsunamiConnect) Upsert ¶
func (o *TsunamiConnect) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type TsunamiConnectHook ¶
type TsunamiConnectHook func(context.Context, boil.ContextExecutor, *TsunamiConnect) error
TsunamiConnectHook is the signature for custom TsunamiConnect hook methods
type TsunamiConnectSlice ¶
type TsunamiConnectSlice []*TsunamiConnect
TsunamiConnectSlice is an alias for a slice of pointers to TsunamiConnect. This should almost always be used instead of []TsunamiConnect.
func (TsunamiConnectSlice) DeleteAll ¶
func (o TsunamiConnectSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*TsunamiConnectSlice) ReloadAll ¶
func (o *TsunamiConnectSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (TsunamiConnectSlice) UpdateAll ¶
func (o TsunamiConnectSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type TsunamiInfo ¶
type TsunamiInfo struct { ID uint `boil:"id" json:"id" toml:"id" yaml:"id"` Date time.Time `boil:"date" json:"date" toml:"date" yaml:"date"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` Row string `boil:"row" json:"row" toml:"row" yaml:"row"` R *tsunamiInfoR `boil:"-" json:"-" toml:"-" yaml:"-"` L tsunamiInfoL `boil:"-" json:"-" toml:"-" yaml:"-"` }
TsunamiInfo is an object representing the database table.
func FindTsunamiInfo ¶
func FindTsunamiInfo(ctx context.Context, exec boil.ContextExecutor, iD uint, selectCols ...string) (*TsunamiInfo, error)
FindTsunamiInfo retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*TsunamiInfo) Delete ¶
func (o *TsunamiInfo) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single TsunamiInfo record with an executor. Delete will match against the primary key column to find the record to delete.
func (*TsunamiInfo) Exists ¶
func (o *TsunamiInfo) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the TsunamiInfo row exists.
func (*TsunamiInfo) Insert ¶
func (o *TsunamiInfo) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*TsunamiInfo) Reload ¶
func (o *TsunamiInfo) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*TsunamiInfo) Update ¶
func (o *TsunamiInfo) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the TsunamiInfo. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*TsunamiInfo) Upsert ¶
func (o *TsunamiInfo) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type TsunamiInfoHook ¶
type TsunamiInfoHook func(context.Context, boil.ContextExecutor, *TsunamiInfo) error
TsunamiInfoHook is the signature for custom TsunamiInfo hook methods
type TsunamiInfoSlice ¶
type TsunamiInfoSlice []*TsunamiInfo
TsunamiInfoSlice is an alias for a slice of pointers to TsunamiInfo. This should almost always be used instead of []TsunamiInfo.
func (TsunamiInfoSlice) DeleteAll ¶
func (o TsunamiInfoSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*TsunamiInfoSlice) ReloadAll ¶
func (o *TsunamiInfoSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (TsunamiInfoSlice) UpdateAll ¶
func (o TsunamiInfoSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
type TwitterThread ¶
type TwitterThread struct { EventID uint64 `boil:"event_id" json:"event_id" toml:"event_id" yaml:"event_id"` TweetID string `boil:"tweet_id" json:"tweet_id" toml:"tweet_id" yaml:"tweet_id"` Created time.Time `boil:"created" json:"created" toml:"created" yaml:"created"` R *twitterThreadR `boil:"-" json:"-" toml:"-" yaml:"-"` L twitterThreadL `boil:"-" json:"-" toml:"-" yaml:"-"` }
TwitterThread is an object representing the database table.
func FindTwitterThread ¶
func FindTwitterThread(ctx context.Context, exec boil.ContextExecutor, eventID uint64, selectCols ...string) (*TwitterThread, error)
FindTwitterThread retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.
func (*TwitterThread) Delete ¶
func (o *TwitterThread) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)
Delete deletes a single TwitterThread record with an executor. Delete will match against the primary key column to find the record to delete.
func (*TwitterThread) Exists ¶
func (o *TwitterThread) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)
Exists checks if the TwitterThread row exists.
func (*TwitterThread) Insert ¶
func (o *TwitterThread) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error
Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.
func (*TwitterThread) Reload ¶
func (o *TwitterThread) Reload(ctx context.Context, exec boil.ContextExecutor) error
Reload refetches the object from the database using the primary keys with an executor.
func (*TwitterThread) Update ¶
func (o *TwitterThread) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)
Update uses an executor to update the TwitterThread. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.
func (*TwitterThread) Upsert ¶
func (o *TwitterThread) Upsert(ctx context.Context, exec boil.ContextExecutor, updateColumns, insertColumns boil.Columns) error
Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.
type TwitterThreadHook ¶
type TwitterThreadHook func(context.Context, boil.ContextExecutor, *TwitterThread) error
TwitterThreadHook is the signature for custom TwitterThread hook methods
type TwitterThreadSlice ¶
type TwitterThreadSlice []*TwitterThread
TwitterThreadSlice is an alias for a slice of pointers to TwitterThread. This should almost always be used instead of []TwitterThread.
func (TwitterThreadSlice) DeleteAll ¶
func (o TwitterThreadSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)
DeleteAll deletes all rows in the slice, using an executor.
func (*TwitterThreadSlice) ReloadAll ¶
func (o *TwitterThreadSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error
ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.
func (TwitterThreadSlice) UpdateAll ¶
func (o TwitterThreadSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)
UpdateAll updates all rows with the specified column values, using an executor.
Source Files ¶
- AreaCodes.go
- EarthquakeActivity.go
- EarthquakeCount.go
- EarthquakeEpicenters.go
- EarthquakeInfos.go
- EarthquakeReports.go
- EarthquakeUpdate.go
- Earthquakes.go
- IntensityStationCodes.go
- JmaXmlEntries.go
- PrefectureCodes.go
- TsunamiConnects.go
- TsunamiInfos.go
- TwitterThreads.go
- boil_queries.go
- boil_table_names.go
- boil_types.go
- boil_view_names.go
- mysql_upsert.go