nidus-sync/models/bob_where.bob.go
Eli Ribble e48abb09c0
Go to h3 v4, Add initial h3 aggregation work
This calculates the summary information of data in h3 nodes and puts it
in the database for fast lookup.
2025-11-13 23:49:12 +00:00

225 lines
14 KiB
Go

// Code generated by BobGen psql v0.41.1. DO NOT EDIT.
// This file is meant to be re-generated in place and/or deleted at any time.
package models
import (
"github.com/stephenafamo/bob/clause"
"github.com/stephenafamo/bob/dialect/psql"
"github.com/stephenafamo/bob/dialect/psql/dialect"
)
var (
SelectWhere = Where[*dialect.SelectQuery]()
UpdateWhere = Where[*dialect.UpdateQuery]()
DeleteWhere = Where[*dialect.DeleteQuery]()
OnConflictWhere = Where[*clause.ConflictClause]() // Used in ON CONFLICT DO UPDATE
)
func Where[Q psql.Filterable]() struct {
FieldseekerSyncs fieldseekerSyncWhere[Q]
FSContainerrelates fsContainerrelateWhere[Q]
FSFieldscoutinglogs fsFieldscoutinglogWhere[Q]
FSHabitatrelates fsHabitatrelateWhere[Q]
FSInspectionsamples fsInspectionsampleWhere[Q]
FSInspectionsampledetails fsInspectionsampledetailWhere[Q]
FSLinelocations fsLinelocationWhere[Q]
FSLocationtrackings fsLocationtrackingWhere[Q]
FSMosquitoinspections fsMosquitoinspectionWhere[Q]
FSPointlocations fsPointlocationWhere[Q]
FSPolygonlocations fsPolygonlocationWhere[Q]
FSPools fsPoolWhere[Q]
FSPooldetails fsPooldetailWhere[Q]
FSProposedtreatmentareas fsProposedtreatmentareaWhere[Q]
FSQamosquitoinspections fsQamosquitoinspectionWhere[Q]
FSRodentlocations fsRodentlocationWhere[Q]
FSSamplecollections fsSamplecollectionWhere[Q]
FSSamplelocations fsSamplelocationWhere[Q]
FSServicerequests fsServicerequestWhere[Q]
FSSpeciesabundances fsSpeciesabundanceWhere[Q]
FSStormdrains fsStormdrainWhere[Q]
FSTimecards fsTimecardWhere[Q]
FSTrapdata fsTrapdatumWhere[Q]
FSTraplocations fsTraplocationWhere[Q]
FSTreatments fsTreatmentWhere[Q]
FSTreatmentareas fsTreatmentareaWhere[Q]
FSZones fsZoneWhere[Q]
FSZones2s fsZones2Where[Q]
GeographyColumns geographyColumnWhere[Q]
GeometryColumns geometryColumnWhere[Q]
GooseDBVersions gooseDBVersionWhere[Q]
H3Aggregations h3AggregationWhere[Q]
HistoryContainerrelates historyContainerrelateWhere[Q]
HistoryFieldscoutinglogs historyFieldscoutinglogWhere[Q]
HistoryHabitatrelates historyHabitatrelateWhere[Q]
HistoryInspectionsamples historyInspectionsampleWhere[Q]
HistoryInspectionsampledetails historyInspectionsampledetailWhere[Q]
HistoryLinelocations historyLinelocationWhere[Q]
HistoryLocationtrackings historyLocationtrackingWhere[Q]
HistoryMosquitoinspections historyMosquitoinspectionWhere[Q]
HistoryPointlocations historyPointlocationWhere[Q]
HistoryPolygonlocations historyPolygonlocationWhere[Q]
HistoryPools historyPoolWhere[Q]
HistoryPooldetails historyPooldetailWhere[Q]
HistoryProposedtreatmentareas historyProposedtreatmentareaWhere[Q]
HistoryQamosquitoinspections historyQamosquitoinspectionWhere[Q]
HistoryRodentlocations historyRodentlocationWhere[Q]
HistorySamplecollections historySamplecollectionWhere[Q]
HistorySamplelocations historySamplelocationWhere[Q]
HistoryServicerequests historyServicerequestWhere[Q]
HistorySpeciesabundances historySpeciesabundanceWhere[Q]
HistoryStormdrains historyStormdrainWhere[Q]
HistoryTimecards historyTimecardWhere[Q]
HistoryTrapdata historyTrapdatumWhere[Q]
HistoryTraplocations historyTraplocationWhere[Q]
HistoryTreatments historyTreatmentWhere[Q]
HistoryTreatmentareas historyTreatmentareaWhere[Q]
HistoryZones historyZoneWhere[Q]
HistoryZones2s historyZones2Where[Q]
Notifications notificationWhere[Q]
OauthTokens oauthTokenWhere[Q]
Organizations organizationWhere[Q]
RasterColumns rasterColumnWhere[Q]
RasterOverviews rasterOverviewWhere[Q]
Sessions sessionWhere[Q]
SpatialRefSys spatialRefSyWhere[Q]
Users userWhere[Q]
} {
return struct {
FieldseekerSyncs fieldseekerSyncWhere[Q]
FSContainerrelates fsContainerrelateWhere[Q]
FSFieldscoutinglogs fsFieldscoutinglogWhere[Q]
FSHabitatrelates fsHabitatrelateWhere[Q]
FSInspectionsamples fsInspectionsampleWhere[Q]
FSInspectionsampledetails fsInspectionsampledetailWhere[Q]
FSLinelocations fsLinelocationWhere[Q]
FSLocationtrackings fsLocationtrackingWhere[Q]
FSMosquitoinspections fsMosquitoinspectionWhere[Q]
FSPointlocations fsPointlocationWhere[Q]
FSPolygonlocations fsPolygonlocationWhere[Q]
FSPools fsPoolWhere[Q]
FSPooldetails fsPooldetailWhere[Q]
FSProposedtreatmentareas fsProposedtreatmentareaWhere[Q]
FSQamosquitoinspections fsQamosquitoinspectionWhere[Q]
FSRodentlocations fsRodentlocationWhere[Q]
FSSamplecollections fsSamplecollectionWhere[Q]
FSSamplelocations fsSamplelocationWhere[Q]
FSServicerequests fsServicerequestWhere[Q]
FSSpeciesabundances fsSpeciesabundanceWhere[Q]
FSStormdrains fsStormdrainWhere[Q]
FSTimecards fsTimecardWhere[Q]
FSTrapdata fsTrapdatumWhere[Q]
FSTraplocations fsTraplocationWhere[Q]
FSTreatments fsTreatmentWhere[Q]
FSTreatmentareas fsTreatmentareaWhere[Q]
FSZones fsZoneWhere[Q]
FSZones2s fsZones2Where[Q]
GeographyColumns geographyColumnWhere[Q]
GeometryColumns geometryColumnWhere[Q]
GooseDBVersions gooseDBVersionWhere[Q]
H3Aggregations h3AggregationWhere[Q]
HistoryContainerrelates historyContainerrelateWhere[Q]
HistoryFieldscoutinglogs historyFieldscoutinglogWhere[Q]
HistoryHabitatrelates historyHabitatrelateWhere[Q]
HistoryInspectionsamples historyInspectionsampleWhere[Q]
HistoryInspectionsampledetails historyInspectionsampledetailWhere[Q]
HistoryLinelocations historyLinelocationWhere[Q]
HistoryLocationtrackings historyLocationtrackingWhere[Q]
HistoryMosquitoinspections historyMosquitoinspectionWhere[Q]
HistoryPointlocations historyPointlocationWhere[Q]
HistoryPolygonlocations historyPolygonlocationWhere[Q]
HistoryPools historyPoolWhere[Q]
HistoryPooldetails historyPooldetailWhere[Q]
HistoryProposedtreatmentareas historyProposedtreatmentareaWhere[Q]
HistoryQamosquitoinspections historyQamosquitoinspectionWhere[Q]
HistoryRodentlocations historyRodentlocationWhere[Q]
HistorySamplecollections historySamplecollectionWhere[Q]
HistorySamplelocations historySamplelocationWhere[Q]
HistoryServicerequests historyServicerequestWhere[Q]
HistorySpeciesabundances historySpeciesabundanceWhere[Q]
HistoryStormdrains historyStormdrainWhere[Q]
HistoryTimecards historyTimecardWhere[Q]
HistoryTrapdata historyTrapdatumWhere[Q]
HistoryTraplocations historyTraplocationWhere[Q]
HistoryTreatments historyTreatmentWhere[Q]
HistoryTreatmentareas historyTreatmentareaWhere[Q]
HistoryZones historyZoneWhere[Q]
HistoryZones2s historyZones2Where[Q]
Notifications notificationWhere[Q]
OauthTokens oauthTokenWhere[Q]
Organizations organizationWhere[Q]
RasterColumns rasterColumnWhere[Q]
RasterOverviews rasterOverviewWhere[Q]
Sessions sessionWhere[Q]
SpatialRefSys spatialRefSyWhere[Q]
Users userWhere[Q]
}{
FieldseekerSyncs: buildFieldseekerSyncWhere[Q](FieldseekerSyncs.Columns),
FSContainerrelates: buildFSContainerrelateWhere[Q](FSContainerrelates.Columns),
FSFieldscoutinglogs: buildFSFieldscoutinglogWhere[Q](FSFieldscoutinglogs.Columns),
FSHabitatrelates: buildFSHabitatrelateWhere[Q](FSHabitatrelates.Columns),
FSInspectionsamples: buildFSInspectionsampleWhere[Q](FSInspectionsamples.Columns),
FSInspectionsampledetails: buildFSInspectionsampledetailWhere[Q](FSInspectionsampledetails.Columns),
FSLinelocations: buildFSLinelocationWhere[Q](FSLinelocations.Columns),
FSLocationtrackings: buildFSLocationtrackingWhere[Q](FSLocationtrackings.Columns),
FSMosquitoinspections: buildFSMosquitoinspectionWhere[Q](FSMosquitoinspections.Columns),
FSPointlocations: buildFSPointlocationWhere[Q](FSPointlocations.Columns),
FSPolygonlocations: buildFSPolygonlocationWhere[Q](FSPolygonlocations.Columns),
FSPools: buildFSPoolWhere[Q](FSPools.Columns),
FSPooldetails: buildFSPooldetailWhere[Q](FSPooldetails.Columns),
FSProposedtreatmentareas: buildFSProposedtreatmentareaWhere[Q](FSProposedtreatmentareas.Columns),
FSQamosquitoinspections: buildFSQamosquitoinspectionWhere[Q](FSQamosquitoinspections.Columns),
FSRodentlocations: buildFSRodentlocationWhere[Q](FSRodentlocations.Columns),
FSSamplecollections: buildFSSamplecollectionWhere[Q](FSSamplecollections.Columns),
FSSamplelocations: buildFSSamplelocationWhere[Q](FSSamplelocations.Columns),
FSServicerequests: buildFSServicerequestWhere[Q](FSServicerequests.Columns),
FSSpeciesabundances: buildFSSpeciesabundanceWhere[Q](FSSpeciesabundances.Columns),
FSStormdrains: buildFSStormdrainWhere[Q](FSStormdrains.Columns),
FSTimecards: buildFSTimecardWhere[Q](FSTimecards.Columns),
FSTrapdata: buildFSTrapdatumWhere[Q](FSTrapdata.Columns),
FSTraplocations: buildFSTraplocationWhere[Q](FSTraplocations.Columns),
FSTreatments: buildFSTreatmentWhere[Q](FSTreatments.Columns),
FSTreatmentareas: buildFSTreatmentareaWhere[Q](FSTreatmentareas.Columns),
FSZones: buildFSZoneWhere[Q](FSZones.Columns),
FSZones2s: buildFSZones2Where[Q](FSZones2s.Columns),
GeographyColumns: buildGeographyColumnWhere[Q](GeographyColumns.Columns),
GeometryColumns: buildGeometryColumnWhere[Q](GeometryColumns.Columns),
GooseDBVersions: buildGooseDBVersionWhere[Q](GooseDBVersions.Columns),
H3Aggregations: buildH3AggregationWhere[Q](H3Aggregations.Columns),
HistoryContainerrelates: buildHistoryContainerrelateWhere[Q](HistoryContainerrelates.Columns),
HistoryFieldscoutinglogs: buildHistoryFieldscoutinglogWhere[Q](HistoryFieldscoutinglogs.Columns),
HistoryHabitatrelates: buildHistoryHabitatrelateWhere[Q](HistoryHabitatrelates.Columns),
HistoryInspectionsamples: buildHistoryInspectionsampleWhere[Q](HistoryInspectionsamples.Columns),
HistoryInspectionsampledetails: buildHistoryInspectionsampledetailWhere[Q](HistoryInspectionsampledetails.Columns),
HistoryLinelocations: buildHistoryLinelocationWhere[Q](HistoryLinelocations.Columns),
HistoryLocationtrackings: buildHistoryLocationtrackingWhere[Q](HistoryLocationtrackings.Columns),
HistoryMosquitoinspections: buildHistoryMosquitoinspectionWhere[Q](HistoryMosquitoinspections.Columns),
HistoryPointlocations: buildHistoryPointlocationWhere[Q](HistoryPointlocations.Columns),
HistoryPolygonlocations: buildHistoryPolygonlocationWhere[Q](HistoryPolygonlocations.Columns),
HistoryPools: buildHistoryPoolWhere[Q](HistoryPools.Columns),
HistoryPooldetails: buildHistoryPooldetailWhere[Q](HistoryPooldetails.Columns),
HistoryProposedtreatmentareas: buildHistoryProposedtreatmentareaWhere[Q](HistoryProposedtreatmentareas.Columns),
HistoryQamosquitoinspections: buildHistoryQamosquitoinspectionWhere[Q](HistoryQamosquitoinspections.Columns),
HistoryRodentlocations: buildHistoryRodentlocationWhere[Q](HistoryRodentlocations.Columns),
HistorySamplecollections: buildHistorySamplecollectionWhere[Q](HistorySamplecollections.Columns),
HistorySamplelocations: buildHistorySamplelocationWhere[Q](HistorySamplelocations.Columns),
HistoryServicerequests: buildHistoryServicerequestWhere[Q](HistoryServicerequests.Columns),
HistorySpeciesabundances: buildHistorySpeciesabundanceWhere[Q](HistorySpeciesabundances.Columns),
HistoryStormdrains: buildHistoryStormdrainWhere[Q](HistoryStormdrains.Columns),
HistoryTimecards: buildHistoryTimecardWhere[Q](HistoryTimecards.Columns),
HistoryTrapdata: buildHistoryTrapdatumWhere[Q](HistoryTrapdata.Columns),
HistoryTraplocations: buildHistoryTraplocationWhere[Q](HistoryTraplocations.Columns),
HistoryTreatments: buildHistoryTreatmentWhere[Q](HistoryTreatments.Columns),
HistoryTreatmentareas: buildHistoryTreatmentareaWhere[Q](HistoryTreatmentareas.Columns),
HistoryZones: buildHistoryZoneWhere[Q](HistoryZones.Columns),
HistoryZones2s: buildHistoryZones2Where[Q](HistoryZones2s.Columns),
Notifications: buildNotificationWhere[Q](Notifications.Columns),
OauthTokens: buildOauthTokenWhere[Q](OauthTokens.Columns),
Organizations: buildOrganizationWhere[Q](Organizations.Columns),
RasterColumns: buildRasterColumnWhere[Q](RasterColumns.Columns),
RasterOverviews: buildRasterOverviewWhere[Q](RasterOverviews.Columns),
Sessions: buildSessionWhere[Q](Sessions.Columns),
SpatialRefSys: buildSpatialRefSyWhere[Q](SpatialRefSys.Columns),
Users: buildUserWhere[Q](Users.Columns),
}
}