// Code generated by BobGen psql v0.42.5. DO NOT EDIT.
// This file is meant to be re-generated in place and/or deleted at any time.

package models

import (
	"github.com/Gleipnir-Technology/bob/clause"
	"github.com/Gleipnir-Technology/bob/dialect/psql"
	"github.com/Gleipnir-Technology/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 {
	Addresses                          addressWhere[Q]
	ArcgisAccounts                     arcgisAccountWhere[Q]
	ArcgisAddressMappings              arcgisAddressMappingWhere[Q]
	ArcgisLayers                       arcgisLayerWhere[Q]
	ArcgisLayerFields                  arcgisLayerFieldWhere[Q]
	ArcgisOauthTokens                  arcgisOauthTokenWhere[Q]
	ArcgisParcelMappings               arcgisParcelMappingWhere[Q]
	ArcgisServiceFeatures              arcgisServiceFeatureWhere[Q]
	ArcgisServiceMaps                  arcgisServiceMapWhere[Q]
	ArcgisUsers                        arcgisuserWhere[Q]
	ArcgisUserPrivileges               arcgisUserPrivilegeWhere[Q]
	CommsEmailContacts                 commsEmailContactWhere[Q]
	CommsEmailLogs                     commsEmailLogWhere[Q]
	CommsEmailTemplates                commsEmailTemplateWhere[Q]
	CommsMailers                       commsMailerWhere[Q]
	CommsPhones                        commsPhoneWhere[Q]
	CommsTextJobs                      commsTextJobWhere[Q]
	CommsTextLogs                      commsTextLogWhere[Q]
	ComplianceReportRequests           complianceReportRequestWhere[Q]
	ComplianceReportRequestMailers     complianceReportRequestMailerWhere[Q]
	DistrictSubscriptionEmails         districtSubscriptionEmailWhere[Q]
	DistrictSubscriptionPhones         districtSubscriptionPhoneWhere[Q]
	FieldseekerContainerrelates        fieldseekerContainerrelateWhere[Q]
	FieldseekerFieldscoutinglogs       fieldseekerFieldscoutinglogWhere[Q]
	FieldseekerHabitatrelates          fieldseekerHabitatrelateWhere[Q]
	FieldseekerInspectionsamples       fieldseekerInspectionsampleWhere[Q]
	FieldseekerInspectionsampledetails fieldseekerInspectionsampledetailWhere[Q]
	FieldseekerLinelocations           fieldseekerLinelocationWhere[Q]
	FieldseekerLocationtrackings       fieldseekerLocationtrackingWhere[Q]
	FieldseekerMosquitoinspections     fieldseekerMosquitoinspectionWhere[Q]
	FieldseekerPointlocations          fieldseekerPointlocationWhere[Q]
	FieldseekerPolygonlocations        fieldseekerPolygonlocationWhere[Q]
	FieldseekerPools                   fieldseekerPoolWhere[Q]
	FieldseekerPooldetails             fieldseekerPooldetailWhere[Q]
	FieldseekerProposedtreatmentareas  fieldseekerProposedtreatmentareaWhere[Q]
	FieldseekerQamosquitoinspections   fieldseekerQamosquitoinspectionWhere[Q]
	FieldseekerRodentlocations         fieldseekerRodentlocationWhere[Q]
	FieldseekerSamplecollections       fieldseekerSamplecollectionWhere[Q]
	FieldseekerSamplelocations         fieldseekerSamplelocationWhere[Q]
	FieldseekerServicerequests         fieldseekerServicerequestWhere[Q]
	FieldseekerSpeciesabundances       fieldseekerSpeciesabundanceWhere[Q]
	FieldseekerStormdrains             fieldseekerStormdrainWhere[Q]
	FieldseekerTimecards               fieldseekerTimecardWhere[Q]
	FieldseekerTrapdata                fieldseekerTrapdatumWhere[Q]
	FieldseekerTraplocations           fieldseekerTraplocationWhere[Q]
	FieldseekerTreatments              fieldseekerTreatmentWhere[Q]
	FieldseekerTreatmentareas          fieldseekerTreatmentareaWhere[Q]
	FieldseekerZones                   fieldseekerZoneWhere[Q]
	FieldseekerZones2s                 fieldseekerZones2Where[Q]
	FieldseekerSyncs                   fieldseekerSyncWhere[Q]
	FileuploadCSVS                     fileuploadCSVWhere[Q]
	FileuploadErrorCSVS                fileuploadErrorCSVWhere[Q]
	FileuploadErrorFiles               fileuploadErrorFileWhere[Q]
	FileuploadFiles                    fileuploadFileWhere[Q]
	FileuploadFlyoverAerialServices    fileuploadFlyoverAerialServiceWhere[Q]
	FileuploadPools                    fileuploadPoolWhere[Q]
	GeographyColumns                   geographyColumnWhere[Q]
	GeometryColumns                    geometryColumnWhere[Q]
	GooseDBVersions                    gooseDBVersionWhere[Q]
	H3Aggregations                     h3AggregationWhere[Q]
	NoteAudios                         noteAudioWhere[Q]
	NoteAudioBreadcrumbs               noteAudioBreadcrumbWhere[Q]
	NoteAudioData                      noteAudioDatumWhere[Q]
	NoteImages                         noteImageWhere[Q]
	NoteImageBreadcrumbs               noteImageBreadcrumbWhere[Q]
	NoteImageData                      noteImageDatumWhere[Q]
	Notifications                      notificationWhere[Q]
	Organizations                      organizationWhere[Q]
	Parcels                            parcelWhere[Q]
	Pools                              poolWhere[Q]
	PublicreportImages                 publicreportImageWhere[Q]
	PublicreportImageExifs             publicreportImageExifWhere[Q]
	PublicreportNotifyEmailNuisances   publicreportNotifyEmailNuisanceWhere[Q]
	PublicreportNotifyEmailPools       publicreportNotifyEmailPoolWhere[Q]
	PublicreportNotifyPhoneNuisances   publicreportNotifyPhoneNuisanceWhere[Q]
	PublicreportNotifyPhonePools       publicreportNotifyPhonePoolWhere[Q]
	PublicreportNuisances              publicreportNuisanceWhere[Q]
	PublicreportNuisanceImages         publicreportNuisanceImageWhere[Q]
	PublicreportPools                  publicreportPoolWhere[Q]
	PublicreportPoolImages             publicreportPoolImageWhere[Q]
	PublicreportQuicks                 publicreportQuickWhere[Q]
	PublicreportQuickImages            publicreportQuickImageWhere[Q]
	PublicreportReportLocations        publicreportReportLocationWhere[Q]
	PublicreportSubscribeEmails        publicreportSubscribeEmailWhere[Q]
	PublicreportSubscribePhones        publicreportSubscribePhoneWhere[Q]
	RasterColumns                      rasterColumnWhere[Q]
	RasterOverviews                    rasterOverviewWhere[Q]
	Residents                          residentWhere[Q]
	Sessions                           sessionWhere[Q]
	Sites                              siteWhere[Q]
	SpatialRefSys                      spatialRefSyWhere[Q]
	Users                              userWhere[Q]
} {
	return struct {
		Addresses                          addressWhere[Q]
		ArcgisAccounts                     arcgisAccountWhere[Q]
		ArcgisAddressMappings              arcgisAddressMappingWhere[Q]
		ArcgisLayers                       arcgisLayerWhere[Q]
		ArcgisLayerFields                  arcgisLayerFieldWhere[Q]
		ArcgisOauthTokens                  arcgisOauthTokenWhere[Q]
		ArcgisParcelMappings               arcgisParcelMappingWhere[Q]
		ArcgisServiceFeatures              arcgisServiceFeatureWhere[Q]
		ArcgisServiceMaps                  arcgisServiceMapWhere[Q]
		ArcgisUsers                        arcgisuserWhere[Q]
		ArcgisUserPrivileges               arcgisUserPrivilegeWhere[Q]
		CommsEmailContacts                 commsEmailContactWhere[Q]
		CommsEmailLogs                     commsEmailLogWhere[Q]
		CommsEmailTemplates                commsEmailTemplateWhere[Q]
		CommsMailers                       commsMailerWhere[Q]
		CommsPhones                        commsPhoneWhere[Q]
		CommsTextJobs                      commsTextJobWhere[Q]
		CommsTextLogs                      commsTextLogWhere[Q]
		ComplianceReportRequests           complianceReportRequestWhere[Q]
		ComplianceReportRequestMailers     complianceReportRequestMailerWhere[Q]
		DistrictSubscriptionEmails         districtSubscriptionEmailWhere[Q]
		DistrictSubscriptionPhones         districtSubscriptionPhoneWhere[Q]
		FieldseekerContainerrelates        fieldseekerContainerrelateWhere[Q]
		FieldseekerFieldscoutinglogs       fieldseekerFieldscoutinglogWhere[Q]
		FieldseekerHabitatrelates          fieldseekerHabitatrelateWhere[Q]
		FieldseekerInspectionsamples       fieldseekerInspectionsampleWhere[Q]
		FieldseekerInspectionsampledetails fieldseekerInspectionsampledetailWhere[Q]
		FieldseekerLinelocations           fieldseekerLinelocationWhere[Q]
		FieldseekerLocationtrackings       fieldseekerLocationtrackingWhere[Q]
		FieldseekerMosquitoinspections     fieldseekerMosquitoinspectionWhere[Q]
		FieldseekerPointlocations          fieldseekerPointlocationWhere[Q]
		FieldseekerPolygonlocations        fieldseekerPolygonlocationWhere[Q]
		FieldseekerPools                   fieldseekerPoolWhere[Q]
		FieldseekerPooldetails             fieldseekerPooldetailWhere[Q]
		FieldseekerProposedtreatmentareas  fieldseekerProposedtreatmentareaWhere[Q]
		FieldseekerQamosquitoinspections   fieldseekerQamosquitoinspectionWhere[Q]
		FieldseekerRodentlocations         fieldseekerRodentlocationWhere[Q]
		FieldseekerSamplecollections       fieldseekerSamplecollectionWhere[Q]
		FieldseekerSamplelocations         fieldseekerSamplelocationWhere[Q]
		FieldseekerServicerequests         fieldseekerServicerequestWhere[Q]
		FieldseekerSpeciesabundances       fieldseekerSpeciesabundanceWhere[Q]
		FieldseekerStormdrains             fieldseekerStormdrainWhere[Q]
		FieldseekerTimecards               fieldseekerTimecardWhere[Q]
		FieldseekerTrapdata                fieldseekerTrapdatumWhere[Q]
		FieldseekerTraplocations           fieldseekerTraplocationWhere[Q]
		FieldseekerTreatments              fieldseekerTreatmentWhere[Q]
		FieldseekerTreatmentareas          fieldseekerTreatmentareaWhere[Q]
		FieldseekerZones                   fieldseekerZoneWhere[Q]
		FieldseekerZones2s                 fieldseekerZones2Where[Q]
		FieldseekerSyncs                   fieldseekerSyncWhere[Q]
		FileuploadCSVS                     fileuploadCSVWhere[Q]
		FileuploadErrorCSVS                fileuploadErrorCSVWhere[Q]
		FileuploadErrorFiles               fileuploadErrorFileWhere[Q]
		FileuploadFiles                    fileuploadFileWhere[Q]
		FileuploadFlyoverAerialServices    fileuploadFlyoverAerialServiceWhere[Q]
		FileuploadPools                    fileuploadPoolWhere[Q]
		GeographyColumns                   geographyColumnWhere[Q]
		GeometryColumns                    geometryColumnWhere[Q]
		GooseDBVersions                    gooseDBVersionWhere[Q]
		H3Aggregations                     h3AggregationWhere[Q]
		NoteAudios                         noteAudioWhere[Q]
		NoteAudioBreadcrumbs               noteAudioBreadcrumbWhere[Q]
		NoteAudioData                      noteAudioDatumWhere[Q]
		NoteImages                         noteImageWhere[Q]
		NoteImageBreadcrumbs               noteImageBreadcrumbWhere[Q]
		NoteImageData                      noteImageDatumWhere[Q]
		Notifications                      notificationWhere[Q]
		Organizations                      organizationWhere[Q]
		Parcels                            parcelWhere[Q]
		Pools                              poolWhere[Q]
		PublicreportImages                 publicreportImageWhere[Q]
		PublicreportImageExifs             publicreportImageExifWhere[Q]
		PublicreportNotifyEmailNuisances   publicreportNotifyEmailNuisanceWhere[Q]
		PublicreportNotifyEmailPools       publicreportNotifyEmailPoolWhere[Q]
		PublicreportNotifyPhoneNuisances   publicreportNotifyPhoneNuisanceWhere[Q]
		PublicreportNotifyPhonePools       publicreportNotifyPhonePoolWhere[Q]
		PublicreportNuisances              publicreportNuisanceWhere[Q]
		PublicreportNuisanceImages         publicreportNuisanceImageWhere[Q]
		PublicreportPools                  publicreportPoolWhere[Q]
		PublicreportPoolImages             publicreportPoolImageWhere[Q]
		PublicreportQuicks                 publicreportQuickWhere[Q]
		PublicreportQuickImages            publicreportQuickImageWhere[Q]
		PublicreportReportLocations        publicreportReportLocationWhere[Q]
		PublicreportSubscribeEmails        publicreportSubscribeEmailWhere[Q]
		PublicreportSubscribePhones        publicreportSubscribePhoneWhere[Q]
		RasterColumns                      rasterColumnWhere[Q]
		RasterOverviews                    rasterOverviewWhere[Q]
		Residents                          residentWhere[Q]
		Sessions                           sessionWhere[Q]
		Sites                              siteWhere[Q]
		SpatialRefSys                      spatialRefSyWhere[Q]
		Users                              userWhere[Q]
	}{
		Addresses:                          buildAddressWhere[Q](Addresses.Columns),
		ArcgisAccounts:                     buildArcgisAccountWhere[Q](ArcgisAccounts.Columns),
		ArcgisAddressMappings:              buildArcgisAddressMappingWhere[Q](ArcgisAddressMappings.Columns),
		ArcgisLayers:                       buildArcgisLayerWhere[Q](ArcgisLayers.Columns),
		ArcgisLayerFields:                  buildArcgisLayerFieldWhere[Q](ArcgisLayerFields.Columns),
		ArcgisOauthTokens:                  buildArcgisOauthTokenWhere[Q](ArcgisOauthTokens.Columns),
		ArcgisParcelMappings:               buildArcgisParcelMappingWhere[Q](ArcgisParcelMappings.Columns),
		ArcgisServiceFeatures:              buildArcgisServiceFeatureWhere[Q](ArcgisServiceFeatures.Columns),
		ArcgisServiceMaps:                  buildArcgisServiceMapWhere[Q](ArcgisServiceMaps.Columns),
		ArcgisUsers:                        buildArcgisUserWhere[Q](ArcgisUsers.Columns),
		ArcgisUserPrivileges:               buildArcgisUserPrivilegeWhere[Q](ArcgisUserPrivileges.Columns),
		CommsEmailContacts:                 buildCommsEmailContactWhere[Q](CommsEmailContacts.Columns),
		CommsEmailLogs:                     buildCommsEmailLogWhere[Q](CommsEmailLogs.Columns),
		CommsEmailTemplates:                buildCommsEmailTemplateWhere[Q](CommsEmailTemplates.Columns),
		CommsMailers:                       buildCommsMailerWhere[Q](CommsMailers.Columns),
		CommsPhones:                        buildCommsPhoneWhere[Q](CommsPhones.Columns),
		CommsTextJobs:                      buildCommsTextJobWhere[Q](CommsTextJobs.Columns),
		CommsTextLogs:                      buildCommsTextLogWhere[Q](CommsTextLogs.Columns),
		ComplianceReportRequests:           buildComplianceReportRequestWhere[Q](ComplianceReportRequests.Columns),
		ComplianceReportRequestMailers:     buildComplianceReportRequestMailerWhere[Q](ComplianceReportRequestMailers.Columns),
		DistrictSubscriptionEmails:         buildDistrictSubscriptionEmailWhere[Q](DistrictSubscriptionEmails.Columns),
		DistrictSubscriptionPhones:         buildDistrictSubscriptionPhoneWhere[Q](DistrictSubscriptionPhones.Columns),
		FieldseekerContainerrelates:        buildFieldseekerContainerrelateWhere[Q](FieldseekerContainerrelates.Columns),
		FieldseekerFieldscoutinglogs:       buildFieldseekerFieldscoutinglogWhere[Q](FieldseekerFieldscoutinglogs.Columns),
		FieldseekerHabitatrelates:          buildFieldseekerHabitatrelateWhere[Q](FieldseekerHabitatrelates.Columns),
		FieldseekerInspectionsamples:       buildFieldseekerInspectionsampleWhere[Q](FieldseekerInspectionsamples.Columns),
		FieldseekerInspectionsampledetails: buildFieldseekerInspectionsampledetailWhere[Q](FieldseekerInspectionsampledetails.Columns),
		FieldseekerLinelocations:           buildFieldseekerLinelocationWhere[Q](FieldseekerLinelocations.Columns),
		FieldseekerLocationtrackings:       buildFieldseekerLocationtrackingWhere[Q](FieldseekerLocationtrackings.Columns),
		FieldseekerMosquitoinspections:     buildFieldseekerMosquitoinspectionWhere[Q](FieldseekerMosquitoinspections.Columns),
		FieldseekerPointlocations:          buildFieldseekerPointlocationWhere[Q](FieldseekerPointlocations.Columns),
		FieldseekerPolygonlocations:        buildFieldseekerPolygonlocationWhere[Q](FieldseekerPolygonlocations.Columns),
		FieldseekerPools:                   buildFieldseekerPoolWhere[Q](FieldseekerPools.Columns),
		FieldseekerPooldetails:             buildFieldseekerPooldetailWhere[Q](FieldseekerPooldetails.Columns),
		FieldseekerProposedtreatmentareas:  buildFieldseekerProposedtreatmentareaWhere[Q](FieldseekerProposedtreatmentareas.Columns),
		FieldseekerQamosquitoinspections:   buildFieldseekerQamosquitoinspectionWhere[Q](FieldseekerQamosquitoinspections.Columns),
		FieldseekerRodentlocations:         buildFieldseekerRodentlocationWhere[Q](FieldseekerRodentlocations.Columns),
		FieldseekerSamplecollections:       buildFieldseekerSamplecollectionWhere[Q](FieldseekerSamplecollections.Columns),
		FieldseekerSamplelocations:         buildFieldseekerSamplelocationWhere[Q](FieldseekerSamplelocations.Columns),
		FieldseekerServicerequests:         buildFieldseekerServicerequestWhere[Q](FieldseekerServicerequests.Columns),
		FieldseekerSpeciesabundances:       buildFieldseekerSpeciesabundanceWhere[Q](FieldseekerSpeciesabundances.Columns),
		FieldseekerStormdrains:             buildFieldseekerStormdrainWhere[Q](FieldseekerStormdrains.Columns),
		FieldseekerTimecards:               buildFieldseekerTimecardWhere[Q](FieldseekerTimecards.Columns),
		FieldseekerTrapdata:                buildFieldseekerTrapdatumWhere[Q](FieldseekerTrapdata.Columns),
		FieldseekerTraplocations:           buildFieldseekerTraplocationWhere[Q](FieldseekerTraplocations.Columns),
		FieldseekerTreatments:              buildFieldseekerTreatmentWhere[Q](FieldseekerTreatments.Columns),
		FieldseekerTreatmentareas:          buildFieldseekerTreatmentareaWhere[Q](FieldseekerTreatmentareas.Columns),
		FieldseekerZones:                   buildFieldseekerZoneWhere[Q](FieldseekerZones.Columns),
		FieldseekerZones2s:                 buildFieldseekerZones2Where[Q](FieldseekerZones2s.Columns),
		FieldseekerSyncs:                   buildFieldseekerSyncWhere[Q](FieldseekerSyncs.Columns),
		FileuploadCSVS:                     buildFileuploadCSVWhere[Q](FileuploadCSVS.Columns),
		FileuploadErrorCSVS:                buildFileuploadErrorCSVWhere[Q](FileuploadErrorCSVS.Columns),
		FileuploadErrorFiles:               buildFileuploadErrorFileWhere[Q](FileuploadErrorFiles.Columns),
		FileuploadFiles:                    buildFileuploadFileWhere[Q](FileuploadFiles.Columns),
		FileuploadFlyoverAerialServices:    buildFileuploadFlyoverAerialServiceWhere[Q](FileuploadFlyoverAerialServices.Columns),
		FileuploadPools:                    buildFileuploadPoolWhere[Q](FileuploadPools.Columns),
		GeographyColumns:                   buildGeographyColumnWhere[Q](GeographyColumns.Columns),
		GeometryColumns:                    buildGeometryColumnWhere[Q](GeometryColumns.Columns),
		GooseDBVersions:                    buildGooseDBVersionWhere[Q](GooseDBVersions.Columns),
		H3Aggregations:                     buildH3AggregationWhere[Q](H3Aggregations.Columns),
		NoteAudios:                         buildNoteAudioWhere[Q](NoteAudios.Columns),
		NoteAudioBreadcrumbs:               buildNoteAudioBreadcrumbWhere[Q](NoteAudioBreadcrumbs.Columns),
		NoteAudioData:                      buildNoteAudioDatumWhere[Q](NoteAudioData.Columns),
		NoteImages:                         buildNoteImageWhere[Q](NoteImages.Columns),
		NoteImageBreadcrumbs:               buildNoteImageBreadcrumbWhere[Q](NoteImageBreadcrumbs.Columns),
		NoteImageData:                      buildNoteImageDatumWhere[Q](NoteImageData.Columns),
		Notifications:                      buildNotificationWhere[Q](Notifications.Columns),
		Organizations:                      buildOrganizationWhere[Q](Organizations.Columns),
		Parcels:                            buildParcelWhere[Q](Parcels.Columns),
		Pools:                              buildPoolWhere[Q](Pools.Columns),
		PublicreportImages:                 buildPublicreportImageWhere[Q](PublicreportImages.Columns),
		PublicreportImageExifs:             buildPublicreportImageExifWhere[Q](PublicreportImageExifs.Columns),
		PublicreportNotifyEmailNuisances:   buildPublicreportNotifyEmailNuisanceWhere[Q](PublicreportNotifyEmailNuisances.Columns),
		PublicreportNotifyEmailPools:       buildPublicreportNotifyEmailPoolWhere[Q](PublicreportNotifyEmailPools.Columns),
		PublicreportNotifyPhoneNuisances:   buildPublicreportNotifyPhoneNuisanceWhere[Q](PublicreportNotifyPhoneNuisances.Columns),
		PublicreportNotifyPhonePools:       buildPublicreportNotifyPhonePoolWhere[Q](PublicreportNotifyPhonePools.Columns),
		PublicreportNuisances:              buildPublicreportNuisanceWhere[Q](PublicreportNuisances.Columns),
		PublicreportNuisanceImages:         buildPublicreportNuisanceImageWhere[Q](PublicreportNuisanceImages.Columns),
		PublicreportPools:                  buildPublicreportPoolWhere[Q](PublicreportPools.Columns),
		PublicreportPoolImages:             buildPublicreportPoolImageWhere[Q](PublicreportPoolImages.Columns),
		PublicreportQuicks:                 buildPublicreportQuickWhere[Q](PublicreportQuicks.Columns),
		PublicreportQuickImages:            buildPublicreportQuickImageWhere[Q](PublicreportQuickImages.Columns),
		PublicreportReportLocations:        buildPublicreportReportLocationWhere[Q](PublicreportReportLocations.Columns),
		PublicreportSubscribeEmails:        buildPublicreportSubscribeEmailWhere[Q](PublicreportSubscribeEmails.Columns),
		PublicreportSubscribePhones:        buildPublicreportSubscribePhoneWhere[Q](PublicreportSubscribePhones.Columns),
		RasterColumns:                      buildRasterColumnWhere[Q](RasterColumns.Columns),
		RasterOverviews:                    buildRasterOverviewWhere[Q](RasterOverviews.Columns),
		Residents:                          buildResidentWhere[Q](Residents.Columns),
		Sessions:                           buildSessionWhere[Q](Sessions.Columns),
		Sites:                              buildSiteWhere[Q](Sites.Columns),
		SpatialRefSys:                      buildSpatialRefSyWhere[Q](SpatialRefSys.Columns),
		Users:                              buildUserWhere[Q](Users.Columns),
	}
}
