models

package
v0.0.0-...-15a2939 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AreaCodeColumns = struct {
	ID           string
	Name         string
	PrefectureID string
	Created      string
	Updated      string
}{
	ID:           "id",
	Name:         "name",
	PrefectureID: "prefecture_id",
	Created:      "created",
	Updated:      "updated",
}
View Source
var AreaCodeRels = struct {
}{}

AreaCodeRels is where relationship names are stored.

View Source
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",
}
View Source
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 */},
}
View Source
var EarthquakeActivityColumns = struct {
	ID      string
	EventID string
	Date    string
	Created string
	Row     string
}{
	ID:      "id",
	EventID: "event_id",
	Date:    "date",
	Created: "created",
	Row:     "row",
}
View Source
var EarthquakeActivityRels = struct {
}{}

EarthquakeActivityRels is where relationship names are stored.

View Source
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",
}
View Source
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 */},
}
View Source
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",
}
View Source
var EarthquakeCountColumns = struct {
	ID      string
	EventID string
	Date    string
	Created string
	Row     string
}{
	ID:      "id",
	EventID: "event_id",
	Date:    "date",
	Created: "created",
	Row:     "row",
}
View Source
var EarthquakeCountRels = struct {
}{}

EarthquakeCountRels is where relationship names are stored.

View Source
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",
}
View Source
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 */},
}
View Source
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",
}
View Source
var EarthquakeEpicenterRels = struct {
}{}

EarthquakeEpicenterRels is where relationship names are stored.

View Source
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",
}
View Source
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 */},
}
View Source
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",
}
View Source
var EarthquakeInfoRels = struct {
}{}

EarthquakeInfoRels is where relationship names are stored.

View Source
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",
}
View Source
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 */},
}
View Source
var EarthquakeRels = struct {
}{}

EarthquakeRels is where relationship names are stored.

View Source
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",
}
View Source
var EarthquakeReportRels = struct {
}{}

EarthquakeReportRels is where relationship names are stored.

View Source
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",
}
View Source
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 */},
}
View Source
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",
}
View Source
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",
}
View Source
var EarthquakeUpdateRels = struct {
}{}

EarthquakeUpdateRels is where relationship names are stored.

View Source
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",
}
View Source
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 */},
}
View Source
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 */},
}
View Source
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.

View Source
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",
}
View Source
var IntensityStationCodeRels = struct {
}{}

IntensityStationCodeRels is where relationship names are stored.

View Source
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",
}
View Source
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 */},
}
View Source
var JmaXmlEntryColumns = struct {
	ID      string
	Updated string
	Created string
}{
	ID:      "id",
	Updated: "updated",
	Created: "created",
}
View Source
var JmaXmlEntryRels = struct {
}{}

JmaXmlEntryRels is where relationship names are stored.

View Source
var JmaXmlEntryTableColumns = struct {
	ID      string
	Updated string
	Created string
}{
	ID:      "JmaXmlEntries.id",
	Updated: "JmaXmlEntries.updated",
	Created: "JmaXmlEntries.created",
}
View Source
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 */},
}
View Source
var PrefectureCodeColumns = struct {
	ID      string
	Name    string
	Created string
	Updated string
}{
	ID:      "id",
	Name:    "name",
	Created: "created",
	Updated: "updated",
}
View Source
var PrefectureCodeRels = struct {
}{}

PrefectureCodeRels is where relationship names are stored.

View Source
var PrefectureCodeTableColumns = struct {
	ID      string
	Name    string
	Created string
	Updated string
}{
	ID:      "PrefectureCodes.id",
	Name:    "PrefectureCodes.name",
	Created: "PrefectureCodes.created",
	Updated: "PrefectureCodes.updated",
}
View Source
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 */},
}
View Source
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",
}
View Source
var TsunamiConnectColumns = struct {
	ID        string
	TsunamiID string
	EventID   string
	Created   string
}{
	ID:        "id",
	TsunamiID: "tsunami_id",
	EventID:   "event_id",
	Created:   "created",
}
View Source
var TsunamiConnectRels = struct {
}{}

TsunamiConnectRels is where relationship names are stored.

View Source
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",
}
View Source
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 */},
}
View Source
var TsunamiInfoColumns = struct {
	ID      string
	Date    string
	Created string
	Row     string
}{
	ID:      "id",
	Date:    "date",
	Created: "created",
	Row:     "row",
}
View Source
var TsunamiInfoRels = struct {
}{}

TsunamiInfoRels is where relationship names are stored.

View Source
var TsunamiInfoTableColumns = struct {
	ID      string
	Date    string
	Created string
	Row     string
}{
	ID:      "TsunamiInfos.id",
	Date:    "TsunamiInfos.date",
	Created: "TsunamiInfos.created",
	Row:     "TsunamiInfos.row",
}
View Source
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 */},
}
View Source
var TwitterThreadColumns = struct {
	EventID string
	TweetID string
	Created string
}{
	EventID: "event_id",
	TweetID: "tweet_id",
	Created: "created",
}
View Source
var TwitterThreadRels = struct {
}{}

TwitterThreadRels is where relationship names are stored.

View Source
var TwitterThreadTableColumns = struct {
	EventID string
	TweetID string
	Created string
}{
	EventID: "TwitterThreads.event_id",
	TweetID: "TwitterThreads.tweet_id",
	Created: "TwitterThreads.created",
}
View Source
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 */},
}
View Source
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

func AreaCodeExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)

AreaCodeExists checks if the AreaCode row exists.

func AreaCodes

func AreaCodes(mods ...qm.QueryMod) areaCodeQuery

AreaCodes retrieves all the records using an executor.

func EarthquakeActivities

func EarthquakeActivities(mods ...qm.QueryMod) earthquakeActivityQuery

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

func EarthquakeCountExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)

EarthquakeCountExists checks if the EarthquakeCount row exists.

func EarthquakeCounts

func EarthquakeCounts(mods ...qm.QueryMod) earthquakeCountQuery

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

func EarthquakeEpicenters(mods ...qm.QueryMod) earthquakeEpicenterQuery

EarthquakeEpicenters retrieves all the records using an executor.

func EarthquakeExists

func EarthquakeExists(ctx context.Context, exec boil.ContextExecutor, eventID uint64) (bool, error)

EarthquakeExists checks if the Earthquake row exists.

func EarthquakeInfoExists

func EarthquakeInfoExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)

EarthquakeInfoExists checks if the EarthquakeInfo row exists.

func EarthquakeInfos

func EarthquakeInfos(mods ...qm.QueryMod) earthquakeInfoQuery

EarthquakeInfos retrieves all the records using an executor.

func EarthquakeReportExists

func EarthquakeReportExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)

EarthquakeReportExists checks if the EarthquakeReport row exists.

func EarthquakeReports

func EarthquakeReports(mods ...qm.QueryMod) earthquakeReportQuery

EarthquakeReports retrieves all the records using an executor.

func EarthquakeUpdateExists

func EarthquakeUpdateExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)

EarthquakeUpdateExists checks if the EarthquakeUpdate row exists.

func EarthquakeUpdates

func EarthquakeUpdates(mods ...qm.QueryMod) earthquakeUpdateQuery

EarthquakeUpdates retrieves all the records using an executor.

func Earthquakes

func Earthquakes(mods ...qm.QueryMod) earthquakeQuery

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

func IntensityStationCodes(mods ...qm.QueryMod) intensityStationCodeQuery

IntensityStationCodes retrieves all the records using an executor.

func JmaXmlEntries

func JmaXmlEntries(mods ...qm.QueryMod) jmaXmlEntryQuery

JmaXmlEntries retrieves all the records using an executor.

func JmaXmlEntryExists

func JmaXmlEntryExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

JmaXmlEntryExists checks if the JmaXmlEntry row exists.

func NewQuery

func NewQuery(mods ...qm.QueryMod) *queries.Query

NewQuery initializes a new Query using the passed in QueryMods

func PrefectureCodeExists

func PrefectureCodeExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)

PrefectureCodeExists checks if the PrefectureCode row exists.

func PrefectureCodes

func PrefectureCodes(mods ...qm.QueryMod) prefectureCodeQuery

PrefectureCodes retrieves all the records using an executor.

func TsunamiConnectExists

func TsunamiConnectExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)

TsunamiConnectExists checks if the TsunamiConnect row exists.

func TsunamiConnects

func TsunamiConnects(mods ...qm.QueryMod) tsunamiConnectQuery

TsunamiConnects retrieves all the records using an executor.

func TsunamiInfoExists

func TsunamiInfoExists(ctx context.Context, exec boil.ContextExecutor, iD uint) (bool, error)

TsunamiInfoExists checks if the TsunamiInfo row exists.

func TsunamiInfos

func TsunamiInfos(mods ...qm.QueryMod) tsunamiInfoQuery

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

func TwitterThreads(mods ...qm.QueryMod) twitterThreadQuery

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

func (o *AreaCode) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

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) Exists

func (o *AreaCode) Exists(ctx context.Context, exec boil.ContextExecutor) (bool, error)

Exists checks if the AreaCode row exists.

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

func (o *AreaCode) Reload(ctx context.Context, exec boil.ContextExecutor) error

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

type AreaCodeHook func(context.Context, boil.ContextExecutor, *AreaCode) error

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

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

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

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

DeleteAll deletes all rows in the slice, using an executor.

func (*EarthquakeActivitySlice) ReloadAll

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

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

DeleteAll deletes all rows in the slice, using an executor.

func (*EarthquakeCountSlice) ReloadAll

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

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

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

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

DeleteAll deletes all rows in the slice, using an executor.

func (*EarthquakeEpicenterSlice) ReloadAll

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

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

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

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

DeleteAll deletes all rows in the slice, using an executor.

func (*EarthquakeReportSlice) ReloadAll

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

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

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

DeleteAll deletes all rows in the slice, using an executor.

func (*EarthquakeUpdateSlice) ReloadAll

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

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

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

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

DeleteAll deletes all rows in the slice, using an executor.

func (*IntensityStationCodeSlice) ReloadAll

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL