models

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2025 License: AGPL-3.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SelectJoins = getJoins[*dialect.SelectQuery]()
	UpdateJoins = getJoins[*dialect.UpdateQuery]()
	DeleteJoins = getJoins[*dialect.DeleteQuery]()
)
View Source
var (
	SelectThenLoad = getThenLoaders[*dialect.SelectQuery]()
	InsertThenLoad = getThenLoaders[*dialect.InsertQuery]()
	UpdateThenLoad = getThenLoaders[*dialect.UpdateQuery]()
)
View Source
var (
	SelectWhere     = Where[*dialect.SelectQuery]()
	UpdateWhere     = Where[*dialect.UpdateQuery]()
	DeleteWhere     = Where[*dialect.DeleteQuery]()
	OnConflictWhere = Where[*clause.ConflictClause]() // Used in ON CONFLICT DO UPDATE
)
View Source
var FSContainerrelates = psql.NewTablex[*FSContainerrelate, FSContainerrelateSlice, *FSContainerrelateSetter]("", "fs_containerrelate", buildFSContainerrelateColumns("fs_containerrelate"))

FSContainerrelates contains methods to work with the fs_containerrelate table

View Source
var FSFieldscoutinglogs = psql.NewTablex[*FSFieldscoutinglog, FSFieldscoutinglogSlice, *FSFieldscoutinglogSetter]("", "fs_fieldscoutinglog", buildFSFieldscoutinglogColumns("fs_fieldscoutinglog"))

FSFieldscoutinglogs contains methods to work with the fs_fieldscoutinglog table

View Source
var FSHabitatrelates = psql.NewTablex[*FSHabitatrelate, FSHabitatrelateSlice, *FSHabitatrelateSetter]("", "fs_habitatrelate", buildFSHabitatrelateColumns("fs_habitatrelate"))

FSHabitatrelates contains methods to work with the fs_habitatrelate table

View Source
var FSInspectionsampledetails = psql.NewTablex[*FSInspectionsampledetail, FSInspectionsampledetailSlice, *FSInspectionsampledetailSetter]("", "fs_inspectionsampledetail", buildFSInspectionsampledetailColumns("fs_inspectionsampledetail"))

FSInspectionsampledetails contains methods to work with the fs_inspectionsampledetail table

View Source
var FSInspectionsamples = psql.NewTablex[*FSInspectionsample, FSInspectionsampleSlice, *FSInspectionsampleSetter]("", "fs_inspectionsample", buildFSInspectionsampleColumns("fs_inspectionsample"))

FSInspectionsamples contains methods to work with the fs_inspectionsample table

View Source
var FSLinelocations = psql.NewTablex[*FSLinelocation, FSLinelocationSlice, *FSLinelocationSetter]("", "fs_linelocation", buildFSLinelocationColumns("fs_linelocation"))

FSLinelocations contains methods to work with the fs_linelocation table

View Source
var FSLocationtrackings = psql.NewTablex[*FSLocationtracking, FSLocationtrackingSlice, *FSLocationtrackingSetter]("", "fs_locationtracking", buildFSLocationtrackingColumns("fs_locationtracking"))

FSLocationtrackings contains methods to work with the fs_locationtracking table

View Source
var FSMosquitoinspections = psql.NewTablex[*FSMosquitoinspection, FSMosquitoinspectionSlice, *FSMosquitoinspectionSetter]("", "fs_mosquitoinspection", buildFSMosquitoinspectionColumns("fs_mosquitoinspection"))

FSMosquitoinspections contains methods to work with the fs_mosquitoinspection table

View Source
var FSPointlocations = psql.NewTablex[*FSPointlocation, FSPointlocationSlice, *FSPointlocationSetter]("", "fs_pointlocation", buildFSPointlocationColumns("fs_pointlocation"))

FSPointlocations contains methods to work with the fs_pointlocation table

View Source
var FSPolygonlocations = psql.NewTablex[*FSPolygonlocation, FSPolygonlocationSlice, *FSPolygonlocationSetter]("", "fs_polygonlocation", buildFSPolygonlocationColumns("fs_polygonlocation"))

FSPolygonlocations contains methods to work with the fs_polygonlocation table

View Source
var FSPooldetails = psql.NewTablex[*FSPooldetail, FSPooldetailSlice, *FSPooldetailSetter]("", "fs_pooldetail", buildFSPooldetailColumns("fs_pooldetail"))

FSPooldetails contains methods to work with the fs_pooldetail table

View Source
var FSPools = psql.NewTablex[*FSPool, FSPoolSlice, *FSPoolSetter]("", "fs_pool", buildFSPoolColumns("fs_pool"))

FSPools contains methods to work with the fs_pool table

View Source
var FSProposedtreatmentareas = psql.NewTablex[*FSProposedtreatmentarea, FSProposedtreatmentareaSlice, *FSProposedtreatmentareaSetter]("", "fs_proposedtreatmentarea", buildFSProposedtreatmentareaColumns("fs_proposedtreatmentarea"))

FSProposedtreatmentareas contains methods to work with the fs_proposedtreatmentarea table

View Source
var FSQamosquitoinspections = psql.NewTablex[*FSQamosquitoinspection, FSQamosquitoinspectionSlice, *FSQamosquitoinspectionSetter]("", "fs_qamosquitoinspection", buildFSQamosquitoinspectionColumns("fs_qamosquitoinspection"))

FSQamosquitoinspections contains methods to work with the fs_qamosquitoinspection table

View Source
var FSRodentlocations = psql.NewTablex[*FSRodentlocation, FSRodentlocationSlice, *FSRodentlocationSetter]("", "fs_rodentlocation", buildFSRodentlocationColumns("fs_rodentlocation"))

FSRodentlocations contains methods to work with the fs_rodentlocation table

View Source
var FSSamplecollections = psql.NewTablex[*FSSamplecollection, FSSamplecollectionSlice, *FSSamplecollectionSetter]("", "fs_samplecollection", buildFSSamplecollectionColumns("fs_samplecollection"))

FSSamplecollections contains methods to work with the fs_samplecollection table

View Source
var FSSamplelocations = psql.NewTablex[*FSSamplelocation, FSSamplelocationSlice, *FSSamplelocationSetter]("", "fs_samplelocation", buildFSSamplelocationColumns("fs_samplelocation"))

FSSamplelocations contains methods to work with the fs_samplelocation table

View Source
var FSServicerequests = psql.NewTablex[*FSServicerequest, FSServicerequestSlice, *FSServicerequestSetter]("", "fs_servicerequest", buildFSServicerequestColumns("fs_servicerequest"))

FSServicerequests contains methods to work with the fs_servicerequest table

View Source
var FSSpeciesabundances = psql.NewTablex[*FSSpeciesabundance, FSSpeciesabundanceSlice, *FSSpeciesabundanceSetter]("", "fs_speciesabundance", buildFSSpeciesabundanceColumns("fs_speciesabundance"))

FSSpeciesabundances contains methods to work with the fs_speciesabundance table

View Source
var FSStormdrains = psql.NewTablex[*FSStormdrain, FSStormdrainSlice, *FSStormdrainSetter]("", "fs_stormdrain", buildFSStormdrainColumns("fs_stormdrain"))

FSStormdrains contains methods to work with the fs_stormdrain table

View Source
var FSTimecards = psql.NewTablex[*FSTimecard, FSTimecardSlice, *FSTimecardSetter]("", "fs_timecard", buildFSTimecardColumns("fs_timecard"))

FSTimecards contains methods to work with the fs_timecard table

View Source
var FSTrapdata = psql.NewTablex[*FSTrapdatum, FSTrapdatumSlice, *FSTrapdatumSetter]("", "fs_trapdata", buildFSTrapdatumColumns("fs_trapdata"))

FSTrapdata contains methods to work with the fs_trapdata table

View Source
var FSTraplocations = psql.NewTablex[*FSTraplocation, FSTraplocationSlice, *FSTraplocationSetter]("", "fs_traplocation", buildFSTraplocationColumns("fs_traplocation"))

FSTraplocations contains methods to work with the fs_traplocation table

View Source
var FSTreatmentareas = psql.NewTablex[*FSTreatmentarea, FSTreatmentareaSlice, *FSTreatmentareaSetter]("", "fs_treatmentarea", buildFSTreatmentareaColumns("fs_treatmentarea"))

FSTreatmentareas contains methods to work with the fs_treatmentarea table

View Source
var FSTreatments = psql.NewTablex[*FSTreatment, FSTreatmentSlice, *FSTreatmentSetter]("", "fs_treatment", buildFSTreatmentColumns("fs_treatment"))

FSTreatments contains methods to work with the fs_treatment table

View Source
var FSZones = psql.NewTablex[*FSZone, FSZoneSlice, *FSZoneSetter]("", "fs_zones", buildFSZoneColumns("fs_zones"))

FSZones contains methods to work with the fs_zones table

View Source
var FSZones2s = psql.NewTablex[*FSZones2, FSZones2Slice, *FSZones2Setter]("", "fs_zones2", buildFSZones2Columns("fs_zones2"))

FSZones2s contains methods to work with the fs_zones2 table

View Source
var FieldseekerSyncs = psql.NewTablex[*FieldseekerSync, FieldseekerSyncSlice, *FieldseekerSyncSetter]("", "fieldseeker_sync", buildFieldseekerSyncColumns("fieldseeker_sync"))

FieldseekerSyncs contains methods to work with the fieldseeker_sync table

View Source
var GeographyColumns = psql.NewViewx[*GeographyColumn, GeographyColumnSlice]("", "geography_columns", buildGeographyColumnColumns("geography_columns"))

GeographyColumns contains methods to work with the geography_columns view

View Source
var GeometryColumns = psql.NewViewx[*GeometryColumn, GeometryColumnSlice]("", "geometry_columns", buildGeometryColumnColumns("geometry_columns"))

GeometryColumns contains methods to work with the geometry_columns view

View Source
var GooseDBVersions = psql.NewTablex[*GooseDBVersion, GooseDBVersionSlice, *GooseDBVersionSetter]("", "goose_db_version", buildGooseDBVersionColumns("goose_db_version"))

GooseDBVersions contains methods to work with the goose_db_version table

View Source
var H3Aggregations = psql.NewTablex[*H3Aggregation, H3AggregationSlice, *H3AggregationSetter]("", "h3_aggregation", buildH3AggregationColumns("h3_aggregation"))

H3Aggregations contains methods to work with the h3_aggregation table

View Source
var HistoryContainerrelates = psql.NewTablex[*HistoryContainerrelate, HistoryContainerrelateSlice, *HistoryContainerrelateSetter]("", "history_containerrelate", buildHistoryContainerrelateColumns("history_containerrelate"))

HistoryContainerrelates contains methods to work with the history_containerrelate table

View Source
var HistoryFieldscoutinglogs = psql.NewTablex[*HistoryFieldscoutinglog, HistoryFieldscoutinglogSlice, *HistoryFieldscoutinglogSetter]("", "history_fieldscoutinglog", buildHistoryFieldscoutinglogColumns("history_fieldscoutinglog"))

HistoryFieldscoutinglogs contains methods to work with the history_fieldscoutinglog table

View Source
var HistoryHabitatrelates = psql.NewTablex[*HistoryHabitatrelate, HistoryHabitatrelateSlice, *HistoryHabitatrelateSetter]("", "history_habitatrelate", buildHistoryHabitatrelateColumns("history_habitatrelate"))

HistoryHabitatrelates contains methods to work with the history_habitatrelate table

View Source
var HistoryInspectionsampledetails = psql.NewTablex[*HistoryInspectionsampledetail, HistoryInspectionsampledetailSlice, *HistoryInspectionsampledetailSetter]("", "history_inspectionsampledetail", buildHistoryInspectionsampledetailColumns("history_inspectionsampledetail"))

HistoryInspectionsampledetails contains methods to work with the history_inspectionsampledetail table

View Source
var HistoryInspectionsamples = psql.NewTablex[*HistoryInspectionsample, HistoryInspectionsampleSlice, *HistoryInspectionsampleSetter]("", "history_inspectionsample", buildHistoryInspectionsampleColumns("history_inspectionsample"))

HistoryInspectionsamples contains methods to work with the history_inspectionsample table

View Source
var HistoryLinelocations = psql.NewTablex[*HistoryLinelocation, HistoryLinelocationSlice, *HistoryLinelocationSetter]("", "history_linelocation", buildHistoryLinelocationColumns("history_linelocation"))

HistoryLinelocations contains methods to work with the history_linelocation table

View Source
var HistoryLocationtrackings = psql.NewTablex[*HistoryLocationtracking, HistoryLocationtrackingSlice, *HistoryLocationtrackingSetter]("", "history_locationtracking", buildHistoryLocationtrackingColumns("history_locationtracking"))

HistoryLocationtrackings contains methods to work with the history_locationtracking table

View Source
var HistoryMosquitoinspections = psql.NewTablex[*HistoryMosquitoinspection, HistoryMosquitoinspectionSlice, *HistoryMosquitoinspectionSetter]("", "history_mosquitoinspection", buildHistoryMosquitoinspectionColumns("history_mosquitoinspection"))

HistoryMosquitoinspections contains methods to work with the history_mosquitoinspection table

View Source
var HistoryPointlocations = psql.NewTablex[*HistoryPointlocation, HistoryPointlocationSlice, *HistoryPointlocationSetter]("", "history_pointlocation", buildHistoryPointlocationColumns("history_pointlocation"))

HistoryPointlocations contains methods to work with the history_pointlocation table

View Source
var HistoryPolygonlocations = psql.NewTablex[*HistoryPolygonlocation, HistoryPolygonlocationSlice, *HistoryPolygonlocationSetter]("", "history_polygonlocation", buildHistoryPolygonlocationColumns("history_polygonlocation"))

HistoryPolygonlocations contains methods to work with the history_polygonlocation table

View Source
var HistoryPooldetails = psql.NewTablex[*HistoryPooldetail, HistoryPooldetailSlice, *HistoryPooldetailSetter]("", "history_pooldetail", buildHistoryPooldetailColumns("history_pooldetail"))

HistoryPooldetails contains methods to work with the history_pooldetail table

View Source
var HistoryPools = psql.NewTablex[*HistoryPool, HistoryPoolSlice, *HistoryPoolSetter]("", "history_pool", buildHistoryPoolColumns("history_pool"))

HistoryPools contains methods to work with the history_pool table

View Source
var HistoryProposedtreatmentareas = psql.NewTablex[*HistoryProposedtreatmentarea, HistoryProposedtreatmentareaSlice, *HistoryProposedtreatmentareaSetter]("", "history_proposedtreatmentarea", buildHistoryProposedtreatmentareaColumns("history_proposedtreatmentarea"))

HistoryProposedtreatmentareas contains methods to work with the history_proposedtreatmentarea table

View Source
var HistoryQamosquitoinspections = psql.NewTablex[*HistoryQamosquitoinspection, HistoryQamosquitoinspectionSlice, *HistoryQamosquitoinspectionSetter]("", "history_qamosquitoinspection", buildHistoryQamosquitoinspectionColumns("history_qamosquitoinspection"))

HistoryQamosquitoinspections contains methods to work with the history_qamosquitoinspection table

View Source
var HistoryRodentlocations = psql.NewTablex[*HistoryRodentlocation, HistoryRodentlocationSlice, *HistoryRodentlocationSetter]("", "history_rodentlocation", buildHistoryRodentlocationColumns("history_rodentlocation"))

HistoryRodentlocations contains methods to work with the history_rodentlocation table

View Source
var HistorySamplecollections = psql.NewTablex[*HistorySamplecollection, HistorySamplecollectionSlice, *HistorySamplecollectionSetter]("", "history_samplecollection", buildHistorySamplecollectionColumns("history_samplecollection"))

HistorySamplecollections contains methods to work with the history_samplecollection table

View Source
var HistorySamplelocations = psql.NewTablex[*HistorySamplelocation, HistorySamplelocationSlice, *HistorySamplelocationSetter]("", "history_samplelocation", buildHistorySamplelocationColumns("history_samplelocation"))

HistorySamplelocations contains methods to work with the history_samplelocation table

View Source
var HistoryServicerequests = psql.NewTablex[*HistoryServicerequest, HistoryServicerequestSlice, *HistoryServicerequestSetter]("", "history_servicerequest", buildHistoryServicerequestColumns("history_servicerequest"))

HistoryServicerequests contains methods to work with the history_servicerequest table

View Source
var HistorySpeciesabundances = psql.NewTablex[*HistorySpeciesabundance, HistorySpeciesabundanceSlice, *HistorySpeciesabundanceSetter]("", "history_speciesabundance", buildHistorySpeciesabundanceColumns("history_speciesabundance"))

HistorySpeciesabundances contains methods to work with the history_speciesabundance table

View Source
var HistoryStormdrains = psql.NewTablex[*HistoryStormdrain, HistoryStormdrainSlice, *HistoryStormdrainSetter]("", "history_stormdrain", buildHistoryStormdrainColumns("history_stormdrain"))

HistoryStormdrains contains methods to work with the history_stormdrain table

View Source
var HistoryTimecards = psql.NewTablex[*HistoryTimecard, HistoryTimecardSlice, *HistoryTimecardSetter]("", "history_timecard", buildHistoryTimecardColumns("history_timecard"))

HistoryTimecards contains methods to work with the history_timecard table

View Source
var HistoryTrapdata = psql.NewTablex[*HistoryTrapdatum, HistoryTrapdatumSlice, *HistoryTrapdatumSetter]("", "history_trapdata", buildHistoryTrapdatumColumns("history_trapdata"))

HistoryTrapdata contains methods to work with the history_trapdata table

View Source
var HistoryTraplocations = psql.NewTablex[*HistoryTraplocation, HistoryTraplocationSlice, *HistoryTraplocationSetter]("", "history_traplocation", buildHistoryTraplocationColumns("history_traplocation"))

HistoryTraplocations contains methods to work with the history_traplocation table

View Source
var HistoryTreatmentareas = psql.NewTablex[*HistoryTreatmentarea, HistoryTreatmentareaSlice, *HistoryTreatmentareaSetter]("", "history_treatmentarea", buildHistoryTreatmentareaColumns("history_treatmentarea"))

HistoryTreatmentareas contains methods to work with the history_treatmentarea table

View Source
var HistoryTreatments = psql.NewTablex[*HistoryTreatment, HistoryTreatmentSlice, *HistoryTreatmentSetter]("", "history_treatment", buildHistoryTreatmentColumns("history_treatment"))

HistoryTreatments contains methods to work with the history_treatment table

View Source
var HistoryZones = psql.NewTablex[*HistoryZone, HistoryZoneSlice, *HistoryZoneSetter]("", "history_zones", buildHistoryZoneColumns("history_zones"))

HistoryZones contains methods to work with the history_zones table

View Source
var HistoryZones2s = psql.NewTablex[*HistoryZones2, HistoryZones2Slice, *HistoryZones2Setter]("", "history_zones2", buildHistoryZones2Columns("history_zones2"))

HistoryZones2s contains methods to work with the history_zones2 table

View Source
var Notifications = psql.NewTablex[*Notification, NotificationSlice, *NotificationSetter]("", "notification", buildNotificationColumns("notification"))

Notifications contains methods to work with the notification table

View Source
var OauthTokens = psql.NewTablex[*OauthToken, OauthTokenSlice, *OauthTokenSetter]("", "oauth_token", buildOauthTokenColumns("oauth_token"))

OauthTokens contains methods to work with the oauth_token table

View Source
var Organizations = psql.NewTablex[*Organization, OrganizationSlice, *OrganizationSetter]("", "organization", buildOrganizationColumns("organization"))

Organizations contains methods to work with the organization table

View Source
var Preload = getPreloaders()
View Source
var RasterColumns = psql.NewViewx[*RasterColumn, RasterColumnSlice]("", "raster_columns", buildRasterColumnColumns("raster_columns"))

RasterColumns contains methods to work with the raster_columns view

View Source
var RasterOverviews = psql.NewViewx[*RasterOverview, RasterOverviewSlice]("", "raster_overviews", buildRasterOverviewColumns("raster_overviews"))

RasterOverviews contains methods to work with the raster_overviews view

View Source
var Sessions = psql.NewTablex[*Session, SessionSlice, *SessionSetter]("", "sessions", buildSessionColumns("sessions"))

Sessions contains methods to work with the sessions table

View Source
var SpatialRefSys = psql.NewTablex[*SpatialRefSy, SpatialRefSySlice, *SpatialRefSySetter]("", "spatial_ref_sys", buildSpatialRefSyColumns("spatial_ref_sys"))

SpatialRefSys contains methods to work with the spatial_ref_sys table

View Source
var Users = psql.NewTablex[*User, UserSlice, *UserSetter]("", "user_", buildUserColumns("user_"))

Users contains methods to work with the user_ table

Functions

func FSContainerrelateExists

func FSContainerrelateExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSContainerrelateExists checks the presence of a single record by primary key

func FSFieldscoutinglogExists

func FSFieldscoutinglogExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSFieldscoutinglogExists checks the presence of a single record by primary key

func FSHabitatrelateExists

func FSHabitatrelateExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSHabitatrelateExists checks the presence of a single record by primary key

func FSInspectionsampleExists

func FSInspectionsampleExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSInspectionsampleExists checks the presence of a single record by primary key

func FSInspectionsampledetailExists

func FSInspectionsampledetailExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSInspectionsampledetailExists checks the presence of a single record by primary key

func FSLinelocationExists

func FSLinelocationExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSLinelocationExists checks the presence of a single record by primary key

func FSLocationtrackingExists

func FSLocationtrackingExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSLocationtrackingExists checks the presence of a single record by primary key

func FSMosquitoinspectionExists

func FSMosquitoinspectionExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSMosquitoinspectionExists checks the presence of a single record by primary key

func FSPointlocationExists

func FSPointlocationExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSPointlocationExists checks the presence of a single record by primary key

func FSPolygonlocationExists

func FSPolygonlocationExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSPolygonlocationExists checks the presence of a single record by primary key

func FSPoolExists

func FSPoolExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSPoolExists checks the presence of a single record by primary key

func FSPooldetailExists

func FSPooldetailExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSPooldetailExists checks the presence of a single record by primary key

func FSProposedtreatmentareaExists

func FSProposedtreatmentareaExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSProposedtreatmentareaExists checks the presence of a single record by primary key

func FSQamosquitoinspectionExists

func FSQamosquitoinspectionExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSQamosquitoinspectionExists checks the presence of a single record by primary key

func FSRodentlocationExists

func FSRodentlocationExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSRodentlocationExists checks the presence of a single record by primary key

func FSSamplecollectionExists

func FSSamplecollectionExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSSamplecollectionExists checks the presence of a single record by primary key

func FSSamplelocationExists

func FSSamplelocationExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSSamplelocationExists checks the presence of a single record by primary key

func FSServicerequestExists

func FSServicerequestExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSServicerequestExists checks the presence of a single record by primary key

func FSSpeciesabundanceExists

func FSSpeciesabundanceExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSSpeciesabundanceExists checks the presence of a single record by primary key

func FSStormdrainExists

func FSStormdrainExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSStormdrainExists checks the presence of a single record by primary key

func FSTimecardExists

func FSTimecardExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSTimecardExists checks the presence of a single record by primary key

func FSTrapdatumExists

func FSTrapdatumExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSTrapdatumExists checks the presence of a single record by primary key

func FSTraplocationExists

func FSTraplocationExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSTraplocationExists checks the presence of a single record by primary key

func FSTreatmentExists

func FSTreatmentExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSTreatmentExists checks the presence of a single record by primary key

func FSTreatmentareaExists

func FSTreatmentareaExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSTreatmentareaExists checks the presence of a single record by primary key

func FSZoneExists

func FSZoneExists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSZoneExists checks the presence of a single record by primary key

func FSZones2Exists

func FSZones2Exists(ctx context.Context, exec bob.Executor, ObjectidPK int32) (bool, error)

FSZones2Exists checks the presence of a single record by primary key

func FieldseekerSyncExists

func FieldseekerSyncExists(ctx context.Context, exec bob.Executor, IDPK int32) (bool, error)

FieldseekerSyncExists checks the presence of a single record by primary key

func GooseDBVersionExists

func GooseDBVersionExists(ctx context.Context, exec bob.Executor, IDPK int32) (bool, error)

GooseDBVersionExists checks the presence of a single record by primary key

func H3AggregationExists

func H3AggregationExists(ctx context.Context, exec bob.Executor, IDPK int32) (bool, error)

H3AggregationExists checks the presence of a single record by primary key

func HistoryContainerrelateExists

func HistoryContainerrelateExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryContainerrelateExists checks the presence of a single record by primary key

func HistoryFieldscoutinglogExists

func HistoryFieldscoutinglogExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryFieldscoutinglogExists checks the presence of a single record by primary key

func HistoryHabitatrelateExists

func HistoryHabitatrelateExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryHabitatrelateExists checks the presence of a single record by primary key

func HistoryInspectionsampleExists

func HistoryInspectionsampleExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryInspectionsampleExists checks the presence of a single record by primary key

func HistoryInspectionsampledetailExists

func HistoryInspectionsampledetailExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryInspectionsampledetailExists checks the presence of a single record by primary key

func HistoryLinelocationExists

func HistoryLinelocationExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryLinelocationExists checks the presence of a single record by primary key

func HistoryLocationtrackingExists

func HistoryLocationtrackingExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryLocationtrackingExists checks the presence of a single record by primary key

func HistoryMosquitoinspectionExists

func HistoryMosquitoinspectionExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryMosquitoinspectionExists checks the presence of a single record by primary key

func HistoryPointlocationExists

func HistoryPointlocationExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryPointlocationExists checks the presence of a single record by primary key

func HistoryPolygonlocationExists

func HistoryPolygonlocationExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryPolygonlocationExists checks the presence of a single record by primary key

func HistoryPoolExists

func HistoryPoolExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryPoolExists checks the presence of a single record by primary key

func HistoryPooldetailExists

func HistoryPooldetailExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryPooldetailExists checks the presence of a single record by primary key

func HistoryProposedtreatmentareaExists

func HistoryProposedtreatmentareaExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryProposedtreatmentareaExists checks the presence of a single record by primary key

func HistoryQamosquitoinspectionExists

func HistoryQamosquitoinspectionExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryQamosquitoinspectionExists checks the presence of a single record by primary key

func HistoryRodentlocationExists

func HistoryRodentlocationExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryRodentlocationExists checks the presence of a single record by primary key

func HistorySamplecollectionExists

func HistorySamplecollectionExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistorySamplecollectionExists checks the presence of a single record by primary key

func HistorySamplelocationExists

func HistorySamplelocationExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistorySamplelocationExists checks the presence of a single record by primary key

func HistoryServicerequestExists

func HistoryServicerequestExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryServicerequestExists checks the presence of a single record by primary key

func HistorySpeciesabundanceExists

func HistorySpeciesabundanceExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistorySpeciesabundanceExists checks the presence of a single record by primary key

func HistoryStormdrainExists

func HistoryStormdrainExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryStormdrainExists checks the presence of a single record by primary key

func HistoryTimecardExists

func HistoryTimecardExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryTimecardExists checks the presence of a single record by primary key

func HistoryTrapdatumExists

func HistoryTrapdatumExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryTrapdatumExists checks the presence of a single record by primary key

func HistoryTraplocationExists

func HistoryTraplocationExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryTraplocationExists checks the presence of a single record by primary key

func HistoryTreatmentExists

func HistoryTreatmentExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryTreatmentExists checks the presence of a single record by primary key

func HistoryTreatmentareaExists

func HistoryTreatmentareaExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryTreatmentareaExists checks the presence of a single record by primary key

func HistoryZoneExists

func HistoryZoneExists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryZoneExists checks the presence of a single record by primary key

func HistoryZones2Exists

func HistoryZones2Exists(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32) (bool, error)

HistoryZones2Exists checks the presence of a single record by primary key

func NotificationExists

func NotificationExists(ctx context.Context, exec bob.Executor, IDPK int32) (bool, error)

NotificationExists checks the presence of a single record by primary key

func OauthTokenExists

func OauthTokenExists(ctx context.Context, exec bob.Executor, IDPK int32) (bool, error)

OauthTokenExists checks the presence of a single record by primary key

func OrganizationExists

func OrganizationExists(ctx context.Context, exec bob.Executor, IDPK int32) (bool, error)

OrganizationExists checks the presence of a single record by primary key

func SessionExists

func SessionExists(ctx context.Context, exec bob.Executor, TokenPK string) (bool, error)

SessionExists checks the presence of a single record by primary key

func SpatialRefSyExists

func SpatialRefSyExists(ctx context.Context, exec bob.Executor, SridPK int32) (bool, error)

SpatialRefSyExists checks the presence of a single record by primary key

func UserExists

func UserExists(ctx context.Context, exec bob.Executor, IDPK int32) (bool, error)

UserExists checks the presence of a single record by primary key

func Where

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]
}

Types

type FSContainerrelate

type FSContainerrelate struct {
	OrganizationID int32             `db:"organization_id" `
	Containertype  null.Val[string]  `db:"containertype" `
	Creationdate   null.Val[int64]   `db:"creationdate" `
	Creator        null.Val[string]  `db:"creator" `
	Editdate       null.Val[int64]   `db:"editdate" `
	Editor         null.Val[string]  `db:"editor" `
	Globalid       string            `db:"globalid" `
	Inspsampleid   null.Val[string]  `db:"inspsampleid" `
	Mosquitoinspid null.Val[string]  `db:"mosquitoinspid" `
	Objectid       int32             `db:"objectid,pk" `
	Treatmentid    null.Val[string]  `db:"treatmentid" `
	CreatedDate    null.Val[int64]   `db:"created_date" `
	CreatedUser    null.Val[string]  `db:"created_user" `
	GeometryX      null.Val[float64] `db:"geometry_x" `
	GeometryY      null.Val[float64] `db:"geometry_y" `
	LastEditedDate null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser null.Val[string]  `db:"last_edited_user" `
	Updated        time.Time         `db:"updated" `

	R fsContainerrelateR `db:"-" `
}

FSContainerrelate is an object representing the database table.

func FindFSContainerrelate

func FindFSContainerrelate(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSContainerrelate, error)

FindFSContainerrelate retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSContainerrelate) AfterQueryHook

func (o *FSContainerrelate) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSContainerrelate is retrieved from the database

func (*FSContainerrelate) AttachOrganization

func (fsContainerrelate0 *FSContainerrelate) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSContainerrelate) Delete

func (o *FSContainerrelate) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSContainerrelate record with an executor

func (*FSContainerrelate) InsertOrganization

func (fsContainerrelate0 *FSContainerrelate) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSContainerrelate) LoadOrganization

func (o *FSContainerrelate) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsContainerrelate's Organization into the .R struct

func (*FSContainerrelate) Organization

func (o *FSContainerrelate) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSContainerrelate) Preload

func (o *FSContainerrelate) Preload(name string, retrieved any) error

func (*FSContainerrelate) Reload

func (o *FSContainerrelate) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSContainerrelate using the executor

func (*FSContainerrelate) Update

Update uses an executor to update the FSContainerrelate

type FSContainerrelateSetter

type FSContainerrelateSetter struct {
	OrganizationID omit.Val[int32]       `db:"organization_id" `
	Containertype  omitnull.Val[string]  `db:"containertype" `
	Creationdate   omitnull.Val[int64]   `db:"creationdate" `
	Creator        omitnull.Val[string]  `db:"creator" `
	Editdate       omitnull.Val[int64]   `db:"editdate" `
	Editor         omitnull.Val[string]  `db:"editor" `
	Globalid       omit.Val[string]      `db:"globalid" `
	Inspsampleid   omitnull.Val[string]  `db:"inspsampleid" `
	Mosquitoinspid omitnull.Val[string]  `db:"mosquitoinspid" `
	Objectid       omit.Val[int32]       `db:"objectid,pk" `
	Treatmentid    omitnull.Val[string]  `db:"treatmentid" `
	CreatedDate    omitnull.Val[int64]   `db:"created_date" `
	CreatedUser    omitnull.Val[string]  `db:"created_user" `
	GeometryX      omitnull.Val[float64] `db:"geometry_x" `
	GeometryY      omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]  `db:"last_edited_user" `
	Updated        omit.Val[time.Time]   `db:"updated" `
}

FSContainerrelateSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSContainerrelateSetter) Apply

func (FSContainerrelateSetter) Expressions

func (s FSContainerrelateSetter) Expressions(prefix ...string) []bob.Expression

func (FSContainerrelateSetter) Overwrite

func (FSContainerrelateSetter) SetColumns

func (s FSContainerrelateSetter) SetColumns() []string

func (FSContainerrelateSetter) UpdateMod

type FSContainerrelateSlice

type FSContainerrelateSlice []*FSContainerrelate

FSContainerrelateSlice is an alias for a slice of pointers to FSContainerrelate. This should almost always be used instead of []*FSContainerrelate.

func (FSContainerrelateSlice) AfterQueryHook

func (o FSContainerrelateSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSContainerrelateSlice is retrieved from the database

func (FSContainerrelateSlice) DeleteAll

func (o FSContainerrelateSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSContainerrelateSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSContainerrelateSlice) LoadOrganization

func (os FSContainerrelateSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsContainerrelate's Organization into the .R struct

func (FSContainerrelateSlice) Organization

func (FSContainerrelateSlice) ReloadAll

func (o FSContainerrelateSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSContainerrelateSlice) UpdateAll

func (FSContainerrelateSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSContainerrelatesQuery

type FSContainerrelatesQuery = *psql.ViewQuery[*FSContainerrelate, FSContainerrelateSlice]

FSContainerrelatesQuery is a query on the fs_containerrelate table

type FSFieldscoutinglog

type FSFieldscoutinglog struct {
	OrganizationID int32             `db:"organization_id" `
	Creationdate   null.Val[int64]   `db:"creationdate" `
	Creator        null.Val[string]  `db:"creator" `
	Editdate       null.Val[int64]   `db:"editdate" `
	Editor         null.Val[string]  `db:"editor" `
	Globalid       string            `db:"globalid" `
	Objectid       int32             `db:"objectid,pk" `
	Status         null.Val[int16]   `db:"status" `
	CreatedDate    null.Val[int64]   `db:"created_date" `
	CreatedUser    null.Val[string]  `db:"created_user" `
	GeometryX      null.Val[float64] `db:"geometry_x" `
	GeometryY      null.Val[float64] `db:"geometry_y" `
	LastEditedDate null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser null.Val[string]  `db:"last_edited_user" `
	Updated        time.Time         `db:"updated" `

	R fsFieldscoutinglogR `db:"-" `
}

FSFieldscoutinglog is an object representing the database table.

func FindFSFieldscoutinglog

func FindFSFieldscoutinglog(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSFieldscoutinglog, error)

FindFSFieldscoutinglog retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSFieldscoutinglog) AfterQueryHook

func (o *FSFieldscoutinglog) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSFieldscoutinglog is retrieved from the database

func (*FSFieldscoutinglog) AttachOrganization

func (fsFieldscoutinglog0 *FSFieldscoutinglog) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSFieldscoutinglog) Delete

func (o *FSFieldscoutinglog) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSFieldscoutinglog record with an executor

func (*FSFieldscoutinglog) InsertOrganization

func (fsFieldscoutinglog0 *FSFieldscoutinglog) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSFieldscoutinglog) LoadOrganization

func (o *FSFieldscoutinglog) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsFieldscoutinglog's Organization into the .R struct

func (*FSFieldscoutinglog) Organization

func (o *FSFieldscoutinglog) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSFieldscoutinglog) Preload

func (o *FSFieldscoutinglog) Preload(name string, retrieved any) error

func (*FSFieldscoutinglog) Reload

func (o *FSFieldscoutinglog) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSFieldscoutinglog using the executor

func (*FSFieldscoutinglog) Update

Update uses an executor to update the FSFieldscoutinglog

type FSFieldscoutinglogSetter

type FSFieldscoutinglogSetter struct {
	OrganizationID omit.Val[int32]       `db:"organization_id" `
	Creationdate   omitnull.Val[int64]   `db:"creationdate" `
	Creator        omitnull.Val[string]  `db:"creator" `
	Editdate       omitnull.Val[int64]   `db:"editdate" `
	Editor         omitnull.Val[string]  `db:"editor" `
	Globalid       omit.Val[string]      `db:"globalid" `
	Objectid       omit.Val[int32]       `db:"objectid,pk" `
	Status         omitnull.Val[int16]   `db:"status" `
	CreatedDate    omitnull.Val[int64]   `db:"created_date" `
	CreatedUser    omitnull.Val[string]  `db:"created_user" `
	GeometryX      omitnull.Val[float64] `db:"geometry_x" `
	GeometryY      omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]  `db:"last_edited_user" `
	Updated        omit.Val[time.Time]   `db:"updated" `
}

FSFieldscoutinglogSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSFieldscoutinglogSetter) Apply

func (FSFieldscoutinglogSetter) Expressions

func (s FSFieldscoutinglogSetter) Expressions(prefix ...string) []bob.Expression

func (FSFieldscoutinglogSetter) Overwrite

func (FSFieldscoutinglogSetter) SetColumns

func (s FSFieldscoutinglogSetter) SetColumns() []string

func (FSFieldscoutinglogSetter) UpdateMod

type FSFieldscoutinglogSlice

type FSFieldscoutinglogSlice []*FSFieldscoutinglog

FSFieldscoutinglogSlice is an alias for a slice of pointers to FSFieldscoutinglog. This should almost always be used instead of []*FSFieldscoutinglog.

func (FSFieldscoutinglogSlice) AfterQueryHook

func (o FSFieldscoutinglogSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSFieldscoutinglogSlice is retrieved from the database

func (FSFieldscoutinglogSlice) DeleteAll

func (o FSFieldscoutinglogSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSFieldscoutinglogSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSFieldscoutinglogSlice) LoadOrganization

func (os FSFieldscoutinglogSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsFieldscoutinglog's Organization into the .R struct

func (FSFieldscoutinglogSlice) Organization

func (FSFieldscoutinglogSlice) ReloadAll

func (o FSFieldscoutinglogSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSFieldscoutinglogSlice) UpdateAll

func (FSFieldscoutinglogSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSFieldscoutinglogsQuery

type FSFieldscoutinglogsQuery = *psql.ViewQuery[*FSFieldscoutinglog, FSFieldscoutinglogSlice]

FSFieldscoutinglogsQuery is a query on the fs_fieldscoutinglog table

type FSHabitatrelate

type FSHabitatrelate struct {
	OrganizationID int32             `db:"organization_id" `
	Creationdate   null.Val[int64]   `db:"creationdate" `
	Creator        null.Val[string]  `db:"creator" `
	Editdate       null.Val[int64]   `db:"editdate" `
	Editor         null.Val[string]  `db:"editor" `
	ForeignID      null.Val[string]  `db:"foreign_id" `
	Globalid       string            `db:"globalid" `
	Habitattype    null.Val[string]  `db:"habitattype" `
	Objectid       int32             `db:"objectid,pk" `
	CreatedDate    null.Val[int64]   `db:"created_date" `
	CreatedUser    null.Val[string]  `db:"created_user" `
	GeometryX      null.Val[float64] `db:"geometry_x" `
	GeometryY      null.Val[float64] `db:"geometry_y" `
	LastEditedDate null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser null.Val[string]  `db:"last_edited_user" `
	Updated        time.Time         `db:"updated" `

	R fsHabitatrelateR `db:"-" `
}

FSHabitatrelate is an object representing the database table.

func FindFSHabitatrelate

func FindFSHabitatrelate(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSHabitatrelate, error)

FindFSHabitatrelate retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSHabitatrelate) AfterQueryHook

func (o *FSHabitatrelate) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSHabitatrelate is retrieved from the database

func (*FSHabitatrelate) AttachOrganization

func (fsHabitatrelate0 *FSHabitatrelate) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSHabitatrelate) Delete

func (o *FSHabitatrelate) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSHabitatrelate record with an executor

func (*FSHabitatrelate) InsertOrganization

func (fsHabitatrelate0 *FSHabitatrelate) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSHabitatrelate) LoadOrganization

func (o *FSHabitatrelate) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsHabitatrelate's Organization into the .R struct

func (*FSHabitatrelate) Organization

func (o *FSHabitatrelate) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSHabitatrelate) Preload

func (o *FSHabitatrelate) Preload(name string, retrieved any) error

func (*FSHabitatrelate) Reload

func (o *FSHabitatrelate) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSHabitatrelate using the executor

func (*FSHabitatrelate) Update

Update uses an executor to update the FSHabitatrelate

type FSHabitatrelateSetter

type FSHabitatrelateSetter struct {
	OrganizationID omit.Val[int32]       `db:"organization_id" `
	Creationdate   omitnull.Val[int64]   `db:"creationdate" `
	Creator        omitnull.Val[string]  `db:"creator" `
	Editdate       omitnull.Val[int64]   `db:"editdate" `
	Editor         omitnull.Val[string]  `db:"editor" `
	ForeignID      omitnull.Val[string]  `db:"foreign_id" `
	Globalid       omit.Val[string]      `db:"globalid" `
	Habitattype    omitnull.Val[string]  `db:"habitattype" `
	Objectid       omit.Val[int32]       `db:"objectid,pk" `
	CreatedDate    omitnull.Val[int64]   `db:"created_date" `
	CreatedUser    omitnull.Val[string]  `db:"created_user" `
	GeometryX      omitnull.Val[float64] `db:"geometry_x" `
	GeometryY      omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]  `db:"last_edited_user" `
	Updated        omit.Val[time.Time]   `db:"updated" `
}

FSHabitatrelateSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSHabitatrelateSetter) Apply

func (FSHabitatrelateSetter) Expressions

func (s FSHabitatrelateSetter) Expressions(prefix ...string) []bob.Expression

func (FSHabitatrelateSetter) Overwrite

func (s FSHabitatrelateSetter) Overwrite(t *FSHabitatrelate)

func (FSHabitatrelateSetter) SetColumns

func (s FSHabitatrelateSetter) SetColumns() []string

func (FSHabitatrelateSetter) UpdateMod

type FSHabitatrelateSlice

type FSHabitatrelateSlice []*FSHabitatrelate

FSHabitatrelateSlice is an alias for a slice of pointers to FSHabitatrelate. This should almost always be used instead of []*FSHabitatrelate.

func (FSHabitatrelateSlice) AfterQueryHook

func (o FSHabitatrelateSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSHabitatrelateSlice is retrieved from the database

func (FSHabitatrelateSlice) DeleteAll

func (o FSHabitatrelateSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSHabitatrelateSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSHabitatrelateSlice) LoadOrganization

func (os FSHabitatrelateSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsHabitatrelate's Organization into the .R struct

func (FSHabitatrelateSlice) Organization

func (FSHabitatrelateSlice) ReloadAll

func (o FSHabitatrelateSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSHabitatrelateSlice) UpdateAll

func (FSHabitatrelateSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSHabitatrelatesQuery

type FSHabitatrelatesQuery = *psql.ViewQuery[*FSHabitatrelate, FSHabitatrelateSlice]

FSHabitatrelatesQuery is a query on the fs_habitatrelate table

type FSInspectionsample

type FSInspectionsample struct {
	OrganizationID int32             `db:"organization_id" `
	Creationdate   null.Val[int64]   `db:"creationdate" `
	Creator        null.Val[string]  `db:"creator" `
	Editdate       null.Val[int64]   `db:"editdate" `
	Editor         null.Val[string]  `db:"editor" `
	Globalid       string            `db:"globalid" `
	Idbytech       null.Val[string]  `db:"idbytech" `
	InspID         null.Val[string]  `db:"insp_id" `
	Objectid       int32             `db:"objectid,pk" `
	Processed      null.Val[int16]   `db:"processed" `
	Sampleid       null.Val[string]  `db:"sampleid" `
	CreatedDate    null.Val[int64]   `db:"created_date" `
	CreatedUser    null.Val[string]  `db:"created_user" `
	GeometryX      null.Val[float64] `db:"geometry_x" `
	GeometryY      null.Val[float64] `db:"geometry_y" `
	LastEditedDate null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser null.Val[string]  `db:"last_edited_user" `
	Updated        time.Time         `db:"updated" `

	R fsInspectionsampleR `db:"-" `
}

FSInspectionsample is an object representing the database table.

func FindFSInspectionsample

func FindFSInspectionsample(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSInspectionsample, error)

FindFSInspectionsample retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSInspectionsample) AfterQueryHook

func (o *FSInspectionsample) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSInspectionsample is retrieved from the database

func (*FSInspectionsample) AttachOrganization

func (fsInspectionsample0 *FSInspectionsample) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSInspectionsample) Delete

func (o *FSInspectionsample) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSInspectionsample record with an executor

func (*FSInspectionsample) InsertOrganization

func (fsInspectionsample0 *FSInspectionsample) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSInspectionsample) LoadOrganization

func (o *FSInspectionsample) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsInspectionsample's Organization into the .R struct

func (*FSInspectionsample) Organization

func (o *FSInspectionsample) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSInspectionsample) Preload

func (o *FSInspectionsample) Preload(name string, retrieved any) error

func (*FSInspectionsample) Reload

func (o *FSInspectionsample) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSInspectionsample using the executor

func (*FSInspectionsample) Update

Update uses an executor to update the FSInspectionsample

type FSInspectionsampleSetter

type FSInspectionsampleSetter struct {
	OrganizationID omit.Val[int32]       `db:"organization_id" `
	Creationdate   omitnull.Val[int64]   `db:"creationdate" `
	Creator        omitnull.Val[string]  `db:"creator" `
	Editdate       omitnull.Val[int64]   `db:"editdate" `
	Editor         omitnull.Val[string]  `db:"editor" `
	Globalid       omit.Val[string]      `db:"globalid" `
	Idbytech       omitnull.Val[string]  `db:"idbytech" `
	InspID         omitnull.Val[string]  `db:"insp_id" `
	Objectid       omit.Val[int32]       `db:"objectid,pk" `
	Processed      omitnull.Val[int16]   `db:"processed" `
	Sampleid       omitnull.Val[string]  `db:"sampleid" `
	CreatedDate    omitnull.Val[int64]   `db:"created_date" `
	CreatedUser    omitnull.Val[string]  `db:"created_user" `
	GeometryX      omitnull.Val[float64] `db:"geometry_x" `
	GeometryY      omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]  `db:"last_edited_user" `
	Updated        omit.Val[time.Time]   `db:"updated" `
}

FSInspectionsampleSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSInspectionsampleSetter) Apply

func (FSInspectionsampleSetter) Expressions

func (s FSInspectionsampleSetter) Expressions(prefix ...string) []bob.Expression

func (FSInspectionsampleSetter) Overwrite

func (FSInspectionsampleSetter) SetColumns

func (s FSInspectionsampleSetter) SetColumns() []string

func (FSInspectionsampleSetter) UpdateMod

type FSInspectionsampleSlice

type FSInspectionsampleSlice []*FSInspectionsample

FSInspectionsampleSlice is an alias for a slice of pointers to FSInspectionsample. This should almost always be used instead of []*FSInspectionsample.

func (FSInspectionsampleSlice) AfterQueryHook

func (o FSInspectionsampleSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSInspectionsampleSlice is retrieved from the database

func (FSInspectionsampleSlice) DeleteAll

func (o FSInspectionsampleSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSInspectionsampleSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSInspectionsampleSlice) LoadOrganization

func (os FSInspectionsampleSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsInspectionsample's Organization into the .R struct

func (FSInspectionsampleSlice) Organization

func (FSInspectionsampleSlice) ReloadAll

func (o FSInspectionsampleSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSInspectionsampleSlice) UpdateAll

func (FSInspectionsampleSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSInspectionsampledetail

type FSInspectionsampledetail struct {
	OrganizationID int32             `db:"organization_id" `
	Comments       null.Val[string]  `db:"comments" `
	Creationdate   null.Val[int64]   `db:"creationdate" `
	Creator        null.Val[string]  `db:"creator" `
	Editdate       null.Val[int64]   `db:"editdate" `
	Editor         null.Val[string]  `db:"editor" `
	Fadultact      null.Val[string]  `db:"fadultact" `
	Fdomstage      null.Val[string]  `db:"fdomstage" `
	Feggcount      null.Val[int16]   `db:"feggcount" `
	Fieldspecies   null.Val[string]  `db:"fieldspecies" `
	Flarvcount     null.Val[int16]   `db:"flarvcount" `
	Flstages       null.Val[string]  `db:"flstages" `
	Fpupcount      null.Val[int16]   `db:"fpupcount" `
	Globalid       string            `db:"globalid" `
	InspsampleID   null.Val[string]  `db:"inspsample_id" `
	Labspecies     null.Val[string]  `db:"labspecies" `
	Ldomstage      null.Val[string]  `db:"ldomstage" `
	Leggcount      null.Val[int16]   `db:"leggcount" `
	Llarvcount     null.Val[int16]   `db:"llarvcount" `
	Lpupcount      null.Val[int16]   `db:"lpupcount" `
	Objectid       int32             `db:"objectid,pk" `
	Processed      null.Val[int16]   `db:"processed" `
	CreatedDate    null.Val[int64]   `db:"created_date" `
	CreatedUser    null.Val[string]  `db:"created_user" `
	GeometryX      null.Val[float64] `db:"geometry_x" `
	GeometryY      null.Val[float64] `db:"geometry_y" `
	LastEditedDate null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser null.Val[string]  `db:"last_edited_user" `
	Updated        time.Time         `db:"updated" `

	R fsInspectionsampledetailR `db:"-" `
}

FSInspectionsampledetail is an object representing the database table.

func FindFSInspectionsampledetail

func FindFSInspectionsampledetail(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSInspectionsampledetail, error)

FindFSInspectionsampledetail retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSInspectionsampledetail) AfterQueryHook

func (o *FSInspectionsampledetail) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSInspectionsampledetail is retrieved from the database

func (*FSInspectionsampledetail) AttachOrganization

func (fsInspectionsampledetail0 *FSInspectionsampledetail) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSInspectionsampledetail) Delete

Delete deletes a single FSInspectionsampledetail record with an executor

func (*FSInspectionsampledetail) InsertOrganization

func (fsInspectionsampledetail0 *FSInspectionsampledetail) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSInspectionsampledetail) LoadOrganization

func (o *FSInspectionsampledetail) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsInspectionsampledetail's Organization into the .R struct

func (*FSInspectionsampledetail) Organization

Organization starts a query for related objects on organization

func (*FSInspectionsampledetail) Preload

func (o *FSInspectionsampledetail) Preload(name string, retrieved any) error

func (*FSInspectionsampledetail) Reload

Reload refreshes the FSInspectionsampledetail using the executor

func (*FSInspectionsampledetail) Update

Update uses an executor to update the FSInspectionsampledetail

type FSInspectionsampledetailSetter

type FSInspectionsampledetailSetter struct {
	OrganizationID omit.Val[int32]       `db:"organization_id" `
	Comments       omitnull.Val[string]  `db:"comments" `
	Creationdate   omitnull.Val[int64]   `db:"creationdate" `
	Creator        omitnull.Val[string]  `db:"creator" `
	Editdate       omitnull.Val[int64]   `db:"editdate" `
	Editor         omitnull.Val[string]  `db:"editor" `
	Fadultact      omitnull.Val[string]  `db:"fadultact" `
	Fdomstage      omitnull.Val[string]  `db:"fdomstage" `
	Feggcount      omitnull.Val[int16]   `db:"feggcount" `
	Fieldspecies   omitnull.Val[string]  `db:"fieldspecies" `
	Flarvcount     omitnull.Val[int16]   `db:"flarvcount" `
	Flstages       omitnull.Val[string]  `db:"flstages" `
	Fpupcount      omitnull.Val[int16]   `db:"fpupcount" `
	Globalid       omit.Val[string]      `db:"globalid" `
	InspsampleID   omitnull.Val[string]  `db:"inspsample_id" `
	Labspecies     omitnull.Val[string]  `db:"labspecies" `
	Ldomstage      omitnull.Val[string]  `db:"ldomstage" `
	Leggcount      omitnull.Val[int16]   `db:"leggcount" `
	Llarvcount     omitnull.Val[int16]   `db:"llarvcount" `
	Lpupcount      omitnull.Val[int16]   `db:"lpupcount" `
	Objectid       omit.Val[int32]       `db:"objectid,pk" `
	Processed      omitnull.Val[int16]   `db:"processed" `
	CreatedDate    omitnull.Val[int64]   `db:"created_date" `
	CreatedUser    omitnull.Val[string]  `db:"created_user" `
	GeometryX      omitnull.Val[float64] `db:"geometry_x" `
	GeometryY      omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]  `db:"last_edited_user" `
	Updated        omit.Val[time.Time]   `db:"updated" `
}

FSInspectionsampledetailSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSInspectionsampledetailSetter) Apply

func (FSInspectionsampledetailSetter) Expressions

func (s FSInspectionsampledetailSetter) Expressions(prefix ...string) []bob.Expression

func (FSInspectionsampledetailSetter) Overwrite

func (FSInspectionsampledetailSetter) SetColumns

func (s FSInspectionsampledetailSetter) SetColumns() []string

func (FSInspectionsampledetailSetter) UpdateMod

type FSInspectionsampledetailSlice

type FSInspectionsampledetailSlice []*FSInspectionsampledetail

FSInspectionsampledetailSlice is an alias for a slice of pointers to FSInspectionsampledetail. This should almost always be used instead of []*FSInspectionsampledetail.

func (FSInspectionsampledetailSlice) AfterQueryHook

func (o FSInspectionsampledetailSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSInspectionsampledetailSlice is retrieved from the database

func (FSInspectionsampledetailSlice) DeleteAll

func (FSInspectionsampledetailSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSInspectionsampledetailSlice) LoadOrganization

func (os FSInspectionsampledetailSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsInspectionsampledetail's Organization into the .R struct

func (FSInspectionsampledetailSlice) Organization

func (FSInspectionsampledetailSlice) ReloadAll

func (FSInspectionsampledetailSlice) UpdateAll

func (FSInspectionsampledetailSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSInspectionsampledetailsQuery

type FSInspectionsampledetailsQuery = *psql.ViewQuery[*FSInspectionsampledetail, FSInspectionsampledetailSlice]

FSInspectionsampledetailsQuery is a query on the fs_inspectionsampledetail table

type FSInspectionsamplesQuery

type FSInspectionsamplesQuery = *psql.ViewQuery[*FSInspectionsample, FSInspectionsampleSlice]

FSInspectionsamplesQuery is a query on the fs_inspectionsample table

type FSLinelocation

type FSLinelocation struct {
	OrganizationID          int32             `db:"organization_id" `
	Accessdesc              null.Val[string]  `db:"accessdesc" `
	Acres                   null.Val[float64] `db:"acres" `
	Active                  null.Val[int16]   `db:"active" `
	Comments                null.Val[string]  `db:"comments" `
	Creationdate            null.Val[int64]   `db:"creationdate" `
	Creator                 null.Val[string]  `db:"creator" `
	Description             null.Val[string]  `db:"description" `
	Externalid              null.Val[string]  `db:"externalid" `
	Editdate                null.Val[int64]   `db:"editdate" `
	Editor                  null.Val[string]  `db:"editor" `
	Globalid                string            `db:"globalid" `
	Habitat                 null.Val[string]  `db:"habitat" `
	Hectares                null.Val[float64] `db:"hectares" `
	Jurisdiction            null.Val[string]  `db:"jurisdiction" `
	Larvinspectinterval     null.Val[int16]   `db:"larvinspectinterval" `
	Lastinspectactiontaken  null.Val[string]  `db:"lastinspectactiontaken" `
	Lastinspectactivity     null.Val[string]  `db:"lastinspectactivity" `
	Lastinspectavglarvae    null.Val[float64] `db:"lastinspectavglarvae" `
	Lastinspectavgpupae     null.Val[float64] `db:"lastinspectavgpupae" `
	Lastinspectbreeding     null.Val[string]  `db:"lastinspectbreeding" `
	Lastinspectconditions   null.Val[string]  `db:"lastinspectconditions" `
	Lastinspectdate         null.Val[int64]   `db:"lastinspectdate" `
	Lastinspectfieldspecies null.Val[string]  `db:"lastinspectfieldspecies" `
	Lastinspectlstages      null.Val[string]  `db:"lastinspectlstages" `
	Lasttreatactivity       null.Val[string]  `db:"lasttreatactivity" `
	Lasttreatdate           null.Val[int64]   `db:"lasttreatdate" `
	Lasttreatproduct        null.Val[string]  `db:"lasttreatproduct" `
	Lasttreatqty            null.Val[float64] `db:"lasttreatqty" `
	Lasttreatqtyunit        null.Val[string]  `db:"lasttreatqtyunit" `
	LengthFT                null.Val[float64] `db:"length_ft" `
	LengthMeters            null.Val[float64] `db:"length_meters" `
	Locationnumber          null.Val[int64]   `db:"locationnumber" `
	Name                    null.Val[string]  `db:"name" `
	Nextactiondatescheduled null.Val[int64]   `db:"nextactiondatescheduled" `
	Objectid                int32             `db:"objectid,pk" `
	Priority                null.Val[string]  `db:"priority" `
	Symbology               null.Val[string]  `db:"symbology" `
	ShapeLength             null.Val[float64] `db:"shape__length" `
	Usetype                 null.Val[string]  `db:"usetype" `
	Waterorigin             null.Val[string]  `db:"waterorigin" `
	WidthFT                 null.Val[float64] `db:"width_ft" `
	WidthMeters             null.Val[float64] `db:"width_meters" `
	Zone                    null.Val[string]  `db:"zone" `
	Zone2                   null.Val[string]  `db:"zone2" `
	CreatedDate             null.Val[int64]   `db:"created_date" `
	CreatedUser             null.Val[string]  `db:"created_user" `
	GeometryX               null.Val[float64] `db:"geometry_x" `
	GeometryY               null.Val[float64] `db:"geometry_y" `
	LastEditedDate          null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser          null.Val[string]  `db:"last_edited_user" `
	Updated                 time.Time         `db:"updated" `

	R fsLinelocationR `db:"-" `
}

FSLinelocation is an object representing the database table.

func FindFSLinelocation

func FindFSLinelocation(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSLinelocation, error)

FindFSLinelocation retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSLinelocation) AfterQueryHook

func (o *FSLinelocation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSLinelocation is retrieved from the database

func (*FSLinelocation) AttachOrganization

func (fsLinelocation0 *FSLinelocation) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSLinelocation) Delete

func (o *FSLinelocation) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSLinelocation record with an executor

func (*FSLinelocation) InsertOrganization

func (fsLinelocation0 *FSLinelocation) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSLinelocation) LoadOrganization

func (o *FSLinelocation) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsLinelocation's Organization into the .R struct

func (*FSLinelocation) Organization

func (o *FSLinelocation) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSLinelocation) Preload

func (o *FSLinelocation) Preload(name string, retrieved any) error

func (*FSLinelocation) Reload

func (o *FSLinelocation) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSLinelocation using the executor

func (*FSLinelocation) Update

Update uses an executor to update the FSLinelocation

type FSLinelocationSetter

type FSLinelocationSetter struct {
	OrganizationID          omit.Val[int32]       `db:"organization_id" `
	Accessdesc              omitnull.Val[string]  `db:"accessdesc" `
	Acres                   omitnull.Val[float64] `db:"acres" `
	Active                  omitnull.Val[int16]   `db:"active" `
	Comments                omitnull.Val[string]  `db:"comments" `
	Creationdate            omitnull.Val[int64]   `db:"creationdate" `
	Creator                 omitnull.Val[string]  `db:"creator" `
	Description             omitnull.Val[string]  `db:"description" `
	Externalid              omitnull.Val[string]  `db:"externalid" `
	Editdate                omitnull.Val[int64]   `db:"editdate" `
	Editor                  omitnull.Val[string]  `db:"editor" `
	Globalid                omit.Val[string]      `db:"globalid" `
	Habitat                 omitnull.Val[string]  `db:"habitat" `
	Hectares                omitnull.Val[float64] `db:"hectares" `
	Jurisdiction            omitnull.Val[string]  `db:"jurisdiction" `
	Larvinspectinterval     omitnull.Val[int16]   `db:"larvinspectinterval" `
	Lastinspectactiontaken  omitnull.Val[string]  `db:"lastinspectactiontaken" `
	Lastinspectactivity     omitnull.Val[string]  `db:"lastinspectactivity" `
	Lastinspectavglarvae    omitnull.Val[float64] `db:"lastinspectavglarvae" `
	Lastinspectavgpupae     omitnull.Val[float64] `db:"lastinspectavgpupae" `
	Lastinspectbreeding     omitnull.Val[string]  `db:"lastinspectbreeding" `
	Lastinspectconditions   omitnull.Val[string]  `db:"lastinspectconditions" `
	Lastinspectdate         omitnull.Val[int64]   `db:"lastinspectdate" `
	Lastinspectfieldspecies omitnull.Val[string]  `db:"lastinspectfieldspecies" `
	Lastinspectlstages      omitnull.Val[string]  `db:"lastinspectlstages" `
	Lasttreatactivity       omitnull.Val[string]  `db:"lasttreatactivity" `
	Lasttreatdate           omitnull.Val[int64]   `db:"lasttreatdate" `
	Lasttreatproduct        omitnull.Val[string]  `db:"lasttreatproduct" `
	Lasttreatqty            omitnull.Val[float64] `db:"lasttreatqty" `
	Lasttreatqtyunit        omitnull.Val[string]  `db:"lasttreatqtyunit" `
	LengthFT                omitnull.Val[float64] `db:"length_ft" `
	LengthMeters            omitnull.Val[float64] `db:"length_meters" `
	Locationnumber          omitnull.Val[int64]   `db:"locationnumber" `
	Name                    omitnull.Val[string]  `db:"name" `
	Nextactiondatescheduled omitnull.Val[int64]   `db:"nextactiondatescheduled" `
	Objectid                omit.Val[int32]       `db:"objectid,pk" `
	Priority                omitnull.Val[string]  `db:"priority" `
	Symbology               omitnull.Val[string]  `db:"symbology" `
	ShapeLength             omitnull.Val[float64] `db:"shape__length" `
	Usetype                 omitnull.Val[string]  `db:"usetype" `
	Waterorigin             omitnull.Val[string]  `db:"waterorigin" `
	WidthFT                 omitnull.Val[float64] `db:"width_ft" `
	WidthMeters             omitnull.Val[float64] `db:"width_meters" `
	Zone                    omitnull.Val[string]  `db:"zone" `
	Zone2                   omitnull.Val[string]  `db:"zone2" `
	CreatedDate             omitnull.Val[int64]   `db:"created_date" `
	CreatedUser             omitnull.Val[string]  `db:"created_user" `
	GeometryX               omitnull.Val[float64] `db:"geometry_x" `
	GeometryY               omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate          omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser          omitnull.Val[string]  `db:"last_edited_user" `
	Updated                 omit.Val[time.Time]   `db:"updated" `
}

FSLinelocationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSLinelocationSetter) Apply

func (FSLinelocationSetter) Expressions

func (s FSLinelocationSetter) Expressions(prefix ...string) []bob.Expression

func (FSLinelocationSetter) Overwrite

func (s FSLinelocationSetter) Overwrite(t *FSLinelocation)

func (FSLinelocationSetter) SetColumns

func (s FSLinelocationSetter) SetColumns() []string

func (FSLinelocationSetter) UpdateMod

type FSLinelocationSlice

type FSLinelocationSlice []*FSLinelocation

FSLinelocationSlice is an alias for a slice of pointers to FSLinelocation. This should almost always be used instead of []*FSLinelocation.

func (FSLinelocationSlice) AfterQueryHook

func (o FSLinelocationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSLinelocationSlice is retrieved from the database

func (FSLinelocationSlice) DeleteAll

func (o FSLinelocationSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSLinelocationSlice) DeleteMod

func (o FSLinelocationSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSLinelocationSlice) LoadOrganization

func (os FSLinelocationSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsLinelocation's Organization into the .R struct

func (FSLinelocationSlice) Organization

func (os FSLinelocationSlice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (FSLinelocationSlice) ReloadAll

func (o FSLinelocationSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSLinelocationSlice) UpdateAll

func (FSLinelocationSlice) UpdateMod

func (o FSLinelocationSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSLinelocationsQuery

type FSLinelocationsQuery = *psql.ViewQuery[*FSLinelocation, FSLinelocationSlice]

FSLinelocationsQuery is a query on the fs_linelocation table

type FSLocationtracking

type FSLocationtracking struct {
	OrganizationID int32             `db:"organization_id" `
	Accuracy       null.Val[float64] `db:"accuracy" `
	Creationdate   null.Val[int64]   `db:"creationdate" `
	Creator        null.Val[string]  `db:"creator" `
	Editdate       null.Val[int64]   `db:"editdate" `
	Editor         null.Val[string]  `db:"editor" `
	Fieldtech      null.Val[string]  `db:"fieldtech" `
	Globalid       string            `db:"globalid" `
	Objectid       int32             `db:"objectid,pk" `
	CreatedDate    null.Val[int64]   `db:"created_date" `
	CreatedUser    null.Val[string]  `db:"created_user" `
	GeometryX      null.Val[float64] `db:"geometry_x" `
	GeometryY      null.Val[float64] `db:"geometry_y" `
	LastEditedDate null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser null.Val[string]  `db:"last_edited_user" `
	Updated        time.Time         `db:"updated" `

	R fsLocationtrackingR `db:"-" `
}

FSLocationtracking is an object representing the database table.

func FindFSLocationtracking

func FindFSLocationtracking(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSLocationtracking, error)

FindFSLocationtracking retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSLocationtracking) AfterQueryHook

func (o *FSLocationtracking) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSLocationtracking is retrieved from the database

func (*FSLocationtracking) AttachOrganization

func (fsLocationtracking0 *FSLocationtracking) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSLocationtracking) Delete

func (o *FSLocationtracking) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSLocationtracking record with an executor

func (*FSLocationtracking) InsertOrganization

func (fsLocationtracking0 *FSLocationtracking) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSLocationtracking) LoadOrganization

func (o *FSLocationtracking) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsLocationtracking's Organization into the .R struct

func (*FSLocationtracking) Organization

func (o *FSLocationtracking) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSLocationtracking) Preload

func (o *FSLocationtracking) Preload(name string, retrieved any) error

func (*FSLocationtracking) Reload

func (o *FSLocationtracking) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSLocationtracking using the executor

func (*FSLocationtracking) Update

Update uses an executor to update the FSLocationtracking

type FSLocationtrackingSetter

type FSLocationtrackingSetter struct {
	OrganizationID omit.Val[int32]       `db:"organization_id" `
	Accuracy       omitnull.Val[float64] `db:"accuracy" `
	Creationdate   omitnull.Val[int64]   `db:"creationdate" `
	Creator        omitnull.Val[string]  `db:"creator" `
	Editdate       omitnull.Val[int64]   `db:"editdate" `
	Editor         omitnull.Val[string]  `db:"editor" `
	Fieldtech      omitnull.Val[string]  `db:"fieldtech" `
	Globalid       omit.Val[string]      `db:"globalid" `
	Objectid       omit.Val[int32]       `db:"objectid,pk" `
	CreatedDate    omitnull.Val[int64]   `db:"created_date" `
	CreatedUser    omitnull.Val[string]  `db:"created_user" `
	GeometryX      omitnull.Val[float64] `db:"geometry_x" `
	GeometryY      omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]  `db:"last_edited_user" `
	Updated        omit.Val[time.Time]   `db:"updated" `
}

FSLocationtrackingSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSLocationtrackingSetter) Apply

func (FSLocationtrackingSetter) Expressions

func (s FSLocationtrackingSetter) Expressions(prefix ...string) []bob.Expression

func (FSLocationtrackingSetter) Overwrite

func (FSLocationtrackingSetter) SetColumns

func (s FSLocationtrackingSetter) SetColumns() []string

func (FSLocationtrackingSetter) UpdateMod

type FSLocationtrackingSlice

type FSLocationtrackingSlice []*FSLocationtracking

FSLocationtrackingSlice is an alias for a slice of pointers to FSLocationtracking. This should almost always be used instead of []*FSLocationtracking.

func (FSLocationtrackingSlice) AfterQueryHook

func (o FSLocationtrackingSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSLocationtrackingSlice is retrieved from the database

func (FSLocationtrackingSlice) DeleteAll

func (o FSLocationtrackingSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSLocationtrackingSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSLocationtrackingSlice) LoadOrganization

func (os FSLocationtrackingSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsLocationtracking's Organization into the .R struct

func (FSLocationtrackingSlice) Organization

func (FSLocationtrackingSlice) ReloadAll

func (o FSLocationtrackingSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSLocationtrackingSlice) UpdateAll

func (FSLocationtrackingSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSLocationtrackingsQuery

type FSLocationtrackingsQuery = *psql.ViewQuery[*FSLocationtracking, FSLocationtrackingSlice]

FSLocationtrackingsQuery is a query on the fs_locationtracking table

type FSMosquitoinspection

type FSMosquitoinspection struct {
	OrganizationID         int32             `db:"organization_id" `
	Actiontaken            null.Val[string]  `db:"actiontaken" `
	Activity               null.Val[string]  `db:"activity" `
	Adultact               null.Val[string]  `db:"adultact" `
	Avetemp                null.Val[float64] `db:"avetemp" `
	Avglarvae              null.Val[float64] `db:"avglarvae" `
	Avgpupae               null.Val[float64] `db:"avgpupae" `
	Breeding               null.Val[string]  `db:"breeding" `
	Cbcount                null.Val[int16]   `db:"cbcount" `
	Comments               null.Val[string]  `db:"comments" `
	Containercount         null.Val[int16]   `db:"containercount" `
	Creationdate           null.Val[int64]   `db:"creationdate" `
	Creator                null.Val[string]  `db:"creator" `
	Domstage               null.Val[string]  `db:"domstage" `
	Eggs                   null.Val[int16]   `db:"eggs" `
	Enddatetime            null.Val[int64]   `db:"enddatetime" `
	Editdate               null.Val[int64]   `db:"editdate" `
	Editor                 null.Val[string]  `db:"editor" `
	Fieldspecies           null.Val[string]  `db:"fieldspecies" `
	Fieldtech              null.Val[string]  `db:"fieldtech" `
	Globalid               string            `db:"globalid" `
	Jurisdiction           null.Val[string]  `db:"jurisdiction" `
	Larvaepresent          null.Val[int16]   `db:"larvaepresent" `
	Linelocid              null.Val[string]  `db:"linelocid" `
	Locationname           null.Val[string]  `db:"locationname" `
	Lstages                null.Val[string]  `db:"lstages" `
	Numdips                null.Val[int16]   `db:"numdips" `
	Objectid               int32             `db:"objectid,pk" `
	Personalcontact        null.Val[int16]   `db:"personalcontact" `
	Pointlocid             null.Val[string]  `db:"pointlocid" `
	Polygonlocid           null.Val[string]  `db:"polygonlocid" `
	Posdips                null.Val[int16]   `db:"posdips" `
	Positivecontainercount null.Val[int16]   `db:"positivecontainercount" `
	Pupaepresent           null.Val[int16]   `db:"pupaepresent" `
	Raingauge              null.Val[float64] `db:"raingauge" `
	Recordstatus           null.Val[int16]   `db:"recordstatus" `
	Reviewed               null.Val[int16]   `db:"reviewed" `
	Reviewedby             null.Val[string]  `db:"reviewedby" `
	Revieweddate           null.Val[int64]   `db:"revieweddate" `
	Sdid                   null.Val[string]  `db:"sdid" `
	Sitecond               null.Val[string]  `db:"sitecond" `
	Srid                   null.Val[string]  `db:"srid" `
	Startdatetime          null.Val[int64]   `db:"startdatetime" `
	Tirecount              null.Val[int16]   `db:"tirecount" `
	Totlarvae              null.Val[int16]   `db:"totlarvae" `
	Totpupae               null.Val[int16]   `db:"totpupae" `
	Visualmonitoring       null.Val[int16]   `db:"visualmonitoring" `
	Vmcomments             null.Val[string]  `db:"vmcomments" `
	Winddir                null.Val[string]  `db:"winddir" `
	Windspeed              null.Val[float64] `db:"windspeed" `
	Zone                   null.Val[string]  `db:"zone" `
	Zone2                  null.Val[string]  `db:"zone2" `
	CreatedDate            null.Val[int64]   `db:"created_date" `
	CreatedUser            null.Val[string]  `db:"created_user" `
	GeometryX              null.Val[float64] `db:"geometry_x" `
	GeometryY              null.Val[float64] `db:"geometry_y" `
	LastEditedDate         null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser         null.Val[string]  `db:"last_edited_user" `
	Adminaction            null.Val[string]  `db:"adminaction" `
	Ptaid                  null.Val[string]  `db:"ptaid" `
	Updated                time.Time         `db:"updated" `
	Geom                   null.Val[string]  `db:"geom" `

	R fsMosquitoinspectionR `db:"-" `
}

FSMosquitoinspection is an object representing the database table.

func FindFSMosquitoinspection

func FindFSMosquitoinspection(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSMosquitoinspection, error)

FindFSMosquitoinspection retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSMosquitoinspection) AfterQueryHook

func (o *FSMosquitoinspection) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSMosquitoinspection is retrieved from the database

func (*FSMosquitoinspection) AttachOrganization

func (fsMosquitoinspection0 *FSMosquitoinspection) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSMosquitoinspection) Delete

func (o *FSMosquitoinspection) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSMosquitoinspection record with an executor

func (*FSMosquitoinspection) InsertOrganization

func (fsMosquitoinspection0 *FSMosquitoinspection) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSMosquitoinspection) LoadOrganization

func (o *FSMosquitoinspection) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsMosquitoinspection's Organization into the .R struct

func (*FSMosquitoinspection) Organization

Organization starts a query for related objects on organization

func (*FSMosquitoinspection) Preload

func (o *FSMosquitoinspection) Preload(name string, retrieved any) error

func (*FSMosquitoinspection) Reload

func (o *FSMosquitoinspection) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSMosquitoinspection using the executor

func (*FSMosquitoinspection) Update

Update uses an executor to update the FSMosquitoinspection

type FSMosquitoinspectionSetter

type FSMosquitoinspectionSetter struct {
	OrganizationID         omit.Val[int32]       `db:"organization_id" `
	Actiontaken            omitnull.Val[string]  `db:"actiontaken" `
	Activity               omitnull.Val[string]  `db:"activity" `
	Adultact               omitnull.Val[string]  `db:"adultact" `
	Avetemp                omitnull.Val[float64] `db:"avetemp" `
	Avglarvae              omitnull.Val[float64] `db:"avglarvae" `
	Avgpupae               omitnull.Val[float64] `db:"avgpupae" `
	Breeding               omitnull.Val[string]  `db:"breeding" `
	Cbcount                omitnull.Val[int16]   `db:"cbcount" `
	Comments               omitnull.Val[string]  `db:"comments" `
	Containercount         omitnull.Val[int16]   `db:"containercount" `
	Creationdate           omitnull.Val[int64]   `db:"creationdate" `
	Creator                omitnull.Val[string]  `db:"creator" `
	Domstage               omitnull.Val[string]  `db:"domstage" `
	Eggs                   omitnull.Val[int16]   `db:"eggs" `
	Enddatetime            omitnull.Val[int64]   `db:"enddatetime" `
	Editdate               omitnull.Val[int64]   `db:"editdate" `
	Editor                 omitnull.Val[string]  `db:"editor" `
	Fieldspecies           omitnull.Val[string]  `db:"fieldspecies" `
	Fieldtech              omitnull.Val[string]  `db:"fieldtech" `
	Globalid               omit.Val[string]      `db:"globalid" `
	Jurisdiction           omitnull.Val[string]  `db:"jurisdiction" `
	Larvaepresent          omitnull.Val[int16]   `db:"larvaepresent" `
	Linelocid              omitnull.Val[string]  `db:"linelocid" `
	Locationname           omitnull.Val[string]  `db:"locationname" `
	Lstages                omitnull.Val[string]  `db:"lstages" `
	Numdips                omitnull.Val[int16]   `db:"numdips" `
	Objectid               omit.Val[int32]       `db:"objectid,pk" `
	Personalcontact        omitnull.Val[int16]   `db:"personalcontact" `
	Pointlocid             omitnull.Val[string]  `db:"pointlocid" `
	Polygonlocid           omitnull.Val[string]  `db:"polygonlocid" `
	Posdips                omitnull.Val[int16]   `db:"posdips" `
	Positivecontainercount omitnull.Val[int16]   `db:"positivecontainercount" `
	Pupaepresent           omitnull.Val[int16]   `db:"pupaepresent" `
	Raingauge              omitnull.Val[float64] `db:"raingauge" `
	Recordstatus           omitnull.Val[int16]   `db:"recordstatus" `
	Reviewed               omitnull.Val[int16]   `db:"reviewed" `
	Reviewedby             omitnull.Val[string]  `db:"reviewedby" `
	Revieweddate           omitnull.Val[int64]   `db:"revieweddate" `
	Sdid                   omitnull.Val[string]  `db:"sdid" `
	Sitecond               omitnull.Val[string]  `db:"sitecond" `
	Srid                   omitnull.Val[string]  `db:"srid" `
	Startdatetime          omitnull.Val[int64]   `db:"startdatetime" `
	Tirecount              omitnull.Val[int16]   `db:"tirecount" `
	Totlarvae              omitnull.Val[int16]   `db:"totlarvae" `
	Totpupae               omitnull.Val[int16]   `db:"totpupae" `
	Visualmonitoring       omitnull.Val[int16]   `db:"visualmonitoring" `
	Vmcomments             omitnull.Val[string]  `db:"vmcomments" `
	Winddir                omitnull.Val[string]  `db:"winddir" `
	Windspeed              omitnull.Val[float64] `db:"windspeed" `
	Zone                   omitnull.Val[string]  `db:"zone" `
	Zone2                  omitnull.Val[string]  `db:"zone2" `
	CreatedDate            omitnull.Val[int64]   `db:"created_date" `
	CreatedUser            omitnull.Val[string]  `db:"created_user" `
	GeometryX              omitnull.Val[float64] `db:"geometry_x" `
	GeometryY              omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate         omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser         omitnull.Val[string]  `db:"last_edited_user" `
	Adminaction            omitnull.Val[string]  `db:"adminaction" `
	Ptaid                  omitnull.Val[string]  `db:"ptaid" `
	Updated                omit.Val[time.Time]   `db:"updated" `
	Geom                   omitnull.Val[string]  `db:"geom" `
}

FSMosquitoinspectionSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSMosquitoinspectionSetter) Apply

func (FSMosquitoinspectionSetter) Expressions

func (s FSMosquitoinspectionSetter) Expressions(prefix ...string) []bob.Expression

func (FSMosquitoinspectionSetter) Overwrite

func (FSMosquitoinspectionSetter) SetColumns

func (s FSMosquitoinspectionSetter) SetColumns() []string

func (FSMosquitoinspectionSetter) UpdateMod

type FSMosquitoinspectionSlice

type FSMosquitoinspectionSlice []*FSMosquitoinspection

FSMosquitoinspectionSlice is an alias for a slice of pointers to FSMosquitoinspection. This should almost always be used instead of []*FSMosquitoinspection.

func (FSMosquitoinspectionSlice) AfterQueryHook

func (o FSMosquitoinspectionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSMosquitoinspectionSlice is retrieved from the database

func (FSMosquitoinspectionSlice) DeleteAll

func (o FSMosquitoinspectionSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSMosquitoinspectionSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSMosquitoinspectionSlice) LoadOrganization

func (os FSMosquitoinspectionSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsMosquitoinspection's Organization into the .R struct

func (FSMosquitoinspectionSlice) Organization

func (FSMosquitoinspectionSlice) ReloadAll

func (o FSMosquitoinspectionSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSMosquitoinspectionSlice) UpdateAll

func (FSMosquitoinspectionSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSMosquitoinspectionsQuery

type FSMosquitoinspectionsQuery = *psql.ViewQuery[*FSMosquitoinspection, FSMosquitoinspectionSlice]

FSMosquitoinspectionsQuery is a query on the fs_mosquitoinspection table

type FSPointlocation

type FSPointlocation struct {
	OrganizationID          int32             `db:"organization_id" `
	Accessdesc              null.Val[string]  `db:"accessdesc" `
	Active                  null.Val[int16]   `db:"active" `
	Comments                null.Val[string]  `db:"comments" `
	Creationdate            null.Val[int64]   `db:"creationdate" `
	Creator                 null.Val[string]  `db:"creator" `
	Description             null.Val[string]  `db:"description" `
	Externalid              null.Val[string]  `db:"externalid" `
	Editdate                null.Val[int64]   `db:"editdate" `
	Editor                  null.Val[string]  `db:"editor" `
	Globalid                string            `db:"globalid" `
	Habitat                 null.Val[string]  `db:"habitat" `
	Jurisdiction            null.Val[string]  `db:"jurisdiction" `
	Larvinspectinterval     null.Val[int16]   `db:"larvinspectinterval" `
	Lastinspectactiontaken  null.Val[string]  `db:"lastinspectactiontaken" `
	Lastinspectactivity     null.Val[string]  `db:"lastinspectactivity" `
	Lastinspectavglarvae    null.Val[float64] `db:"lastinspectavglarvae" `
	Lastinspectavgpupae     null.Val[float64] `db:"lastinspectavgpupae" `
	Lastinspectbreeding     null.Val[string]  `db:"lastinspectbreeding" `
	Lastinspectconditions   null.Val[string]  `db:"lastinspectconditions" `
	Lastinspectdate         null.Val[int64]   `db:"lastinspectdate" `
	Lastinspectfieldspecies null.Val[string]  `db:"lastinspectfieldspecies" `
	Lastinspectlstages      null.Val[string]  `db:"lastinspectlstages" `
	Lasttreatactivity       null.Val[string]  `db:"lasttreatactivity" `
	Lasttreatdate           null.Val[int64]   `db:"lasttreatdate" `
	Lasttreatproduct        null.Val[string]  `db:"lasttreatproduct" `
	Lasttreatqty            null.Val[float64] `db:"lasttreatqty" `
	Lasttreatqtyunit        null.Val[string]  `db:"lasttreatqtyunit" `
	Locationnumber          null.Val[int64]   `db:"locationnumber" `
	Name                    null.Val[string]  `db:"name" `
	Nextactiondatescheduled null.Val[int64]   `db:"nextactiondatescheduled" `
	Objectid                int32             `db:"objectid,pk" `
	Priority                null.Val[string]  `db:"priority" `
	Stype                   null.Val[string]  `db:"stype" `
	Symbology               null.Val[string]  `db:"symbology" `
	Usetype                 null.Val[string]  `db:"usetype" `
	Waterorigin             null.Val[string]  `db:"waterorigin" `
	X                       null.Val[float64] `db:"x" `
	Y                       null.Val[float64] `db:"y" `
	Zone                    null.Val[string]  `db:"zone" `
	Zone2                   null.Val[string]  `db:"zone2" `
	GeometryX               float64           `db:"geometry_x" `
	GeometryY               float64           `db:"geometry_y" `
	Assignedtech            null.Val[string]  `db:"assignedtech" `
	DeactivateReason        null.Val[string]  `db:"deactivate_reason" `
	Scalarpriority          null.Val[int64]   `db:"scalarpriority" `
	Sourcestatus            null.Val[string]  `db:"sourcestatus" `
	Updated                 time.Time         `db:"updated" `
	Geom                    null.Val[string]  `db:"geom" `

	R fsPointlocationR `db:"-" `
}

FSPointlocation is an object representing the database table.

func FindFSPointlocation

func FindFSPointlocation(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSPointlocation, error)

FindFSPointlocation retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSPointlocation) AfterQueryHook

func (o *FSPointlocation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSPointlocation is retrieved from the database

func (*FSPointlocation) AttachOrganization

func (fsPointlocation0 *FSPointlocation) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSPointlocation) Delete

func (o *FSPointlocation) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSPointlocation record with an executor

func (*FSPointlocation) InsertOrganization

func (fsPointlocation0 *FSPointlocation) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSPointlocation) LoadOrganization

func (o *FSPointlocation) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsPointlocation's Organization into the .R struct

func (*FSPointlocation) Organization

func (o *FSPointlocation) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSPointlocation) Preload

func (o *FSPointlocation) Preload(name string, retrieved any) error

func (*FSPointlocation) Reload

func (o *FSPointlocation) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSPointlocation using the executor

func (*FSPointlocation) Update

Update uses an executor to update the FSPointlocation

type FSPointlocationSetter

type FSPointlocationSetter struct {
	OrganizationID          omit.Val[int32]       `db:"organization_id" `
	Accessdesc              omitnull.Val[string]  `db:"accessdesc" `
	Active                  omitnull.Val[int16]   `db:"active" `
	Comments                omitnull.Val[string]  `db:"comments" `
	Creationdate            omitnull.Val[int64]   `db:"creationdate" `
	Creator                 omitnull.Val[string]  `db:"creator" `
	Description             omitnull.Val[string]  `db:"description" `
	Externalid              omitnull.Val[string]  `db:"externalid" `
	Editdate                omitnull.Val[int64]   `db:"editdate" `
	Editor                  omitnull.Val[string]  `db:"editor" `
	Globalid                omit.Val[string]      `db:"globalid" `
	Habitat                 omitnull.Val[string]  `db:"habitat" `
	Jurisdiction            omitnull.Val[string]  `db:"jurisdiction" `
	Larvinspectinterval     omitnull.Val[int16]   `db:"larvinspectinterval" `
	Lastinspectactiontaken  omitnull.Val[string]  `db:"lastinspectactiontaken" `
	Lastinspectactivity     omitnull.Val[string]  `db:"lastinspectactivity" `
	Lastinspectavglarvae    omitnull.Val[float64] `db:"lastinspectavglarvae" `
	Lastinspectavgpupae     omitnull.Val[float64] `db:"lastinspectavgpupae" `
	Lastinspectbreeding     omitnull.Val[string]  `db:"lastinspectbreeding" `
	Lastinspectconditions   omitnull.Val[string]  `db:"lastinspectconditions" `
	Lastinspectdate         omitnull.Val[int64]   `db:"lastinspectdate" `
	Lastinspectfieldspecies omitnull.Val[string]  `db:"lastinspectfieldspecies" `
	Lastinspectlstages      omitnull.Val[string]  `db:"lastinspectlstages" `
	Lasttreatactivity       omitnull.Val[string]  `db:"lasttreatactivity" `
	Lasttreatdate           omitnull.Val[int64]   `db:"lasttreatdate" `
	Lasttreatproduct        omitnull.Val[string]  `db:"lasttreatproduct" `
	Lasttreatqty            omitnull.Val[float64] `db:"lasttreatqty" `
	Lasttreatqtyunit        omitnull.Val[string]  `db:"lasttreatqtyunit" `
	Locationnumber          omitnull.Val[int64]   `db:"locationnumber" `
	Name                    omitnull.Val[string]  `db:"name" `
	Nextactiondatescheduled omitnull.Val[int64]   `db:"nextactiondatescheduled" `
	Objectid                omit.Val[int32]       `db:"objectid,pk" `
	Priority                omitnull.Val[string]  `db:"priority" `
	Stype                   omitnull.Val[string]  `db:"stype" `
	Symbology               omitnull.Val[string]  `db:"symbology" `
	Usetype                 omitnull.Val[string]  `db:"usetype" `
	Waterorigin             omitnull.Val[string]  `db:"waterorigin" `
	X                       omitnull.Val[float64] `db:"x" `
	Y                       omitnull.Val[float64] `db:"y" `
	Zone                    omitnull.Val[string]  `db:"zone" `
	Zone2                   omitnull.Val[string]  `db:"zone2" `
	GeometryX               omit.Val[float64]     `db:"geometry_x" `
	GeometryY               omit.Val[float64]     `db:"geometry_y" `
	Assignedtech            omitnull.Val[string]  `db:"assignedtech" `
	DeactivateReason        omitnull.Val[string]  `db:"deactivate_reason" `
	Scalarpriority          omitnull.Val[int64]   `db:"scalarpriority" `
	Sourcestatus            omitnull.Val[string]  `db:"sourcestatus" `
	Updated                 omit.Val[time.Time]   `db:"updated" `
	Geom                    omitnull.Val[string]  `db:"geom" `
}

FSPointlocationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSPointlocationSetter) Apply

func (FSPointlocationSetter) Expressions

func (s FSPointlocationSetter) Expressions(prefix ...string) []bob.Expression

func (FSPointlocationSetter) Overwrite

func (s FSPointlocationSetter) Overwrite(t *FSPointlocation)

func (FSPointlocationSetter) SetColumns

func (s FSPointlocationSetter) SetColumns() []string

func (FSPointlocationSetter) UpdateMod

type FSPointlocationSlice

type FSPointlocationSlice []*FSPointlocation

FSPointlocationSlice is an alias for a slice of pointers to FSPointlocation. This should almost always be used instead of []*FSPointlocation.

func (FSPointlocationSlice) AfterQueryHook

func (o FSPointlocationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSPointlocationSlice is retrieved from the database

func (FSPointlocationSlice) DeleteAll

func (o FSPointlocationSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSPointlocationSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSPointlocationSlice) LoadOrganization

func (os FSPointlocationSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsPointlocation's Organization into the .R struct

func (FSPointlocationSlice) Organization

func (FSPointlocationSlice) ReloadAll

func (o FSPointlocationSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSPointlocationSlice) UpdateAll

func (FSPointlocationSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSPointlocationsQuery

type FSPointlocationsQuery = *psql.ViewQuery[*FSPointlocation, FSPointlocationSlice]

FSPointlocationsQuery is a query on the fs_pointlocation table

type FSPolygonlocation

type FSPolygonlocation struct {
	OrganizationID          int32             `db:"organization_id" `
	Accessdesc              null.Val[string]  `db:"accessdesc" `
	Acres                   null.Val[float64] `db:"acres" `
	Active                  null.Val[int16]   `db:"active" `
	Comments                null.Val[string]  `db:"comments" `
	Creationdate            null.Val[int64]   `db:"creationdate" `
	Creator                 null.Val[string]  `db:"creator" `
	Description             null.Val[string]  `db:"description" `
	Externalid              null.Val[string]  `db:"externalid" `
	Editdate                null.Val[int64]   `db:"editdate" `
	Editor                  null.Val[string]  `db:"editor" `
	Filter                  null.Val[string]  `db:"filter" `
	Globalid                string            `db:"globalid" `
	Habitat                 null.Val[string]  `db:"habitat" `
	Hectares                null.Val[float64] `db:"hectares" `
	Jurisdiction            null.Val[string]  `db:"jurisdiction" `
	Larvinspectinterval     null.Val[int16]   `db:"larvinspectinterval" `
	Lastinspectactiontaken  null.Val[string]  `db:"lastinspectactiontaken" `
	Lastinspectactivity     null.Val[string]  `db:"lastinspectactivity" `
	Lastinspectavglarvae    null.Val[float64] `db:"lastinspectavglarvae" `
	Lastinspectavgpupae     null.Val[float64] `db:"lastinspectavgpupae" `
	Lastinspectbreeding     null.Val[string]  `db:"lastinspectbreeding" `
	Lastinspectconditions   null.Val[string]  `db:"lastinspectconditions" `
	Lastinspectdate         null.Val[int64]   `db:"lastinspectdate" `
	Lastinspectfieldspecies null.Val[string]  `db:"lastinspectfieldspecies" `
	Lastinspectlstages      null.Val[string]  `db:"lastinspectlstages" `
	Lasttreatactivity       null.Val[string]  `db:"lasttreatactivity" `
	Lasttreatdate           null.Val[int64]   `db:"lasttreatdate" `
	Lasttreatproduct        null.Val[string]  `db:"lasttreatproduct" `
	Lasttreatqty            null.Val[float64] `db:"lasttreatqty" `
	Lasttreatqtyunit        null.Val[string]  `db:"lasttreatqtyunit" `
	Locationnumber          null.Val[int64]   `db:"locationnumber" `
	Name                    null.Val[string]  `db:"name" `
	Nextactiondatescheduled null.Val[int64]   `db:"nextactiondatescheduled" `
	Objectid                int32             `db:"objectid,pk" `
	Priority                null.Val[string]  `db:"priority" `
	Symbology               null.Val[string]  `db:"symbology" `
	ShapeArea               null.Val[float64] `db:"shape__area" `
	ShapeLength             null.Val[float64] `db:"shape__length" `
	Usetype                 null.Val[string]  `db:"usetype" `
	Waterorigin             null.Val[string]  `db:"waterorigin" `
	Zone                    null.Val[string]  `db:"zone" `
	Zone2                   null.Val[string]  `db:"zone2" `
	GeometryX               null.Val[float64] `db:"geometry_x" `
	GeometryY               null.Val[float64] `db:"geometry_y" `
	Updated                 time.Time         `db:"updated" `

	R fsPolygonlocationR `db:"-" `
}

FSPolygonlocation is an object representing the database table.

func FindFSPolygonlocation

func FindFSPolygonlocation(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSPolygonlocation, error)

FindFSPolygonlocation retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSPolygonlocation) AfterQueryHook

func (o *FSPolygonlocation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSPolygonlocation is retrieved from the database

func (*FSPolygonlocation) AttachOrganization

func (fsPolygonlocation0 *FSPolygonlocation) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSPolygonlocation) Delete

func (o *FSPolygonlocation) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSPolygonlocation record with an executor

func (*FSPolygonlocation) InsertOrganization

func (fsPolygonlocation0 *FSPolygonlocation) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSPolygonlocation) LoadOrganization

func (o *FSPolygonlocation) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsPolygonlocation's Organization into the .R struct

func (*FSPolygonlocation) Organization

func (o *FSPolygonlocation) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSPolygonlocation) Preload

func (o *FSPolygonlocation) Preload(name string, retrieved any) error

func (*FSPolygonlocation) Reload

func (o *FSPolygonlocation) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSPolygonlocation using the executor

func (*FSPolygonlocation) Update

Update uses an executor to update the FSPolygonlocation

type FSPolygonlocationSetter

type FSPolygonlocationSetter struct {
	OrganizationID          omit.Val[int32]       `db:"organization_id" `
	Accessdesc              omitnull.Val[string]  `db:"accessdesc" `
	Acres                   omitnull.Val[float64] `db:"acres" `
	Active                  omitnull.Val[int16]   `db:"active" `
	Comments                omitnull.Val[string]  `db:"comments" `
	Creationdate            omitnull.Val[int64]   `db:"creationdate" `
	Creator                 omitnull.Val[string]  `db:"creator" `
	Description             omitnull.Val[string]  `db:"description" `
	Externalid              omitnull.Val[string]  `db:"externalid" `
	Editdate                omitnull.Val[int64]   `db:"editdate" `
	Editor                  omitnull.Val[string]  `db:"editor" `
	Filter                  omitnull.Val[string]  `db:"filter" `
	Globalid                omit.Val[string]      `db:"globalid" `
	Habitat                 omitnull.Val[string]  `db:"habitat" `
	Hectares                omitnull.Val[float64] `db:"hectares" `
	Jurisdiction            omitnull.Val[string]  `db:"jurisdiction" `
	Larvinspectinterval     omitnull.Val[int16]   `db:"larvinspectinterval" `
	Lastinspectactiontaken  omitnull.Val[string]  `db:"lastinspectactiontaken" `
	Lastinspectactivity     omitnull.Val[string]  `db:"lastinspectactivity" `
	Lastinspectavglarvae    omitnull.Val[float64] `db:"lastinspectavglarvae" `
	Lastinspectavgpupae     omitnull.Val[float64] `db:"lastinspectavgpupae" `
	Lastinspectbreeding     omitnull.Val[string]  `db:"lastinspectbreeding" `
	Lastinspectconditions   omitnull.Val[string]  `db:"lastinspectconditions" `
	Lastinspectdate         omitnull.Val[int64]   `db:"lastinspectdate" `
	Lastinspectfieldspecies omitnull.Val[string]  `db:"lastinspectfieldspecies" `
	Lastinspectlstages      omitnull.Val[string]  `db:"lastinspectlstages" `
	Lasttreatactivity       omitnull.Val[string]  `db:"lasttreatactivity" `
	Lasttreatdate           omitnull.Val[int64]   `db:"lasttreatdate" `
	Lasttreatproduct        omitnull.Val[string]  `db:"lasttreatproduct" `
	Lasttreatqty            omitnull.Val[float64] `db:"lasttreatqty" `
	Lasttreatqtyunit        omitnull.Val[string]  `db:"lasttreatqtyunit" `
	Locationnumber          omitnull.Val[int64]   `db:"locationnumber" `
	Name                    omitnull.Val[string]  `db:"name" `
	Nextactiondatescheduled omitnull.Val[int64]   `db:"nextactiondatescheduled" `
	Objectid                omit.Val[int32]       `db:"objectid,pk" `
	Priority                omitnull.Val[string]  `db:"priority" `
	Symbology               omitnull.Val[string]  `db:"symbology" `
	ShapeArea               omitnull.Val[float64] `db:"shape__area" `
	ShapeLength             omitnull.Val[float64] `db:"shape__length" `
	Usetype                 omitnull.Val[string]  `db:"usetype" `
	Waterorigin             omitnull.Val[string]  `db:"waterorigin" `
	Zone                    omitnull.Val[string]  `db:"zone" `
	Zone2                   omitnull.Val[string]  `db:"zone2" `
	GeometryX               omitnull.Val[float64] `db:"geometry_x" `
	GeometryY               omitnull.Val[float64] `db:"geometry_y" `
	Updated                 omit.Val[time.Time]   `db:"updated" `
}

FSPolygonlocationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSPolygonlocationSetter) Apply

func (FSPolygonlocationSetter) Expressions

func (s FSPolygonlocationSetter) Expressions(prefix ...string) []bob.Expression

func (FSPolygonlocationSetter) Overwrite

func (FSPolygonlocationSetter) SetColumns

func (s FSPolygonlocationSetter) SetColumns() []string

func (FSPolygonlocationSetter) UpdateMod

type FSPolygonlocationSlice

type FSPolygonlocationSlice []*FSPolygonlocation

FSPolygonlocationSlice is an alias for a slice of pointers to FSPolygonlocation. This should almost always be used instead of []*FSPolygonlocation.

func (FSPolygonlocationSlice) AfterQueryHook

func (o FSPolygonlocationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSPolygonlocationSlice is retrieved from the database

func (FSPolygonlocationSlice) DeleteAll

func (o FSPolygonlocationSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSPolygonlocationSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSPolygonlocationSlice) LoadOrganization

func (os FSPolygonlocationSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsPolygonlocation's Organization into the .R struct

func (FSPolygonlocationSlice) Organization

func (FSPolygonlocationSlice) ReloadAll

func (o FSPolygonlocationSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSPolygonlocationSlice) UpdateAll

func (FSPolygonlocationSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSPolygonlocationsQuery

type FSPolygonlocationsQuery = *psql.ViewQuery[*FSPolygonlocation, FSPolygonlocationSlice]

FSPolygonlocationsQuery is a query on the fs_polygonlocation table

type FSPool

type FSPool struct {
	OrganizationID         int32             `db:"organization_id" `
	Comments               null.Val[string]  `db:"comments" `
	Creationdate           null.Val[int64]   `db:"creationdate" `
	Creator                null.Val[string]  `db:"creator" `
	Datesent               null.Val[int64]   `db:"datesent" `
	Datetested             null.Val[int64]   `db:"datetested" `
	Diseasepos             null.Val[string]  `db:"diseasepos" `
	Diseasetested          null.Val[string]  `db:"diseasetested" `
	Editdate               null.Val[int64]   `db:"editdate" `
	Editor                 null.Val[string]  `db:"editor" `
	Gatewaysync            null.Val[int16]   `db:"gatewaysync" `
	Globalid               string            `db:"globalid" `
	Lab                    null.Val[string]  `db:"lab" `
	LabID                  null.Val[string]  `db:"lab_id" `
	Objectid               int32             `db:"objectid,pk" `
	Poolyear               null.Val[int16]   `db:"poolyear" `
	Processed              null.Val[int16]   `db:"processed" `
	Sampleid               null.Val[string]  `db:"sampleid" `
	Survtech               null.Val[string]  `db:"survtech" `
	Testmethod             null.Val[string]  `db:"testmethod" `
	Testtech               null.Val[string]  `db:"testtech" `
	TrapdataID             null.Val[string]  `db:"trapdata_id" `
	CreatedDate            null.Val[int64]   `db:"created_date" `
	CreatedUser            null.Val[string]  `db:"created_user" `
	GeometryX              null.Val[float64] `db:"geometry_x" `
	GeometryY              null.Val[float64] `db:"geometry_y" `
	LastEditedDate         null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser         null.Val[string]  `db:"last_edited_user" `
	Vectorsurvcollectionid null.Val[string]  `db:"vectorsurvcollectionid" `
	Vectorsurvpoolid       null.Val[string]  `db:"vectorsurvpoolid" `
	Vectorsurvtrapdataid   null.Val[string]  `db:"vectorsurvtrapdataid" `
	Updated                time.Time         `db:"updated" `

	R fsPoolR `db:"-" `
}

FSPool is an object representing the database table.

func FindFSPool

func FindFSPool(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSPool, error)

FindFSPool retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSPool) AfterQueryHook

func (o *FSPool) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSPool is retrieved from the database

func (*FSPool) AttachOrganization

func (fsPool0 *FSPool) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSPool) Delete

func (o *FSPool) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSPool record with an executor

func (*FSPool) InsertOrganization

func (fsPool0 *FSPool) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSPool) LoadOrganization

func (o *FSPool) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsPool's Organization into the .R struct

func (*FSPool) Organization

func (o *FSPool) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSPool) Preload

func (o *FSPool) Preload(name string, retrieved any) error

func (*FSPool) Reload

func (o *FSPool) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSPool using the executor

func (*FSPool) Update

func (o *FSPool) Update(ctx context.Context, exec bob.Executor, s *FSPoolSetter) error

Update uses an executor to update the FSPool

type FSPoolSetter

type FSPoolSetter struct {
	OrganizationID         omit.Val[int32]       `db:"organization_id" `
	Comments               omitnull.Val[string]  `db:"comments" `
	Creationdate           omitnull.Val[int64]   `db:"creationdate" `
	Creator                omitnull.Val[string]  `db:"creator" `
	Datesent               omitnull.Val[int64]   `db:"datesent" `
	Datetested             omitnull.Val[int64]   `db:"datetested" `
	Diseasepos             omitnull.Val[string]  `db:"diseasepos" `
	Diseasetested          omitnull.Val[string]  `db:"diseasetested" `
	Editdate               omitnull.Val[int64]   `db:"editdate" `
	Editor                 omitnull.Val[string]  `db:"editor" `
	Gatewaysync            omitnull.Val[int16]   `db:"gatewaysync" `
	Globalid               omit.Val[string]      `db:"globalid" `
	Lab                    omitnull.Val[string]  `db:"lab" `
	LabID                  omitnull.Val[string]  `db:"lab_id" `
	Objectid               omit.Val[int32]       `db:"objectid,pk" `
	Poolyear               omitnull.Val[int16]   `db:"poolyear" `
	Processed              omitnull.Val[int16]   `db:"processed" `
	Sampleid               omitnull.Val[string]  `db:"sampleid" `
	Survtech               omitnull.Val[string]  `db:"survtech" `
	Testmethod             omitnull.Val[string]  `db:"testmethod" `
	Testtech               omitnull.Val[string]  `db:"testtech" `
	TrapdataID             omitnull.Val[string]  `db:"trapdata_id" `
	CreatedDate            omitnull.Val[int64]   `db:"created_date" `
	CreatedUser            omitnull.Val[string]  `db:"created_user" `
	GeometryX              omitnull.Val[float64] `db:"geometry_x" `
	GeometryY              omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate         omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser         omitnull.Val[string]  `db:"last_edited_user" `
	Vectorsurvcollectionid omitnull.Val[string]  `db:"vectorsurvcollectionid" `
	Vectorsurvpoolid       omitnull.Val[string]  `db:"vectorsurvpoolid" `
	Vectorsurvtrapdataid   omitnull.Val[string]  `db:"vectorsurvtrapdataid" `
	Updated                omit.Val[time.Time]   `db:"updated" `
}

FSPoolSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSPoolSetter) Apply

func (s *FSPoolSetter) Apply(q *dialect.InsertQuery)

func (FSPoolSetter) Expressions

func (s FSPoolSetter) Expressions(prefix ...string) []bob.Expression

func (FSPoolSetter) Overwrite

func (s FSPoolSetter) Overwrite(t *FSPool)

func (FSPoolSetter) SetColumns

func (s FSPoolSetter) SetColumns() []string

func (FSPoolSetter) UpdateMod

func (s FSPoolSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type FSPoolSlice

type FSPoolSlice []*FSPool

FSPoolSlice is an alias for a slice of pointers to FSPool. This should almost always be used instead of []*FSPool.

func (FSPoolSlice) AfterQueryHook

func (o FSPoolSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSPoolSlice is retrieved from the database

func (FSPoolSlice) DeleteAll

func (o FSPoolSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSPoolSlice) DeleteMod

func (o FSPoolSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSPoolSlice) LoadOrganization

func (os FSPoolSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsPool's Organization into the .R struct

func (FSPoolSlice) Organization

func (os FSPoolSlice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (FSPoolSlice) ReloadAll

func (o FSPoolSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSPoolSlice) UpdateAll

func (o FSPoolSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals FSPoolSetter) error

func (FSPoolSlice) UpdateMod

func (o FSPoolSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSPooldetail

type FSPooldetail struct {
	OrganizationID int32             `db:"organization_id" `
	Creationdate   null.Val[int64]   `db:"creationdate" `
	Creator        null.Val[string]  `db:"creator" `
	Editdate       null.Val[int64]   `db:"editdate" `
	Editor         null.Val[string]  `db:"editor" `
	Females        null.Val[int16]   `db:"females" `
	Globalid       string            `db:"globalid" `
	Objectid       int32             `db:"objectid,pk" `
	PoolID         null.Val[string]  `db:"pool_id" `
	Species        null.Val[string]  `db:"species" `
	TrapdataID     null.Val[string]  `db:"trapdata_id" `
	CreatedDate    null.Val[int64]   `db:"created_date" `
	CreatedUser    null.Val[string]  `db:"created_user" `
	GeometryX      null.Val[float64] `db:"geometry_x" `
	GeometryY      null.Val[float64] `db:"geometry_y" `
	LastEditedDate null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser null.Val[string]  `db:"last_edited_user" `
	Updated        time.Time         `db:"updated" `

	R fsPooldetailR `db:"-" `
}

FSPooldetail is an object representing the database table.

func FindFSPooldetail

func FindFSPooldetail(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSPooldetail, error)

FindFSPooldetail retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSPooldetail) AfterQueryHook

func (o *FSPooldetail) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSPooldetail is retrieved from the database

func (*FSPooldetail) AttachOrganization

func (fsPooldetail0 *FSPooldetail) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSPooldetail) Delete

func (o *FSPooldetail) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSPooldetail record with an executor

func (*FSPooldetail) InsertOrganization

func (fsPooldetail0 *FSPooldetail) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSPooldetail) LoadOrganization

func (o *FSPooldetail) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsPooldetail's Organization into the .R struct

func (*FSPooldetail) Organization

func (o *FSPooldetail) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSPooldetail) Preload

func (o *FSPooldetail) Preload(name string, retrieved any) error

func (*FSPooldetail) Reload

func (o *FSPooldetail) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSPooldetail using the executor

func (*FSPooldetail) Update

func (o *FSPooldetail) Update(ctx context.Context, exec bob.Executor, s *FSPooldetailSetter) error

Update uses an executor to update the FSPooldetail

type FSPooldetailSetter

type FSPooldetailSetter struct {
	OrganizationID omit.Val[int32]       `db:"organization_id" `
	Creationdate   omitnull.Val[int64]   `db:"creationdate" `
	Creator        omitnull.Val[string]  `db:"creator" `
	Editdate       omitnull.Val[int64]   `db:"editdate" `
	Editor         omitnull.Val[string]  `db:"editor" `
	Females        omitnull.Val[int16]   `db:"females" `
	Globalid       omit.Val[string]      `db:"globalid" `
	Objectid       omit.Val[int32]       `db:"objectid,pk" `
	PoolID         omitnull.Val[string]  `db:"pool_id" `
	Species        omitnull.Val[string]  `db:"species" `
	TrapdataID     omitnull.Val[string]  `db:"trapdata_id" `
	CreatedDate    omitnull.Val[int64]   `db:"created_date" `
	CreatedUser    omitnull.Val[string]  `db:"created_user" `
	GeometryX      omitnull.Val[float64] `db:"geometry_x" `
	GeometryY      omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]  `db:"last_edited_user" `
	Updated        omit.Val[time.Time]   `db:"updated" `
}

FSPooldetailSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSPooldetailSetter) Apply

func (s *FSPooldetailSetter) Apply(q *dialect.InsertQuery)

func (FSPooldetailSetter) Expressions

func (s FSPooldetailSetter) Expressions(prefix ...string) []bob.Expression

func (FSPooldetailSetter) Overwrite

func (s FSPooldetailSetter) Overwrite(t *FSPooldetail)

func (FSPooldetailSetter) SetColumns

func (s FSPooldetailSetter) SetColumns() []string

func (FSPooldetailSetter) UpdateMod

func (s FSPooldetailSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type FSPooldetailSlice

type FSPooldetailSlice []*FSPooldetail

FSPooldetailSlice is an alias for a slice of pointers to FSPooldetail. This should almost always be used instead of []*FSPooldetail.

func (FSPooldetailSlice) AfterQueryHook

func (o FSPooldetailSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSPooldetailSlice is retrieved from the database

func (FSPooldetailSlice) DeleteAll

func (o FSPooldetailSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSPooldetailSlice) DeleteMod

func (o FSPooldetailSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSPooldetailSlice) LoadOrganization

func (os FSPooldetailSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsPooldetail's Organization into the .R struct

func (FSPooldetailSlice) Organization

func (os FSPooldetailSlice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (FSPooldetailSlice) ReloadAll

func (o FSPooldetailSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSPooldetailSlice) UpdateAll

func (o FSPooldetailSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals FSPooldetailSetter) error

func (FSPooldetailSlice) UpdateMod

func (o FSPooldetailSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSPooldetailsQuery

type FSPooldetailsQuery = *psql.ViewQuery[*FSPooldetail, FSPooldetailSlice]

FSPooldetailsQuery is a query on the fs_pooldetail table

type FSPoolsQuery

type FSPoolsQuery = *psql.ViewQuery[*FSPool, FSPoolSlice]

FSPoolsQuery is a query on the fs_pool table

type FSProposedtreatmentarea

type FSProposedtreatmentarea struct {
	OrganizationID    int32             `db:"organization_id" `
	Acres             null.Val[float64] `db:"acres" `
	Comments          null.Val[string]  `db:"comments" `
	Completed         null.Val[int16]   `db:"completed" `
	Completedby       null.Val[string]  `db:"completedby" `
	Completeddate     null.Val[int64]   `db:"completeddate" `
	Creationdate      null.Val[int64]   `db:"creationdate" `
	Creator           null.Val[string]  `db:"creator" `
	Duedate           null.Val[int64]   `db:"duedate" `
	Exported          null.Val[int16]   `db:"exported" `
	Editdate          null.Val[int64]   `db:"editdate" `
	Editor            null.Val[string]  `db:"editor" `
	Globalid          string            `db:"globalid" `
	Hectares          null.Val[float64] `db:"hectares" `
	Issprayroute      null.Val[int16]   `db:"issprayroute" `
	Lasttreatactivity null.Val[string]  `db:"lasttreatactivity" `
	Lasttreatdate     null.Val[int64]   `db:"lasttreatdate" `
	Lasttreatproduct  null.Val[string]  `db:"lasttreatproduct" `
	Lasttreatqty      null.Val[float64] `db:"lasttreatqty" `
	Lasttreatqtyunit  null.Val[string]  `db:"lasttreatqtyunit" `
	Method            null.Val[string]  `db:"method" `
	Name              null.Val[string]  `db:"name" `
	Objectid          int32             `db:"objectid,pk" `
	Priority          null.Val[string]  `db:"priority" `
	Reviewed          null.Val[int16]   `db:"reviewed" `
	Reviewedby        null.Val[string]  `db:"reviewedby" `
	Revieweddate      null.Val[int64]   `db:"revieweddate" `
	ShapeArea         null.Val[float64] `db:"shape__area" `
	ShapeLength       null.Val[float64] `db:"shape__length" `
	Targetapprate     null.Val[float64] `db:"targetapprate" `
	Targetproduct     null.Val[string]  `db:"targetproduct" `
	Targetspecies     null.Val[string]  `db:"targetspecies" `
	Zone              null.Val[string]  `db:"zone" `
	Zone2             null.Val[string]  `db:"zone2" `
	GeometryX         null.Val[float64] `db:"geometry_x" `
	GeometryY         null.Val[float64] `db:"geometry_y" `
	Updated           time.Time         `db:"updated" `

	R fsProposedtreatmentareaR `db:"-" `
}

FSProposedtreatmentarea is an object representing the database table.

func FindFSProposedtreatmentarea

func FindFSProposedtreatmentarea(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSProposedtreatmentarea, error)

FindFSProposedtreatmentarea retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSProposedtreatmentarea) AfterQueryHook

func (o *FSProposedtreatmentarea) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSProposedtreatmentarea is retrieved from the database

func (*FSProposedtreatmentarea) AttachOrganization

func (fsProposedtreatmentarea0 *FSProposedtreatmentarea) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSProposedtreatmentarea) Delete

Delete deletes a single FSProposedtreatmentarea record with an executor

func (*FSProposedtreatmentarea) InsertOrganization

func (fsProposedtreatmentarea0 *FSProposedtreatmentarea) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSProposedtreatmentarea) LoadOrganization

func (o *FSProposedtreatmentarea) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsProposedtreatmentarea's Organization into the .R struct

func (*FSProposedtreatmentarea) Organization

Organization starts a query for related objects on organization

func (*FSProposedtreatmentarea) Preload

func (o *FSProposedtreatmentarea) Preload(name string, retrieved any) error

func (*FSProposedtreatmentarea) Reload

Reload refreshes the FSProposedtreatmentarea using the executor

func (*FSProposedtreatmentarea) Update

Update uses an executor to update the FSProposedtreatmentarea

type FSProposedtreatmentareaSetter

type FSProposedtreatmentareaSetter struct {
	OrganizationID    omit.Val[int32]       `db:"organization_id" `
	Acres             omitnull.Val[float64] `db:"acres" `
	Comments          omitnull.Val[string]  `db:"comments" `
	Completed         omitnull.Val[int16]   `db:"completed" `
	Completedby       omitnull.Val[string]  `db:"completedby" `
	Completeddate     omitnull.Val[int64]   `db:"completeddate" `
	Creationdate      omitnull.Val[int64]   `db:"creationdate" `
	Creator           omitnull.Val[string]  `db:"creator" `
	Duedate           omitnull.Val[int64]   `db:"duedate" `
	Exported          omitnull.Val[int16]   `db:"exported" `
	Editdate          omitnull.Val[int64]   `db:"editdate" `
	Editor            omitnull.Val[string]  `db:"editor" `
	Globalid          omit.Val[string]      `db:"globalid" `
	Hectares          omitnull.Val[float64] `db:"hectares" `
	Issprayroute      omitnull.Val[int16]   `db:"issprayroute" `
	Lasttreatactivity omitnull.Val[string]  `db:"lasttreatactivity" `
	Lasttreatdate     omitnull.Val[int64]   `db:"lasttreatdate" `
	Lasttreatproduct  omitnull.Val[string]  `db:"lasttreatproduct" `
	Lasttreatqty      omitnull.Val[float64] `db:"lasttreatqty" `
	Lasttreatqtyunit  omitnull.Val[string]  `db:"lasttreatqtyunit" `
	Method            omitnull.Val[string]  `db:"method" `
	Name              omitnull.Val[string]  `db:"name" `
	Objectid          omit.Val[int32]       `db:"objectid,pk" `
	Priority          omitnull.Val[string]  `db:"priority" `
	Reviewed          omitnull.Val[int16]   `db:"reviewed" `
	Reviewedby        omitnull.Val[string]  `db:"reviewedby" `
	Revieweddate      omitnull.Val[int64]   `db:"revieweddate" `
	ShapeArea         omitnull.Val[float64] `db:"shape__area" `
	ShapeLength       omitnull.Val[float64] `db:"shape__length" `
	Targetapprate     omitnull.Val[float64] `db:"targetapprate" `
	Targetproduct     omitnull.Val[string]  `db:"targetproduct" `
	Targetspecies     omitnull.Val[string]  `db:"targetspecies" `
	Zone              omitnull.Val[string]  `db:"zone" `
	Zone2             omitnull.Val[string]  `db:"zone2" `
	GeometryX         omitnull.Val[float64] `db:"geometry_x" `
	GeometryY         omitnull.Val[float64] `db:"geometry_y" `
	Updated           omit.Val[time.Time]   `db:"updated" `
}

FSProposedtreatmentareaSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSProposedtreatmentareaSetter) Apply

func (FSProposedtreatmentareaSetter) Expressions

func (s FSProposedtreatmentareaSetter) Expressions(prefix ...string) []bob.Expression

func (FSProposedtreatmentareaSetter) Overwrite

func (FSProposedtreatmentareaSetter) SetColumns

func (s FSProposedtreatmentareaSetter) SetColumns() []string

func (FSProposedtreatmentareaSetter) UpdateMod

type FSProposedtreatmentareaSlice

type FSProposedtreatmentareaSlice []*FSProposedtreatmentarea

FSProposedtreatmentareaSlice is an alias for a slice of pointers to FSProposedtreatmentarea. This should almost always be used instead of []*FSProposedtreatmentarea.

func (FSProposedtreatmentareaSlice) AfterQueryHook

func (o FSProposedtreatmentareaSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSProposedtreatmentareaSlice is retrieved from the database

func (FSProposedtreatmentareaSlice) DeleteAll

func (FSProposedtreatmentareaSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSProposedtreatmentareaSlice) LoadOrganization

func (os FSProposedtreatmentareaSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsProposedtreatmentarea's Organization into the .R struct

func (FSProposedtreatmentareaSlice) Organization

func (FSProposedtreatmentareaSlice) ReloadAll

func (FSProposedtreatmentareaSlice) UpdateAll

func (FSProposedtreatmentareaSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSProposedtreatmentareasQuery

type FSProposedtreatmentareasQuery = *psql.ViewQuery[*FSProposedtreatmentarea, FSProposedtreatmentareaSlice]

FSProposedtreatmentareasQuery is a query on the fs_proposedtreatmentarea table

type FSQamosquitoinspection

type FSQamosquitoinspection struct {
	OrganizationID           int32             `db:"organization_id" `
	Acresbreeding            null.Val[float64] `db:"acresbreeding" `
	Actiontaken              null.Val[string]  `db:"actiontaken" `
	Adultactivity            null.Val[int16]   `db:"adultactivity" `
	Aquaticorganisms         null.Val[string]  `db:"aquaticorganisms" `
	Avetemp                  null.Val[float64] `db:"avetemp" `
	Breedingpotential        null.Val[string]  `db:"breedingpotential" `
	Comments                 null.Val[string]  `db:"comments" `
	Creationdate             null.Val[int64]   `db:"creationdate" `
	Creator                  null.Val[string]  `db:"creator" `
	Enddatetime              null.Val[int64]   `db:"enddatetime" `
	Editdate                 null.Val[int64]   `db:"editdate" `
	Editor                   null.Val[string]  `db:"editor" `
	Fieldtech                null.Val[string]  `db:"fieldtech" `
	Fish                     null.Val[int16]   `db:"fish" `
	Globalid                 string            `db:"globalid" `
	Habvalue1                null.Val[int16]   `db:"habvalue1" `
	Habvalue1percent         null.Val[int16]   `db:"habvalue1percent" `
	Habvalue2                null.Val[int16]   `db:"habvalue2" `
	Habvalue2percent         null.Val[int16]   `db:"habvalue2percent" `
	Larvaeinsidetreatedarea  null.Val[int16]   `db:"larvaeinsidetreatedarea" `
	Larvaeoutsidetreatedarea null.Val[int16]   `db:"larvaeoutsidetreatedarea" `
	Larvaepresent            null.Val[int16]   `db:"larvaepresent" `
	Larvaereason             null.Val[string]  `db:"larvaereason" `
	Linelocid                null.Val[string]  `db:"linelocid" `
	Locationname             null.Val[string]  `db:"locationname" `
	LR                       null.Val[int16]   `db:"lr" `
	Mosquitohabitat          null.Val[string]  `db:"mosquitohabitat" `
	Movingwater              null.Val[int16]   `db:"movingwater" `
	Negdips                  null.Val[int16]   `db:"negdips" `
	Nowaterever              null.Val[int16]   `db:"nowaterever" `
	Objectid                 int32             `db:"objectid,pk" `
	Pointlocid               null.Val[string]  `db:"pointlocid" `
	Polygonlocid             null.Val[string]  `db:"polygonlocid" `
	Posdips                  null.Val[int16]   `db:"posdips" `
	Potential                null.Val[int16]   `db:"potential" `
	Raingauge                null.Val[float64] `db:"raingauge" `
	Recordstatus             null.Val[int16]   `db:"recordstatus" `
	Reviewed                 null.Val[int16]   `db:"reviewed" `
	Reviewedby               null.Val[string]  `db:"reviewedby" `
	Revieweddate             null.Val[int64]   `db:"revieweddate" `
	Sitetype                 null.Val[string]  `db:"sitetype" `
	Soilconditions           null.Val[string]  `db:"soilconditions" `
	Sourcereduction          null.Val[string]  `db:"sourcereduction" `
	Startdatetime            null.Val[int64]   `db:"startdatetime" `
	Totalacres               null.Val[float64] `db:"totalacres" `
	Vegetation               null.Val[string]  `db:"vegetation" `
	Waterconditions          null.Val[string]  `db:"waterconditions" `
	Waterduration            null.Val[string]  `db:"waterduration" `
	Watermovement1           null.Val[string]  `db:"watermovement1" `
	Watermovement1percent    null.Val[int16]   `db:"watermovement1percent" `
	Watermovement2           null.Val[string]  `db:"watermovement2" `
	Watermovement2percent    null.Val[int16]   `db:"watermovement2percent" `
	Waterpresent             null.Val[int16]   `db:"waterpresent" `
	Watersource              null.Val[string]  `db:"watersource" `
	Winddir                  null.Val[string]  `db:"winddir" `
	Windspeed                null.Val[float64] `db:"windspeed" `
	Zone                     null.Val[string]  `db:"zone" `
	Zone2                    null.Val[string]  `db:"zone2" `
	CreatedDate              null.Val[int64]   `db:"created_date" `
	CreatedUser              null.Val[string]  `db:"created_user" `
	GeometryX                null.Val[float64] `db:"geometry_x" `
	GeometryY                null.Val[float64] `db:"geometry_y" `
	LastEditedDate           null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser           null.Val[string]  `db:"last_edited_user" `
	Updated                  time.Time         `db:"updated" `

	R fsQamosquitoinspectionR `db:"-" `
}

FSQamosquitoinspection is an object representing the database table.

func FindFSQamosquitoinspection

func FindFSQamosquitoinspection(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSQamosquitoinspection, error)

FindFSQamosquitoinspection retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSQamosquitoinspection) AfterQueryHook

func (o *FSQamosquitoinspection) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSQamosquitoinspection is retrieved from the database

func (*FSQamosquitoinspection) AttachOrganization

func (fsQamosquitoinspection0 *FSQamosquitoinspection) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSQamosquitoinspection) Delete

func (o *FSQamosquitoinspection) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSQamosquitoinspection record with an executor

func (*FSQamosquitoinspection) InsertOrganization

func (fsQamosquitoinspection0 *FSQamosquitoinspection) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSQamosquitoinspection) LoadOrganization

func (o *FSQamosquitoinspection) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsQamosquitoinspection's Organization into the .R struct

func (*FSQamosquitoinspection) Organization

Organization starts a query for related objects on organization

func (*FSQamosquitoinspection) Preload

func (o *FSQamosquitoinspection) Preload(name string, retrieved any) error

func (*FSQamosquitoinspection) Reload

func (o *FSQamosquitoinspection) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSQamosquitoinspection using the executor

func (*FSQamosquitoinspection) Update

Update uses an executor to update the FSQamosquitoinspection

type FSQamosquitoinspectionSetter

type FSQamosquitoinspectionSetter struct {
	OrganizationID           omit.Val[int32]       `db:"organization_id" `
	Acresbreeding            omitnull.Val[float64] `db:"acresbreeding" `
	Actiontaken              omitnull.Val[string]  `db:"actiontaken" `
	Adultactivity            omitnull.Val[int16]   `db:"adultactivity" `
	Aquaticorganisms         omitnull.Val[string]  `db:"aquaticorganisms" `
	Avetemp                  omitnull.Val[float64] `db:"avetemp" `
	Breedingpotential        omitnull.Val[string]  `db:"breedingpotential" `
	Comments                 omitnull.Val[string]  `db:"comments" `
	Creationdate             omitnull.Val[int64]   `db:"creationdate" `
	Creator                  omitnull.Val[string]  `db:"creator" `
	Enddatetime              omitnull.Val[int64]   `db:"enddatetime" `
	Editdate                 omitnull.Val[int64]   `db:"editdate" `
	Editor                   omitnull.Val[string]  `db:"editor" `
	Fieldtech                omitnull.Val[string]  `db:"fieldtech" `
	Fish                     omitnull.Val[int16]   `db:"fish" `
	Globalid                 omit.Val[string]      `db:"globalid" `
	Habvalue1                omitnull.Val[int16]   `db:"habvalue1" `
	Habvalue1percent         omitnull.Val[int16]   `db:"habvalue1percent" `
	Habvalue2                omitnull.Val[int16]   `db:"habvalue2" `
	Habvalue2percent         omitnull.Val[int16]   `db:"habvalue2percent" `
	Larvaeinsidetreatedarea  omitnull.Val[int16]   `db:"larvaeinsidetreatedarea" `
	Larvaeoutsidetreatedarea omitnull.Val[int16]   `db:"larvaeoutsidetreatedarea" `
	Larvaepresent            omitnull.Val[int16]   `db:"larvaepresent" `
	Larvaereason             omitnull.Val[string]  `db:"larvaereason" `
	Linelocid                omitnull.Val[string]  `db:"linelocid" `
	Locationname             omitnull.Val[string]  `db:"locationname" `
	LR                       omitnull.Val[int16]   `db:"lr" `
	Mosquitohabitat          omitnull.Val[string]  `db:"mosquitohabitat" `
	Movingwater              omitnull.Val[int16]   `db:"movingwater" `
	Negdips                  omitnull.Val[int16]   `db:"negdips" `
	Nowaterever              omitnull.Val[int16]   `db:"nowaterever" `
	Objectid                 omit.Val[int32]       `db:"objectid,pk" `
	Pointlocid               omitnull.Val[string]  `db:"pointlocid" `
	Polygonlocid             omitnull.Val[string]  `db:"polygonlocid" `
	Posdips                  omitnull.Val[int16]   `db:"posdips" `
	Potential                omitnull.Val[int16]   `db:"potential" `
	Raingauge                omitnull.Val[float64] `db:"raingauge" `
	Recordstatus             omitnull.Val[int16]   `db:"recordstatus" `
	Reviewed                 omitnull.Val[int16]   `db:"reviewed" `
	Reviewedby               omitnull.Val[string]  `db:"reviewedby" `
	Revieweddate             omitnull.Val[int64]   `db:"revieweddate" `
	Sitetype                 omitnull.Val[string]  `db:"sitetype" `
	Soilconditions           omitnull.Val[string]  `db:"soilconditions" `
	Sourcereduction          omitnull.Val[string]  `db:"sourcereduction" `
	Startdatetime            omitnull.Val[int64]   `db:"startdatetime" `
	Totalacres               omitnull.Val[float64] `db:"totalacres" `
	Vegetation               omitnull.Val[string]  `db:"vegetation" `
	Waterconditions          omitnull.Val[string]  `db:"waterconditions" `
	Waterduration            omitnull.Val[string]  `db:"waterduration" `
	Watermovement1           omitnull.Val[string]  `db:"watermovement1" `
	Watermovement1percent    omitnull.Val[int16]   `db:"watermovement1percent" `
	Watermovement2           omitnull.Val[string]  `db:"watermovement2" `
	Watermovement2percent    omitnull.Val[int16]   `db:"watermovement2percent" `
	Waterpresent             omitnull.Val[int16]   `db:"waterpresent" `
	Watersource              omitnull.Val[string]  `db:"watersource" `
	Winddir                  omitnull.Val[string]  `db:"winddir" `
	Windspeed                omitnull.Val[float64] `db:"windspeed" `
	Zone                     omitnull.Val[string]  `db:"zone" `
	Zone2                    omitnull.Val[string]  `db:"zone2" `
	CreatedDate              omitnull.Val[int64]   `db:"created_date" `
	CreatedUser              omitnull.Val[string]  `db:"created_user" `
	GeometryX                omitnull.Val[float64] `db:"geometry_x" `
	GeometryY                omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate           omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser           omitnull.Val[string]  `db:"last_edited_user" `
	Updated                  omit.Val[time.Time]   `db:"updated" `
}

FSQamosquitoinspectionSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSQamosquitoinspectionSetter) Apply

func (FSQamosquitoinspectionSetter) Expressions

func (s FSQamosquitoinspectionSetter) Expressions(prefix ...string) []bob.Expression

func (FSQamosquitoinspectionSetter) Overwrite

func (FSQamosquitoinspectionSetter) SetColumns

func (s FSQamosquitoinspectionSetter) SetColumns() []string

func (FSQamosquitoinspectionSetter) UpdateMod

type FSQamosquitoinspectionSlice

type FSQamosquitoinspectionSlice []*FSQamosquitoinspection

FSQamosquitoinspectionSlice is an alias for a slice of pointers to FSQamosquitoinspection. This should almost always be used instead of []*FSQamosquitoinspection.

func (FSQamosquitoinspectionSlice) AfterQueryHook

func (o FSQamosquitoinspectionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSQamosquitoinspectionSlice is retrieved from the database

func (FSQamosquitoinspectionSlice) DeleteAll

func (FSQamosquitoinspectionSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSQamosquitoinspectionSlice) LoadOrganization

func (os FSQamosquitoinspectionSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsQamosquitoinspection's Organization into the .R struct

func (FSQamosquitoinspectionSlice) Organization

func (FSQamosquitoinspectionSlice) ReloadAll

func (FSQamosquitoinspectionSlice) UpdateAll

func (FSQamosquitoinspectionSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSQamosquitoinspectionsQuery

type FSQamosquitoinspectionsQuery = *psql.ViewQuery[*FSQamosquitoinspection, FSQamosquitoinspectionSlice]

FSQamosquitoinspectionsQuery is a query on the fs_qamosquitoinspection table

type FSRodentlocation

type FSRodentlocation struct {
	OrganizationID            int32             `db:"organization_id" `
	Accessdesc                null.Val[string]  `db:"accessdesc" `
	Active                    null.Val[int16]   `db:"active" `
	Comments                  null.Val[string]  `db:"comments" `
	Creationdate              null.Val[int64]   `db:"creationdate" `
	Creator                   null.Val[string]  `db:"creator" `
	Description               null.Val[string]  `db:"description" `
	Externalid                null.Val[string]  `db:"externalid" `
	Editdate                  null.Val[int64]   `db:"editdate" `
	Editor                    null.Val[string]  `db:"editor" `
	Globalid                  string            `db:"globalid" `
	Habitat                   null.Val[string]  `db:"habitat" `
	Lastinspectaction         null.Val[string]  `db:"lastinspectaction" `
	Lastinspectconditions     null.Val[string]  `db:"lastinspectconditions" `
	Lastinspectdate           null.Val[int64]   `db:"lastinspectdate" `
	Lastinspectrodentevidence null.Val[string]  `db:"lastinspectrodentevidence" `
	Lastinspectspecies        null.Val[string]  `db:"lastinspectspecies" `
	Locationname              null.Val[string]  `db:"locationname" `
	Locationnumber            null.Val[int64]   `db:"locationnumber" `
	Nextactiondatescheduled   null.Val[int64]   `db:"nextactiondatescheduled" `
	Objectid                  int32             `db:"objectid,pk" `
	Priority                  null.Val[string]  `db:"priority" `
	Symbology                 null.Val[string]  `db:"symbology" `
	Usetype                   null.Val[string]  `db:"usetype" `
	Zone                      null.Val[string]  `db:"zone" `
	Zone2                     null.Val[string]  `db:"zone2" `
	CreatedDate               null.Val[int64]   `db:"created_date" `
	CreatedUser               null.Val[string]  `db:"created_user" `
	GeometryX                 null.Val[float64] `db:"geometry_x" `
	GeometryY                 null.Val[float64] `db:"geometry_y" `
	LastEditedDate            null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser            null.Val[string]  `db:"last_edited_user" `
	Jurisdiction              null.Val[string]  `db:"jurisdiction" `
	Updated                   time.Time         `db:"updated" `

	R fsRodentlocationR `db:"-" `
}

FSRodentlocation is an object representing the database table.

func FindFSRodentlocation

func FindFSRodentlocation(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSRodentlocation, error)

FindFSRodentlocation retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSRodentlocation) AfterQueryHook

func (o *FSRodentlocation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSRodentlocation is retrieved from the database

func (*FSRodentlocation) AttachOrganization

func (fsRodentlocation0 *FSRodentlocation) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSRodentlocation) Delete

func (o *FSRodentlocation) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSRodentlocation record with an executor

func (*FSRodentlocation) InsertOrganization

func (fsRodentlocation0 *FSRodentlocation) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSRodentlocation) LoadOrganization

func (o *FSRodentlocation) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsRodentlocation's Organization into the .R struct

func (*FSRodentlocation) Organization

func (o *FSRodentlocation) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSRodentlocation) Preload

func (o *FSRodentlocation) Preload(name string, retrieved any) error

func (*FSRodentlocation) Reload

func (o *FSRodentlocation) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSRodentlocation using the executor

func (*FSRodentlocation) Update

Update uses an executor to update the FSRodentlocation

type FSRodentlocationSetter

type FSRodentlocationSetter struct {
	OrganizationID            omit.Val[int32]       `db:"organization_id" `
	Accessdesc                omitnull.Val[string]  `db:"accessdesc" `
	Active                    omitnull.Val[int16]   `db:"active" `
	Comments                  omitnull.Val[string]  `db:"comments" `
	Creationdate              omitnull.Val[int64]   `db:"creationdate" `
	Creator                   omitnull.Val[string]  `db:"creator" `
	Description               omitnull.Val[string]  `db:"description" `
	Externalid                omitnull.Val[string]  `db:"externalid" `
	Editdate                  omitnull.Val[int64]   `db:"editdate" `
	Editor                    omitnull.Val[string]  `db:"editor" `
	Globalid                  omit.Val[string]      `db:"globalid" `
	Habitat                   omitnull.Val[string]  `db:"habitat" `
	Lastinspectaction         omitnull.Val[string]  `db:"lastinspectaction" `
	Lastinspectconditions     omitnull.Val[string]  `db:"lastinspectconditions" `
	Lastinspectdate           omitnull.Val[int64]   `db:"lastinspectdate" `
	Lastinspectrodentevidence omitnull.Val[string]  `db:"lastinspectrodentevidence" `
	Lastinspectspecies        omitnull.Val[string]  `db:"lastinspectspecies" `
	Locationname              omitnull.Val[string]  `db:"locationname" `
	Locationnumber            omitnull.Val[int64]   `db:"locationnumber" `
	Nextactiondatescheduled   omitnull.Val[int64]   `db:"nextactiondatescheduled" `
	Objectid                  omit.Val[int32]       `db:"objectid,pk" `
	Priority                  omitnull.Val[string]  `db:"priority" `
	Symbology                 omitnull.Val[string]  `db:"symbology" `
	Usetype                   omitnull.Val[string]  `db:"usetype" `
	Zone                      omitnull.Val[string]  `db:"zone" `
	Zone2                     omitnull.Val[string]  `db:"zone2" `
	CreatedDate               omitnull.Val[int64]   `db:"created_date" `
	CreatedUser               omitnull.Val[string]  `db:"created_user" `
	GeometryX                 omitnull.Val[float64] `db:"geometry_x" `
	GeometryY                 omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate            omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser            omitnull.Val[string]  `db:"last_edited_user" `
	Jurisdiction              omitnull.Val[string]  `db:"jurisdiction" `
	Updated                   omit.Val[time.Time]   `db:"updated" `
}

FSRodentlocationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSRodentlocationSetter) Apply

func (FSRodentlocationSetter) Expressions

func (s FSRodentlocationSetter) Expressions(prefix ...string) []bob.Expression

func (FSRodentlocationSetter) Overwrite

func (s FSRodentlocationSetter) Overwrite(t *FSRodentlocation)

func (FSRodentlocationSetter) SetColumns

func (s FSRodentlocationSetter) SetColumns() []string

func (FSRodentlocationSetter) UpdateMod

type FSRodentlocationSlice

type FSRodentlocationSlice []*FSRodentlocation

FSRodentlocationSlice is an alias for a slice of pointers to FSRodentlocation. This should almost always be used instead of []*FSRodentlocation.

func (FSRodentlocationSlice) AfterQueryHook

func (o FSRodentlocationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSRodentlocationSlice is retrieved from the database

func (FSRodentlocationSlice) DeleteAll

func (o FSRodentlocationSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSRodentlocationSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSRodentlocationSlice) LoadOrganization

func (os FSRodentlocationSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsRodentlocation's Organization into the .R struct

func (FSRodentlocationSlice) Organization

func (FSRodentlocationSlice) ReloadAll

func (o FSRodentlocationSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSRodentlocationSlice) UpdateAll

func (FSRodentlocationSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSRodentlocationsQuery

type FSRodentlocationsQuery = *psql.ViewQuery[*FSRodentlocation, FSRodentlocationSlice]

FSRodentlocationsQuery is a query on the fs_rodentlocation table

type FSSamplecollection

type FSSamplecollection struct {
	OrganizationID int32             `db:"organization_id" `
	Activity       null.Val[string]  `db:"activity" `
	Avetemp        null.Val[float64] `db:"avetemp" `
	Chickenid      null.Val[string]  `db:"chickenid" `
	Comments       null.Val[string]  `db:"comments" `
	Creationdate   null.Val[int64]   `db:"creationdate" `
	Creator        null.Val[string]  `db:"creator" `
	Datesent       null.Val[int64]   `db:"datesent" `
	Datetested     null.Val[int64]   `db:"datetested" `
	Diseasepos     null.Val[string]  `db:"diseasepos" `
	Diseasetested  null.Val[string]  `db:"diseasetested" `
	Enddatetime    null.Val[int64]   `db:"enddatetime" `
	Editdate       null.Val[int64]   `db:"editdate" `
	Editor         null.Val[string]  `db:"editor" `
	Fieldtech      null.Val[string]  `db:"fieldtech" `
	Flockid        null.Val[string]  `db:"flockid" `
	Gatewaysync    null.Val[int16]   `db:"gatewaysync" `
	Globalid       string            `db:"globalid" `
	Lab            null.Val[string]  `db:"lab" `
	Locationname   null.Val[string]  `db:"locationname" `
	LocID          null.Val[string]  `db:"loc_id" `
	Objectid       int32             `db:"objectid,pk" `
	Processed      null.Val[int16]   `db:"processed" `
	Raingauge      null.Val[float64] `db:"raingauge" `
	Recordstatus   null.Val[int16]   `db:"recordstatus" `
	Reviewed       null.Val[int16]   `db:"reviewed" `
	Reviewedby     null.Val[string]  `db:"reviewedby" `
	Revieweddate   null.Val[int64]   `db:"revieweddate" `
	Samplecond     null.Val[string]  `db:"samplecond" `
	Samplecount    null.Val[int16]   `db:"samplecount" `
	Sampleid       null.Val[string]  `db:"sampleid" `
	Sampletype     null.Val[string]  `db:"sampletype" `
	Sex            null.Val[string]  `db:"sex" `
	Sitecond       null.Val[string]  `db:"sitecond" `
	Species        null.Val[string]  `db:"species" `
	Startdatetime  null.Val[int64]   `db:"startdatetime" `
	Survtech       null.Val[string]  `db:"survtech" `
	Testmethod     null.Val[string]  `db:"testmethod" `
	Testtech       null.Val[string]  `db:"testtech" `
	Winddir        null.Val[string]  `db:"winddir" `
	Windspeed      null.Val[float64] `db:"windspeed" `
	Zone           null.Val[string]  `db:"zone" `
	Zone2          null.Val[string]  `db:"zone2" `
	CreatedDate    null.Val[int64]   `db:"created_date" `
	CreatedUser    null.Val[string]  `db:"created_user" `
	GeometryX      null.Val[float64] `db:"geometry_x" `
	GeometryY      null.Val[float64] `db:"geometry_y" `
	LastEditedDate null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser null.Val[string]  `db:"last_edited_user" `
	Updated        time.Time         `db:"updated" `

	R fsSamplecollectionR `db:"-" `
}

FSSamplecollection is an object representing the database table.

func FindFSSamplecollection

func FindFSSamplecollection(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSSamplecollection, error)

FindFSSamplecollection retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSSamplecollection) AfterQueryHook

func (o *FSSamplecollection) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSSamplecollection is retrieved from the database

func (*FSSamplecollection) AttachOrganization

func (fsSamplecollection0 *FSSamplecollection) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSSamplecollection) Delete

func (o *FSSamplecollection) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSSamplecollection record with an executor

func (*FSSamplecollection) InsertOrganization

func (fsSamplecollection0 *FSSamplecollection) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSSamplecollection) LoadOrganization

func (o *FSSamplecollection) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsSamplecollection's Organization into the .R struct

func (*FSSamplecollection) Organization

func (o *FSSamplecollection) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSSamplecollection) Preload

func (o *FSSamplecollection) Preload(name string, retrieved any) error

func (*FSSamplecollection) Reload

func (o *FSSamplecollection) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSSamplecollection using the executor

func (*FSSamplecollection) Update

Update uses an executor to update the FSSamplecollection

type FSSamplecollectionSetter

type FSSamplecollectionSetter struct {
	OrganizationID omit.Val[int32]       `db:"organization_id" `
	Activity       omitnull.Val[string]  `db:"activity" `
	Avetemp        omitnull.Val[float64] `db:"avetemp" `
	Chickenid      omitnull.Val[string]  `db:"chickenid" `
	Comments       omitnull.Val[string]  `db:"comments" `
	Creationdate   omitnull.Val[int64]   `db:"creationdate" `
	Creator        omitnull.Val[string]  `db:"creator" `
	Datesent       omitnull.Val[int64]   `db:"datesent" `
	Datetested     omitnull.Val[int64]   `db:"datetested" `
	Diseasepos     omitnull.Val[string]  `db:"diseasepos" `
	Diseasetested  omitnull.Val[string]  `db:"diseasetested" `
	Enddatetime    omitnull.Val[int64]   `db:"enddatetime" `
	Editdate       omitnull.Val[int64]   `db:"editdate" `
	Editor         omitnull.Val[string]  `db:"editor" `
	Fieldtech      omitnull.Val[string]  `db:"fieldtech" `
	Flockid        omitnull.Val[string]  `db:"flockid" `
	Gatewaysync    omitnull.Val[int16]   `db:"gatewaysync" `
	Globalid       omit.Val[string]      `db:"globalid" `
	Lab            omitnull.Val[string]  `db:"lab" `
	Locationname   omitnull.Val[string]  `db:"locationname" `
	LocID          omitnull.Val[string]  `db:"loc_id" `
	Objectid       omit.Val[int32]       `db:"objectid,pk" `
	Processed      omitnull.Val[int16]   `db:"processed" `
	Raingauge      omitnull.Val[float64] `db:"raingauge" `
	Recordstatus   omitnull.Val[int16]   `db:"recordstatus" `
	Reviewed       omitnull.Val[int16]   `db:"reviewed" `
	Reviewedby     omitnull.Val[string]  `db:"reviewedby" `
	Revieweddate   omitnull.Val[int64]   `db:"revieweddate" `
	Samplecond     omitnull.Val[string]  `db:"samplecond" `
	Samplecount    omitnull.Val[int16]   `db:"samplecount" `
	Sampleid       omitnull.Val[string]  `db:"sampleid" `
	Sampletype     omitnull.Val[string]  `db:"sampletype" `
	Sex            omitnull.Val[string]  `db:"sex" `
	Sitecond       omitnull.Val[string]  `db:"sitecond" `
	Species        omitnull.Val[string]  `db:"species" `
	Startdatetime  omitnull.Val[int64]   `db:"startdatetime" `
	Survtech       omitnull.Val[string]  `db:"survtech" `
	Testmethod     omitnull.Val[string]  `db:"testmethod" `
	Testtech       omitnull.Val[string]  `db:"testtech" `
	Winddir        omitnull.Val[string]  `db:"winddir" `
	Windspeed      omitnull.Val[float64] `db:"windspeed" `
	Zone           omitnull.Val[string]  `db:"zone" `
	Zone2          omitnull.Val[string]  `db:"zone2" `
	CreatedDate    omitnull.Val[int64]   `db:"created_date" `
	CreatedUser    omitnull.Val[string]  `db:"created_user" `
	GeometryX      omitnull.Val[float64] `db:"geometry_x" `
	GeometryY      omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]  `db:"last_edited_user" `
	Updated        omit.Val[time.Time]   `db:"updated" `
}

FSSamplecollectionSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSSamplecollectionSetter) Apply

func (FSSamplecollectionSetter) Expressions

func (s FSSamplecollectionSetter) Expressions(prefix ...string) []bob.Expression

func (FSSamplecollectionSetter) Overwrite

func (FSSamplecollectionSetter) SetColumns

func (s FSSamplecollectionSetter) SetColumns() []string

func (FSSamplecollectionSetter) UpdateMod

type FSSamplecollectionSlice

type FSSamplecollectionSlice []*FSSamplecollection

FSSamplecollectionSlice is an alias for a slice of pointers to FSSamplecollection. This should almost always be used instead of []*FSSamplecollection.

func (FSSamplecollectionSlice) AfterQueryHook

func (o FSSamplecollectionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSSamplecollectionSlice is retrieved from the database

func (FSSamplecollectionSlice) DeleteAll

func (o FSSamplecollectionSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSSamplecollectionSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSSamplecollectionSlice) LoadOrganization

func (os FSSamplecollectionSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsSamplecollection's Organization into the .R struct

func (FSSamplecollectionSlice) Organization

func (FSSamplecollectionSlice) ReloadAll

func (o FSSamplecollectionSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSSamplecollectionSlice) UpdateAll

func (FSSamplecollectionSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSSamplecollectionsQuery

type FSSamplecollectionsQuery = *psql.ViewQuery[*FSSamplecollection, FSSamplecollectionSlice]

FSSamplecollectionsQuery is a query on the fs_samplecollection table

type FSSamplelocation

type FSSamplelocation struct {
	OrganizationID          int32             `db:"organization_id" `
	Accessdesc              null.Val[string]  `db:"accessdesc" `
	Active                  null.Val[int16]   `db:"active" `
	Comments                null.Val[string]  `db:"comments" `
	Creationdate            null.Val[int64]   `db:"creationdate" `
	Creator                 null.Val[string]  `db:"creator" `
	Description             null.Val[string]  `db:"description" `
	Externalid              null.Val[string]  `db:"externalid" `
	Editdate                null.Val[int64]   `db:"editdate" `
	Editor                  null.Val[string]  `db:"editor" `
	Gatewaysync             null.Val[int16]   `db:"gatewaysync" `
	Globalid                string            `db:"globalid" `
	Habitat                 null.Val[string]  `db:"habitat" `
	Locationnumber          null.Val[int64]   `db:"locationnumber" `
	Name                    null.Val[string]  `db:"name" `
	Nextactiondatescheduled null.Val[int64]   `db:"nextactiondatescheduled" `
	Objectid                int32             `db:"objectid,pk" `
	Priority                null.Val[string]  `db:"priority" `
	Usetype                 null.Val[string]  `db:"usetype" `
	Zone                    null.Val[string]  `db:"zone" `
	Zone2                   null.Val[string]  `db:"zone2" `
	CreatedDate             null.Val[int64]   `db:"created_date" `
	CreatedUser             null.Val[string]  `db:"created_user" `
	GeometryX               null.Val[float64] `db:"geometry_x" `
	GeometryY               null.Val[float64] `db:"geometry_y" `
	LastEditedDate          null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser          null.Val[string]  `db:"last_edited_user" `
	Updated                 time.Time         `db:"updated" `

	R fsSamplelocationR `db:"-" `
}

FSSamplelocation is an object representing the database table.

func FindFSSamplelocation

func FindFSSamplelocation(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSSamplelocation, error)

FindFSSamplelocation retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSSamplelocation) AfterQueryHook

func (o *FSSamplelocation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSSamplelocation is retrieved from the database

func (*FSSamplelocation) AttachOrganization

func (fsSamplelocation0 *FSSamplelocation) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSSamplelocation) Delete

func (o *FSSamplelocation) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSSamplelocation record with an executor

func (*FSSamplelocation) InsertOrganization

func (fsSamplelocation0 *FSSamplelocation) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSSamplelocation) LoadOrganization

func (o *FSSamplelocation) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsSamplelocation's Organization into the .R struct

func (*FSSamplelocation) Organization

func (o *FSSamplelocation) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSSamplelocation) Preload

func (o *FSSamplelocation) Preload(name string, retrieved any) error

func (*FSSamplelocation) Reload

func (o *FSSamplelocation) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSSamplelocation using the executor

func (*FSSamplelocation) Update

Update uses an executor to update the FSSamplelocation

type FSSamplelocationSetter

type FSSamplelocationSetter struct {
	OrganizationID          omit.Val[int32]       `db:"organization_id" `
	Accessdesc              omitnull.Val[string]  `db:"accessdesc" `
	Active                  omitnull.Val[int16]   `db:"active" `
	Comments                omitnull.Val[string]  `db:"comments" `
	Creationdate            omitnull.Val[int64]   `db:"creationdate" `
	Creator                 omitnull.Val[string]  `db:"creator" `
	Description             omitnull.Val[string]  `db:"description" `
	Externalid              omitnull.Val[string]  `db:"externalid" `
	Editdate                omitnull.Val[int64]   `db:"editdate" `
	Editor                  omitnull.Val[string]  `db:"editor" `
	Gatewaysync             omitnull.Val[int16]   `db:"gatewaysync" `
	Globalid                omit.Val[string]      `db:"globalid" `
	Habitat                 omitnull.Val[string]  `db:"habitat" `
	Locationnumber          omitnull.Val[int64]   `db:"locationnumber" `
	Name                    omitnull.Val[string]  `db:"name" `
	Nextactiondatescheduled omitnull.Val[int64]   `db:"nextactiondatescheduled" `
	Objectid                omit.Val[int32]       `db:"objectid,pk" `
	Priority                omitnull.Val[string]  `db:"priority" `
	Usetype                 omitnull.Val[string]  `db:"usetype" `
	Zone                    omitnull.Val[string]  `db:"zone" `
	Zone2                   omitnull.Val[string]  `db:"zone2" `
	CreatedDate             omitnull.Val[int64]   `db:"created_date" `
	CreatedUser             omitnull.Val[string]  `db:"created_user" `
	GeometryX               omitnull.Val[float64] `db:"geometry_x" `
	GeometryY               omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate          omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser          omitnull.Val[string]  `db:"last_edited_user" `
	Updated                 omit.Val[time.Time]   `db:"updated" `
}

FSSamplelocationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSSamplelocationSetter) Apply

func (FSSamplelocationSetter) Expressions

func (s FSSamplelocationSetter) Expressions(prefix ...string) []bob.Expression

func (FSSamplelocationSetter) Overwrite

func (s FSSamplelocationSetter) Overwrite(t *FSSamplelocation)

func (FSSamplelocationSetter) SetColumns

func (s FSSamplelocationSetter) SetColumns() []string

func (FSSamplelocationSetter) UpdateMod

type FSSamplelocationSlice

type FSSamplelocationSlice []*FSSamplelocation

FSSamplelocationSlice is an alias for a slice of pointers to FSSamplelocation. This should almost always be used instead of []*FSSamplelocation.

func (FSSamplelocationSlice) AfterQueryHook

func (o FSSamplelocationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSSamplelocationSlice is retrieved from the database

func (FSSamplelocationSlice) DeleteAll

func (o FSSamplelocationSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSSamplelocationSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSSamplelocationSlice) LoadOrganization

func (os FSSamplelocationSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsSamplelocation's Organization into the .R struct

func (FSSamplelocationSlice) Organization

func (FSSamplelocationSlice) ReloadAll

func (o FSSamplelocationSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSSamplelocationSlice) UpdateAll

func (FSSamplelocationSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSSamplelocationsQuery

type FSSamplelocationsQuery = *psql.ViewQuery[*FSSamplelocation, FSSamplelocationSlice]

FSSamplelocationsQuery is a query on the fs_samplelocation table

type FSServicerequest

type FSServicerequest struct {
	OrganizationID        int32            `db:"organization_id" `
	Accepted              null.Val[int16]  `db:"accepted" `
	Acceptedby            null.Val[string] `db:"acceptedby" `
	Accepteddate          null.Val[int64]  `db:"accepteddate" `
	Allowed               null.Val[string] `db:"allowed" `
	Assignedtech          null.Val[string] `db:"assignedtech" `
	Clraddr1              null.Val[string] `db:"clraddr1" `
	Clraddr2              null.Val[string] `db:"clraddr2" `
	Clranon               null.Val[int16]  `db:"clranon" `
	Clrcity               null.Val[string] `db:"clrcity" `
	Clrcompany            null.Val[string] `db:"clrcompany" `
	Clrcontpref           null.Val[string] `db:"clrcontpref" `
	Clremail              null.Val[string] `db:"clremail" `
	Clrfname              null.Val[string] `db:"clrfname" `
	Clrother              null.Val[string] `db:"clrother" `
	Clrphone1             null.Val[string] `db:"clrphone1" `
	Clrphone2             null.Val[string] `db:"clrphone2" `
	Clrstate              null.Val[string] `db:"clrstate" `
	Clrzip                null.Val[string] `db:"clrzip" `
	Comments              null.Val[string] `db:"comments" `
	Creationdate          null.Val[int64]  `db:"creationdate" `
	Creator               null.Val[string] `db:"creator" `
	Datetimeclosed        null.Val[int64]  `db:"datetimeclosed" `
	Duedate               null.Val[int64]  `db:"duedate" `
	Entrytech             null.Val[string] `db:"entrytech" `
	Estcompletedate       null.Val[int64]  `db:"estcompletedate" `
	Externalerror         null.Val[string] `db:"externalerror" `
	Externalid            null.Val[string] `db:"externalid" `
	Editdate              null.Val[int64]  `db:"editdate" `
	Editor                null.Val[string] `db:"editor" `
	Firstresponsedate     null.Val[int64]  `db:"firstresponsedate" `
	Globalid              string           `db:"globalid" `
	Issuesreported        null.Val[string] `db:"issuesreported" `
	Jurisdiction          null.Val[string] `db:"jurisdiction" `
	Nextaction            null.Val[string] `db:"nextaction" `
	Notificationtimestamp null.Val[string] `db:"notificationtimestamp" `
	Notified              null.Val[int16]  `db:"notified" `
	Notifieddate          null.Val[int64]  `db:"notifieddate" `
	Objectid              int32            `db:"objectid,pk" `
	Pointlocid            null.Val[string] `db:"pointlocid" `
	Priority              null.Val[string] `db:"priority" `
	Recdatetime           null.Val[int64]  `db:"recdatetime" `
	Recordstatus          null.Val[int16]  `db:"recordstatus" `
	Rejectedby            null.Val[string] `db:"rejectedby" `
	Rejecteddate          null.Val[int64]  `db:"rejecteddate" `
	Rejectedreason        null.Val[string] `db:"rejectedreason" `
	Reqaddr1              null.Val[string] `db:"reqaddr1" `
	Reqaddr2              null.Val[string] `db:"reqaddr2" `
	Reqcity               null.Val[string] `db:"reqcity" `
	Reqcompany            null.Val[string] `db:"reqcompany" `
	Reqcrossst            null.Val[string] `db:"reqcrossst" `
	Reqdescr              null.Val[string] `db:"reqdescr" `
	Reqfldnotes           null.Val[string] `db:"reqfldnotes" `
	Reqmapgrid            null.Val[string] `db:"reqmapgrid" `
	Reqnotesforcust       null.Val[string] `db:"reqnotesforcust" `
	Reqnotesfortech       null.Val[string] `db:"reqnotesfortech" `
	Reqpermission         null.Val[int16]  `db:"reqpermission" `
	Reqprogramactions     null.Val[string] `db:"reqprogramactions" `
	Reqstate              null.Val[string] `db:"reqstate" `
	Reqsubdiv             null.Val[string] `db:"reqsubdiv" `
	Reqtarget             null.Val[string] `db:"reqtarget" `
	Reqzip                null.Val[string] `db:"reqzip" `
	Responsedaycount      null.Val[int16]  `db:"responsedaycount" `
	Reviewed              null.Val[int16]  `db:"reviewed" `
	Reviewedby            null.Val[string] `db:"reviewedby" `
	Revieweddate          null.Val[int64]  `db:"revieweddate" `
	Scheduled             null.Val[int16]  `db:"scheduled" `
	Scheduleddate         null.Val[int64]  `db:"scheduleddate" `
	Source                null.Val[string] `db:"source" `
	SRNumber              null.Val[int64]  `db:"sr_number" `
	Status                null.Val[string] `db:"status" `
	Supervisor            null.Val[string] `db:"supervisor" `
	Techclosed            null.Val[string] `db:"techclosed" `
	Validx                null.Val[string] `db:"validx" `
	Validy                null.Val[string] `db:"validy" `
	Xvalue                null.Val[string] `db:"xvalue" `
	Yvalue                null.Val[string] `db:"yvalue" `
	Zone                  null.Val[string] `db:"zone" `
	Zone2                 null.Val[string] `db:"zone2" `
	CreatedDate           null.Val[int64]  `db:"created_date" `
	CreatedUser           null.Val[string] `db:"created_user" `
	GeometryX             float64          `db:"geometry_x" `
	GeometryY             float64          `db:"geometry_y" `
	LastEditedDate        null.Val[int64]  `db:"last_edited_date" `
	LastEditedUser        null.Val[string] `db:"last_edited_user" `
	Dog                   null.Val[int64]  `db:"dog" `
	Spanish               null.Val[int64]  `db:"spanish" `
	ScheduleNotes         null.Val[string] `db:"schedule_notes" `
	SchedulePeriod        null.Val[string] `db:"schedule_period" `
	Updated               time.Time        `db:"updated" `

	R fsServicerequestR `db:"-" `
}

FSServicerequest is an object representing the database table.

func FindFSServicerequest

func FindFSServicerequest(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSServicerequest, error)

FindFSServicerequest retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSServicerequest) AfterQueryHook

func (o *FSServicerequest) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSServicerequest is retrieved from the database

func (*FSServicerequest) AttachOrganization

func (fsServicerequest0 *FSServicerequest) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSServicerequest) Delete

func (o *FSServicerequest) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSServicerequest record with an executor

func (*FSServicerequest) InsertOrganization

func (fsServicerequest0 *FSServicerequest) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSServicerequest) LoadOrganization

func (o *FSServicerequest) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsServicerequest's Organization into the .R struct

func (*FSServicerequest) Organization

func (o *FSServicerequest) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSServicerequest) Preload

func (o *FSServicerequest) Preload(name string, retrieved any) error

func (*FSServicerequest) Reload

func (o *FSServicerequest) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSServicerequest using the executor

func (*FSServicerequest) Update

Update uses an executor to update the FSServicerequest

type FSServicerequestSetter

type FSServicerequestSetter struct {
	OrganizationID        omit.Val[int32]      `db:"organization_id" `
	Accepted              omitnull.Val[int16]  `db:"accepted" `
	Acceptedby            omitnull.Val[string] `db:"acceptedby" `
	Accepteddate          omitnull.Val[int64]  `db:"accepteddate" `
	Allowed               omitnull.Val[string] `db:"allowed" `
	Assignedtech          omitnull.Val[string] `db:"assignedtech" `
	Clraddr1              omitnull.Val[string] `db:"clraddr1" `
	Clraddr2              omitnull.Val[string] `db:"clraddr2" `
	Clranon               omitnull.Val[int16]  `db:"clranon" `
	Clrcity               omitnull.Val[string] `db:"clrcity" `
	Clrcompany            omitnull.Val[string] `db:"clrcompany" `
	Clrcontpref           omitnull.Val[string] `db:"clrcontpref" `
	Clremail              omitnull.Val[string] `db:"clremail" `
	Clrfname              omitnull.Val[string] `db:"clrfname" `
	Clrother              omitnull.Val[string] `db:"clrother" `
	Clrphone1             omitnull.Val[string] `db:"clrphone1" `
	Clrphone2             omitnull.Val[string] `db:"clrphone2" `
	Clrstate              omitnull.Val[string] `db:"clrstate" `
	Clrzip                omitnull.Val[string] `db:"clrzip" `
	Comments              omitnull.Val[string] `db:"comments" `
	Creationdate          omitnull.Val[int64]  `db:"creationdate" `
	Creator               omitnull.Val[string] `db:"creator" `
	Datetimeclosed        omitnull.Val[int64]  `db:"datetimeclosed" `
	Duedate               omitnull.Val[int64]  `db:"duedate" `
	Entrytech             omitnull.Val[string] `db:"entrytech" `
	Estcompletedate       omitnull.Val[int64]  `db:"estcompletedate" `
	Externalerror         omitnull.Val[string] `db:"externalerror" `
	Externalid            omitnull.Val[string] `db:"externalid" `
	Editdate              omitnull.Val[int64]  `db:"editdate" `
	Editor                omitnull.Val[string] `db:"editor" `
	Firstresponsedate     omitnull.Val[int64]  `db:"firstresponsedate" `
	Globalid              omit.Val[string]     `db:"globalid" `
	Issuesreported        omitnull.Val[string] `db:"issuesreported" `
	Jurisdiction          omitnull.Val[string] `db:"jurisdiction" `
	Nextaction            omitnull.Val[string] `db:"nextaction" `
	Notificationtimestamp omitnull.Val[string] `db:"notificationtimestamp" `
	Notified              omitnull.Val[int16]  `db:"notified" `
	Notifieddate          omitnull.Val[int64]  `db:"notifieddate" `
	Objectid              omit.Val[int32]      `db:"objectid,pk" `
	Pointlocid            omitnull.Val[string] `db:"pointlocid" `
	Priority              omitnull.Val[string] `db:"priority" `
	Recdatetime           omitnull.Val[int64]  `db:"recdatetime" `
	Recordstatus          omitnull.Val[int16]  `db:"recordstatus" `
	Rejectedby            omitnull.Val[string] `db:"rejectedby" `
	Rejecteddate          omitnull.Val[int64]  `db:"rejecteddate" `
	Rejectedreason        omitnull.Val[string] `db:"rejectedreason" `
	Reqaddr1              omitnull.Val[string] `db:"reqaddr1" `
	Reqaddr2              omitnull.Val[string] `db:"reqaddr2" `
	Reqcity               omitnull.Val[string] `db:"reqcity" `
	Reqcompany            omitnull.Val[string] `db:"reqcompany" `
	Reqcrossst            omitnull.Val[string] `db:"reqcrossst" `
	Reqdescr              omitnull.Val[string] `db:"reqdescr" `
	Reqfldnotes           omitnull.Val[string] `db:"reqfldnotes" `
	Reqmapgrid            omitnull.Val[string] `db:"reqmapgrid" `
	Reqnotesforcust       omitnull.Val[string] `db:"reqnotesforcust" `
	Reqnotesfortech       omitnull.Val[string] `db:"reqnotesfortech" `
	Reqpermission         omitnull.Val[int16]  `db:"reqpermission" `
	Reqprogramactions     omitnull.Val[string] `db:"reqprogramactions" `
	Reqstate              omitnull.Val[string] `db:"reqstate" `
	Reqsubdiv             omitnull.Val[string] `db:"reqsubdiv" `
	Reqtarget             omitnull.Val[string] `db:"reqtarget" `
	Reqzip                omitnull.Val[string] `db:"reqzip" `
	Responsedaycount      omitnull.Val[int16]  `db:"responsedaycount" `
	Reviewed              omitnull.Val[int16]  `db:"reviewed" `
	Reviewedby            omitnull.Val[string] `db:"reviewedby" `
	Revieweddate          omitnull.Val[int64]  `db:"revieweddate" `
	Scheduled             omitnull.Val[int16]  `db:"scheduled" `
	Scheduleddate         omitnull.Val[int64]  `db:"scheduleddate" `
	Source                omitnull.Val[string] `db:"source" `
	SRNumber              omitnull.Val[int64]  `db:"sr_number" `
	Status                omitnull.Val[string] `db:"status" `
	Supervisor            omitnull.Val[string] `db:"supervisor" `
	Techclosed            omitnull.Val[string] `db:"techclosed" `
	Validx                omitnull.Val[string] `db:"validx" `
	Validy                omitnull.Val[string] `db:"validy" `
	Xvalue                omitnull.Val[string] `db:"xvalue" `
	Yvalue                omitnull.Val[string] `db:"yvalue" `
	Zone                  omitnull.Val[string] `db:"zone" `
	Zone2                 omitnull.Val[string] `db:"zone2" `
	CreatedDate           omitnull.Val[int64]  `db:"created_date" `
	CreatedUser           omitnull.Val[string] `db:"created_user" `
	GeometryX             omit.Val[float64]    `db:"geometry_x" `
	GeometryY             omit.Val[float64]    `db:"geometry_y" `
	LastEditedDate        omitnull.Val[int64]  `db:"last_edited_date" `
	LastEditedUser        omitnull.Val[string] `db:"last_edited_user" `
	Dog                   omitnull.Val[int64]  `db:"dog" `
	Spanish               omitnull.Val[int64]  `db:"spanish" `
	ScheduleNotes         omitnull.Val[string] `db:"schedule_notes" `
	SchedulePeriod        omitnull.Val[string] `db:"schedule_period" `
	Updated               omit.Val[time.Time]  `db:"updated" `
}

FSServicerequestSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSServicerequestSetter) Apply

func (FSServicerequestSetter) Expressions

func (s FSServicerequestSetter) Expressions(prefix ...string) []bob.Expression

func (FSServicerequestSetter) Overwrite

func (s FSServicerequestSetter) Overwrite(t *FSServicerequest)

func (FSServicerequestSetter) SetColumns

func (s FSServicerequestSetter) SetColumns() []string

func (FSServicerequestSetter) UpdateMod

type FSServicerequestSlice

type FSServicerequestSlice []*FSServicerequest

FSServicerequestSlice is an alias for a slice of pointers to FSServicerequest. This should almost always be used instead of []*FSServicerequest.

func (FSServicerequestSlice) AfterQueryHook

func (o FSServicerequestSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSServicerequestSlice is retrieved from the database

func (FSServicerequestSlice) DeleteAll

func (o FSServicerequestSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSServicerequestSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSServicerequestSlice) LoadOrganization

func (os FSServicerequestSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsServicerequest's Organization into the .R struct

func (FSServicerequestSlice) Organization

func (FSServicerequestSlice) ReloadAll

func (o FSServicerequestSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSServicerequestSlice) UpdateAll

func (FSServicerequestSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSServicerequestsQuery

type FSServicerequestsQuery = *psql.ViewQuery[*FSServicerequest, FSServicerequestSlice]

FSServicerequestsQuery is a query on the fs_servicerequest table

type FSSpeciesabundance

type FSSpeciesabundance struct {
	OrganizationID int32             `db:"organization_id" `
	Bloodedfem     null.Val[int16]   `db:"bloodedfem" `
	Creationdate   null.Val[int64]   `db:"creationdate" `
	Creator        null.Val[string]  `db:"creator" `
	Eggs           null.Val[int16]   `db:"eggs" `
	Editdate       null.Val[int64]   `db:"editdate" `
	Editor         null.Val[string]  `db:"editor" `
	Females        null.Val[int64]   `db:"females" `
	Gravidfem      null.Val[int16]   `db:"gravidfem" `
	Globalid       string            `db:"globalid" `
	Larvae         null.Val[int16]   `db:"larvae" `
	Males          null.Val[int16]   `db:"males" `
	Objectid       int32             `db:"objectid,pk" `
	Poolstogen     null.Val[int16]   `db:"poolstogen" `
	Processed      null.Val[int16]   `db:"processed" `
	Pupae          null.Val[int16]   `db:"pupae" `
	Species        null.Val[string]  `db:"species" `
	Total          null.Val[int64]   `db:"total" `
	TrapdataID     null.Val[string]  `db:"trapdata_id" `
	Unknown        null.Val[int16]   `db:"unknown" `
	CreatedDate    null.Val[int64]   `db:"created_date" `
	CreatedUser    null.Val[string]  `db:"created_user" `
	GeometryX      null.Val[float64] `db:"geometry_x" `
	GeometryY      null.Val[float64] `db:"geometry_y" `
	LastEditedDate null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser null.Val[string]  `db:"last_edited_user" `
	Globalzscore   null.Val[float64] `db:"globalzscore" `
	H3R7           null.Val[string]  `db:"h3r7" `
	H3R8           null.Val[string]  `db:"h3r8" `
	R7score        null.Val[float64] `db:"r7score" `
	R8score        null.Val[float64] `db:"r8score" `
	Yearweek       null.Val[int64]   `db:"yearweek" `
	Updated        time.Time         `db:"updated" `

	R fsSpeciesabundanceR `db:"-" `
}

FSSpeciesabundance is an object representing the database table.

func FindFSSpeciesabundance

func FindFSSpeciesabundance(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSSpeciesabundance, error)

FindFSSpeciesabundance retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSSpeciesabundance) AfterQueryHook

func (o *FSSpeciesabundance) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSSpeciesabundance is retrieved from the database

func (*FSSpeciesabundance) AttachOrganization

func (fsSpeciesabundance0 *FSSpeciesabundance) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSSpeciesabundance) Delete

func (o *FSSpeciesabundance) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSSpeciesabundance record with an executor

func (*FSSpeciesabundance) InsertOrganization

func (fsSpeciesabundance0 *FSSpeciesabundance) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSSpeciesabundance) LoadOrganization

func (o *FSSpeciesabundance) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsSpeciesabundance's Organization into the .R struct

func (*FSSpeciesabundance) Organization

func (o *FSSpeciesabundance) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSSpeciesabundance) Preload

func (o *FSSpeciesabundance) Preload(name string, retrieved any) error

func (*FSSpeciesabundance) Reload

func (o *FSSpeciesabundance) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSSpeciesabundance using the executor

func (*FSSpeciesabundance) Update

Update uses an executor to update the FSSpeciesabundance

type FSSpeciesabundanceSetter

type FSSpeciesabundanceSetter struct {
	OrganizationID omit.Val[int32]       `db:"organization_id" `
	Bloodedfem     omitnull.Val[int16]   `db:"bloodedfem" `
	Creationdate   omitnull.Val[int64]   `db:"creationdate" `
	Creator        omitnull.Val[string]  `db:"creator" `
	Eggs           omitnull.Val[int16]   `db:"eggs" `
	Editdate       omitnull.Val[int64]   `db:"editdate" `
	Editor         omitnull.Val[string]  `db:"editor" `
	Females        omitnull.Val[int64]   `db:"females" `
	Gravidfem      omitnull.Val[int16]   `db:"gravidfem" `
	Globalid       omit.Val[string]      `db:"globalid" `
	Larvae         omitnull.Val[int16]   `db:"larvae" `
	Males          omitnull.Val[int16]   `db:"males" `
	Objectid       omit.Val[int32]       `db:"objectid,pk" `
	Poolstogen     omitnull.Val[int16]   `db:"poolstogen" `
	Processed      omitnull.Val[int16]   `db:"processed" `
	Pupae          omitnull.Val[int16]   `db:"pupae" `
	Species        omitnull.Val[string]  `db:"species" `
	Total          omitnull.Val[int64]   `db:"total" `
	TrapdataID     omitnull.Val[string]  `db:"trapdata_id" `
	Unknown        omitnull.Val[int16]   `db:"unknown" `
	CreatedDate    omitnull.Val[int64]   `db:"created_date" `
	CreatedUser    omitnull.Val[string]  `db:"created_user" `
	GeometryX      omitnull.Val[float64] `db:"geometry_x" `
	GeometryY      omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]  `db:"last_edited_user" `
	Globalzscore   omitnull.Val[float64] `db:"globalzscore" `
	H3R7           omitnull.Val[string]  `db:"h3r7" `
	H3R8           omitnull.Val[string]  `db:"h3r8" `
	R7score        omitnull.Val[float64] `db:"r7score" `
	R8score        omitnull.Val[float64] `db:"r8score" `
	Yearweek       omitnull.Val[int64]   `db:"yearweek" `
	Updated        omit.Val[time.Time]   `db:"updated" `
}

FSSpeciesabundanceSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSSpeciesabundanceSetter) Apply

func (FSSpeciesabundanceSetter) Expressions

func (s FSSpeciesabundanceSetter) Expressions(prefix ...string) []bob.Expression

func (FSSpeciesabundanceSetter) Overwrite

func (FSSpeciesabundanceSetter) SetColumns

func (s FSSpeciesabundanceSetter) SetColumns() []string

func (FSSpeciesabundanceSetter) UpdateMod

type FSSpeciesabundanceSlice

type FSSpeciesabundanceSlice []*FSSpeciesabundance

FSSpeciesabundanceSlice is an alias for a slice of pointers to FSSpeciesabundance. This should almost always be used instead of []*FSSpeciesabundance.

func (FSSpeciesabundanceSlice) AfterQueryHook

func (o FSSpeciesabundanceSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSSpeciesabundanceSlice is retrieved from the database

func (FSSpeciesabundanceSlice) DeleteAll

func (o FSSpeciesabundanceSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSSpeciesabundanceSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSSpeciesabundanceSlice) LoadOrganization

func (os FSSpeciesabundanceSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsSpeciesabundance's Organization into the .R struct

func (FSSpeciesabundanceSlice) Organization

func (FSSpeciesabundanceSlice) ReloadAll

func (o FSSpeciesabundanceSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSSpeciesabundanceSlice) UpdateAll

func (FSSpeciesabundanceSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSSpeciesabundancesQuery

type FSSpeciesabundancesQuery = *psql.ViewQuery[*FSSpeciesabundance, FSSpeciesabundanceSlice]

FSSpeciesabundancesQuery is a query on the fs_speciesabundance table

type FSStormdrain

type FSStormdrain struct {
	OrganizationID    int32             `db:"organization_id" `
	Creationdate      null.Val[int64]   `db:"creationdate" `
	Creator           null.Val[string]  `db:"creator" `
	Editdate          null.Val[int64]   `db:"editdate" `
	Editor            null.Val[string]  `db:"editor" `
	Globalid          string            `db:"globalid" `
	Jurisdiction      null.Val[string]  `db:"jurisdiction" `
	Lastaction        null.Val[string]  `db:"lastaction" `
	Laststatus        null.Val[string]  `db:"laststatus" `
	Lasttreatdate     null.Val[int64]   `db:"lasttreatdate" `
	Nexttreatmentdate null.Val[int64]   `db:"nexttreatmentdate" `
	Objectid          int32             `db:"objectid,pk" `
	Symbology         null.Val[string]  `db:"symbology" `
	Type              null.Val[string]  `db:"type" `
	Zone              null.Val[string]  `db:"zone" `
	Zone2             null.Val[string]  `db:"zone2" `
	CreatedDate       null.Val[int64]   `db:"created_date" `
	CreatedUser       null.Val[string]  `db:"created_user" `
	GeometryX         null.Val[float64] `db:"geometry_x" `
	GeometryY         null.Val[float64] `db:"geometry_y" `
	LastEditedDate    null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser    null.Val[string]  `db:"last_edited_user" `
	Updated           time.Time         `db:"updated" `

	R fsStormdrainR `db:"-" `
}

FSStormdrain is an object representing the database table.

func FindFSStormdrain

func FindFSStormdrain(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSStormdrain, error)

FindFSStormdrain retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSStormdrain) AfterQueryHook

func (o *FSStormdrain) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSStormdrain is retrieved from the database

func (*FSStormdrain) AttachOrganization

func (fsStormdrain0 *FSStormdrain) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSStormdrain) Delete

func (o *FSStormdrain) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSStormdrain record with an executor

func (*FSStormdrain) InsertOrganization

func (fsStormdrain0 *FSStormdrain) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSStormdrain) LoadOrganization

func (o *FSStormdrain) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsStormdrain's Organization into the .R struct

func (*FSStormdrain) Organization

func (o *FSStormdrain) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSStormdrain) Preload

func (o *FSStormdrain) Preload(name string, retrieved any) error

func (*FSStormdrain) Reload

func (o *FSStormdrain) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSStormdrain using the executor

func (*FSStormdrain) Update

func (o *FSStormdrain) Update(ctx context.Context, exec bob.Executor, s *FSStormdrainSetter) error

Update uses an executor to update the FSStormdrain

type FSStormdrainSetter

type FSStormdrainSetter struct {
	OrganizationID    omit.Val[int32]       `db:"organization_id" `
	Creationdate      omitnull.Val[int64]   `db:"creationdate" `
	Creator           omitnull.Val[string]  `db:"creator" `
	Editdate          omitnull.Val[int64]   `db:"editdate" `
	Editor            omitnull.Val[string]  `db:"editor" `
	Globalid          omit.Val[string]      `db:"globalid" `
	Jurisdiction      omitnull.Val[string]  `db:"jurisdiction" `
	Lastaction        omitnull.Val[string]  `db:"lastaction" `
	Laststatus        omitnull.Val[string]  `db:"laststatus" `
	Lasttreatdate     omitnull.Val[int64]   `db:"lasttreatdate" `
	Nexttreatmentdate omitnull.Val[int64]   `db:"nexttreatmentdate" `
	Objectid          omit.Val[int32]       `db:"objectid,pk" `
	Symbology         omitnull.Val[string]  `db:"symbology" `
	Type              omitnull.Val[string]  `db:"type" `
	Zone              omitnull.Val[string]  `db:"zone" `
	Zone2             omitnull.Val[string]  `db:"zone2" `
	CreatedDate       omitnull.Val[int64]   `db:"created_date" `
	CreatedUser       omitnull.Val[string]  `db:"created_user" `
	GeometryX         omitnull.Val[float64] `db:"geometry_x" `
	GeometryY         omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate    omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser    omitnull.Val[string]  `db:"last_edited_user" `
	Updated           omit.Val[time.Time]   `db:"updated" `
}

FSStormdrainSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSStormdrainSetter) Apply

func (s *FSStormdrainSetter) Apply(q *dialect.InsertQuery)

func (FSStormdrainSetter) Expressions

func (s FSStormdrainSetter) Expressions(prefix ...string) []bob.Expression

func (FSStormdrainSetter) Overwrite

func (s FSStormdrainSetter) Overwrite(t *FSStormdrain)

func (FSStormdrainSetter) SetColumns

func (s FSStormdrainSetter) SetColumns() []string

func (FSStormdrainSetter) UpdateMod

func (s FSStormdrainSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type FSStormdrainSlice

type FSStormdrainSlice []*FSStormdrain

FSStormdrainSlice is an alias for a slice of pointers to FSStormdrain. This should almost always be used instead of []*FSStormdrain.

func (FSStormdrainSlice) AfterQueryHook

func (o FSStormdrainSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSStormdrainSlice is retrieved from the database

func (FSStormdrainSlice) DeleteAll

func (o FSStormdrainSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSStormdrainSlice) DeleteMod

func (o FSStormdrainSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSStormdrainSlice) LoadOrganization

func (os FSStormdrainSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsStormdrain's Organization into the .R struct

func (FSStormdrainSlice) Organization

func (os FSStormdrainSlice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (FSStormdrainSlice) ReloadAll

func (o FSStormdrainSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSStormdrainSlice) UpdateAll

func (o FSStormdrainSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals FSStormdrainSetter) error

func (FSStormdrainSlice) UpdateMod

func (o FSStormdrainSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSStormdrainsQuery

type FSStormdrainsQuery = *psql.ViewQuery[*FSStormdrain, FSStormdrainSlice]

FSStormdrainsQuery is a query on the fs_stormdrain table

type FSTimecard

type FSTimecard struct {
	OrganizationID int32             `db:"organization_id" `
	Activity       null.Val[string]  `db:"activity" `
	Comments       null.Val[string]  `db:"comments" `
	Creationdate   null.Val[int64]   `db:"creationdate" `
	Creator        null.Val[string]  `db:"creator" `
	Enddatetime    null.Val[int64]   `db:"enddatetime" `
	Equiptype      null.Val[string]  `db:"equiptype" `
	Externalid     null.Val[string]  `db:"externalid" `
	Editdate       null.Val[int64]   `db:"editdate" `
	Editor         null.Val[string]  `db:"editor" `
	Fieldtech      null.Val[string]  `db:"fieldtech" `
	Globalid       string            `db:"globalid" `
	Lclocid        null.Val[string]  `db:"lclocid" `
	Linelocid      null.Val[string]  `db:"linelocid" `
	Locationname   null.Val[string]  `db:"locationname" `
	Objectid       int32             `db:"objectid,pk" `
	Pointlocid     null.Val[string]  `db:"pointlocid" `
	Polygonlocid   null.Val[string]  `db:"polygonlocid" `
	Samplelocid    null.Val[string]  `db:"samplelocid" `
	Srid           null.Val[string]  `db:"srid" `
	Startdatetime  null.Val[int64]   `db:"startdatetime" `
	Traplocid      null.Val[string]  `db:"traplocid" `
	Zone           null.Val[string]  `db:"zone" `
	Zone2          null.Val[string]  `db:"zone2" `
	CreatedDate    null.Val[int64]   `db:"created_date" `
	CreatedUser    null.Val[string]  `db:"created_user" `
	GeometryX      null.Val[float64] `db:"geometry_x" `
	GeometryY      null.Val[float64] `db:"geometry_y" `
	LastEditedDate null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser null.Val[string]  `db:"last_edited_user" `
	Rodentlocid    null.Val[string]  `db:"rodentlocid" `
	Updated        time.Time         `db:"updated" `

	R fsTimecardR `db:"-" `
}

FSTimecard is an object representing the database table.

func FindFSTimecard

func FindFSTimecard(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSTimecard, error)

FindFSTimecard retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSTimecard) AfterQueryHook

func (o *FSTimecard) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSTimecard is retrieved from the database

func (*FSTimecard) AttachOrganization

func (fsTimecard0 *FSTimecard) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSTimecard) Delete

func (o *FSTimecard) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSTimecard record with an executor

func (*FSTimecard) InsertOrganization

func (fsTimecard0 *FSTimecard) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSTimecard) LoadOrganization

func (o *FSTimecard) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsTimecard's Organization into the .R struct

func (*FSTimecard) Organization

func (o *FSTimecard) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSTimecard) Preload

func (o *FSTimecard) Preload(name string, retrieved any) error

func (*FSTimecard) Reload

func (o *FSTimecard) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSTimecard using the executor

func (*FSTimecard) Update

func (o *FSTimecard) Update(ctx context.Context, exec bob.Executor, s *FSTimecardSetter) error

Update uses an executor to update the FSTimecard

type FSTimecardSetter

type FSTimecardSetter struct {
	OrganizationID omit.Val[int32]       `db:"organization_id" `
	Activity       omitnull.Val[string]  `db:"activity" `
	Comments       omitnull.Val[string]  `db:"comments" `
	Creationdate   omitnull.Val[int64]   `db:"creationdate" `
	Creator        omitnull.Val[string]  `db:"creator" `
	Enddatetime    omitnull.Val[int64]   `db:"enddatetime" `
	Equiptype      omitnull.Val[string]  `db:"equiptype" `
	Externalid     omitnull.Val[string]  `db:"externalid" `
	Editdate       omitnull.Val[int64]   `db:"editdate" `
	Editor         omitnull.Val[string]  `db:"editor" `
	Fieldtech      omitnull.Val[string]  `db:"fieldtech" `
	Globalid       omit.Val[string]      `db:"globalid" `
	Lclocid        omitnull.Val[string]  `db:"lclocid" `
	Linelocid      omitnull.Val[string]  `db:"linelocid" `
	Locationname   omitnull.Val[string]  `db:"locationname" `
	Objectid       omit.Val[int32]       `db:"objectid,pk" `
	Pointlocid     omitnull.Val[string]  `db:"pointlocid" `
	Polygonlocid   omitnull.Val[string]  `db:"polygonlocid" `
	Samplelocid    omitnull.Val[string]  `db:"samplelocid" `
	Srid           omitnull.Val[string]  `db:"srid" `
	Startdatetime  omitnull.Val[int64]   `db:"startdatetime" `
	Traplocid      omitnull.Val[string]  `db:"traplocid" `
	Zone           omitnull.Val[string]  `db:"zone" `
	Zone2          omitnull.Val[string]  `db:"zone2" `
	CreatedDate    omitnull.Val[int64]   `db:"created_date" `
	CreatedUser    omitnull.Val[string]  `db:"created_user" `
	GeometryX      omitnull.Val[float64] `db:"geometry_x" `
	GeometryY      omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]  `db:"last_edited_user" `
	Rodentlocid    omitnull.Val[string]  `db:"rodentlocid" `
	Updated        omit.Val[time.Time]   `db:"updated" `
}

FSTimecardSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSTimecardSetter) Apply

func (s *FSTimecardSetter) Apply(q *dialect.InsertQuery)

func (FSTimecardSetter) Expressions

func (s FSTimecardSetter) Expressions(prefix ...string) []bob.Expression

func (FSTimecardSetter) Overwrite

func (s FSTimecardSetter) Overwrite(t *FSTimecard)

func (FSTimecardSetter) SetColumns

func (s FSTimecardSetter) SetColumns() []string

func (FSTimecardSetter) UpdateMod

func (s FSTimecardSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type FSTimecardSlice

type FSTimecardSlice []*FSTimecard

FSTimecardSlice is an alias for a slice of pointers to FSTimecard. This should almost always be used instead of []*FSTimecard.

func (FSTimecardSlice) AfterQueryHook

func (o FSTimecardSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSTimecardSlice is retrieved from the database

func (FSTimecardSlice) DeleteAll

func (o FSTimecardSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSTimecardSlice) DeleteMod

func (o FSTimecardSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSTimecardSlice) LoadOrganization

func (os FSTimecardSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsTimecard's Organization into the .R struct

func (FSTimecardSlice) Organization

func (os FSTimecardSlice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (FSTimecardSlice) ReloadAll

func (o FSTimecardSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSTimecardSlice) UpdateAll

func (o FSTimecardSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals FSTimecardSetter) error

func (FSTimecardSlice) UpdateMod

func (o FSTimecardSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSTimecardsQuery

type FSTimecardsQuery = *psql.ViewQuery[*FSTimecard, FSTimecardSlice]

FSTimecardsQuery is a query on the fs_timecard table

type FSTrapdataQuery

type FSTrapdataQuery = *psql.ViewQuery[*FSTrapdatum, FSTrapdatumSlice]

FSTrapdataQuery is a query on the fs_trapdata table

type FSTrapdatum

type FSTrapdatum struct {
	OrganizationID           int32             `db:"organization_id" `
	Avetemp                  null.Val[float64] `db:"avetemp" `
	Comments                 null.Val[string]  `db:"comments" `
	Creationdate             null.Val[int64]   `db:"creationdate" `
	Creator                  null.Val[string]  `db:"creator" `
	Enddatetime              null.Val[int64]   `db:"enddatetime" `
	Editdate                 null.Val[int64]   `db:"editdate" `
	Editor                   null.Val[string]  `db:"editor" `
	Fieldtech                null.Val[string]  `db:"fieldtech" `
	Field                    null.Val[int64]   `db:"field" `
	Gatewaysync              null.Val[int16]   `db:"gatewaysync" `
	Globalid                 string            `db:"globalid" `
	Idbytech                 null.Val[string]  `db:"idbytech" `
	Locationname             null.Val[string]  `db:"locationname" `
	LocID                    null.Val[string]  `db:"loc_id" `
	LR                       null.Val[int16]   `db:"lr" `
	Objectid                 int32             `db:"objectid,pk" `
	Processed                null.Val[int16]   `db:"processed" `
	Raingauge                null.Val[float64] `db:"raingauge" `
	Recordstatus             null.Val[int16]   `db:"recordstatus" `
	Reviewed                 null.Val[int16]   `db:"reviewed" `
	Reviewedby               null.Val[string]  `db:"reviewedby" `
	Revieweddate             null.Val[int64]   `db:"revieweddate" `
	Sitecond                 null.Val[string]  `db:"sitecond" `
	Sortbytech               null.Val[string]  `db:"sortbytech" `
	Srid                     null.Val[string]  `db:"srid" `
	Startdatetime            null.Val[int64]   `db:"startdatetime" `
	Trapactivitytype         null.Val[string]  `db:"trapactivitytype" `
	Trapcondition            null.Val[string]  `db:"trapcondition" `
	Trapnights               null.Val[int16]   `db:"trapnights" `
	Traptype                 null.Val[string]  `db:"traptype" `
	Voltage                  null.Val[float64] `db:"voltage" `
	Winddir                  null.Val[string]  `db:"winddir" `
	Windspeed                null.Val[float64] `db:"windspeed" `
	Zone                     null.Val[string]  `db:"zone" `
	Zone2                    null.Val[string]  `db:"zone2" `
	CreatedDate              null.Val[int64]   `db:"created_date" `
	CreatedUser              null.Val[string]  `db:"created_user" `
	GeometryX                null.Val[float64] `db:"geometry_x" `
	GeometryY                null.Val[float64] `db:"geometry_y" `
	LastEditedDate           null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser           null.Val[string]  `db:"last_edited_user" `
	Lure                     null.Val[string]  `db:"lure" `
	Vectorsurvtrapdataid     null.Val[string]  `db:"vectorsurvtrapdataid" `
	Vectorsurvtraplocationid null.Val[string]  `db:"vectorsurvtraplocationid" `
	Updated                  time.Time         `db:"updated" `

	R fsTrapdatumR `db:"-" `
}

FSTrapdatum is an object representing the database table.

func FindFSTrapdatum

func FindFSTrapdatum(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSTrapdatum, error)

FindFSTrapdatum retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSTrapdatum) AfterQueryHook

func (o *FSTrapdatum) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSTrapdatum is retrieved from the database

func (*FSTrapdatum) AttachOrganization

func (fsTrapdatum0 *FSTrapdatum) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSTrapdatum) Delete

func (o *FSTrapdatum) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSTrapdatum record with an executor

func (*FSTrapdatum) InsertOrganization

func (fsTrapdatum0 *FSTrapdatum) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSTrapdatum) LoadOrganization

func (o *FSTrapdatum) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsTrapdatum's Organization into the .R struct

func (*FSTrapdatum) Organization

func (o *FSTrapdatum) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSTrapdatum) Preload

func (o *FSTrapdatum) Preload(name string, retrieved any) error

func (*FSTrapdatum) Reload

func (o *FSTrapdatum) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSTrapdatum using the executor

func (*FSTrapdatum) Update

func (o *FSTrapdatum) Update(ctx context.Context, exec bob.Executor, s *FSTrapdatumSetter) error

Update uses an executor to update the FSTrapdatum

type FSTrapdatumSetter

type FSTrapdatumSetter struct {
	OrganizationID           omit.Val[int32]       `db:"organization_id" `
	Avetemp                  omitnull.Val[float64] `db:"avetemp" `
	Comments                 omitnull.Val[string]  `db:"comments" `
	Creationdate             omitnull.Val[int64]   `db:"creationdate" `
	Creator                  omitnull.Val[string]  `db:"creator" `
	Enddatetime              omitnull.Val[int64]   `db:"enddatetime" `
	Editdate                 omitnull.Val[int64]   `db:"editdate" `
	Editor                   omitnull.Val[string]  `db:"editor" `
	Fieldtech                omitnull.Val[string]  `db:"fieldtech" `
	Field                    omitnull.Val[int64]   `db:"field" `
	Gatewaysync              omitnull.Val[int16]   `db:"gatewaysync" `
	Globalid                 omit.Val[string]      `db:"globalid" `
	Idbytech                 omitnull.Val[string]  `db:"idbytech" `
	Locationname             omitnull.Val[string]  `db:"locationname" `
	LocID                    omitnull.Val[string]  `db:"loc_id" `
	LR                       omitnull.Val[int16]   `db:"lr" `
	Objectid                 omit.Val[int32]       `db:"objectid,pk" `
	Processed                omitnull.Val[int16]   `db:"processed" `
	Raingauge                omitnull.Val[float64] `db:"raingauge" `
	Recordstatus             omitnull.Val[int16]   `db:"recordstatus" `
	Reviewed                 omitnull.Val[int16]   `db:"reviewed" `
	Reviewedby               omitnull.Val[string]  `db:"reviewedby" `
	Revieweddate             omitnull.Val[int64]   `db:"revieweddate" `
	Sitecond                 omitnull.Val[string]  `db:"sitecond" `
	Sortbytech               omitnull.Val[string]  `db:"sortbytech" `
	Srid                     omitnull.Val[string]  `db:"srid" `
	Startdatetime            omitnull.Val[int64]   `db:"startdatetime" `
	Trapactivitytype         omitnull.Val[string]  `db:"trapactivitytype" `
	Trapcondition            omitnull.Val[string]  `db:"trapcondition" `
	Trapnights               omitnull.Val[int16]   `db:"trapnights" `
	Traptype                 omitnull.Val[string]  `db:"traptype" `
	Voltage                  omitnull.Val[float64] `db:"voltage" `
	Winddir                  omitnull.Val[string]  `db:"winddir" `
	Windspeed                omitnull.Val[float64] `db:"windspeed" `
	Zone                     omitnull.Val[string]  `db:"zone" `
	Zone2                    omitnull.Val[string]  `db:"zone2" `
	CreatedDate              omitnull.Val[int64]   `db:"created_date" `
	CreatedUser              omitnull.Val[string]  `db:"created_user" `
	GeometryX                omitnull.Val[float64] `db:"geometry_x" `
	GeometryY                omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate           omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser           omitnull.Val[string]  `db:"last_edited_user" `
	Lure                     omitnull.Val[string]  `db:"lure" `
	Vectorsurvtrapdataid     omitnull.Val[string]  `db:"vectorsurvtrapdataid" `
	Vectorsurvtraplocationid omitnull.Val[string]  `db:"vectorsurvtraplocationid" `
	Updated                  omit.Val[time.Time]   `db:"updated" `
}

FSTrapdatumSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSTrapdatumSetter) Apply

func (s *FSTrapdatumSetter) Apply(q *dialect.InsertQuery)

func (FSTrapdatumSetter) Expressions

func (s FSTrapdatumSetter) Expressions(prefix ...string) []bob.Expression

func (FSTrapdatumSetter) Overwrite

func (s FSTrapdatumSetter) Overwrite(t *FSTrapdatum)

func (FSTrapdatumSetter) SetColumns

func (s FSTrapdatumSetter) SetColumns() []string

func (FSTrapdatumSetter) UpdateMod

func (s FSTrapdatumSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type FSTrapdatumSlice

type FSTrapdatumSlice []*FSTrapdatum

FSTrapdatumSlice is an alias for a slice of pointers to FSTrapdatum. This should almost always be used instead of []*FSTrapdatum.

func (FSTrapdatumSlice) AfterQueryHook

func (o FSTrapdatumSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSTrapdatumSlice is retrieved from the database

func (FSTrapdatumSlice) DeleteAll

func (o FSTrapdatumSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSTrapdatumSlice) DeleteMod

func (o FSTrapdatumSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSTrapdatumSlice) LoadOrganization

func (os FSTrapdatumSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsTrapdatum's Organization into the .R struct

func (FSTrapdatumSlice) Organization

func (os FSTrapdatumSlice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (FSTrapdatumSlice) ReloadAll

func (o FSTrapdatumSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSTrapdatumSlice) UpdateAll

func (o FSTrapdatumSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals FSTrapdatumSetter) error

func (FSTrapdatumSlice) UpdateMod

func (o FSTrapdatumSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSTraplocation

type FSTraplocation struct {
	OrganizationID          int32             `db:"organization_id" `
	Accessdesc              null.Val[string]  `db:"accessdesc" `
	Active                  null.Val[int16]   `db:"active" `
	Comments                null.Val[string]  `db:"comments" `
	Creationdate            null.Val[int64]   `db:"creationdate" `
	Creator                 null.Val[string]  `db:"creator" `
	Description             null.Val[string]  `db:"description" `
	Externalid              null.Val[string]  `db:"externalid" `
	Editdate                null.Val[int64]   `db:"editdate" `
	Editor                  null.Val[string]  `db:"editor" `
	Gatewaysync             null.Val[int16]   `db:"gatewaysync" `
	Globalid                string            `db:"globalid" `
	Habitat                 null.Val[string]  `db:"habitat" `
	Locationnumber          null.Val[int64]   `db:"locationnumber" `
	Name                    null.Val[string]  `db:"name" `
	Nextactiondatescheduled null.Val[int64]   `db:"nextactiondatescheduled" `
	Objectid                int32             `db:"objectid,pk" `
	Priority                null.Val[string]  `db:"priority" `
	Usetype                 null.Val[string]  `db:"usetype" `
	Zone                    null.Val[string]  `db:"zone" `
	Zone2                   null.Val[string]  `db:"zone2" `
	CreatedDate             null.Val[int64]   `db:"created_date" `
	CreatedUser             null.Val[string]  `db:"created_user" `
	GeometryX               null.Val[float64] `db:"geometry_x" `
	GeometryY               null.Val[float64] `db:"geometry_y" `
	LastEditedDate          null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser          null.Val[string]  `db:"last_edited_user" `
	Route                   null.Val[int64]   `db:"route" `
	RouteOrder              null.Val[int64]   `db:"route_order" `
	SetDow                  null.Val[int64]   `db:"set_dow" `
	Vectorsurvsiteid        null.Val[string]  `db:"vectorsurvsiteid" `
	H3R7                    null.Val[string]  `db:"h3r7" `
	H3R8                    null.Val[string]  `db:"h3r8" `
	Updated                 time.Time         `db:"updated" `
	Geom                    null.Val[string]  `db:"geom" `

	R fsTraplocationR `db:"-" `
}

FSTraplocation is an object representing the database table.

func FindFSTraplocation

func FindFSTraplocation(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSTraplocation, error)

FindFSTraplocation retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSTraplocation) AfterQueryHook

func (o *FSTraplocation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSTraplocation is retrieved from the database

func (*FSTraplocation) AttachOrganization

func (fsTraplocation0 *FSTraplocation) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSTraplocation) Delete

func (o *FSTraplocation) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSTraplocation record with an executor

func (*FSTraplocation) InsertOrganization

func (fsTraplocation0 *FSTraplocation) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSTraplocation) LoadOrganization

func (o *FSTraplocation) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsTraplocation's Organization into the .R struct

func (*FSTraplocation) Organization

func (o *FSTraplocation) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSTraplocation) Preload

func (o *FSTraplocation) Preload(name string, retrieved any) error

func (*FSTraplocation) Reload

func (o *FSTraplocation) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSTraplocation using the executor

func (*FSTraplocation) Update

Update uses an executor to update the FSTraplocation

type FSTraplocationSetter

type FSTraplocationSetter struct {
	OrganizationID          omit.Val[int32]       `db:"organization_id" `
	Accessdesc              omitnull.Val[string]  `db:"accessdesc" `
	Active                  omitnull.Val[int16]   `db:"active" `
	Comments                omitnull.Val[string]  `db:"comments" `
	Creationdate            omitnull.Val[int64]   `db:"creationdate" `
	Creator                 omitnull.Val[string]  `db:"creator" `
	Description             omitnull.Val[string]  `db:"description" `
	Externalid              omitnull.Val[string]  `db:"externalid" `
	Editdate                omitnull.Val[int64]   `db:"editdate" `
	Editor                  omitnull.Val[string]  `db:"editor" `
	Gatewaysync             omitnull.Val[int16]   `db:"gatewaysync" `
	Globalid                omit.Val[string]      `db:"globalid" `
	Habitat                 omitnull.Val[string]  `db:"habitat" `
	Locationnumber          omitnull.Val[int64]   `db:"locationnumber" `
	Name                    omitnull.Val[string]  `db:"name" `
	Nextactiondatescheduled omitnull.Val[int64]   `db:"nextactiondatescheduled" `
	Objectid                omit.Val[int32]       `db:"objectid,pk" `
	Priority                omitnull.Val[string]  `db:"priority" `
	Usetype                 omitnull.Val[string]  `db:"usetype" `
	Zone                    omitnull.Val[string]  `db:"zone" `
	Zone2                   omitnull.Val[string]  `db:"zone2" `
	CreatedDate             omitnull.Val[int64]   `db:"created_date" `
	CreatedUser             omitnull.Val[string]  `db:"created_user" `
	GeometryX               omitnull.Val[float64] `db:"geometry_x" `
	GeometryY               omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate          omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser          omitnull.Val[string]  `db:"last_edited_user" `
	Route                   omitnull.Val[int64]   `db:"route" `
	RouteOrder              omitnull.Val[int64]   `db:"route_order" `
	SetDow                  omitnull.Val[int64]   `db:"set_dow" `
	Vectorsurvsiteid        omitnull.Val[string]  `db:"vectorsurvsiteid" `
	H3R7                    omitnull.Val[string]  `db:"h3r7" `
	H3R8                    omitnull.Val[string]  `db:"h3r8" `
	Updated                 omit.Val[time.Time]   `db:"updated" `
	Geom                    omitnull.Val[string]  `db:"geom" `
}

FSTraplocationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSTraplocationSetter) Apply

func (FSTraplocationSetter) Expressions

func (s FSTraplocationSetter) Expressions(prefix ...string) []bob.Expression

func (FSTraplocationSetter) Overwrite

func (s FSTraplocationSetter) Overwrite(t *FSTraplocation)

func (FSTraplocationSetter) SetColumns

func (s FSTraplocationSetter) SetColumns() []string

func (FSTraplocationSetter) UpdateMod

type FSTraplocationSlice

type FSTraplocationSlice []*FSTraplocation

FSTraplocationSlice is an alias for a slice of pointers to FSTraplocation. This should almost always be used instead of []*FSTraplocation.

func (FSTraplocationSlice) AfterQueryHook

func (o FSTraplocationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSTraplocationSlice is retrieved from the database

func (FSTraplocationSlice) DeleteAll

func (o FSTraplocationSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSTraplocationSlice) DeleteMod

func (o FSTraplocationSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSTraplocationSlice) LoadOrganization

func (os FSTraplocationSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsTraplocation's Organization into the .R struct

func (FSTraplocationSlice) Organization

func (os FSTraplocationSlice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (FSTraplocationSlice) ReloadAll

func (o FSTraplocationSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSTraplocationSlice) UpdateAll

func (FSTraplocationSlice) UpdateMod

func (o FSTraplocationSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSTraplocationsQuery

type FSTraplocationsQuery = *psql.ViewQuery[*FSTraplocation, FSTraplocationSlice]

FSTraplocationsQuery is a query on the fs_traplocation table

type FSTreatment

type FSTreatment struct {
	OrganizationID       int32             `db:"organization_id" `
	Activity             null.Val[string]  `db:"activity" `
	Areaunit             null.Val[string]  `db:"areaunit" `
	Avetemp              null.Val[float64] `db:"avetemp" `
	Barrierrouteid       null.Val[string]  `db:"barrierrouteid" `
	Cbcount              null.Val[int16]   `db:"cbcount" `
	Comments             null.Val[string]  `db:"comments" `
	Containercount       null.Val[int16]   `db:"containercount" `
	Creationdate         null.Val[int64]   `db:"creationdate" `
	Creator              null.Val[string]  `db:"creator" `
	Enddatetime          null.Val[int64]   `db:"enddatetime" `
	Equiptype            null.Val[string]  `db:"equiptype" `
	Editdate             null.Val[int64]   `db:"editdate" `
	Editor               null.Val[string]  `db:"editor" `
	Fieldtech            null.Val[string]  `db:"fieldtech" `
	Flowrate             null.Val[float64] `db:"flowrate" `
	Globalid             string            `db:"globalid" `
	Habitat              null.Val[string]  `db:"habitat" `
	InspID               null.Val[string]  `db:"insp_id" `
	Invloc               null.Val[string]  `db:"invloc" `
	Linelocid            null.Val[string]  `db:"linelocid" `
	Locationname         null.Val[string]  `db:"locationname" `
	Method               null.Val[string]  `db:"method" `
	Objectid             int32             `db:"objectid,pk" `
	Pointlocid           null.Val[string]  `db:"pointlocid" `
	Polygonlocid         null.Val[string]  `db:"polygonlocid" `
	Product              null.Val[string]  `db:"product" `
	Ptaid                null.Val[string]  `db:"ptaid" `
	Qty                  null.Val[float64] `db:"qty" `
	Qtyunit              null.Val[string]  `db:"qtyunit" `
	Raingauge            null.Val[float64] `db:"raingauge" `
	Recordstatus         null.Val[int16]   `db:"recordstatus" `
	Reviewed             null.Val[int16]   `db:"reviewed" `
	Reviewedby           null.Val[string]  `db:"reviewedby" `
	Revieweddate         null.Val[int64]   `db:"revieweddate" `
	Sdid                 null.Val[string]  `db:"sdid" `
	Sitecond             null.Val[string]  `db:"sitecond" `
	Srid                 null.Val[string]  `db:"srid" `
	Startdatetime        null.Val[int64]   `db:"startdatetime" `
	Targetspecies        null.Val[string]  `db:"targetspecies" `
	Tirecount            null.Val[int16]   `db:"tirecount" `
	Treatacres           null.Val[float64] `db:"treatacres" `
	Treatarea            null.Val[float64] `db:"treatarea" `
	Treathectares        null.Val[float64] `db:"treathectares" `
	Treatmenthours       null.Val[float64] `db:"treatmenthours" `
	Treatmentlength      null.Val[float64] `db:"treatmentlength" `
	Treatmentlengthunits null.Val[string]  `db:"treatmentlengthunits" `
	Totalcostprodcut     null.Val[float64] `db:"totalcostprodcut" `
	Ulvrouteid           null.Val[string]  `db:"ulvrouteid" `
	Warningoverride      null.Val[int16]   `db:"warningoverride" `
	Winddir              null.Val[string]  `db:"winddir" `
	Windspeed            null.Val[float64] `db:"windspeed" `
	Zone                 null.Val[string]  `db:"zone" `
	Zone2                null.Val[string]  `db:"zone2" `
	GeometryX            null.Val[float64] `db:"geometry_x" `
	GeometryY            null.Val[float64] `db:"geometry_y" `
	TempSitecond         null.Val[string]  `db:"temp_sitecond" `
	Updated              time.Time         `db:"updated" `
	Geom                 null.Val[string]  `db:"geom" `

	R fsTreatmentR `db:"-" `
}

FSTreatment is an object representing the database table.

func FindFSTreatment

func FindFSTreatment(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSTreatment, error)

FindFSTreatment retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSTreatment) AfterQueryHook

func (o *FSTreatment) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSTreatment is retrieved from the database

func (*FSTreatment) AttachOrganization

func (fsTreatment0 *FSTreatment) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSTreatment) Delete

func (o *FSTreatment) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSTreatment record with an executor

func (*FSTreatment) InsertOrganization

func (fsTreatment0 *FSTreatment) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSTreatment) LoadOrganization

func (o *FSTreatment) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsTreatment's Organization into the .R struct

func (*FSTreatment) Organization

func (o *FSTreatment) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSTreatment) Preload

func (o *FSTreatment) Preload(name string, retrieved any) error

func (*FSTreatment) Reload

func (o *FSTreatment) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSTreatment using the executor

func (*FSTreatment) Update

func (o *FSTreatment) Update(ctx context.Context, exec bob.Executor, s *FSTreatmentSetter) error

Update uses an executor to update the FSTreatment

type FSTreatmentSetter

type FSTreatmentSetter struct {
	OrganizationID       omit.Val[int32]       `db:"organization_id" `
	Activity             omitnull.Val[string]  `db:"activity" `
	Areaunit             omitnull.Val[string]  `db:"areaunit" `
	Avetemp              omitnull.Val[float64] `db:"avetemp" `
	Barrierrouteid       omitnull.Val[string]  `db:"barrierrouteid" `
	Cbcount              omitnull.Val[int16]   `db:"cbcount" `
	Comments             omitnull.Val[string]  `db:"comments" `
	Containercount       omitnull.Val[int16]   `db:"containercount" `
	Creationdate         omitnull.Val[int64]   `db:"creationdate" `
	Creator              omitnull.Val[string]  `db:"creator" `
	Enddatetime          omitnull.Val[int64]   `db:"enddatetime" `
	Equiptype            omitnull.Val[string]  `db:"equiptype" `
	Editdate             omitnull.Val[int64]   `db:"editdate" `
	Editor               omitnull.Val[string]  `db:"editor" `
	Fieldtech            omitnull.Val[string]  `db:"fieldtech" `
	Flowrate             omitnull.Val[float64] `db:"flowrate" `
	Globalid             omit.Val[string]      `db:"globalid" `
	Habitat              omitnull.Val[string]  `db:"habitat" `
	InspID               omitnull.Val[string]  `db:"insp_id" `
	Invloc               omitnull.Val[string]  `db:"invloc" `
	Linelocid            omitnull.Val[string]  `db:"linelocid" `
	Locationname         omitnull.Val[string]  `db:"locationname" `
	Method               omitnull.Val[string]  `db:"method" `
	Objectid             omit.Val[int32]       `db:"objectid,pk" `
	Pointlocid           omitnull.Val[string]  `db:"pointlocid" `
	Polygonlocid         omitnull.Val[string]  `db:"polygonlocid" `
	Product              omitnull.Val[string]  `db:"product" `
	Ptaid                omitnull.Val[string]  `db:"ptaid" `
	Qty                  omitnull.Val[float64] `db:"qty" `
	Qtyunit              omitnull.Val[string]  `db:"qtyunit" `
	Raingauge            omitnull.Val[float64] `db:"raingauge" `
	Recordstatus         omitnull.Val[int16]   `db:"recordstatus" `
	Reviewed             omitnull.Val[int16]   `db:"reviewed" `
	Reviewedby           omitnull.Val[string]  `db:"reviewedby" `
	Revieweddate         omitnull.Val[int64]   `db:"revieweddate" `
	Sdid                 omitnull.Val[string]  `db:"sdid" `
	Sitecond             omitnull.Val[string]  `db:"sitecond" `
	Srid                 omitnull.Val[string]  `db:"srid" `
	Startdatetime        omitnull.Val[int64]   `db:"startdatetime" `
	Targetspecies        omitnull.Val[string]  `db:"targetspecies" `
	Tirecount            omitnull.Val[int16]   `db:"tirecount" `
	Treatacres           omitnull.Val[float64] `db:"treatacres" `
	Treatarea            omitnull.Val[float64] `db:"treatarea" `
	Treathectares        omitnull.Val[float64] `db:"treathectares" `
	Treatmenthours       omitnull.Val[float64] `db:"treatmenthours" `
	Treatmentlength      omitnull.Val[float64] `db:"treatmentlength" `
	Treatmentlengthunits omitnull.Val[string]  `db:"treatmentlengthunits" `
	Totalcostprodcut     omitnull.Val[float64] `db:"totalcostprodcut" `
	Ulvrouteid           omitnull.Val[string]  `db:"ulvrouteid" `
	Warningoverride      omitnull.Val[int16]   `db:"warningoverride" `
	Winddir              omitnull.Val[string]  `db:"winddir" `
	Windspeed            omitnull.Val[float64] `db:"windspeed" `
	Zone                 omitnull.Val[string]  `db:"zone" `
	Zone2                omitnull.Val[string]  `db:"zone2" `
	GeometryX            omitnull.Val[float64] `db:"geometry_x" `
	GeometryY            omitnull.Val[float64] `db:"geometry_y" `
	TempSitecond         omitnull.Val[string]  `db:"temp_sitecond" `
	Updated              omit.Val[time.Time]   `db:"updated" `
	Geom                 omitnull.Val[string]  `db:"geom" `
}

FSTreatmentSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSTreatmentSetter) Apply

func (s *FSTreatmentSetter) Apply(q *dialect.InsertQuery)

func (FSTreatmentSetter) Expressions

func (s FSTreatmentSetter) Expressions(prefix ...string) []bob.Expression

func (FSTreatmentSetter) Overwrite

func (s FSTreatmentSetter) Overwrite(t *FSTreatment)

func (FSTreatmentSetter) SetColumns

func (s FSTreatmentSetter) SetColumns() []string

func (FSTreatmentSetter) UpdateMod

func (s FSTreatmentSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type FSTreatmentSlice

type FSTreatmentSlice []*FSTreatment

FSTreatmentSlice is an alias for a slice of pointers to FSTreatment. This should almost always be used instead of []*FSTreatment.

func (FSTreatmentSlice) AfterQueryHook

func (o FSTreatmentSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSTreatmentSlice is retrieved from the database

func (FSTreatmentSlice) DeleteAll

func (o FSTreatmentSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSTreatmentSlice) DeleteMod

func (o FSTreatmentSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSTreatmentSlice) LoadOrganization

func (os FSTreatmentSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsTreatment's Organization into the .R struct

func (FSTreatmentSlice) Organization

func (os FSTreatmentSlice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (FSTreatmentSlice) ReloadAll

func (o FSTreatmentSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSTreatmentSlice) UpdateAll

func (o FSTreatmentSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals FSTreatmentSetter) error

func (FSTreatmentSlice) UpdateMod

func (o FSTreatmentSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSTreatmentarea

type FSTreatmentarea struct {
	OrganizationID int32             `db:"organization_id" `
	Comments       null.Val[string]  `db:"comments" `
	Creationdate   null.Val[int64]   `db:"creationdate" `
	Creator        null.Val[string]  `db:"creator" `
	Editdate       null.Val[int64]   `db:"editdate" `
	Editor         null.Val[string]  `db:"editor" `
	Globalid       string            `db:"globalid" `
	Notified       null.Val[int16]   `db:"notified" `
	Objectid       int32             `db:"objectid,pk" `
	SessionID      null.Val[string]  `db:"session_id" `
	ShapeArea      null.Val[float64] `db:"shape__area" `
	ShapeLength    null.Val[float64] `db:"shape__length" `
	Treatdate      null.Val[int64]   `db:"treatdate" `
	TreatID        null.Val[string]  `db:"treat_id" `
	Type           null.Val[string]  `db:"type" `
	CreatedDate    null.Val[int64]   `db:"created_date" `
	CreatedUser    null.Val[string]  `db:"created_user" `
	GeometryX      null.Val[float64] `db:"geometry_x" `
	GeometryY      null.Val[float64] `db:"geometry_y" `
	LastEditedDate null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser null.Val[string]  `db:"last_edited_user" `
	Updated        time.Time         `db:"updated" `

	R fsTreatmentareaR `db:"-" `
}

FSTreatmentarea is an object representing the database table.

func FindFSTreatmentarea

func FindFSTreatmentarea(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSTreatmentarea, error)

FindFSTreatmentarea retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSTreatmentarea) AfterQueryHook

func (o *FSTreatmentarea) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSTreatmentarea is retrieved from the database

func (*FSTreatmentarea) AttachOrganization

func (fsTreatmentarea0 *FSTreatmentarea) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSTreatmentarea) Delete

func (o *FSTreatmentarea) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSTreatmentarea record with an executor

func (*FSTreatmentarea) InsertOrganization

func (fsTreatmentarea0 *FSTreatmentarea) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSTreatmentarea) LoadOrganization

func (o *FSTreatmentarea) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsTreatmentarea's Organization into the .R struct

func (*FSTreatmentarea) Organization

func (o *FSTreatmentarea) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSTreatmentarea) Preload

func (o *FSTreatmentarea) Preload(name string, retrieved any) error

func (*FSTreatmentarea) Reload

func (o *FSTreatmentarea) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSTreatmentarea using the executor

func (*FSTreatmentarea) Update

Update uses an executor to update the FSTreatmentarea

type FSTreatmentareaSetter

type FSTreatmentareaSetter struct {
	OrganizationID omit.Val[int32]       `db:"organization_id" `
	Comments       omitnull.Val[string]  `db:"comments" `
	Creationdate   omitnull.Val[int64]   `db:"creationdate" `
	Creator        omitnull.Val[string]  `db:"creator" `
	Editdate       omitnull.Val[int64]   `db:"editdate" `
	Editor         omitnull.Val[string]  `db:"editor" `
	Globalid       omit.Val[string]      `db:"globalid" `
	Notified       omitnull.Val[int16]   `db:"notified" `
	Objectid       omit.Val[int32]       `db:"objectid,pk" `
	SessionID      omitnull.Val[string]  `db:"session_id" `
	ShapeArea      omitnull.Val[float64] `db:"shape__area" `
	ShapeLength    omitnull.Val[float64] `db:"shape__length" `
	Treatdate      omitnull.Val[int64]   `db:"treatdate" `
	TreatID        omitnull.Val[string]  `db:"treat_id" `
	Type           omitnull.Val[string]  `db:"type" `
	CreatedDate    omitnull.Val[int64]   `db:"created_date" `
	CreatedUser    omitnull.Val[string]  `db:"created_user" `
	GeometryX      omitnull.Val[float64] `db:"geometry_x" `
	GeometryY      omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]  `db:"last_edited_user" `
	Updated        omit.Val[time.Time]   `db:"updated" `
}

FSTreatmentareaSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSTreatmentareaSetter) Apply

func (FSTreatmentareaSetter) Expressions

func (s FSTreatmentareaSetter) Expressions(prefix ...string) []bob.Expression

func (FSTreatmentareaSetter) Overwrite

func (s FSTreatmentareaSetter) Overwrite(t *FSTreatmentarea)

func (FSTreatmentareaSetter) SetColumns

func (s FSTreatmentareaSetter) SetColumns() []string

func (FSTreatmentareaSetter) UpdateMod

type FSTreatmentareaSlice

type FSTreatmentareaSlice []*FSTreatmentarea

FSTreatmentareaSlice is an alias for a slice of pointers to FSTreatmentarea. This should almost always be used instead of []*FSTreatmentarea.

func (FSTreatmentareaSlice) AfterQueryHook

func (o FSTreatmentareaSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSTreatmentareaSlice is retrieved from the database

func (FSTreatmentareaSlice) DeleteAll

func (o FSTreatmentareaSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSTreatmentareaSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSTreatmentareaSlice) LoadOrganization

func (os FSTreatmentareaSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsTreatmentarea's Organization into the .R struct

func (FSTreatmentareaSlice) Organization

func (FSTreatmentareaSlice) ReloadAll

func (o FSTreatmentareaSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSTreatmentareaSlice) UpdateAll

func (FSTreatmentareaSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSTreatmentareasQuery

type FSTreatmentareasQuery = *psql.ViewQuery[*FSTreatmentarea, FSTreatmentareaSlice]

FSTreatmentareasQuery is a query on the fs_treatmentarea table

type FSTreatmentsQuery

type FSTreatmentsQuery = *psql.ViewQuery[*FSTreatment, FSTreatmentSlice]

FSTreatmentsQuery is a query on the fs_treatment table

type FSZone

type FSZone struct {
	OrganizationID int32             `db:"organization_id" `
	Active         null.Val[int64]   `db:"active" `
	Creationdate   null.Val[int64]   `db:"creationdate" `
	Creator        null.Val[string]  `db:"creator" `
	Editdate       null.Val[int64]   `db:"editdate" `
	Editor         null.Val[string]  `db:"editor" `
	Globalid       string            `db:"globalid" `
	Name           null.Val[string]  `db:"name" `
	Objectid       int32             `db:"objectid,pk" `
	ShapeArea      null.Val[float64] `db:"shape__area" `
	ShapeLength    null.Val[float64] `db:"shape__length" `
	CreatedDate    null.Val[int64]   `db:"created_date" `
	CreatedUser    null.Val[string]  `db:"created_user" `
	GeometryX      null.Val[float64] `db:"geometry_x" `
	GeometryY      null.Val[float64] `db:"geometry_y" `
	LastEditedDate null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser null.Val[string]  `db:"last_edited_user" `
	Updated        time.Time         `db:"updated" `

	R fsZoneR `db:"-" `
}

FSZone is an object representing the database table.

func FindFSZone

func FindFSZone(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSZone, error)

FindFSZone retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSZone) AfterQueryHook

func (o *FSZone) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSZone is retrieved from the database

func (*FSZone) AttachOrganization

func (fsZone0 *FSZone) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSZone) Delete

func (o *FSZone) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSZone record with an executor

func (*FSZone) InsertOrganization

func (fsZone0 *FSZone) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSZone) LoadOrganization

func (o *FSZone) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsZone's Organization into the .R struct

func (*FSZone) Organization

func (o *FSZone) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSZone) Preload

func (o *FSZone) Preload(name string, retrieved any) error

func (*FSZone) Reload

func (o *FSZone) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSZone using the executor

func (*FSZone) Update

func (o *FSZone) Update(ctx context.Context, exec bob.Executor, s *FSZoneSetter) error

Update uses an executor to update the FSZone

type FSZoneSetter

type FSZoneSetter struct {
	OrganizationID omit.Val[int32]       `db:"organization_id" `
	Active         omitnull.Val[int64]   `db:"active" `
	Creationdate   omitnull.Val[int64]   `db:"creationdate" `
	Creator        omitnull.Val[string]  `db:"creator" `
	Editdate       omitnull.Val[int64]   `db:"editdate" `
	Editor         omitnull.Val[string]  `db:"editor" `
	Globalid       omit.Val[string]      `db:"globalid" `
	Name           omitnull.Val[string]  `db:"name" `
	Objectid       omit.Val[int32]       `db:"objectid,pk" `
	ShapeArea      omitnull.Val[float64] `db:"shape__area" `
	ShapeLength    omitnull.Val[float64] `db:"shape__length" `
	CreatedDate    omitnull.Val[int64]   `db:"created_date" `
	CreatedUser    omitnull.Val[string]  `db:"created_user" `
	GeometryX      omitnull.Val[float64] `db:"geometry_x" `
	GeometryY      omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]  `db:"last_edited_user" `
	Updated        omit.Val[time.Time]   `db:"updated" `
}

FSZoneSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSZoneSetter) Apply

func (s *FSZoneSetter) Apply(q *dialect.InsertQuery)

func (FSZoneSetter) Expressions

func (s FSZoneSetter) Expressions(prefix ...string) []bob.Expression

func (FSZoneSetter) Overwrite

func (s FSZoneSetter) Overwrite(t *FSZone)

func (FSZoneSetter) SetColumns

func (s FSZoneSetter) SetColumns() []string

func (FSZoneSetter) UpdateMod

func (s FSZoneSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type FSZoneSlice

type FSZoneSlice []*FSZone

FSZoneSlice is an alias for a slice of pointers to FSZone. This should almost always be used instead of []*FSZone.

func (FSZoneSlice) AfterQueryHook

func (o FSZoneSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSZoneSlice is retrieved from the database

func (FSZoneSlice) DeleteAll

func (o FSZoneSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSZoneSlice) DeleteMod

func (o FSZoneSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSZoneSlice) LoadOrganization

func (os FSZoneSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsZone's Organization into the .R struct

func (FSZoneSlice) Organization

func (os FSZoneSlice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (FSZoneSlice) ReloadAll

func (o FSZoneSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSZoneSlice) UpdateAll

func (o FSZoneSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals FSZoneSetter) error

func (FSZoneSlice) UpdateMod

func (o FSZoneSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSZones2

type FSZones2 struct {
	OrganizationID int32             `db:"organization_id" `
	Creationdate   null.Val[int64]   `db:"creationdate" `
	Creator        null.Val[string]  `db:"creator" `
	Editdate       null.Val[int64]   `db:"editdate" `
	Editor         null.Val[string]  `db:"editor" `
	Globalid       string            `db:"globalid" `
	Name           null.Val[string]  `db:"name" `
	Objectid       int32             `db:"objectid,pk" `
	ShapeArea      null.Val[float64] `db:"shape__area" `
	ShapeLength    null.Val[float64] `db:"shape__length" `
	CreatedDate    null.Val[int64]   `db:"created_date" `
	CreatedUser    null.Val[string]  `db:"created_user" `
	GeometryX      null.Val[float64] `db:"geometry_x" `
	GeometryY      null.Val[float64] `db:"geometry_y" `
	LastEditedDate null.Val[int64]   `db:"last_edited_date" `
	LastEditedUser null.Val[string]  `db:"last_edited_user" `
	Updated        time.Time         `db:"updated" `

	R fsZones2R `db:"-" `
}

FSZones2 is an object representing the database table.

func FindFSZones2

func FindFSZones2(ctx context.Context, exec bob.Executor, ObjectidPK int32, cols ...string) (*FSZones2, error)

FindFSZones2 retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FSZones2) AfterQueryHook

func (o *FSZones2) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSZones2 is retrieved from the database

func (*FSZones2) AttachOrganization

func (fsZones20 *FSZones2) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FSZones2) Delete

func (o *FSZones2) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FSZones2 record with an executor

func (*FSZones2) InsertOrganization

func (fsZones20 *FSZones2) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FSZones2) LoadOrganization

func (o *FSZones2) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsZones2's Organization into the .R struct

func (*FSZones2) Organization

func (o *FSZones2) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FSZones2) Preload

func (o *FSZones2) Preload(name string, retrieved any) error

func (*FSZones2) Reload

func (o *FSZones2) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FSZones2 using the executor

func (*FSZones2) Update

func (o *FSZones2) Update(ctx context.Context, exec bob.Executor, s *FSZones2Setter) error

Update uses an executor to update the FSZones2

type FSZones2Setter

type FSZones2Setter struct {
	OrganizationID omit.Val[int32]       `db:"organization_id" `
	Creationdate   omitnull.Val[int64]   `db:"creationdate" `
	Creator        omitnull.Val[string]  `db:"creator" `
	Editdate       omitnull.Val[int64]   `db:"editdate" `
	Editor         omitnull.Val[string]  `db:"editor" `
	Globalid       omit.Val[string]      `db:"globalid" `
	Name           omitnull.Val[string]  `db:"name" `
	Objectid       omit.Val[int32]       `db:"objectid,pk" `
	ShapeArea      omitnull.Val[float64] `db:"shape__area" `
	ShapeLength    omitnull.Val[float64] `db:"shape__length" `
	CreatedDate    omitnull.Val[int64]   `db:"created_date" `
	CreatedUser    omitnull.Val[string]  `db:"created_user" `
	GeometryX      omitnull.Val[float64] `db:"geometry_x" `
	GeometryY      omitnull.Val[float64] `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]   `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]  `db:"last_edited_user" `
	Updated        omit.Val[time.Time]   `db:"updated" `
}

FSZones2Setter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FSZones2Setter) Apply

func (s *FSZones2Setter) Apply(q *dialect.InsertQuery)

func (FSZones2Setter) Expressions

func (s FSZones2Setter) Expressions(prefix ...string) []bob.Expression

func (FSZones2Setter) Overwrite

func (s FSZones2Setter) Overwrite(t *FSZones2)

func (FSZones2Setter) SetColumns

func (s FSZones2Setter) SetColumns() []string

func (FSZones2Setter) UpdateMod

func (s FSZones2Setter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type FSZones2Slice

type FSZones2Slice []*FSZones2

FSZones2Slice is an alias for a slice of pointers to FSZones2. This should almost always be used instead of []*FSZones2.

func (FSZones2Slice) AfterQueryHook

func (o FSZones2Slice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FSZones2Slice is retrieved from the database

func (FSZones2Slice) DeleteAll

func (o FSZones2Slice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FSZones2Slice) DeleteMod

func (o FSZones2Slice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FSZones2Slice) LoadOrganization

func (os FSZones2Slice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fsZones2's Organization into the .R struct

func (FSZones2Slice) Organization

func (os FSZones2Slice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (FSZones2Slice) ReloadAll

func (o FSZones2Slice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FSZones2Slice) UpdateAll

func (o FSZones2Slice) UpdateAll(ctx context.Context, exec bob.Executor, vals FSZones2Setter) error

func (FSZones2Slice) UpdateMod

func (o FSZones2Slice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FSZones2sQuery

type FSZones2sQuery = *psql.ViewQuery[*FSZones2, FSZones2Slice]

FSZones2sQuery is a query on the fs_zones2 table

type FSZonesQuery

type FSZonesQuery = *psql.ViewQuery[*FSZone, FSZoneSlice]

FSZonesQuery is a query on the fs_zones table

type FieldseekerSync

type FieldseekerSync struct {
	ID               int32     `db:"id,pk" `
	Created          time.Time `db:"created" `
	RecordsCreated   int32     `db:"records_created" `
	RecordsUpdated   int32     `db:"records_updated" `
	RecordsUnchanged int32     `db:"records_unchanged" `
	OrganizationID   int32     `db:"organization_id" `

	R fieldseekerSyncR `db:"-" `
}

FieldseekerSync is an object representing the database table.

func FindFieldseekerSync

func FindFieldseekerSync(ctx context.Context, exec bob.Executor, IDPK int32, cols ...string) (*FieldseekerSync, error)

FindFieldseekerSync retrieves a single record by primary key If cols is empty Find will return all columns.

func (*FieldseekerSync) AfterQueryHook

func (o *FieldseekerSync) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FieldseekerSync is retrieved from the database

func (*FieldseekerSync) AttachOrganization

func (fieldseekerSync0 *FieldseekerSync) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*FieldseekerSync) Delete

func (o *FieldseekerSync) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single FieldseekerSync record with an executor

func (*FieldseekerSync) InsertOrganization

func (fieldseekerSync0 *FieldseekerSync) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*FieldseekerSync) LoadOrganization

func (o *FieldseekerSync) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fieldseekerSync's Organization into the .R struct

func (*FieldseekerSync) Organization

func (o *FieldseekerSync) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*FieldseekerSync) Preload

func (o *FieldseekerSync) Preload(name string, retrieved any) error

func (*FieldseekerSync) Reload

func (o *FieldseekerSync) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the FieldseekerSync using the executor

func (*FieldseekerSync) Update

Update uses an executor to update the FieldseekerSync

type FieldseekerSyncSetter

type FieldseekerSyncSetter struct {
	ID               omit.Val[int32]     `db:"id,pk" `
	Created          omit.Val[time.Time] `db:"created" `
	RecordsCreated   omit.Val[int32]     `db:"records_created" `
	RecordsUpdated   omit.Val[int32]     `db:"records_updated" `
	RecordsUnchanged omit.Val[int32]     `db:"records_unchanged" `
	OrganizationID   omit.Val[int32]     `db:"organization_id" `
}

FieldseekerSyncSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*FieldseekerSyncSetter) Apply

func (FieldseekerSyncSetter) Expressions

func (s FieldseekerSyncSetter) Expressions(prefix ...string) []bob.Expression

func (FieldseekerSyncSetter) Overwrite

func (s FieldseekerSyncSetter) Overwrite(t *FieldseekerSync)

func (FieldseekerSyncSetter) SetColumns

func (s FieldseekerSyncSetter) SetColumns() []string

func (FieldseekerSyncSetter) UpdateMod

type FieldseekerSyncSlice

type FieldseekerSyncSlice []*FieldseekerSync

FieldseekerSyncSlice is an alias for a slice of pointers to FieldseekerSync. This should almost always be used instead of []*FieldseekerSync.

func (FieldseekerSyncSlice) AfterQueryHook

func (o FieldseekerSyncSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after FieldseekerSyncSlice is retrieved from the database

func (FieldseekerSyncSlice) DeleteAll

func (o FieldseekerSyncSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (FieldseekerSyncSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (FieldseekerSyncSlice) LoadOrganization

func (os FieldseekerSyncSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the fieldseekerSync's Organization into the .R struct

func (FieldseekerSyncSlice) Organization

func (FieldseekerSyncSlice) ReloadAll

func (o FieldseekerSyncSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (FieldseekerSyncSlice) UpdateAll

func (FieldseekerSyncSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type FieldseekerSyncsQuery

type FieldseekerSyncsQuery = *psql.ViewQuery[*FieldseekerSync, FieldseekerSyncSlice]

FieldseekerSyncsQuery is a query on the fieldseeker_sync table

type GeographyColumn

type GeographyColumn struct {
	FTableCatalog    null.Val[string] `db:"f_table_catalog" `
	FTableSchema     null.Val[string] `db:"f_table_schema" `
	FTableName       null.Val[string] `db:"f_table_name" `
	FGeographyColumn null.Val[string] `db:"f_geography_column" `
	CoordDimension   null.Val[int32]  `db:"coord_dimension" `
	Srid             null.Val[int32]  `db:"srid" `
	Type             null.Val[string] `db:"type" `
}

GeographyColumn is an object representing the database table.

func (*GeographyColumn) AfterQueryHook

func (o *GeographyColumn) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after GeographyColumn is retrieved from the database

type GeographyColumnSlice

type GeographyColumnSlice []*GeographyColumn

GeographyColumnSlice is an alias for a slice of pointers to GeographyColumn. This should almost always be used instead of []*GeographyColumn.

func (GeographyColumnSlice) AfterQueryHook

func (o GeographyColumnSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after GeographyColumnSlice is retrieved from the database

type GeographyColumnsQuery

type GeographyColumnsQuery = *psql.ViewQuery[*GeographyColumn, GeographyColumnSlice]

GeographyColumnsQuery is a query on the geography_columns view

type GeometryColumn

type GeometryColumn struct {
	FTableCatalog   null.Val[string] `db:"f_table_catalog" `
	FTableSchema    null.Val[string] `db:"f_table_schema" `
	FTableName      null.Val[string] `db:"f_table_name" `
	FGeometryColumn null.Val[string] `db:"f_geometry_column" `
	CoordDimension  null.Val[int32]  `db:"coord_dimension" `
	Srid            null.Val[int32]  `db:"srid" `
	Type            null.Val[string] `db:"type" `
}

GeometryColumn is an object representing the database table.

func (*GeometryColumn) AfterQueryHook

func (o *GeometryColumn) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after GeometryColumn is retrieved from the database

type GeometryColumnSlice

type GeometryColumnSlice []*GeometryColumn

GeometryColumnSlice is an alias for a slice of pointers to GeometryColumn. This should almost always be used instead of []*GeometryColumn.

func (GeometryColumnSlice) AfterQueryHook

func (o GeometryColumnSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after GeometryColumnSlice is retrieved from the database

type GeometryColumnsQuery

type GeometryColumnsQuery = *psql.ViewQuery[*GeometryColumn, GeometryColumnSlice]

GeometryColumnsQuery is a query on the geometry_columns view

type GooseDBVersion

type GooseDBVersion struct {
	ID        int32     `db:"id,pk" `
	VersionID int64     `db:"version_id" `
	IsApplied bool      `db:"is_applied" `
	Tstamp    time.Time `db:"tstamp" `
}

GooseDBVersion is an object representing the database table.

func FindGooseDBVersion

func FindGooseDBVersion(ctx context.Context, exec bob.Executor, IDPK int32, cols ...string) (*GooseDBVersion, error)

FindGooseDBVersion retrieves a single record by primary key If cols is empty Find will return all columns.

func (*GooseDBVersion) AfterQueryHook

func (o *GooseDBVersion) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after GooseDBVersion is retrieved from the database

func (*GooseDBVersion) Delete

func (o *GooseDBVersion) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single GooseDBVersion record with an executor

func (*GooseDBVersion) Reload

func (o *GooseDBVersion) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the GooseDBVersion using the executor

func (*GooseDBVersion) Update

Update uses an executor to update the GooseDBVersion

type GooseDBVersionSetter

type GooseDBVersionSetter struct {
	ID        omit.Val[int32]     `db:"id,pk" `
	VersionID omit.Val[int64]     `db:"version_id" `
	IsApplied omit.Val[bool]      `db:"is_applied" `
	Tstamp    omit.Val[time.Time] `db:"tstamp" `
}

GooseDBVersionSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*GooseDBVersionSetter) Apply

func (GooseDBVersionSetter) Expressions

func (s GooseDBVersionSetter) Expressions(prefix ...string) []bob.Expression

func (GooseDBVersionSetter) Overwrite

func (s GooseDBVersionSetter) Overwrite(t *GooseDBVersion)

func (GooseDBVersionSetter) SetColumns

func (s GooseDBVersionSetter) SetColumns() []string

func (GooseDBVersionSetter) UpdateMod

type GooseDBVersionSlice

type GooseDBVersionSlice []*GooseDBVersion

GooseDBVersionSlice is an alias for a slice of pointers to GooseDBVersion. This should almost always be used instead of []*GooseDBVersion.

func (GooseDBVersionSlice) AfterQueryHook

func (o GooseDBVersionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after GooseDBVersionSlice is retrieved from the database

func (GooseDBVersionSlice) DeleteAll

func (o GooseDBVersionSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (GooseDBVersionSlice) DeleteMod

func (o GooseDBVersionSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (GooseDBVersionSlice) ReloadAll

func (o GooseDBVersionSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (GooseDBVersionSlice) UpdateAll

func (GooseDBVersionSlice) UpdateMod

func (o GooseDBVersionSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type GooseDBVersionsQuery

type GooseDBVersionsQuery = *psql.ViewQuery[*GooseDBVersion, GooseDBVersionSlice]

GooseDBVersionsQuery is a query on the goose_db_version table

type H3Aggregation

type H3Aggregation struct {
	ID             int32                   `db:"id,pk" `
	Cell           string                  `db:"cell" `
	Count          int32                   `db:"count_" `
	Geometry       null.Val[string]        `db:"geometry" `
	OrganizationID int32                   `db:"organization_id" `
	Resolution     int32                   `db:"resolution" `
	Type           enums.H3aggregationtype `db:"type_" `

	R h3AggregationR `db:"-" `
}

H3Aggregation is an object representing the database table.

func FindH3Aggregation

func FindH3Aggregation(ctx context.Context, exec bob.Executor, IDPK int32, cols ...string) (*H3Aggregation, error)

FindH3Aggregation retrieves a single record by primary key If cols is empty Find will return all columns.

func (*H3Aggregation) AfterQueryHook

func (o *H3Aggregation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after H3Aggregation is retrieved from the database

func (*H3Aggregation) AttachOrganization

func (h3Aggregation0 *H3Aggregation) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*H3Aggregation) Delete

func (o *H3Aggregation) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single H3Aggregation record with an executor

func (*H3Aggregation) InsertOrganization

func (h3Aggregation0 *H3Aggregation) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*H3Aggregation) LoadOrganization

func (o *H3Aggregation) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the h3Aggregation's Organization into the .R struct

func (*H3Aggregation) Organization

func (o *H3Aggregation) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*H3Aggregation) Preload

func (o *H3Aggregation) Preload(name string, retrieved any) error

func (*H3Aggregation) Reload

func (o *H3Aggregation) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the H3Aggregation using the executor

func (*H3Aggregation) Update

Update uses an executor to update the H3Aggregation

type H3AggregationSetter

type H3AggregationSetter struct {
	ID             omit.Val[int32]                   `db:"id,pk" `
	Cell           omit.Val[string]                  `db:"cell" `
	Count          omit.Val[int32]                   `db:"count_" `
	Geometry       omitnull.Val[string]              `db:"geometry" `
	OrganizationID omit.Val[int32]                   `db:"organization_id" `
	Resolution     omit.Val[int32]                   `db:"resolution" `
	Type           omit.Val[enums.H3aggregationtype] `db:"type_" `
}

H3AggregationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*H3AggregationSetter) Apply

func (H3AggregationSetter) Expressions

func (s H3AggregationSetter) Expressions(prefix ...string) []bob.Expression

func (H3AggregationSetter) Overwrite

func (s H3AggregationSetter) Overwrite(t *H3Aggregation)

func (H3AggregationSetter) SetColumns

func (s H3AggregationSetter) SetColumns() []string

func (H3AggregationSetter) UpdateMod

func (s H3AggregationSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type H3AggregationSlice

type H3AggregationSlice []*H3Aggregation

H3AggregationSlice is an alias for a slice of pointers to H3Aggregation. This should almost always be used instead of []*H3Aggregation.

func (H3AggregationSlice) AfterQueryHook

func (o H3AggregationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after H3AggregationSlice is retrieved from the database

func (H3AggregationSlice) DeleteAll

func (o H3AggregationSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (H3AggregationSlice) DeleteMod

func (o H3AggregationSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (H3AggregationSlice) LoadOrganization

func (os H3AggregationSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the h3Aggregation's Organization into the .R struct

func (H3AggregationSlice) Organization

func (os H3AggregationSlice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (H3AggregationSlice) ReloadAll

func (o H3AggregationSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (H3AggregationSlice) UpdateAll

func (H3AggregationSlice) UpdateMod

func (o H3AggregationSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type H3AggregationsQuery

type H3AggregationsQuery = *psql.ViewQuery[*H3Aggregation, H3AggregationSlice]

H3AggregationsQuery is a query on the h3_aggregation table

type HistoryContainerrelate

type HistoryContainerrelate struct {
	OrganizationID int32               `db:"organization_id" `
	Containertype  null.Val[string]    `db:"containertype" `
	Creationdate   null.Val[int64]     `db:"creationdate" `
	Creator        null.Val[string]    `db:"creator" `
	Editdate       null.Val[int64]     `db:"editdate" `
	Editor         null.Val[string]    `db:"editor" `
	Globalid       null.Val[string]    `db:"globalid" `
	Inspsampleid   null.Val[string]    `db:"inspsampleid" `
	Mosquitoinspid null.Val[string]    `db:"mosquitoinspid" `
	Objectid       int32               `db:"objectid,pk" `
	Treatmentid    null.Val[string]    `db:"treatmentid" `
	Created        null.Val[time.Time] `db:"created" `
	CreatedDate    null.Val[int64]     `db:"created_date" `
	CreatedUser    null.Val[string]    `db:"created_user" `
	GeometryX      null.Val[float64]   `db:"geometry_x" `
	GeometryY      null.Val[float64]   `db:"geometry_y" `
	LastEditedDate null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser null.Val[string]    `db:"last_edited_user" `
	Version        int32               `db:"version,pk" `

	R historyContainerrelateR `db:"-" `
}

HistoryContainerrelate is an object representing the database table.

func FindHistoryContainerrelate

func FindHistoryContainerrelate(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryContainerrelate, error)

FindHistoryContainerrelate retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryContainerrelate) AfterQueryHook

func (o *HistoryContainerrelate) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryContainerrelate is retrieved from the database

func (*HistoryContainerrelate) AttachOrganization

func (historyContainerrelate0 *HistoryContainerrelate) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryContainerrelate) Delete

func (o *HistoryContainerrelate) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryContainerrelate record with an executor

func (*HistoryContainerrelate) InsertOrganization

func (historyContainerrelate0 *HistoryContainerrelate) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryContainerrelate) LoadOrganization

func (o *HistoryContainerrelate) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyContainerrelate's Organization into the .R struct

func (*HistoryContainerrelate) Organization

Organization starts a query for related objects on organization

func (*HistoryContainerrelate) Preload

func (o *HistoryContainerrelate) Preload(name string, retrieved any) error

func (*HistoryContainerrelate) Reload

func (o *HistoryContainerrelate) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryContainerrelate using the executor

func (*HistoryContainerrelate) Update

Update uses an executor to update the HistoryContainerrelate

type HistoryContainerrelateSetter

type HistoryContainerrelateSetter struct {
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Containertype  omitnull.Val[string]    `db:"containertype" `
	Creationdate   omitnull.Val[int64]     `db:"creationdate" `
	Creator        omitnull.Val[string]    `db:"creator" `
	Editdate       omitnull.Val[int64]     `db:"editdate" `
	Editor         omitnull.Val[string]    `db:"editor" `
	Globalid       omitnull.Val[string]    `db:"globalid" `
	Inspsampleid   omitnull.Val[string]    `db:"inspsampleid" `
	Mosquitoinspid omitnull.Val[string]    `db:"mosquitoinspid" `
	Objectid       omit.Val[int32]         `db:"objectid,pk" `
	Treatmentid    omitnull.Val[string]    `db:"treatmentid" `
	Created        omitnull.Val[time.Time] `db:"created" `
	CreatedDate    omitnull.Val[int64]     `db:"created_date" `
	CreatedUser    omitnull.Val[string]    `db:"created_user" `
	GeometryX      omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY      omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]    `db:"last_edited_user" `
	Version        omit.Val[int32]         `db:"version,pk" `
}

HistoryContainerrelateSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryContainerrelateSetter) Apply

func (HistoryContainerrelateSetter) Expressions

func (s HistoryContainerrelateSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryContainerrelateSetter) Overwrite

func (HistoryContainerrelateSetter) SetColumns

func (s HistoryContainerrelateSetter) SetColumns() []string

func (HistoryContainerrelateSetter) UpdateMod

type HistoryContainerrelateSlice

type HistoryContainerrelateSlice []*HistoryContainerrelate

HistoryContainerrelateSlice is an alias for a slice of pointers to HistoryContainerrelate. This should almost always be used instead of []*HistoryContainerrelate.

func (HistoryContainerrelateSlice) AfterQueryHook

func (o HistoryContainerrelateSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryContainerrelateSlice is retrieved from the database

func (HistoryContainerrelateSlice) DeleteAll

func (HistoryContainerrelateSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryContainerrelateSlice) LoadOrganization

func (os HistoryContainerrelateSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyContainerrelate's Organization into the .R struct

func (HistoryContainerrelateSlice) Organization

func (HistoryContainerrelateSlice) ReloadAll

func (HistoryContainerrelateSlice) UpdateAll

func (HistoryContainerrelateSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryContainerrelatesQuery

type HistoryContainerrelatesQuery = *psql.ViewQuery[*HistoryContainerrelate, HistoryContainerrelateSlice]

HistoryContainerrelatesQuery is a query on the history_containerrelate table

type HistoryFieldscoutinglog

type HistoryFieldscoutinglog struct {
	OrganizationID int32               `db:"organization_id" `
	Creationdate   null.Val[int64]     `db:"creationdate" `
	Creator        null.Val[string]    `db:"creator" `
	Editdate       null.Val[int64]     `db:"editdate" `
	Editor         null.Val[string]    `db:"editor" `
	Globalid       null.Val[string]    `db:"globalid" `
	Objectid       int32               `db:"objectid,pk" `
	Status         null.Val[int16]     `db:"status" `
	Created        null.Val[time.Time] `db:"created" `
	CreatedDate    null.Val[int64]     `db:"created_date" `
	CreatedUser    null.Val[string]    `db:"created_user" `
	GeometryX      null.Val[float64]   `db:"geometry_x" `
	GeometryY      null.Val[float64]   `db:"geometry_y" `
	LastEditedDate null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser null.Val[string]    `db:"last_edited_user" `
	Version        int32               `db:"version,pk" `

	R historyFieldscoutinglogR `db:"-" `
}

HistoryFieldscoutinglog is an object representing the database table.

func FindHistoryFieldscoutinglog

func FindHistoryFieldscoutinglog(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryFieldscoutinglog, error)

FindHistoryFieldscoutinglog retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryFieldscoutinglog) AfterQueryHook

func (o *HistoryFieldscoutinglog) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryFieldscoutinglog is retrieved from the database

func (*HistoryFieldscoutinglog) AttachOrganization

func (historyFieldscoutinglog0 *HistoryFieldscoutinglog) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryFieldscoutinglog) Delete

Delete deletes a single HistoryFieldscoutinglog record with an executor

func (*HistoryFieldscoutinglog) InsertOrganization

func (historyFieldscoutinglog0 *HistoryFieldscoutinglog) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryFieldscoutinglog) LoadOrganization

func (o *HistoryFieldscoutinglog) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyFieldscoutinglog's Organization into the .R struct

func (*HistoryFieldscoutinglog) Organization

Organization starts a query for related objects on organization

func (*HistoryFieldscoutinglog) Preload

func (o *HistoryFieldscoutinglog) Preload(name string, retrieved any) error

func (*HistoryFieldscoutinglog) Reload

Reload refreshes the HistoryFieldscoutinglog using the executor

func (*HistoryFieldscoutinglog) Update

Update uses an executor to update the HistoryFieldscoutinglog

type HistoryFieldscoutinglogSetter

type HistoryFieldscoutinglogSetter struct {
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Creationdate   omitnull.Val[int64]     `db:"creationdate" `
	Creator        omitnull.Val[string]    `db:"creator" `
	Editdate       omitnull.Val[int64]     `db:"editdate" `
	Editor         omitnull.Val[string]    `db:"editor" `
	Globalid       omitnull.Val[string]    `db:"globalid" `
	Objectid       omit.Val[int32]         `db:"objectid,pk" `
	Status         omitnull.Val[int16]     `db:"status" `
	Created        omitnull.Val[time.Time] `db:"created" `
	CreatedDate    omitnull.Val[int64]     `db:"created_date" `
	CreatedUser    omitnull.Val[string]    `db:"created_user" `
	GeometryX      omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY      omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]    `db:"last_edited_user" `
	Version        omit.Val[int32]         `db:"version,pk" `
}

HistoryFieldscoutinglogSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryFieldscoutinglogSetter) Apply

func (HistoryFieldscoutinglogSetter) Expressions

func (s HistoryFieldscoutinglogSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryFieldscoutinglogSetter) Overwrite

func (HistoryFieldscoutinglogSetter) SetColumns

func (s HistoryFieldscoutinglogSetter) SetColumns() []string

func (HistoryFieldscoutinglogSetter) UpdateMod

type HistoryFieldscoutinglogSlice

type HistoryFieldscoutinglogSlice []*HistoryFieldscoutinglog

HistoryFieldscoutinglogSlice is an alias for a slice of pointers to HistoryFieldscoutinglog. This should almost always be used instead of []*HistoryFieldscoutinglog.

func (HistoryFieldscoutinglogSlice) AfterQueryHook

func (o HistoryFieldscoutinglogSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryFieldscoutinglogSlice is retrieved from the database

func (HistoryFieldscoutinglogSlice) DeleteAll

func (HistoryFieldscoutinglogSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryFieldscoutinglogSlice) LoadOrganization

func (os HistoryFieldscoutinglogSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyFieldscoutinglog's Organization into the .R struct

func (HistoryFieldscoutinglogSlice) Organization

func (HistoryFieldscoutinglogSlice) ReloadAll

func (HistoryFieldscoutinglogSlice) UpdateAll

func (HistoryFieldscoutinglogSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryFieldscoutinglogsQuery

type HistoryFieldscoutinglogsQuery = *psql.ViewQuery[*HistoryFieldscoutinglog, HistoryFieldscoutinglogSlice]

HistoryFieldscoutinglogsQuery is a query on the history_fieldscoutinglog table

type HistoryHabitatrelate

type HistoryHabitatrelate struct {
	OrganizationID int32               `db:"organization_id" `
	Creationdate   null.Val[int64]     `db:"creationdate" `
	Creator        null.Val[string]    `db:"creator" `
	Editdate       null.Val[int64]     `db:"editdate" `
	Editor         null.Val[string]    `db:"editor" `
	ForeignID      null.Val[string]    `db:"foreign_id" `
	Globalid       null.Val[string]    `db:"globalid" `
	Habitattype    null.Val[string]    `db:"habitattype" `
	Objectid       int32               `db:"objectid,pk" `
	Created        null.Val[time.Time] `db:"created" `
	CreatedDate    null.Val[int64]     `db:"created_date" `
	CreatedUser    null.Val[string]    `db:"created_user" `
	GeometryX      null.Val[float64]   `db:"geometry_x" `
	GeometryY      null.Val[float64]   `db:"geometry_y" `
	LastEditedDate null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser null.Val[string]    `db:"last_edited_user" `
	Version        int32               `db:"version,pk" `

	R historyHabitatrelateR `db:"-" `
}

HistoryHabitatrelate is an object representing the database table.

func FindHistoryHabitatrelate

func FindHistoryHabitatrelate(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryHabitatrelate, error)

FindHistoryHabitatrelate retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryHabitatrelate) AfterQueryHook

func (o *HistoryHabitatrelate) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryHabitatrelate is retrieved from the database

func (*HistoryHabitatrelate) AttachOrganization

func (historyHabitatrelate0 *HistoryHabitatrelate) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryHabitatrelate) Delete

func (o *HistoryHabitatrelate) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryHabitatrelate record with an executor

func (*HistoryHabitatrelate) InsertOrganization

func (historyHabitatrelate0 *HistoryHabitatrelate) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryHabitatrelate) LoadOrganization

func (o *HistoryHabitatrelate) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyHabitatrelate's Organization into the .R struct

func (*HistoryHabitatrelate) Organization

Organization starts a query for related objects on organization

func (*HistoryHabitatrelate) Preload

func (o *HistoryHabitatrelate) Preload(name string, retrieved any) error

func (*HistoryHabitatrelate) Reload

func (o *HistoryHabitatrelate) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryHabitatrelate using the executor

func (*HistoryHabitatrelate) Update

Update uses an executor to update the HistoryHabitatrelate

type HistoryHabitatrelateSetter

type HistoryHabitatrelateSetter struct {
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Creationdate   omitnull.Val[int64]     `db:"creationdate" `
	Creator        omitnull.Val[string]    `db:"creator" `
	Editdate       omitnull.Val[int64]     `db:"editdate" `
	Editor         omitnull.Val[string]    `db:"editor" `
	ForeignID      omitnull.Val[string]    `db:"foreign_id" `
	Globalid       omitnull.Val[string]    `db:"globalid" `
	Habitattype    omitnull.Val[string]    `db:"habitattype" `
	Objectid       omit.Val[int32]         `db:"objectid,pk" `
	Created        omitnull.Val[time.Time] `db:"created" `
	CreatedDate    omitnull.Val[int64]     `db:"created_date" `
	CreatedUser    omitnull.Val[string]    `db:"created_user" `
	GeometryX      omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY      omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]    `db:"last_edited_user" `
	Version        omit.Val[int32]         `db:"version,pk" `
}

HistoryHabitatrelateSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryHabitatrelateSetter) Apply

func (HistoryHabitatrelateSetter) Expressions

func (s HistoryHabitatrelateSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryHabitatrelateSetter) Overwrite

func (HistoryHabitatrelateSetter) SetColumns

func (s HistoryHabitatrelateSetter) SetColumns() []string

func (HistoryHabitatrelateSetter) UpdateMod

type HistoryHabitatrelateSlice

type HistoryHabitatrelateSlice []*HistoryHabitatrelate

HistoryHabitatrelateSlice is an alias for a slice of pointers to HistoryHabitatrelate. This should almost always be used instead of []*HistoryHabitatrelate.

func (HistoryHabitatrelateSlice) AfterQueryHook

func (o HistoryHabitatrelateSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryHabitatrelateSlice is retrieved from the database

func (HistoryHabitatrelateSlice) DeleteAll

func (o HistoryHabitatrelateSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (HistoryHabitatrelateSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryHabitatrelateSlice) LoadOrganization

func (os HistoryHabitatrelateSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyHabitatrelate's Organization into the .R struct

func (HistoryHabitatrelateSlice) Organization

func (HistoryHabitatrelateSlice) ReloadAll

func (o HistoryHabitatrelateSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (HistoryHabitatrelateSlice) UpdateAll

func (HistoryHabitatrelateSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryHabitatrelatesQuery

type HistoryHabitatrelatesQuery = *psql.ViewQuery[*HistoryHabitatrelate, HistoryHabitatrelateSlice]

HistoryHabitatrelatesQuery is a query on the history_habitatrelate table

type HistoryInspectionsample

type HistoryInspectionsample struct {
	OrganizationID int32               `db:"organization_id" `
	Creationdate   null.Val[int64]     `db:"creationdate" `
	Creator        null.Val[string]    `db:"creator" `
	Editdate       null.Val[int64]     `db:"editdate" `
	Editor         null.Val[string]    `db:"editor" `
	Globalid       null.Val[string]    `db:"globalid" `
	Idbytech       null.Val[string]    `db:"idbytech" `
	InspID         null.Val[string]    `db:"insp_id" `
	Objectid       int32               `db:"objectid,pk" `
	Processed      null.Val[int16]     `db:"processed" `
	Sampleid       null.Val[string]    `db:"sampleid" `
	Created        null.Val[time.Time] `db:"created" `
	CreatedDate    null.Val[int64]     `db:"created_date" `
	CreatedUser    null.Val[string]    `db:"created_user" `
	GeometryX      null.Val[float64]   `db:"geometry_x" `
	GeometryY      null.Val[float64]   `db:"geometry_y" `
	LastEditedDate null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser null.Val[string]    `db:"last_edited_user" `
	Version        int32               `db:"version,pk" `

	R historyInspectionsampleR `db:"-" `
}

HistoryInspectionsample is an object representing the database table.

func FindHistoryInspectionsample

func FindHistoryInspectionsample(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryInspectionsample, error)

FindHistoryInspectionsample retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryInspectionsample) AfterQueryHook

func (o *HistoryInspectionsample) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryInspectionsample is retrieved from the database

func (*HistoryInspectionsample) AttachOrganization

func (historyInspectionsample0 *HistoryInspectionsample) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryInspectionsample) Delete

Delete deletes a single HistoryInspectionsample record with an executor

func (*HistoryInspectionsample) InsertOrganization

func (historyInspectionsample0 *HistoryInspectionsample) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryInspectionsample) LoadOrganization

func (o *HistoryInspectionsample) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyInspectionsample's Organization into the .R struct

func (*HistoryInspectionsample) Organization

Organization starts a query for related objects on organization

func (*HistoryInspectionsample) Preload

func (o *HistoryInspectionsample) Preload(name string, retrieved any) error

func (*HistoryInspectionsample) Reload

Reload refreshes the HistoryInspectionsample using the executor

func (*HistoryInspectionsample) Update

Update uses an executor to update the HistoryInspectionsample

type HistoryInspectionsampleSetter

type HistoryInspectionsampleSetter struct {
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Creationdate   omitnull.Val[int64]     `db:"creationdate" `
	Creator        omitnull.Val[string]    `db:"creator" `
	Editdate       omitnull.Val[int64]     `db:"editdate" `
	Editor         omitnull.Val[string]    `db:"editor" `
	Globalid       omitnull.Val[string]    `db:"globalid" `
	Idbytech       omitnull.Val[string]    `db:"idbytech" `
	InspID         omitnull.Val[string]    `db:"insp_id" `
	Objectid       omit.Val[int32]         `db:"objectid,pk" `
	Processed      omitnull.Val[int16]     `db:"processed" `
	Sampleid       omitnull.Val[string]    `db:"sampleid" `
	Created        omitnull.Val[time.Time] `db:"created" `
	CreatedDate    omitnull.Val[int64]     `db:"created_date" `
	CreatedUser    omitnull.Val[string]    `db:"created_user" `
	GeometryX      omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY      omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]    `db:"last_edited_user" `
	Version        omit.Val[int32]         `db:"version,pk" `
}

HistoryInspectionsampleSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryInspectionsampleSetter) Apply

func (HistoryInspectionsampleSetter) Expressions

func (s HistoryInspectionsampleSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryInspectionsampleSetter) Overwrite

func (HistoryInspectionsampleSetter) SetColumns

func (s HistoryInspectionsampleSetter) SetColumns() []string

func (HistoryInspectionsampleSetter) UpdateMod

type HistoryInspectionsampleSlice

type HistoryInspectionsampleSlice []*HistoryInspectionsample

HistoryInspectionsampleSlice is an alias for a slice of pointers to HistoryInspectionsample. This should almost always be used instead of []*HistoryInspectionsample.

func (HistoryInspectionsampleSlice) AfterQueryHook

func (o HistoryInspectionsampleSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryInspectionsampleSlice is retrieved from the database

func (HistoryInspectionsampleSlice) DeleteAll

func (HistoryInspectionsampleSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryInspectionsampleSlice) LoadOrganization

func (os HistoryInspectionsampleSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyInspectionsample's Organization into the .R struct

func (HistoryInspectionsampleSlice) Organization

func (HistoryInspectionsampleSlice) ReloadAll

func (HistoryInspectionsampleSlice) UpdateAll

func (HistoryInspectionsampleSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryInspectionsampledetail

type HistoryInspectionsampledetail struct {
	OrganizationID int32               `db:"organization_id" `
	Comments       null.Val[string]    `db:"comments" `
	Creationdate   null.Val[int64]     `db:"creationdate" `
	Creator        null.Val[string]    `db:"creator" `
	Editdate       null.Val[int64]     `db:"editdate" `
	Editor         null.Val[string]    `db:"editor" `
	Fadultact      null.Val[string]    `db:"fadultact" `
	Fdomstage      null.Val[string]    `db:"fdomstage" `
	Feggcount      null.Val[int16]     `db:"feggcount" `
	Fieldspecies   null.Val[string]    `db:"fieldspecies" `
	Flarvcount     null.Val[int16]     `db:"flarvcount" `
	Flstages       null.Val[string]    `db:"flstages" `
	Fpupcount      null.Val[int16]     `db:"fpupcount" `
	Globalid       null.Val[string]    `db:"globalid" `
	InspsampleID   null.Val[string]    `db:"inspsample_id" `
	Labspecies     null.Val[string]    `db:"labspecies" `
	Ldomstage      null.Val[string]    `db:"ldomstage" `
	Leggcount      null.Val[int16]     `db:"leggcount" `
	Llarvcount     null.Val[int16]     `db:"llarvcount" `
	Lpupcount      null.Val[int16]     `db:"lpupcount" `
	Objectid       int32               `db:"objectid,pk" `
	Processed      null.Val[int16]     `db:"processed" `
	Created        null.Val[time.Time] `db:"created" `
	CreatedDate    null.Val[int64]     `db:"created_date" `
	CreatedUser    null.Val[string]    `db:"created_user" `
	GeometryX      null.Val[float64]   `db:"geometry_x" `
	GeometryY      null.Val[float64]   `db:"geometry_y" `
	LastEditedDate null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser null.Val[string]    `db:"last_edited_user" `
	Version        int32               `db:"version,pk" `

	R historyInspectionsampledetailR `db:"-" `
}

HistoryInspectionsampledetail is an object representing the database table.

func FindHistoryInspectionsampledetail

func FindHistoryInspectionsampledetail(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryInspectionsampledetail, error)

FindHistoryInspectionsampledetail retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryInspectionsampledetail) AfterQueryHook

func (o *HistoryInspectionsampledetail) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryInspectionsampledetail is retrieved from the database

func (*HistoryInspectionsampledetail) AttachOrganization

func (historyInspectionsampledetail0 *HistoryInspectionsampledetail) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryInspectionsampledetail) Delete

Delete deletes a single HistoryInspectionsampledetail record with an executor

func (*HistoryInspectionsampledetail) InsertOrganization

func (historyInspectionsampledetail0 *HistoryInspectionsampledetail) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryInspectionsampledetail) LoadOrganization

func (o *HistoryInspectionsampledetail) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyInspectionsampledetail's Organization into the .R struct

func (*HistoryInspectionsampledetail) Organization

Organization starts a query for related objects on organization

func (*HistoryInspectionsampledetail) Preload

func (o *HistoryInspectionsampledetail) Preload(name string, retrieved any) error

func (*HistoryInspectionsampledetail) Reload

Reload refreshes the HistoryInspectionsampledetail using the executor

func (*HistoryInspectionsampledetail) Update

Update uses an executor to update the HistoryInspectionsampledetail

type HistoryInspectionsampledetailSetter

type HistoryInspectionsampledetailSetter struct {
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Comments       omitnull.Val[string]    `db:"comments" `
	Creationdate   omitnull.Val[int64]     `db:"creationdate" `
	Creator        omitnull.Val[string]    `db:"creator" `
	Editdate       omitnull.Val[int64]     `db:"editdate" `
	Editor         omitnull.Val[string]    `db:"editor" `
	Fadultact      omitnull.Val[string]    `db:"fadultact" `
	Fdomstage      omitnull.Val[string]    `db:"fdomstage" `
	Feggcount      omitnull.Val[int16]     `db:"feggcount" `
	Fieldspecies   omitnull.Val[string]    `db:"fieldspecies" `
	Flarvcount     omitnull.Val[int16]     `db:"flarvcount" `
	Flstages       omitnull.Val[string]    `db:"flstages" `
	Fpupcount      omitnull.Val[int16]     `db:"fpupcount" `
	Globalid       omitnull.Val[string]    `db:"globalid" `
	InspsampleID   omitnull.Val[string]    `db:"inspsample_id" `
	Labspecies     omitnull.Val[string]    `db:"labspecies" `
	Ldomstage      omitnull.Val[string]    `db:"ldomstage" `
	Leggcount      omitnull.Val[int16]     `db:"leggcount" `
	Llarvcount     omitnull.Val[int16]     `db:"llarvcount" `
	Lpupcount      omitnull.Val[int16]     `db:"lpupcount" `
	Objectid       omit.Val[int32]         `db:"objectid,pk" `
	Processed      omitnull.Val[int16]     `db:"processed" `
	Created        omitnull.Val[time.Time] `db:"created" `
	CreatedDate    omitnull.Val[int64]     `db:"created_date" `
	CreatedUser    omitnull.Val[string]    `db:"created_user" `
	GeometryX      omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY      omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]    `db:"last_edited_user" `
	Version        omit.Val[int32]         `db:"version,pk" `
}

HistoryInspectionsampledetailSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryInspectionsampledetailSetter) Apply

func (HistoryInspectionsampledetailSetter) Expressions

func (s HistoryInspectionsampledetailSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryInspectionsampledetailSetter) Overwrite

func (HistoryInspectionsampledetailSetter) SetColumns

func (HistoryInspectionsampledetailSetter) UpdateMod

type HistoryInspectionsampledetailSlice

type HistoryInspectionsampledetailSlice []*HistoryInspectionsampledetail

HistoryInspectionsampledetailSlice is an alias for a slice of pointers to HistoryInspectionsampledetail. This should almost always be used instead of []*HistoryInspectionsampledetail.

func (HistoryInspectionsampledetailSlice) AfterQueryHook

func (o HistoryInspectionsampledetailSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryInspectionsampledetailSlice is retrieved from the database

func (HistoryInspectionsampledetailSlice) DeleteAll

func (HistoryInspectionsampledetailSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryInspectionsampledetailSlice) LoadOrganization

func (os HistoryInspectionsampledetailSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyInspectionsampledetail's Organization into the .R struct

func (HistoryInspectionsampledetailSlice) Organization

func (HistoryInspectionsampledetailSlice) ReloadAll

func (HistoryInspectionsampledetailSlice) UpdateAll

func (HistoryInspectionsampledetailSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryInspectionsampledetailsQuery

type HistoryInspectionsampledetailsQuery = *psql.ViewQuery[*HistoryInspectionsampledetail, HistoryInspectionsampledetailSlice]

HistoryInspectionsampledetailsQuery is a query on the history_inspectionsampledetail table

type HistoryInspectionsamplesQuery

type HistoryInspectionsamplesQuery = *psql.ViewQuery[*HistoryInspectionsample, HistoryInspectionsampleSlice]

HistoryInspectionsamplesQuery is a query on the history_inspectionsample table

type HistoryLinelocation

type HistoryLinelocation struct {
	OrganizationID          int32               `db:"organization_id" `
	Accessdesc              null.Val[string]    `db:"accessdesc" `
	Acres                   null.Val[float64]   `db:"acres" `
	Active                  null.Val[int16]     `db:"active" `
	Comments                null.Val[string]    `db:"comments" `
	Creationdate            null.Val[int64]     `db:"creationdate" `
	Creator                 null.Val[string]    `db:"creator" `
	Description             null.Val[string]    `db:"description" `
	Externalid              null.Val[string]    `db:"externalid" `
	Editdate                null.Val[int64]     `db:"editdate" `
	Editor                  null.Val[string]    `db:"editor" `
	Globalid                null.Val[string]    `db:"globalid" `
	Habitat                 null.Val[string]    `db:"habitat" `
	Hectares                null.Val[float64]   `db:"hectares" `
	Jurisdiction            null.Val[string]    `db:"jurisdiction" `
	Larvinspectinterval     null.Val[int16]     `db:"larvinspectinterval" `
	Lastinspectactiontaken  null.Val[string]    `db:"lastinspectactiontaken" `
	Lastinspectactivity     null.Val[string]    `db:"lastinspectactivity" `
	Lastinspectavglarvae    null.Val[float64]   `db:"lastinspectavglarvae" `
	Lastinspectavgpupae     null.Val[float64]   `db:"lastinspectavgpupae" `
	Lastinspectbreeding     null.Val[string]    `db:"lastinspectbreeding" `
	Lastinspectconditions   null.Val[string]    `db:"lastinspectconditions" `
	Lastinspectdate         null.Val[int64]     `db:"lastinspectdate" `
	Lastinspectfieldspecies null.Val[string]    `db:"lastinspectfieldspecies" `
	Lastinspectlstages      null.Val[string]    `db:"lastinspectlstages" `
	Lasttreatactivity       null.Val[string]    `db:"lasttreatactivity" `
	Lasttreatdate           null.Val[int64]     `db:"lasttreatdate" `
	Lasttreatproduct        null.Val[string]    `db:"lasttreatproduct" `
	Lasttreatqty            null.Val[float64]   `db:"lasttreatqty" `
	Lasttreatqtyunit        null.Val[string]    `db:"lasttreatqtyunit" `
	LengthFT                null.Val[float64]   `db:"length_ft" `
	LengthMeters            null.Val[float64]   `db:"length_meters" `
	Locationnumber          null.Val[int64]     `db:"locationnumber" `
	Name                    null.Val[string]    `db:"name" `
	Nextactiondatescheduled null.Val[int64]     `db:"nextactiondatescheduled" `
	Objectid                int32               `db:"objectid,pk" `
	Priority                null.Val[string]    `db:"priority" `
	Symbology               null.Val[string]    `db:"symbology" `
	ShapeLength             null.Val[float64]   `db:"shape__length" `
	Usetype                 null.Val[string]    `db:"usetype" `
	Waterorigin             null.Val[string]    `db:"waterorigin" `
	WidthFT                 null.Val[float64]   `db:"width_ft" `
	WidthMeters             null.Val[float64]   `db:"width_meters" `
	Zone                    null.Val[string]    `db:"zone" `
	Zone2                   null.Val[string]    `db:"zone2" `
	Created                 null.Val[time.Time] `db:"created" `
	CreatedDate             null.Val[int64]     `db:"created_date" `
	CreatedUser             null.Val[string]    `db:"created_user" `
	GeometryX               null.Val[float64]   `db:"geometry_x" `
	GeometryY               null.Val[float64]   `db:"geometry_y" `
	LastEditedDate          null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser          null.Val[string]    `db:"last_edited_user" `
	Version                 int32               `db:"version,pk" `

	R historyLinelocationR `db:"-" `
}

HistoryLinelocation is an object representing the database table.

func FindHistoryLinelocation

func FindHistoryLinelocation(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryLinelocation, error)

FindHistoryLinelocation retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryLinelocation) AfterQueryHook

func (o *HistoryLinelocation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryLinelocation is retrieved from the database

func (*HistoryLinelocation) AttachOrganization

func (historyLinelocation0 *HistoryLinelocation) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryLinelocation) Delete

func (o *HistoryLinelocation) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryLinelocation record with an executor

func (*HistoryLinelocation) InsertOrganization

func (historyLinelocation0 *HistoryLinelocation) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryLinelocation) LoadOrganization

func (o *HistoryLinelocation) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyLinelocation's Organization into the .R struct

func (*HistoryLinelocation) Organization

func (o *HistoryLinelocation) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*HistoryLinelocation) Preload

func (o *HistoryLinelocation) Preload(name string, retrieved any) error

func (*HistoryLinelocation) Reload

func (o *HistoryLinelocation) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryLinelocation using the executor

func (*HistoryLinelocation) Update

Update uses an executor to update the HistoryLinelocation

type HistoryLinelocationSetter

type HistoryLinelocationSetter struct {
	OrganizationID          omit.Val[int32]         `db:"organization_id" `
	Accessdesc              omitnull.Val[string]    `db:"accessdesc" `
	Acres                   omitnull.Val[float64]   `db:"acres" `
	Active                  omitnull.Val[int16]     `db:"active" `
	Comments                omitnull.Val[string]    `db:"comments" `
	Creationdate            omitnull.Val[int64]     `db:"creationdate" `
	Creator                 omitnull.Val[string]    `db:"creator" `
	Description             omitnull.Val[string]    `db:"description" `
	Externalid              omitnull.Val[string]    `db:"externalid" `
	Editdate                omitnull.Val[int64]     `db:"editdate" `
	Editor                  omitnull.Val[string]    `db:"editor" `
	Globalid                omitnull.Val[string]    `db:"globalid" `
	Habitat                 omitnull.Val[string]    `db:"habitat" `
	Hectares                omitnull.Val[float64]   `db:"hectares" `
	Jurisdiction            omitnull.Val[string]    `db:"jurisdiction" `
	Larvinspectinterval     omitnull.Val[int16]     `db:"larvinspectinterval" `
	Lastinspectactiontaken  omitnull.Val[string]    `db:"lastinspectactiontaken" `
	Lastinspectactivity     omitnull.Val[string]    `db:"lastinspectactivity" `
	Lastinspectavglarvae    omitnull.Val[float64]   `db:"lastinspectavglarvae" `
	Lastinspectavgpupae     omitnull.Val[float64]   `db:"lastinspectavgpupae" `
	Lastinspectbreeding     omitnull.Val[string]    `db:"lastinspectbreeding" `
	Lastinspectconditions   omitnull.Val[string]    `db:"lastinspectconditions" `
	Lastinspectdate         omitnull.Val[int64]     `db:"lastinspectdate" `
	Lastinspectfieldspecies omitnull.Val[string]    `db:"lastinspectfieldspecies" `
	Lastinspectlstages      omitnull.Val[string]    `db:"lastinspectlstages" `
	Lasttreatactivity       omitnull.Val[string]    `db:"lasttreatactivity" `
	Lasttreatdate           omitnull.Val[int64]     `db:"lasttreatdate" `
	Lasttreatproduct        omitnull.Val[string]    `db:"lasttreatproduct" `
	Lasttreatqty            omitnull.Val[float64]   `db:"lasttreatqty" `
	Lasttreatqtyunit        omitnull.Val[string]    `db:"lasttreatqtyunit" `
	LengthFT                omitnull.Val[float64]   `db:"length_ft" `
	LengthMeters            omitnull.Val[float64]   `db:"length_meters" `
	Locationnumber          omitnull.Val[int64]     `db:"locationnumber" `
	Name                    omitnull.Val[string]    `db:"name" `
	Nextactiondatescheduled omitnull.Val[int64]     `db:"nextactiondatescheduled" `
	Objectid                omit.Val[int32]         `db:"objectid,pk" `
	Priority                omitnull.Val[string]    `db:"priority" `
	Symbology               omitnull.Val[string]    `db:"symbology" `
	ShapeLength             omitnull.Val[float64]   `db:"shape__length" `
	Usetype                 omitnull.Val[string]    `db:"usetype" `
	Waterorigin             omitnull.Val[string]    `db:"waterorigin" `
	WidthFT                 omitnull.Val[float64]   `db:"width_ft" `
	WidthMeters             omitnull.Val[float64]   `db:"width_meters" `
	Zone                    omitnull.Val[string]    `db:"zone" `
	Zone2                   omitnull.Val[string]    `db:"zone2" `
	Created                 omitnull.Val[time.Time] `db:"created" `
	CreatedDate             omitnull.Val[int64]     `db:"created_date" `
	CreatedUser             omitnull.Val[string]    `db:"created_user" `
	GeometryX               omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY               omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate          omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser          omitnull.Val[string]    `db:"last_edited_user" `
	Version                 omit.Val[int32]         `db:"version,pk" `
}

HistoryLinelocationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryLinelocationSetter) Apply

func (HistoryLinelocationSetter) Expressions

func (s HistoryLinelocationSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryLinelocationSetter) Overwrite

func (HistoryLinelocationSetter) SetColumns

func (s HistoryLinelocationSetter) SetColumns() []string

func (HistoryLinelocationSetter) UpdateMod

type HistoryLinelocationSlice

type HistoryLinelocationSlice []*HistoryLinelocation

HistoryLinelocationSlice is an alias for a slice of pointers to HistoryLinelocation. This should almost always be used instead of []*HistoryLinelocation.

func (HistoryLinelocationSlice) AfterQueryHook

func (o HistoryLinelocationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryLinelocationSlice is retrieved from the database

func (HistoryLinelocationSlice) DeleteAll

func (o HistoryLinelocationSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (HistoryLinelocationSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryLinelocationSlice) LoadOrganization

func (os HistoryLinelocationSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyLinelocation's Organization into the .R struct

func (HistoryLinelocationSlice) Organization

func (HistoryLinelocationSlice) ReloadAll

func (o HistoryLinelocationSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (HistoryLinelocationSlice) UpdateAll

func (HistoryLinelocationSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryLinelocationsQuery

type HistoryLinelocationsQuery = *psql.ViewQuery[*HistoryLinelocation, HistoryLinelocationSlice]

HistoryLinelocationsQuery is a query on the history_linelocation table

type HistoryLocationtracking

type HistoryLocationtracking struct {
	OrganizationID int32               `db:"organization_id" `
	Accuracy       null.Val[float64]   `db:"accuracy" `
	Creationdate   null.Val[int64]     `db:"creationdate" `
	Creator        null.Val[string]    `db:"creator" `
	Editdate       null.Val[int64]     `db:"editdate" `
	Editor         null.Val[string]    `db:"editor" `
	Fieldtech      null.Val[string]    `db:"fieldtech" `
	Globalid       null.Val[string]    `db:"globalid" `
	Objectid       int32               `db:"objectid,pk" `
	Created        null.Val[time.Time] `db:"created" `
	CreatedDate    null.Val[int64]     `db:"created_date" `
	CreatedUser    null.Val[string]    `db:"created_user" `
	GeometryX      null.Val[float64]   `db:"geometry_x" `
	GeometryY      null.Val[float64]   `db:"geometry_y" `
	LastEditedDate null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser null.Val[string]    `db:"last_edited_user" `
	Version        int32               `db:"version,pk" `

	R historyLocationtrackingR `db:"-" `
}

HistoryLocationtracking is an object representing the database table.

func FindHistoryLocationtracking

func FindHistoryLocationtracking(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryLocationtracking, error)

FindHistoryLocationtracking retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryLocationtracking) AfterQueryHook

func (o *HistoryLocationtracking) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryLocationtracking is retrieved from the database

func (*HistoryLocationtracking) AttachOrganization

func (historyLocationtracking0 *HistoryLocationtracking) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryLocationtracking) Delete

Delete deletes a single HistoryLocationtracking record with an executor

func (*HistoryLocationtracking) InsertOrganization

func (historyLocationtracking0 *HistoryLocationtracking) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryLocationtracking) LoadOrganization

func (o *HistoryLocationtracking) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyLocationtracking's Organization into the .R struct

func (*HistoryLocationtracking) Organization

Organization starts a query for related objects on organization

func (*HistoryLocationtracking) Preload

func (o *HistoryLocationtracking) Preload(name string, retrieved any) error

func (*HistoryLocationtracking) Reload

Reload refreshes the HistoryLocationtracking using the executor

func (*HistoryLocationtracking) Update

Update uses an executor to update the HistoryLocationtracking

type HistoryLocationtrackingSetter

type HistoryLocationtrackingSetter struct {
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Accuracy       omitnull.Val[float64]   `db:"accuracy" `
	Creationdate   omitnull.Val[int64]     `db:"creationdate" `
	Creator        omitnull.Val[string]    `db:"creator" `
	Editdate       omitnull.Val[int64]     `db:"editdate" `
	Editor         omitnull.Val[string]    `db:"editor" `
	Fieldtech      omitnull.Val[string]    `db:"fieldtech" `
	Globalid       omitnull.Val[string]    `db:"globalid" `
	Objectid       omit.Val[int32]         `db:"objectid,pk" `
	Created        omitnull.Val[time.Time] `db:"created" `
	CreatedDate    omitnull.Val[int64]     `db:"created_date" `
	CreatedUser    omitnull.Val[string]    `db:"created_user" `
	GeometryX      omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY      omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]    `db:"last_edited_user" `
	Version        omit.Val[int32]         `db:"version,pk" `
}

HistoryLocationtrackingSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryLocationtrackingSetter) Apply

func (HistoryLocationtrackingSetter) Expressions

func (s HistoryLocationtrackingSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryLocationtrackingSetter) Overwrite

func (HistoryLocationtrackingSetter) SetColumns

func (s HistoryLocationtrackingSetter) SetColumns() []string

func (HistoryLocationtrackingSetter) UpdateMod

type HistoryLocationtrackingSlice

type HistoryLocationtrackingSlice []*HistoryLocationtracking

HistoryLocationtrackingSlice is an alias for a slice of pointers to HistoryLocationtracking. This should almost always be used instead of []*HistoryLocationtracking.

func (HistoryLocationtrackingSlice) AfterQueryHook

func (o HistoryLocationtrackingSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryLocationtrackingSlice is retrieved from the database

func (HistoryLocationtrackingSlice) DeleteAll

func (HistoryLocationtrackingSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryLocationtrackingSlice) LoadOrganization

func (os HistoryLocationtrackingSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyLocationtracking's Organization into the .R struct

func (HistoryLocationtrackingSlice) Organization

func (HistoryLocationtrackingSlice) ReloadAll

func (HistoryLocationtrackingSlice) UpdateAll

func (HistoryLocationtrackingSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryLocationtrackingsQuery

type HistoryLocationtrackingsQuery = *psql.ViewQuery[*HistoryLocationtracking, HistoryLocationtrackingSlice]

HistoryLocationtrackingsQuery is a query on the history_locationtracking table

type HistoryMosquitoinspection

type HistoryMosquitoinspection struct {
	OrganizationID         int32               `db:"organization_id" `
	Actiontaken            null.Val[string]    `db:"actiontaken" `
	Activity               null.Val[string]    `db:"activity" `
	Adultact               null.Val[string]    `db:"adultact" `
	Avetemp                null.Val[float64]   `db:"avetemp" `
	Avglarvae              null.Val[float64]   `db:"avglarvae" `
	Avgpupae               null.Val[float64]   `db:"avgpupae" `
	Breeding               null.Val[string]    `db:"breeding" `
	Cbcount                null.Val[int16]     `db:"cbcount" `
	Comments               null.Val[string]    `db:"comments" `
	Containercount         null.Val[int16]     `db:"containercount" `
	Creationdate           null.Val[int64]     `db:"creationdate" `
	Creator                null.Val[string]    `db:"creator" `
	Domstage               null.Val[string]    `db:"domstage" `
	Eggs                   null.Val[int16]     `db:"eggs" `
	Enddatetime            null.Val[int64]     `db:"enddatetime" `
	Editdate               null.Val[int64]     `db:"editdate" `
	Editor                 null.Val[string]    `db:"editor" `
	Fieldspecies           null.Val[string]    `db:"fieldspecies" `
	Fieldtech              null.Val[string]    `db:"fieldtech" `
	Globalid               null.Val[string]    `db:"globalid" `
	Jurisdiction           null.Val[string]    `db:"jurisdiction" `
	Larvaepresent          null.Val[int16]     `db:"larvaepresent" `
	Linelocid              null.Val[string]    `db:"linelocid" `
	Locationname           null.Val[string]    `db:"locationname" `
	Lstages                null.Val[string]    `db:"lstages" `
	Numdips                null.Val[int16]     `db:"numdips" `
	Objectid               int32               `db:"objectid,pk" `
	Personalcontact        null.Val[int16]     `db:"personalcontact" `
	Pointlocid             null.Val[string]    `db:"pointlocid" `
	Polygonlocid           null.Val[string]    `db:"polygonlocid" `
	Posdips                null.Val[int16]     `db:"posdips" `
	Positivecontainercount null.Val[int16]     `db:"positivecontainercount" `
	Pupaepresent           null.Val[int16]     `db:"pupaepresent" `
	Raingauge              null.Val[float64]   `db:"raingauge" `
	Recordstatus           null.Val[int16]     `db:"recordstatus" `
	Reviewed               null.Val[int16]     `db:"reviewed" `
	Reviewedby             null.Val[string]    `db:"reviewedby" `
	Revieweddate           null.Val[int64]     `db:"revieweddate" `
	Sdid                   null.Val[string]    `db:"sdid" `
	Sitecond               null.Val[string]    `db:"sitecond" `
	Srid                   null.Val[string]    `db:"srid" `
	Startdatetime          null.Val[int64]     `db:"startdatetime" `
	Tirecount              null.Val[int16]     `db:"tirecount" `
	Totlarvae              null.Val[int16]     `db:"totlarvae" `
	Totpupae               null.Val[int16]     `db:"totpupae" `
	Visualmonitoring       null.Val[int16]     `db:"visualmonitoring" `
	Vmcomments             null.Val[string]    `db:"vmcomments" `
	Winddir                null.Val[string]    `db:"winddir" `
	Windspeed              null.Val[float64]   `db:"windspeed" `
	Zone                   null.Val[string]    `db:"zone" `
	Zone2                  null.Val[string]    `db:"zone2" `
	Created                null.Val[time.Time] `db:"created" `
	CreatedDate            null.Val[int64]     `db:"created_date" `
	CreatedUser            null.Val[string]    `db:"created_user" `
	GeometryX              null.Val[float64]   `db:"geometry_x" `
	GeometryY              null.Val[float64]   `db:"geometry_y" `
	LastEditedDate         null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser         null.Val[string]    `db:"last_edited_user" `
	Adminaction            null.Val[string]    `db:"adminaction" `
	Ptaid                  null.Val[string]    `db:"ptaid" `
	Version                int32               `db:"version,pk" `

	R historyMosquitoinspectionR `db:"-" `
}

HistoryMosquitoinspection is an object representing the database table.

func FindHistoryMosquitoinspection

func FindHistoryMosquitoinspection(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryMosquitoinspection, error)

FindHistoryMosquitoinspection retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryMosquitoinspection) AfterQueryHook

func (o *HistoryMosquitoinspection) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryMosquitoinspection is retrieved from the database

func (*HistoryMosquitoinspection) AttachOrganization

func (historyMosquitoinspection0 *HistoryMosquitoinspection) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryMosquitoinspection) Delete

Delete deletes a single HistoryMosquitoinspection record with an executor

func (*HistoryMosquitoinspection) InsertOrganization

func (historyMosquitoinspection0 *HistoryMosquitoinspection) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryMosquitoinspection) LoadOrganization

func (o *HistoryMosquitoinspection) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyMosquitoinspection's Organization into the .R struct

func (*HistoryMosquitoinspection) Organization

Organization starts a query for related objects on organization

func (*HistoryMosquitoinspection) Preload

func (o *HistoryMosquitoinspection) Preload(name string, retrieved any) error

func (*HistoryMosquitoinspection) Reload

Reload refreshes the HistoryMosquitoinspection using the executor

func (*HistoryMosquitoinspection) Update

Update uses an executor to update the HistoryMosquitoinspection

type HistoryMosquitoinspectionSetter

type HistoryMosquitoinspectionSetter struct {
	OrganizationID         omit.Val[int32]         `db:"organization_id" `
	Actiontaken            omitnull.Val[string]    `db:"actiontaken" `
	Activity               omitnull.Val[string]    `db:"activity" `
	Adultact               omitnull.Val[string]    `db:"adultact" `
	Avetemp                omitnull.Val[float64]   `db:"avetemp" `
	Avglarvae              omitnull.Val[float64]   `db:"avglarvae" `
	Avgpupae               omitnull.Val[float64]   `db:"avgpupae" `
	Breeding               omitnull.Val[string]    `db:"breeding" `
	Cbcount                omitnull.Val[int16]     `db:"cbcount" `
	Comments               omitnull.Val[string]    `db:"comments" `
	Containercount         omitnull.Val[int16]     `db:"containercount" `
	Creationdate           omitnull.Val[int64]     `db:"creationdate" `
	Creator                omitnull.Val[string]    `db:"creator" `
	Domstage               omitnull.Val[string]    `db:"domstage" `
	Eggs                   omitnull.Val[int16]     `db:"eggs" `
	Enddatetime            omitnull.Val[int64]     `db:"enddatetime" `
	Editdate               omitnull.Val[int64]     `db:"editdate" `
	Editor                 omitnull.Val[string]    `db:"editor" `
	Fieldspecies           omitnull.Val[string]    `db:"fieldspecies" `
	Fieldtech              omitnull.Val[string]    `db:"fieldtech" `
	Globalid               omitnull.Val[string]    `db:"globalid" `
	Jurisdiction           omitnull.Val[string]    `db:"jurisdiction" `
	Larvaepresent          omitnull.Val[int16]     `db:"larvaepresent" `
	Linelocid              omitnull.Val[string]    `db:"linelocid" `
	Locationname           omitnull.Val[string]    `db:"locationname" `
	Lstages                omitnull.Val[string]    `db:"lstages" `
	Numdips                omitnull.Val[int16]     `db:"numdips" `
	Objectid               omit.Val[int32]         `db:"objectid,pk" `
	Personalcontact        omitnull.Val[int16]     `db:"personalcontact" `
	Pointlocid             omitnull.Val[string]    `db:"pointlocid" `
	Polygonlocid           omitnull.Val[string]    `db:"polygonlocid" `
	Posdips                omitnull.Val[int16]     `db:"posdips" `
	Positivecontainercount omitnull.Val[int16]     `db:"positivecontainercount" `
	Pupaepresent           omitnull.Val[int16]     `db:"pupaepresent" `
	Raingauge              omitnull.Val[float64]   `db:"raingauge" `
	Recordstatus           omitnull.Val[int16]     `db:"recordstatus" `
	Reviewed               omitnull.Val[int16]     `db:"reviewed" `
	Reviewedby             omitnull.Val[string]    `db:"reviewedby" `
	Revieweddate           omitnull.Val[int64]     `db:"revieweddate" `
	Sdid                   omitnull.Val[string]    `db:"sdid" `
	Sitecond               omitnull.Val[string]    `db:"sitecond" `
	Srid                   omitnull.Val[string]    `db:"srid" `
	Startdatetime          omitnull.Val[int64]     `db:"startdatetime" `
	Tirecount              omitnull.Val[int16]     `db:"tirecount" `
	Totlarvae              omitnull.Val[int16]     `db:"totlarvae" `
	Totpupae               omitnull.Val[int16]     `db:"totpupae" `
	Visualmonitoring       omitnull.Val[int16]     `db:"visualmonitoring" `
	Vmcomments             omitnull.Val[string]    `db:"vmcomments" `
	Winddir                omitnull.Val[string]    `db:"winddir" `
	Windspeed              omitnull.Val[float64]   `db:"windspeed" `
	Zone                   omitnull.Val[string]    `db:"zone" `
	Zone2                  omitnull.Val[string]    `db:"zone2" `
	Created                omitnull.Val[time.Time] `db:"created" `
	CreatedDate            omitnull.Val[int64]     `db:"created_date" `
	CreatedUser            omitnull.Val[string]    `db:"created_user" `
	GeometryX              omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY              omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate         omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser         omitnull.Val[string]    `db:"last_edited_user" `
	Adminaction            omitnull.Val[string]    `db:"adminaction" `
	Ptaid                  omitnull.Val[string]    `db:"ptaid" `
	Version                omit.Val[int32]         `db:"version,pk" `
}

HistoryMosquitoinspectionSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryMosquitoinspectionSetter) Apply

func (HistoryMosquitoinspectionSetter) Expressions

func (s HistoryMosquitoinspectionSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryMosquitoinspectionSetter) Overwrite

func (HistoryMosquitoinspectionSetter) SetColumns

func (s HistoryMosquitoinspectionSetter) SetColumns() []string

func (HistoryMosquitoinspectionSetter) UpdateMod

type HistoryMosquitoinspectionSlice

type HistoryMosquitoinspectionSlice []*HistoryMosquitoinspection

HistoryMosquitoinspectionSlice is an alias for a slice of pointers to HistoryMosquitoinspection. This should almost always be used instead of []*HistoryMosquitoinspection.

func (HistoryMosquitoinspectionSlice) AfterQueryHook

func (o HistoryMosquitoinspectionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryMosquitoinspectionSlice is retrieved from the database

func (HistoryMosquitoinspectionSlice) DeleteAll

func (HistoryMosquitoinspectionSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryMosquitoinspectionSlice) LoadOrganization

func (os HistoryMosquitoinspectionSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyMosquitoinspection's Organization into the .R struct

func (HistoryMosquitoinspectionSlice) Organization

func (HistoryMosquitoinspectionSlice) ReloadAll

func (HistoryMosquitoinspectionSlice) UpdateAll

func (HistoryMosquitoinspectionSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryMosquitoinspectionsQuery

type HistoryMosquitoinspectionsQuery = *psql.ViewQuery[*HistoryMosquitoinspection, HistoryMosquitoinspectionSlice]

HistoryMosquitoinspectionsQuery is a query on the history_mosquitoinspection table

type HistoryPointlocation

type HistoryPointlocation struct {
	OrganizationID          int32               `db:"organization_id" `
	Accessdesc              null.Val[string]    `db:"accessdesc" `
	Active                  null.Val[int16]     `db:"active" `
	Comments                null.Val[string]    `db:"comments" `
	Created                 null.Val[time.Time] `db:"created" `
	Creationdate            null.Val[int64]     `db:"creationdate" `
	Creator                 null.Val[string]    `db:"creator" `
	Description             null.Val[string]    `db:"description" `
	Externalid              null.Val[string]    `db:"externalid" `
	Editdate                null.Val[int64]     `db:"editdate" `
	Editor                  null.Val[string]    `db:"editor" `
	Globalid                null.Val[string]    `db:"globalid" `
	Habitat                 null.Val[string]    `db:"habitat" `
	Jurisdiction            null.Val[string]    `db:"jurisdiction" `
	Larvinspectinterval     null.Val[int16]     `db:"larvinspectinterval" `
	Lastinspectactiontaken  null.Val[string]    `db:"lastinspectactiontaken" `
	Lastinspectactivity     null.Val[string]    `db:"lastinspectactivity" `
	Lastinspectavglarvae    null.Val[float64]   `db:"lastinspectavglarvae" `
	Lastinspectavgpupae     null.Val[float64]   `db:"lastinspectavgpupae" `
	Lastinspectbreeding     null.Val[string]    `db:"lastinspectbreeding" `
	Lastinspectconditions   null.Val[string]    `db:"lastinspectconditions" `
	Lastinspectdate         null.Val[int64]     `db:"lastinspectdate" `
	Lastinspectfieldspecies null.Val[string]    `db:"lastinspectfieldspecies" `
	Lastinspectlstages      null.Val[string]    `db:"lastinspectlstages" `
	Lasttreatactivity       null.Val[string]    `db:"lasttreatactivity" `
	Lasttreatdate           null.Val[int64]     `db:"lasttreatdate" `
	Lasttreatproduct        null.Val[string]    `db:"lasttreatproduct" `
	Lasttreatqty            null.Val[float64]   `db:"lasttreatqty" `
	Lasttreatqtyunit        null.Val[string]    `db:"lasttreatqtyunit" `
	Locationnumber          null.Val[int64]     `db:"locationnumber" `
	Name                    null.Val[string]    `db:"name" `
	Nextactiondatescheduled null.Val[int64]     `db:"nextactiondatescheduled" `
	Objectid                int32               `db:"objectid,pk" `
	Priority                null.Val[string]    `db:"priority" `
	Stype                   null.Val[string]    `db:"stype" `
	Symbology               null.Val[string]    `db:"symbology" `
	Usetype                 null.Val[string]    `db:"usetype" `
	Waterorigin             null.Val[string]    `db:"waterorigin" `
	X                       null.Val[float64]   `db:"x" `
	Y                       null.Val[float64]   `db:"y" `
	Zone                    null.Val[string]    `db:"zone" `
	Zone2                   null.Val[string]    `db:"zone2" `
	GeometryX               null.Val[float64]   `db:"geometry_x" `
	GeometryY               null.Val[float64]   `db:"geometry_y" `
	Assignedtech            null.Val[string]    `db:"assignedtech" `
	DeactivateReason        null.Val[string]    `db:"deactivate_reason" `
	Scalarpriority          null.Val[int64]     `db:"scalarpriority" `
	Sourcestatus            null.Val[string]    `db:"sourcestatus" `
	Version                 int32               `db:"version,pk" `

	R historyPointlocationR `db:"-" `
}

HistoryPointlocation is an object representing the database table.

func FindHistoryPointlocation

func FindHistoryPointlocation(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryPointlocation, error)

FindHistoryPointlocation retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryPointlocation) AfterQueryHook

func (o *HistoryPointlocation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryPointlocation is retrieved from the database

func (*HistoryPointlocation) AttachOrganization

func (historyPointlocation0 *HistoryPointlocation) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryPointlocation) Delete

func (o *HistoryPointlocation) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryPointlocation record with an executor

func (*HistoryPointlocation) InsertOrganization

func (historyPointlocation0 *HistoryPointlocation) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryPointlocation) LoadOrganization

func (o *HistoryPointlocation) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyPointlocation's Organization into the .R struct

func (*HistoryPointlocation) Organization

Organization starts a query for related objects on organization

func (*HistoryPointlocation) Preload

func (o *HistoryPointlocation) Preload(name string, retrieved any) error

func (*HistoryPointlocation) Reload

func (o *HistoryPointlocation) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryPointlocation using the executor

func (*HistoryPointlocation) Update

Update uses an executor to update the HistoryPointlocation

type HistoryPointlocationSetter

type HistoryPointlocationSetter struct {
	OrganizationID          omit.Val[int32]         `db:"organization_id" `
	Accessdesc              omitnull.Val[string]    `db:"accessdesc" `
	Active                  omitnull.Val[int16]     `db:"active" `
	Comments                omitnull.Val[string]    `db:"comments" `
	Created                 omitnull.Val[time.Time] `db:"created" `
	Creationdate            omitnull.Val[int64]     `db:"creationdate" `
	Creator                 omitnull.Val[string]    `db:"creator" `
	Description             omitnull.Val[string]    `db:"description" `
	Externalid              omitnull.Val[string]    `db:"externalid" `
	Editdate                omitnull.Val[int64]     `db:"editdate" `
	Editor                  omitnull.Val[string]    `db:"editor" `
	Globalid                omitnull.Val[string]    `db:"globalid" `
	Habitat                 omitnull.Val[string]    `db:"habitat" `
	Jurisdiction            omitnull.Val[string]    `db:"jurisdiction" `
	Larvinspectinterval     omitnull.Val[int16]     `db:"larvinspectinterval" `
	Lastinspectactiontaken  omitnull.Val[string]    `db:"lastinspectactiontaken" `
	Lastinspectactivity     omitnull.Val[string]    `db:"lastinspectactivity" `
	Lastinspectavglarvae    omitnull.Val[float64]   `db:"lastinspectavglarvae" `
	Lastinspectavgpupae     omitnull.Val[float64]   `db:"lastinspectavgpupae" `
	Lastinspectbreeding     omitnull.Val[string]    `db:"lastinspectbreeding" `
	Lastinspectconditions   omitnull.Val[string]    `db:"lastinspectconditions" `
	Lastinspectdate         omitnull.Val[int64]     `db:"lastinspectdate" `
	Lastinspectfieldspecies omitnull.Val[string]    `db:"lastinspectfieldspecies" `
	Lastinspectlstages      omitnull.Val[string]    `db:"lastinspectlstages" `
	Lasttreatactivity       omitnull.Val[string]    `db:"lasttreatactivity" `
	Lasttreatdate           omitnull.Val[int64]     `db:"lasttreatdate" `
	Lasttreatproduct        omitnull.Val[string]    `db:"lasttreatproduct" `
	Lasttreatqty            omitnull.Val[float64]   `db:"lasttreatqty" `
	Lasttreatqtyunit        omitnull.Val[string]    `db:"lasttreatqtyunit" `
	Locationnumber          omitnull.Val[int64]     `db:"locationnumber" `
	Name                    omitnull.Val[string]    `db:"name" `
	Nextactiondatescheduled omitnull.Val[int64]     `db:"nextactiondatescheduled" `
	Objectid                omit.Val[int32]         `db:"objectid,pk" `
	Priority                omitnull.Val[string]    `db:"priority" `
	Stype                   omitnull.Val[string]    `db:"stype" `
	Symbology               omitnull.Val[string]    `db:"symbology" `
	Usetype                 omitnull.Val[string]    `db:"usetype" `
	Waterorigin             omitnull.Val[string]    `db:"waterorigin" `
	X                       omitnull.Val[float64]   `db:"x" `
	Y                       omitnull.Val[float64]   `db:"y" `
	Zone                    omitnull.Val[string]    `db:"zone" `
	Zone2                   omitnull.Val[string]    `db:"zone2" `
	GeometryX               omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY               omitnull.Val[float64]   `db:"geometry_y" `
	Assignedtech            omitnull.Val[string]    `db:"assignedtech" `
	DeactivateReason        omitnull.Val[string]    `db:"deactivate_reason" `
	Scalarpriority          omitnull.Val[int64]     `db:"scalarpriority" `
	Sourcestatus            omitnull.Val[string]    `db:"sourcestatus" `
	Version                 omit.Val[int32]         `db:"version,pk" `
}

HistoryPointlocationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryPointlocationSetter) Apply

func (HistoryPointlocationSetter) Expressions

func (s HistoryPointlocationSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryPointlocationSetter) Overwrite

func (HistoryPointlocationSetter) SetColumns

func (s HistoryPointlocationSetter) SetColumns() []string

func (HistoryPointlocationSetter) UpdateMod

type HistoryPointlocationSlice

type HistoryPointlocationSlice []*HistoryPointlocation

HistoryPointlocationSlice is an alias for a slice of pointers to HistoryPointlocation. This should almost always be used instead of []*HistoryPointlocation.

func (HistoryPointlocationSlice) AfterQueryHook

func (o HistoryPointlocationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryPointlocationSlice is retrieved from the database

func (HistoryPointlocationSlice) DeleteAll

func (o HistoryPointlocationSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (HistoryPointlocationSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryPointlocationSlice) LoadOrganization

func (os HistoryPointlocationSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyPointlocation's Organization into the .R struct

func (HistoryPointlocationSlice) Organization

func (HistoryPointlocationSlice) ReloadAll

func (o HistoryPointlocationSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (HistoryPointlocationSlice) UpdateAll

func (HistoryPointlocationSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryPointlocationsQuery

type HistoryPointlocationsQuery = *psql.ViewQuery[*HistoryPointlocation, HistoryPointlocationSlice]

HistoryPointlocationsQuery is a query on the history_pointlocation table

type HistoryPolygonlocation

type HistoryPolygonlocation struct {
	OrganizationID          int32               `db:"organization_id" `
	Accessdesc              null.Val[string]    `db:"accessdesc" `
	Acres                   null.Val[float64]   `db:"acres" `
	Active                  null.Val[int16]     `db:"active" `
	Comments                null.Val[string]    `db:"comments" `
	Creationdate            null.Val[int64]     `db:"creationdate" `
	Creator                 null.Val[string]    `db:"creator" `
	Description             null.Val[string]    `db:"description" `
	Externalid              null.Val[string]    `db:"externalid" `
	Editdate                null.Val[int64]     `db:"editdate" `
	Editor                  null.Val[string]    `db:"editor" `
	Filter                  null.Val[string]    `db:"filter" `
	Globalid                null.Val[string]    `db:"globalid" `
	Habitat                 null.Val[string]    `db:"habitat" `
	Hectares                null.Val[float64]   `db:"hectares" `
	Jurisdiction            null.Val[string]    `db:"jurisdiction" `
	Larvinspectinterval     null.Val[int16]     `db:"larvinspectinterval" `
	Lastinspectactiontaken  null.Val[string]    `db:"lastinspectactiontaken" `
	Lastinspectactivity     null.Val[string]    `db:"lastinspectactivity" `
	Lastinspectavglarvae    null.Val[float64]   `db:"lastinspectavglarvae" `
	Lastinspectavgpupae     null.Val[float64]   `db:"lastinspectavgpupae" `
	Lastinspectbreeding     null.Val[string]    `db:"lastinspectbreeding" `
	Lastinspectconditions   null.Val[string]    `db:"lastinspectconditions" `
	Lastinspectdate         null.Val[int64]     `db:"lastinspectdate" `
	Lastinspectfieldspecies null.Val[string]    `db:"lastinspectfieldspecies" `
	Lastinspectlstages      null.Val[string]    `db:"lastinspectlstages" `
	Lasttreatactivity       null.Val[string]    `db:"lasttreatactivity" `
	Lasttreatdate           null.Val[int64]     `db:"lasttreatdate" `
	Lasttreatproduct        null.Val[string]    `db:"lasttreatproduct" `
	Lasttreatqty            null.Val[float64]   `db:"lasttreatqty" `
	Lasttreatqtyunit        null.Val[string]    `db:"lasttreatqtyunit" `
	Locationnumber          null.Val[int64]     `db:"locationnumber" `
	Name                    null.Val[string]    `db:"name" `
	Nextactiondatescheduled null.Val[int64]     `db:"nextactiondatescheduled" `
	Objectid                int32               `db:"objectid,pk" `
	Priority                null.Val[string]    `db:"priority" `
	Symbology               null.Val[string]    `db:"symbology" `
	ShapeArea               null.Val[float64]   `db:"shape__area" `
	ShapeLength             null.Val[float64]   `db:"shape__length" `
	Usetype                 null.Val[string]    `db:"usetype" `
	Waterorigin             null.Val[string]    `db:"waterorigin" `
	Zone                    null.Val[string]    `db:"zone" `
	Zone2                   null.Val[string]    `db:"zone2" `
	GeometryX               null.Val[float64]   `db:"geometry_x" `
	GeometryY               null.Val[float64]   `db:"geometry_y" `
	Version                 int32               `db:"version,pk" `
	Created                 null.Val[time.Time] `db:"created" `

	R historyPolygonlocationR `db:"-" `
}

HistoryPolygonlocation is an object representing the database table.

func FindHistoryPolygonlocation

func FindHistoryPolygonlocation(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryPolygonlocation, error)

FindHistoryPolygonlocation retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryPolygonlocation) AfterQueryHook

func (o *HistoryPolygonlocation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryPolygonlocation is retrieved from the database

func (*HistoryPolygonlocation) AttachOrganization

func (historyPolygonlocation0 *HistoryPolygonlocation) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryPolygonlocation) Delete

func (o *HistoryPolygonlocation) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryPolygonlocation record with an executor

func (*HistoryPolygonlocation) InsertOrganization

func (historyPolygonlocation0 *HistoryPolygonlocation) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryPolygonlocation) LoadOrganization

func (o *HistoryPolygonlocation) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyPolygonlocation's Organization into the .R struct

func (*HistoryPolygonlocation) Organization

Organization starts a query for related objects on organization

func (*HistoryPolygonlocation) Preload

func (o *HistoryPolygonlocation) Preload(name string, retrieved any) error

func (*HistoryPolygonlocation) Reload

func (o *HistoryPolygonlocation) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryPolygonlocation using the executor

func (*HistoryPolygonlocation) Update

Update uses an executor to update the HistoryPolygonlocation

type HistoryPolygonlocationSetter

type HistoryPolygonlocationSetter struct {
	OrganizationID          omit.Val[int32]         `db:"organization_id" `
	Accessdesc              omitnull.Val[string]    `db:"accessdesc" `
	Acres                   omitnull.Val[float64]   `db:"acres" `
	Active                  omitnull.Val[int16]     `db:"active" `
	Comments                omitnull.Val[string]    `db:"comments" `
	Creationdate            omitnull.Val[int64]     `db:"creationdate" `
	Creator                 omitnull.Val[string]    `db:"creator" `
	Description             omitnull.Val[string]    `db:"description" `
	Externalid              omitnull.Val[string]    `db:"externalid" `
	Editdate                omitnull.Val[int64]     `db:"editdate" `
	Editor                  omitnull.Val[string]    `db:"editor" `
	Filter                  omitnull.Val[string]    `db:"filter" `
	Globalid                omitnull.Val[string]    `db:"globalid" `
	Habitat                 omitnull.Val[string]    `db:"habitat" `
	Hectares                omitnull.Val[float64]   `db:"hectares" `
	Jurisdiction            omitnull.Val[string]    `db:"jurisdiction" `
	Larvinspectinterval     omitnull.Val[int16]     `db:"larvinspectinterval" `
	Lastinspectactiontaken  omitnull.Val[string]    `db:"lastinspectactiontaken" `
	Lastinspectactivity     omitnull.Val[string]    `db:"lastinspectactivity" `
	Lastinspectavglarvae    omitnull.Val[float64]   `db:"lastinspectavglarvae" `
	Lastinspectavgpupae     omitnull.Val[float64]   `db:"lastinspectavgpupae" `
	Lastinspectbreeding     omitnull.Val[string]    `db:"lastinspectbreeding" `
	Lastinspectconditions   omitnull.Val[string]    `db:"lastinspectconditions" `
	Lastinspectdate         omitnull.Val[int64]     `db:"lastinspectdate" `
	Lastinspectfieldspecies omitnull.Val[string]    `db:"lastinspectfieldspecies" `
	Lastinspectlstages      omitnull.Val[string]    `db:"lastinspectlstages" `
	Lasttreatactivity       omitnull.Val[string]    `db:"lasttreatactivity" `
	Lasttreatdate           omitnull.Val[int64]     `db:"lasttreatdate" `
	Lasttreatproduct        omitnull.Val[string]    `db:"lasttreatproduct" `
	Lasttreatqty            omitnull.Val[float64]   `db:"lasttreatqty" `
	Lasttreatqtyunit        omitnull.Val[string]    `db:"lasttreatqtyunit" `
	Locationnumber          omitnull.Val[int64]     `db:"locationnumber" `
	Name                    omitnull.Val[string]    `db:"name" `
	Nextactiondatescheduled omitnull.Val[int64]     `db:"nextactiondatescheduled" `
	Objectid                omit.Val[int32]         `db:"objectid,pk" `
	Priority                omitnull.Val[string]    `db:"priority" `
	Symbology               omitnull.Val[string]    `db:"symbology" `
	ShapeArea               omitnull.Val[float64]   `db:"shape__area" `
	ShapeLength             omitnull.Val[float64]   `db:"shape__length" `
	Usetype                 omitnull.Val[string]    `db:"usetype" `
	Waterorigin             omitnull.Val[string]    `db:"waterorigin" `
	Zone                    omitnull.Val[string]    `db:"zone" `
	Zone2                   omitnull.Val[string]    `db:"zone2" `
	GeometryX               omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY               omitnull.Val[float64]   `db:"geometry_y" `
	Version                 omit.Val[int32]         `db:"version,pk" `
	Created                 omitnull.Val[time.Time] `db:"created" `
}

HistoryPolygonlocationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryPolygonlocationSetter) Apply

func (HistoryPolygonlocationSetter) Expressions

func (s HistoryPolygonlocationSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryPolygonlocationSetter) Overwrite

func (HistoryPolygonlocationSetter) SetColumns

func (s HistoryPolygonlocationSetter) SetColumns() []string

func (HistoryPolygonlocationSetter) UpdateMod

type HistoryPolygonlocationSlice

type HistoryPolygonlocationSlice []*HistoryPolygonlocation

HistoryPolygonlocationSlice is an alias for a slice of pointers to HistoryPolygonlocation. This should almost always be used instead of []*HistoryPolygonlocation.

func (HistoryPolygonlocationSlice) AfterQueryHook

func (o HistoryPolygonlocationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryPolygonlocationSlice is retrieved from the database

func (HistoryPolygonlocationSlice) DeleteAll

func (HistoryPolygonlocationSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryPolygonlocationSlice) LoadOrganization

func (os HistoryPolygonlocationSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyPolygonlocation's Organization into the .R struct

func (HistoryPolygonlocationSlice) Organization

func (HistoryPolygonlocationSlice) ReloadAll

func (HistoryPolygonlocationSlice) UpdateAll

func (HistoryPolygonlocationSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryPolygonlocationsQuery

type HistoryPolygonlocationsQuery = *psql.ViewQuery[*HistoryPolygonlocation, HistoryPolygonlocationSlice]

HistoryPolygonlocationsQuery is a query on the history_polygonlocation table

type HistoryPool

type HistoryPool struct {
	OrganizationID         int32               `db:"organization_id" `
	Comments               null.Val[string]    `db:"comments" `
	Creationdate           null.Val[int64]     `db:"creationdate" `
	Creator                null.Val[string]    `db:"creator" `
	Datesent               null.Val[int64]     `db:"datesent" `
	Datetested             null.Val[int64]     `db:"datetested" `
	Diseasepos             null.Val[string]    `db:"diseasepos" `
	Diseasetested          null.Val[string]    `db:"diseasetested" `
	Editdate               null.Val[int64]     `db:"editdate" `
	Editor                 null.Val[string]    `db:"editor" `
	Gatewaysync            null.Val[int16]     `db:"gatewaysync" `
	Globalid               null.Val[string]    `db:"globalid" `
	Lab                    null.Val[string]    `db:"lab" `
	LabID                  null.Val[string]    `db:"lab_id" `
	Objectid               int32               `db:"objectid,pk" `
	Poolyear               null.Val[int16]     `db:"poolyear" `
	Processed              null.Val[int16]     `db:"processed" `
	Sampleid               null.Val[string]    `db:"sampleid" `
	Survtech               null.Val[string]    `db:"survtech" `
	Testmethod             null.Val[string]    `db:"testmethod" `
	Testtech               null.Val[string]    `db:"testtech" `
	TrapdataID             null.Val[string]    `db:"trapdata_id" `
	Created                null.Val[time.Time] `db:"created" `
	CreatedDate            null.Val[int64]     `db:"created_date" `
	CreatedUser            null.Val[string]    `db:"created_user" `
	GeometryX              null.Val[float64]   `db:"geometry_x" `
	GeometryY              null.Val[float64]   `db:"geometry_y" `
	LastEditedDate         null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser         null.Val[string]    `db:"last_edited_user" `
	Vectorsurvcollectionid null.Val[string]    `db:"vectorsurvcollectionid" `
	Vectorsurvpoolid       null.Val[string]    `db:"vectorsurvpoolid" `
	Vectorsurvtrapdataid   null.Val[string]    `db:"vectorsurvtrapdataid" `
	Version                int32               `db:"version,pk" `

	R historyPoolR `db:"-" `
}

HistoryPool is an object representing the database table.

func FindHistoryPool

func FindHistoryPool(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryPool, error)

FindHistoryPool retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryPool) AfterQueryHook

func (o *HistoryPool) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryPool is retrieved from the database

func (*HistoryPool) AttachOrganization

func (historyPool0 *HistoryPool) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryPool) Delete

func (o *HistoryPool) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryPool record with an executor

func (*HistoryPool) InsertOrganization

func (historyPool0 *HistoryPool) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryPool) LoadOrganization

func (o *HistoryPool) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyPool's Organization into the .R struct

func (*HistoryPool) Organization

func (o *HistoryPool) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*HistoryPool) Preload

func (o *HistoryPool) Preload(name string, retrieved any) error

func (*HistoryPool) Reload

func (o *HistoryPool) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryPool using the executor

func (*HistoryPool) Update

func (o *HistoryPool) Update(ctx context.Context, exec bob.Executor, s *HistoryPoolSetter) error

Update uses an executor to update the HistoryPool

type HistoryPoolSetter

type HistoryPoolSetter struct {
	OrganizationID         omit.Val[int32]         `db:"organization_id" `
	Comments               omitnull.Val[string]    `db:"comments" `
	Creationdate           omitnull.Val[int64]     `db:"creationdate" `
	Creator                omitnull.Val[string]    `db:"creator" `
	Datesent               omitnull.Val[int64]     `db:"datesent" `
	Datetested             omitnull.Val[int64]     `db:"datetested" `
	Diseasepos             omitnull.Val[string]    `db:"diseasepos" `
	Diseasetested          omitnull.Val[string]    `db:"diseasetested" `
	Editdate               omitnull.Val[int64]     `db:"editdate" `
	Editor                 omitnull.Val[string]    `db:"editor" `
	Gatewaysync            omitnull.Val[int16]     `db:"gatewaysync" `
	Globalid               omitnull.Val[string]    `db:"globalid" `
	Lab                    omitnull.Val[string]    `db:"lab" `
	LabID                  omitnull.Val[string]    `db:"lab_id" `
	Objectid               omit.Val[int32]         `db:"objectid,pk" `
	Poolyear               omitnull.Val[int16]     `db:"poolyear" `
	Processed              omitnull.Val[int16]     `db:"processed" `
	Sampleid               omitnull.Val[string]    `db:"sampleid" `
	Survtech               omitnull.Val[string]    `db:"survtech" `
	Testmethod             omitnull.Val[string]    `db:"testmethod" `
	Testtech               omitnull.Val[string]    `db:"testtech" `
	TrapdataID             omitnull.Val[string]    `db:"trapdata_id" `
	Created                omitnull.Val[time.Time] `db:"created" `
	CreatedDate            omitnull.Val[int64]     `db:"created_date" `
	CreatedUser            omitnull.Val[string]    `db:"created_user" `
	GeometryX              omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY              omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate         omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser         omitnull.Val[string]    `db:"last_edited_user" `
	Vectorsurvcollectionid omitnull.Val[string]    `db:"vectorsurvcollectionid" `
	Vectorsurvpoolid       omitnull.Val[string]    `db:"vectorsurvpoolid" `
	Vectorsurvtrapdataid   omitnull.Val[string]    `db:"vectorsurvtrapdataid" `
	Version                omit.Val[int32]         `db:"version,pk" `
}

HistoryPoolSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryPoolSetter) Apply

func (s *HistoryPoolSetter) Apply(q *dialect.InsertQuery)

func (HistoryPoolSetter) Expressions

func (s HistoryPoolSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryPoolSetter) Overwrite

func (s HistoryPoolSetter) Overwrite(t *HistoryPool)

func (HistoryPoolSetter) SetColumns

func (s HistoryPoolSetter) SetColumns() []string

func (HistoryPoolSetter) UpdateMod

func (s HistoryPoolSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type HistoryPoolSlice

type HistoryPoolSlice []*HistoryPool

HistoryPoolSlice is an alias for a slice of pointers to HistoryPool. This should almost always be used instead of []*HistoryPool.

func (HistoryPoolSlice) AfterQueryHook

func (o HistoryPoolSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryPoolSlice is retrieved from the database

func (HistoryPoolSlice) DeleteAll

func (o HistoryPoolSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (HistoryPoolSlice) DeleteMod

func (o HistoryPoolSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryPoolSlice) LoadOrganization

func (os HistoryPoolSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyPool's Organization into the .R struct

func (HistoryPoolSlice) Organization

func (os HistoryPoolSlice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (HistoryPoolSlice) ReloadAll

func (o HistoryPoolSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (HistoryPoolSlice) UpdateAll

func (o HistoryPoolSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals HistoryPoolSetter) error

func (HistoryPoolSlice) UpdateMod

func (o HistoryPoolSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryPooldetail

type HistoryPooldetail struct {
	OrganizationID int32               `db:"organization_id" `
	Creationdate   null.Val[int64]     `db:"creationdate" `
	Creator        null.Val[string]    `db:"creator" `
	Editdate       null.Val[int64]     `db:"editdate" `
	Editor         null.Val[string]    `db:"editor" `
	Females        null.Val[int16]     `db:"females" `
	Globalid       null.Val[string]    `db:"globalid" `
	Objectid       int32               `db:"objectid,pk" `
	PoolID         null.Val[string]    `db:"pool_id" `
	Species        null.Val[string]    `db:"species" `
	TrapdataID     null.Val[string]    `db:"trapdata_id" `
	Created        null.Val[time.Time] `db:"created" `
	CreatedDate    null.Val[int64]     `db:"created_date" `
	CreatedUser    null.Val[string]    `db:"created_user" `
	GeometryX      null.Val[float64]   `db:"geometry_x" `
	GeometryY      null.Val[float64]   `db:"geometry_y" `
	LastEditedDate null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser null.Val[string]    `db:"last_edited_user" `
	Version        int32               `db:"version,pk" `

	R historyPooldetailR `db:"-" `
}

HistoryPooldetail is an object representing the database table.

func FindHistoryPooldetail

func FindHistoryPooldetail(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryPooldetail, error)

FindHistoryPooldetail retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryPooldetail) AfterQueryHook

func (o *HistoryPooldetail) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryPooldetail is retrieved from the database

func (*HistoryPooldetail) AttachOrganization

func (historyPooldetail0 *HistoryPooldetail) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryPooldetail) Delete

func (o *HistoryPooldetail) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryPooldetail record with an executor

func (*HistoryPooldetail) InsertOrganization

func (historyPooldetail0 *HistoryPooldetail) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryPooldetail) LoadOrganization

func (o *HistoryPooldetail) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyPooldetail's Organization into the .R struct

func (*HistoryPooldetail) Organization

func (o *HistoryPooldetail) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*HistoryPooldetail) Preload

func (o *HistoryPooldetail) Preload(name string, retrieved any) error

func (*HistoryPooldetail) Reload

func (o *HistoryPooldetail) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryPooldetail using the executor

func (*HistoryPooldetail) Update

Update uses an executor to update the HistoryPooldetail

type HistoryPooldetailSetter

type HistoryPooldetailSetter struct {
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Creationdate   omitnull.Val[int64]     `db:"creationdate" `
	Creator        omitnull.Val[string]    `db:"creator" `
	Editdate       omitnull.Val[int64]     `db:"editdate" `
	Editor         omitnull.Val[string]    `db:"editor" `
	Females        omitnull.Val[int16]     `db:"females" `
	Globalid       omitnull.Val[string]    `db:"globalid" `
	Objectid       omit.Val[int32]         `db:"objectid,pk" `
	PoolID         omitnull.Val[string]    `db:"pool_id" `
	Species        omitnull.Val[string]    `db:"species" `
	TrapdataID     omitnull.Val[string]    `db:"trapdata_id" `
	Created        omitnull.Val[time.Time] `db:"created" `
	CreatedDate    omitnull.Val[int64]     `db:"created_date" `
	CreatedUser    omitnull.Val[string]    `db:"created_user" `
	GeometryX      omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY      omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]    `db:"last_edited_user" `
	Version        omit.Val[int32]         `db:"version,pk" `
}

HistoryPooldetailSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryPooldetailSetter) Apply

func (HistoryPooldetailSetter) Expressions

func (s HistoryPooldetailSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryPooldetailSetter) Overwrite

func (HistoryPooldetailSetter) SetColumns

func (s HistoryPooldetailSetter) SetColumns() []string

func (HistoryPooldetailSetter) UpdateMod

type HistoryPooldetailSlice

type HistoryPooldetailSlice []*HistoryPooldetail

HistoryPooldetailSlice is an alias for a slice of pointers to HistoryPooldetail. This should almost always be used instead of []*HistoryPooldetail.

func (HistoryPooldetailSlice) AfterQueryHook

func (o HistoryPooldetailSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryPooldetailSlice is retrieved from the database

func (HistoryPooldetailSlice) DeleteAll

func (o HistoryPooldetailSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (HistoryPooldetailSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryPooldetailSlice) LoadOrganization

func (os HistoryPooldetailSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyPooldetail's Organization into the .R struct

func (HistoryPooldetailSlice) Organization

func (HistoryPooldetailSlice) ReloadAll

func (o HistoryPooldetailSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (HistoryPooldetailSlice) UpdateAll

func (HistoryPooldetailSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryPooldetailsQuery

type HistoryPooldetailsQuery = *psql.ViewQuery[*HistoryPooldetail, HistoryPooldetailSlice]

HistoryPooldetailsQuery is a query on the history_pooldetail table

type HistoryPoolsQuery

type HistoryPoolsQuery = *psql.ViewQuery[*HistoryPool, HistoryPoolSlice]

HistoryPoolsQuery is a query on the history_pool table

type HistoryProposedtreatmentarea

type HistoryProposedtreatmentarea struct {
	OrganizationID    int32               `db:"organization_id" `
	Acres             null.Val[float64]   `db:"acres" `
	Comments          null.Val[string]    `db:"comments" `
	Completed         null.Val[int16]     `db:"completed" `
	Completedby       null.Val[string]    `db:"completedby" `
	Completeddate     null.Val[int64]     `db:"completeddate" `
	Creationdate      null.Val[int64]     `db:"creationdate" `
	Creator           null.Val[string]    `db:"creator" `
	Duedate           null.Val[int64]     `db:"duedate" `
	Exported          null.Val[int16]     `db:"exported" `
	Editdate          null.Val[int64]     `db:"editdate" `
	Editor            null.Val[string]    `db:"editor" `
	Globalid          null.Val[string]    `db:"globalid" `
	Hectares          null.Val[float64]   `db:"hectares" `
	Issprayroute      null.Val[int16]     `db:"issprayroute" `
	Lasttreatactivity null.Val[string]    `db:"lasttreatactivity" `
	Lasttreatdate     null.Val[int64]     `db:"lasttreatdate" `
	Lasttreatproduct  null.Val[string]    `db:"lasttreatproduct" `
	Lasttreatqty      null.Val[float64]   `db:"lasttreatqty" `
	Lasttreatqtyunit  null.Val[string]    `db:"lasttreatqtyunit" `
	Method            null.Val[string]    `db:"method" `
	Name              null.Val[string]    `db:"name" `
	Objectid          int32               `db:"objectid,pk" `
	Priority          null.Val[string]    `db:"priority" `
	Reviewed          null.Val[int16]     `db:"reviewed" `
	Reviewedby        null.Val[string]    `db:"reviewedby" `
	Revieweddate      null.Val[int64]     `db:"revieweddate" `
	ShapeArea         null.Val[float64]   `db:"shape__area" `
	ShapeLength       null.Val[float64]   `db:"shape__length" `
	Targetapprate     null.Val[float64]   `db:"targetapprate" `
	Targetproduct     null.Val[string]    `db:"targetproduct" `
	Targetspecies     null.Val[string]    `db:"targetspecies" `
	Zone              null.Val[string]    `db:"zone" `
	Zone2             null.Val[string]    `db:"zone2" `
	GeometryX         null.Val[float64]   `db:"geometry_x" `
	GeometryY         null.Val[float64]   `db:"geometry_y" `
	Version           int32               `db:"version,pk" `
	Created           null.Val[time.Time] `db:"created" `

	R historyProposedtreatmentareaR `db:"-" `
}

HistoryProposedtreatmentarea is an object representing the database table.

func FindHistoryProposedtreatmentarea

func FindHistoryProposedtreatmentarea(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryProposedtreatmentarea, error)

FindHistoryProposedtreatmentarea retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryProposedtreatmentarea) AfterQueryHook

func (o *HistoryProposedtreatmentarea) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryProposedtreatmentarea is retrieved from the database

func (*HistoryProposedtreatmentarea) AttachOrganization

func (historyProposedtreatmentarea0 *HistoryProposedtreatmentarea) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryProposedtreatmentarea) Delete

Delete deletes a single HistoryProposedtreatmentarea record with an executor

func (*HistoryProposedtreatmentarea) InsertOrganization

func (historyProposedtreatmentarea0 *HistoryProposedtreatmentarea) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryProposedtreatmentarea) LoadOrganization

func (o *HistoryProposedtreatmentarea) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyProposedtreatmentarea's Organization into the .R struct

func (*HistoryProposedtreatmentarea) Organization

Organization starts a query for related objects on organization

func (*HistoryProposedtreatmentarea) Preload

func (o *HistoryProposedtreatmentarea) Preload(name string, retrieved any) error

func (*HistoryProposedtreatmentarea) Reload

Reload refreshes the HistoryProposedtreatmentarea using the executor

func (*HistoryProposedtreatmentarea) Update

Update uses an executor to update the HistoryProposedtreatmentarea

type HistoryProposedtreatmentareaSetter

type HistoryProposedtreatmentareaSetter struct {
	OrganizationID    omit.Val[int32]         `db:"organization_id" `
	Acres             omitnull.Val[float64]   `db:"acres" `
	Comments          omitnull.Val[string]    `db:"comments" `
	Completed         omitnull.Val[int16]     `db:"completed" `
	Completedby       omitnull.Val[string]    `db:"completedby" `
	Completeddate     omitnull.Val[int64]     `db:"completeddate" `
	Creationdate      omitnull.Val[int64]     `db:"creationdate" `
	Creator           omitnull.Val[string]    `db:"creator" `
	Duedate           omitnull.Val[int64]     `db:"duedate" `
	Exported          omitnull.Val[int16]     `db:"exported" `
	Editdate          omitnull.Val[int64]     `db:"editdate" `
	Editor            omitnull.Val[string]    `db:"editor" `
	Globalid          omitnull.Val[string]    `db:"globalid" `
	Hectares          omitnull.Val[float64]   `db:"hectares" `
	Issprayroute      omitnull.Val[int16]     `db:"issprayroute" `
	Lasttreatactivity omitnull.Val[string]    `db:"lasttreatactivity" `
	Lasttreatdate     omitnull.Val[int64]     `db:"lasttreatdate" `
	Lasttreatproduct  omitnull.Val[string]    `db:"lasttreatproduct" `
	Lasttreatqty      omitnull.Val[float64]   `db:"lasttreatqty" `
	Lasttreatqtyunit  omitnull.Val[string]    `db:"lasttreatqtyunit" `
	Method            omitnull.Val[string]    `db:"method" `
	Name              omitnull.Val[string]    `db:"name" `
	Objectid          omit.Val[int32]         `db:"objectid,pk" `
	Priority          omitnull.Val[string]    `db:"priority" `
	Reviewed          omitnull.Val[int16]     `db:"reviewed" `
	Reviewedby        omitnull.Val[string]    `db:"reviewedby" `
	Revieweddate      omitnull.Val[int64]     `db:"revieweddate" `
	ShapeArea         omitnull.Val[float64]   `db:"shape__area" `
	ShapeLength       omitnull.Val[float64]   `db:"shape__length" `
	Targetapprate     omitnull.Val[float64]   `db:"targetapprate" `
	Targetproduct     omitnull.Val[string]    `db:"targetproduct" `
	Targetspecies     omitnull.Val[string]    `db:"targetspecies" `
	Zone              omitnull.Val[string]    `db:"zone" `
	Zone2             omitnull.Val[string]    `db:"zone2" `
	GeometryX         omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY         omitnull.Val[float64]   `db:"geometry_y" `
	Version           omit.Val[int32]         `db:"version,pk" `
	Created           omitnull.Val[time.Time] `db:"created" `
}

HistoryProposedtreatmentareaSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryProposedtreatmentareaSetter) Apply

func (HistoryProposedtreatmentareaSetter) Expressions

func (s HistoryProposedtreatmentareaSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryProposedtreatmentareaSetter) Overwrite

func (HistoryProposedtreatmentareaSetter) SetColumns

func (s HistoryProposedtreatmentareaSetter) SetColumns() []string

func (HistoryProposedtreatmentareaSetter) UpdateMod

type HistoryProposedtreatmentareaSlice

type HistoryProposedtreatmentareaSlice []*HistoryProposedtreatmentarea

HistoryProposedtreatmentareaSlice is an alias for a slice of pointers to HistoryProposedtreatmentarea. This should almost always be used instead of []*HistoryProposedtreatmentarea.

func (HistoryProposedtreatmentareaSlice) AfterQueryHook

func (o HistoryProposedtreatmentareaSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryProposedtreatmentareaSlice is retrieved from the database

func (HistoryProposedtreatmentareaSlice) DeleteAll

func (HistoryProposedtreatmentareaSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryProposedtreatmentareaSlice) LoadOrganization

func (os HistoryProposedtreatmentareaSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyProposedtreatmentarea's Organization into the .R struct

func (HistoryProposedtreatmentareaSlice) Organization

func (HistoryProposedtreatmentareaSlice) ReloadAll

func (HistoryProposedtreatmentareaSlice) UpdateAll

func (HistoryProposedtreatmentareaSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryProposedtreatmentareasQuery

type HistoryProposedtreatmentareasQuery = *psql.ViewQuery[*HistoryProposedtreatmentarea, HistoryProposedtreatmentareaSlice]

HistoryProposedtreatmentareasQuery is a query on the history_proposedtreatmentarea table

type HistoryQamosquitoinspection

type HistoryQamosquitoinspection struct {
	OrganizationID           int32               `db:"organization_id" `
	Acresbreeding            null.Val[float64]   `db:"acresbreeding" `
	Actiontaken              null.Val[string]    `db:"actiontaken" `
	Adultactivity            null.Val[int16]     `db:"adultactivity" `
	Aquaticorganisms         null.Val[string]    `db:"aquaticorganisms" `
	Avetemp                  null.Val[float64]   `db:"avetemp" `
	Breedingpotential        null.Val[string]    `db:"breedingpotential" `
	Comments                 null.Val[string]    `db:"comments" `
	Creationdate             null.Val[int64]     `db:"creationdate" `
	Creator                  null.Val[string]    `db:"creator" `
	Enddatetime              null.Val[int64]     `db:"enddatetime" `
	Editdate                 null.Val[int64]     `db:"editdate" `
	Editor                   null.Val[string]    `db:"editor" `
	Fieldtech                null.Val[string]    `db:"fieldtech" `
	Fish                     null.Val[int16]     `db:"fish" `
	Globalid                 null.Val[string]    `db:"globalid" `
	Habvalue1                null.Val[int16]     `db:"habvalue1" `
	Habvalue1percent         null.Val[int16]     `db:"habvalue1percent" `
	Habvalue2                null.Val[int16]     `db:"habvalue2" `
	Habvalue2percent         null.Val[int16]     `db:"habvalue2percent" `
	Larvaeinsidetreatedarea  null.Val[int16]     `db:"larvaeinsidetreatedarea" `
	Larvaeoutsidetreatedarea null.Val[int16]     `db:"larvaeoutsidetreatedarea" `
	Larvaepresent            null.Val[int16]     `db:"larvaepresent" `
	Larvaereason             null.Val[string]    `db:"larvaereason" `
	Linelocid                null.Val[string]    `db:"linelocid" `
	Locationname             null.Val[string]    `db:"locationname" `
	LR                       null.Val[int16]     `db:"lr" `
	Mosquitohabitat          null.Val[string]    `db:"mosquitohabitat" `
	Movingwater              null.Val[int16]     `db:"movingwater" `
	Negdips                  null.Val[int16]     `db:"negdips" `
	Nowaterever              null.Val[int16]     `db:"nowaterever" `
	Objectid                 int32               `db:"objectid,pk" `
	Pointlocid               null.Val[string]    `db:"pointlocid" `
	Polygonlocid             null.Val[string]    `db:"polygonlocid" `
	Posdips                  null.Val[int16]     `db:"posdips" `
	Potential                null.Val[int16]     `db:"potential" `
	Raingauge                null.Val[float64]   `db:"raingauge" `
	Recordstatus             null.Val[int16]     `db:"recordstatus" `
	Reviewed                 null.Val[int16]     `db:"reviewed" `
	Reviewedby               null.Val[string]    `db:"reviewedby" `
	Revieweddate             null.Val[int64]     `db:"revieweddate" `
	Sitetype                 null.Val[string]    `db:"sitetype" `
	Soilconditions           null.Val[string]    `db:"soilconditions" `
	Sourcereduction          null.Val[string]    `db:"sourcereduction" `
	Startdatetime            null.Val[int64]     `db:"startdatetime" `
	Totalacres               null.Val[float64]   `db:"totalacres" `
	Vegetation               null.Val[string]    `db:"vegetation" `
	Waterconditions          null.Val[string]    `db:"waterconditions" `
	Waterduration            null.Val[string]    `db:"waterduration" `
	Watermovement1           null.Val[string]    `db:"watermovement1" `
	Watermovement1percent    null.Val[int16]     `db:"watermovement1percent" `
	Watermovement2           null.Val[string]    `db:"watermovement2" `
	Watermovement2percent    null.Val[int16]     `db:"watermovement2percent" `
	Waterpresent             null.Val[int16]     `db:"waterpresent" `
	Watersource              null.Val[string]    `db:"watersource" `
	Winddir                  null.Val[string]    `db:"winddir" `
	Windspeed                null.Val[float64]   `db:"windspeed" `
	Zone                     null.Val[string]    `db:"zone" `
	Zone2                    null.Val[string]    `db:"zone2" `
	Created                  null.Val[time.Time] `db:"created" `
	CreatedDate              null.Val[int64]     `db:"created_date" `
	CreatedUser              null.Val[string]    `db:"created_user" `
	GeometryX                null.Val[float64]   `db:"geometry_x" `
	GeometryY                null.Val[float64]   `db:"geometry_y" `
	LastEditedDate           null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser           null.Val[string]    `db:"last_edited_user" `
	Version                  int32               `db:"version,pk" `

	R historyQamosquitoinspectionR `db:"-" `
}

HistoryQamosquitoinspection is an object representing the database table.

func FindHistoryQamosquitoinspection

func FindHistoryQamosquitoinspection(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryQamosquitoinspection, error)

FindHistoryQamosquitoinspection retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryQamosquitoinspection) AfterQueryHook

func (o *HistoryQamosquitoinspection) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryQamosquitoinspection is retrieved from the database

func (*HistoryQamosquitoinspection) AttachOrganization

func (historyQamosquitoinspection0 *HistoryQamosquitoinspection) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryQamosquitoinspection) Delete

Delete deletes a single HistoryQamosquitoinspection record with an executor

func (*HistoryQamosquitoinspection) InsertOrganization

func (historyQamosquitoinspection0 *HistoryQamosquitoinspection) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryQamosquitoinspection) LoadOrganization

func (o *HistoryQamosquitoinspection) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyQamosquitoinspection's Organization into the .R struct

func (*HistoryQamosquitoinspection) Organization

Organization starts a query for related objects on organization

func (*HistoryQamosquitoinspection) Preload

func (o *HistoryQamosquitoinspection) Preload(name string, retrieved any) error

func (*HistoryQamosquitoinspection) Reload

Reload refreshes the HistoryQamosquitoinspection using the executor

func (*HistoryQamosquitoinspection) Update

Update uses an executor to update the HistoryQamosquitoinspection

type HistoryQamosquitoinspectionSetter

type HistoryQamosquitoinspectionSetter struct {
	OrganizationID           omit.Val[int32]         `db:"organization_id" `
	Acresbreeding            omitnull.Val[float64]   `db:"acresbreeding" `
	Actiontaken              omitnull.Val[string]    `db:"actiontaken" `
	Adultactivity            omitnull.Val[int16]     `db:"adultactivity" `
	Aquaticorganisms         omitnull.Val[string]    `db:"aquaticorganisms" `
	Avetemp                  omitnull.Val[float64]   `db:"avetemp" `
	Breedingpotential        omitnull.Val[string]    `db:"breedingpotential" `
	Comments                 omitnull.Val[string]    `db:"comments" `
	Creationdate             omitnull.Val[int64]     `db:"creationdate" `
	Creator                  omitnull.Val[string]    `db:"creator" `
	Enddatetime              omitnull.Val[int64]     `db:"enddatetime" `
	Editdate                 omitnull.Val[int64]     `db:"editdate" `
	Editor                   omitnull.Val[string]    `db:"editor" `
	Fieldtech                omitnull.Val[string]    `db:"fieldtech" `
	Fish                     omitnull.Val[int16]     `db:"fish" `
	Globalid                 omitnull.Val[string]    `db:"globalid" `
	Habvalue1                omitnull.Val[int16]     `db:"habvalue1" `
	Habvalue1percent         omitnull.Val[int16]     `db:"habvalue1percent" `
	Habvalue2                omitnull.Val[int16]     `db:"habvalue2" `
	Habvalue2percent         omitnull.Val[int16]     `db:"habvalue2percent" `
	Larvaeinsidetreatedarea  omitnull.Val[int16]     `db:"larvaeinsidetreatedarea" `
	Larvaeoutsidetreatedarea omitnull.Val[int16]     `db:"larvaeoutsidetreatedarea" `
	Larvaepresent            omitnull.Val[int16]     `db:"larvaepresent" `
	Larvaereason             omitnull.Val[string]    `db:"larvaereason" `
	Linelocid                omitnull.Val[string]    `db:"linelocid" `
	Locationname             omitnull.Val[string]    `db:"locationname" `
	LR                       omitnull.Val[int16]     `db:"lr" `
	Mosquitohabitat          omitnull.Val[string]    `db:"mosquitohabitat" `
	Movingwater              omitnull.Val[int16]     `db:"movingwater" `
	Negdips                  omitnull.Val[int16]     `db:"negdips" `
	Nowaterever              omitnull.Val[int16]     `db:"nowaterever" `
	Objectid                 omit.Val[int32]         `db:"objectid,pk" `
	Pointlocid               omitnull.Val[string]    `db:"pointlocid" `
	Polygonlocid             omitnull.Val[string]    `db:"polygonlocid" `
	Posdips                  omitnull.Val[int16]     `db:"posdips" `
	Potential                omitnull.Val[int16]     `db:"potential" `
	Raingauge                omitnull.Val[float64]   `db:"raingauge" `
	Recordstatus             omitnull.Val[int16]     `db:"recordstatus" `
	Reviewed                 omitnull.Val[int16]     `db:"reviewed" `
	Reviewedby               omitnull.Val[string]    `db:"reviewedby" `
	Revieweddate             omitnull.Val[int64]     `db:"revieweddate" `
	Sitetype                 omitnull.Val[string]    `db:"sitetype" `
	Soilconditions           omitnull.Val[string]    `db:"soilconditions" `
	Sourcereduction          omitnull.Val[string]    `db:"sourcereduction" `
	Startdatetime            omitnull.Val[int64]     `db:"startdatetime" `
	Totalacres               omitnull.Val[float64]   `db:"totalacres" `
	Vegetation               omitnull.Val[string]    `db:"vegetation" `
	Waterconditions          omitnull.Val[string]    `db:"waterconditions" `
	Waterduration            omitnull.Val[string]    `db:"waterduration" `
	Watermovement1           omitnull.Val[string]    `db:"watermovement1" `
	Watermovement1percent    omitnull.Val[int16]     `db:"watermovement1percent" `
	Watermovement2           omitnull.Val[string]    `db:"watermovement2" `
	Watermovement2percent    omitnull.Val[int16]     `db:"watermovement2percent" `
	Waterpresent             omitnull.Val[int16]     `db:"waterpresent" `
	Watersource              omitnull.Val[string]    `db:"watersource" `
	Winddir                  omitnull.Val[string]    `db:"winddir" `
	Windspeed                omitnull.Val[float64]   `db:"windspeed" `
	Zone                     omitnull.Val[string]    `db:"zone" `
	Zone2                    omitnull.Val[string]    `db:"zone2" `
	Created                  omitnull.Val[time.Time] `db:"created" `
	CreatedDate              omitnull.Val[int64]     `db:"created_date" `
	CreatedUser              omitnull.Val[string]    `db:"created_user" `
	GeometryX                omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY                omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate           omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser           omitnull.Val[string]    `db:"last_edited_user" `
	Version                  omit.Val[int32]         `db:"version,pk" `
}

HistoryQamosquitoinspectionSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryQamosquitoinspectionSetter) Apply

func (HistoryQamosquitoinspectionSetter) Expressions

func (s HistoryQamosquitoinspectionSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryQamosquitoinspectionSetter) Overwrite

func (HistoryQamosquitoinspectionSetter) SetColumns

func (s HistoryQamosquitoinspectionSetter) SetColumns() []string

func (HistoryQamosquitoinspectionSetter) UpdateMod

type HistoryQamosquitoinspectionSlice

type HistoryQamosquitoinspectionSlice []*HistoryQamosquitoinspection

HistoryQamosquitoinspectionSlice is an alias for a slice of pointers to HistoryQamosquitoinspection. This should almost always be used instead of []*HistoryQamosquitoinspection.

func (HistoryQamosquitoinspectionSlice) AfterQueryHook

func (o HistoryQamosquitoinspectionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryQamosquitoinspectionSlice is retrieved from the database

func (HistoryQamosquitoinspectionSlice) DeleteAll

func (HistoryQamosquitoinspectionSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryQamosquitoinspectionSlice) LoadOrganization

func (os HistoryQamosquitoinspectionSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyQamosquitoinspection's Organization into the .R struct

func (HistoryQamosquitoinspectionSlice) Organization

func (HistoryQamosquitoinspectionSlice) ReloadAll

func (HistoryQamosquitoinspectionSlice) UpdateAll

func (HistoryQamosquitoinspectionSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryQamosquitoinspectionsQuery

type HistoryQamosquitoinspectionsQuery = *psql.ViewQuery[*HistoryQamosquitoinspection, HistoryQamosquitoinspectionSlice]

HistoryQamosquitoinspectionsQuery is a query on the history_qamosquitoinspection table

type HistoryRodentlocation

type HistoryRodentlocation struct {
	OrganizationID            int32               `db:"organization_id" `
	Accessdesc                null.Val[string]    `db:"accessdesc" `
	Active                    null.Val[int16]     `db:"active" `
	Comments                  null.Val[string]    `db:"comments" `
	Creationdate              null.Val[int64]     `db:"creationdate" `
	Creator                   null.Val[string]    `db:"creator" `
	Description               null.Val[string]    `db:"description" `
	Externalid                null.Val[string]    `db:"externalid" `
	Editdate                  null.Val[int64]     `db:"editdate" `
	Editor                    null.Val[string]    `db:"editor" `
	Globalid                  null.Val[string]    `db:"globalid" `
	Habitat                   null.Val[string]    `db:"habitat" `
	Lastinspectaction         null.Val[string]    `db:"lastinspectaction" `
	Lastinspectconditions     null.Val[string]    `db:"lastinspectconditions" `
	Lastinspectdate           null.Val[int64]     `db:"lastinspectdate" `
	Lastinspectrodentevidence null.Val[string]    `db:"lastinspectrodentevidence" `
	Lastinspectspecies        null.Val[string]    `db:"lastinspectspecies" `
	Locationname              null.Val[string]    `db:"locationname" `
	Locationnumber            null.Val[int64]     `db:"locationnumber" `
	Nextactiondatescheduled   null.Val[int64]     `db:"nextactiondatescheduled" `
	Objectid                  int32               `db:"objectid,pk" `
	Priority                  null.Val[string]    `db:"priority" `
	Symbology                 null.Val[string]    `db:"symbology" `
	Usetype                   null.Val[string]    `db:"usetype" `
	Zone                      null.Val[string]    `db:"zone" `
	Zone2                     null.Val[string]    `db:"zone2" `
	Created                   null.Val[time.Time] `db:"created" `
	CreatedDate               null.Val[int64]     `db:"created_date" `
	CreatedUser               null.Val[string]    `db:"created_user" `
	GeometryX                 null.Val[float64]   `db:"geometry_x" `
	GeometryY                 null.Val[float64]   `db:"geometry_y" `
	LastEditedDate            null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser            null.Val[string]    `db:"last_edited_user" `
	Jurisdiction              null.Val[string]    `db:"jurisdiction" `
	Version                   int32               `db:"version,pk" `

	R historyRodentlocationR `db:"-" `
}

HistoryRodentlocation is an object representing the database table.

func FindHistoryRodentlocation

func FindHistoryRodentlocation(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryRodentlocation, error)

FindHistoryRodentlocation retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryRodentlocation) AfterQueryHook

func (o *HistoryRodentlocation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryRodentlocation is retrieved from the database

func (*HistoryRodentlocation) AttachOrganization

func (historyRodentlocation0 *HistoryRodentlocation) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryRodentlocation) Delete

func (o *HistoryRodentlocation) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryRodentlocation record with an executor

func (*HistoryRodentlocation) InsertOrganization

func (historyRodentlocation0 *HistoryRodentlocation) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryRodentlocation) LoadOrganization

func (o *HistoryRodentlocation) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyRodentlocation's Organization into the .R struct

func (*HistoryRodentlocation) Organization

Organization starts a query for related objects on organization

func (*HistoryRodentlocation) Preload

func (o *HistoryRodentlocation) Preload(name string, retrieved any) error

func (*HistoryRodentlocation) Reload

func (o *HistoryRodentlocation) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryRodentlocation using the executor

func (*HistoryRodentlocation) Update

Update uses an executor to update the HistoryRodentlocation

type HistoryRodentlocationSetter

type HistoryRodentlocationSetter struct {
	OrganizationID            omit.Val[int32]         `db:"organization_id" `
	Accessdesc                omitnull.Val[string]    `db:"accessdesc" `
	Active                    omitnull.Val[int16]     `db:"active" `
	Comments                  omitnull.Val[string]    `db:"comments" `
	Creationdate              omitnull.Val[int64]     `db:"creationdate" `
	Creator                   omitnull.Val[string]    `db:"creator" `
	Description               omitnull.Val[string]    `db:"description" `
	Externalid                omitnull.Val[string]    `db:"externalid" `
	Editdate                  omitnull.Val[int64]     `db:"editdate" `
	Editor                    omitnull.Val[string]    `db:"editor" `
	Globalid                  omitnull.Val[string]    `db:"globalid" `
	Habitat                   omitnull.Val[string]    `db:"habitat" `
	Lastinspectaction         omitnull.Val[string]    `db:"lastinspectaction" `
	Lastinspectconditions     omitnull.Val[string]    `db:"lastinspectconditions" `
	Lastinspectdate           omitnull.Val[int64]     `db:"lastinspectdate" `
	Lastinspectrodentevidence omitnull.Val[string]    `db:"lastinspectrodentevidence" `
	Lastinspectspecies        omitnull.Val[string]    `db:"lastinspectspecies" `
	Locationname              omitnull.Val[string]    `db:"locationname" `
	Locationnumber            omitnull.Val[int64]     `db:"locationnumber" `
	Nextactiondatescheduled   omitnull.Val[int64]     `db:"nextactiondatescheduled" `
	Objectid                  omit.Val[int32]         `db:"objectid,pk" `
	Priority                  omitnull.Val[string]    `db:"priority" `
	Symbology                 omitnull.Val[string]    `db:"symbology" `
	Usetype                   omitnull.Val[string]    `db:"usetype" `
	Zone                      omitnull.Val[string]    `db:"zone" `
	Zone2                     omitnull.Val[string]    `db:"zone2" `
	Created                   omitnull.Val[time.Time] `db:"created" `
	CreatedDate               omitnull.Val[int64]     `db:"created_date" `
	CreatedUser               omitnull.Val[string]    `db:"created_user" `
	GeometryX                 omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY                 omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate            omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser            omitnull.Val[string]    `db:"last_edited_user" `
	Jurisdiction              omitnull.Val[string]    `db:"jurisdiction" `
	Version                   omit.Val[int32]         `db:"version,pk" `
}

HistoryRodentlocationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryRodentlocationSetter) Apply

func (HistoryRodentlocationSetter) Expressions

func (s HistoryRodentlocationSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryRodentlocationSetter) Overwrite

func (HistoryRodentlocationSetter) SetColumns

func (s HistoryRodentlocationSetter) SetColumns() []string

func (HistoryRodentlocationSetter) UpdateMod

type HistoryRodentlocationSlice

type HistoryRodentlocationSlice []*HistoryRodentlocation

HistoryRodentlocationSlice is an alias for a slice of pointers to HistoryRodentlocation. This should almost always be used instead of []*HistoryRodentlocation.

func (HistoryRodentlocationSlice) AfterQueryHook

func (o HistoryRodentlocationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryRodentlocationSlice is retrieved from the database

func (HistoryRodentlocationSlice) DeleteAll

func (HistoryRodentlocationSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryRodentlocationSlice) LoadOrganization

func (os HistoryRodentlocationSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyRodentlocation's Organization into the .R struct

func (HistoryRodentlocationSlice) Organization

func (HistoryRodentlocationSlice) ReloadAll

func (HistoryRodentlocationSlice) UpdateAll

func (HistoryRodentlocationSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryRodentlocationsQuery

type HistoryRodentlocationsQuery = *psql.ViewQuery[*HistoryRodentlocation, HistoryRodentlocationSlice]

HistoryRodentlocationsQuery is a query on the history_rodentlocation table

type HistorySamplecollection

type HistorySamplecollection struct {
	OrganizationID int32               `db:"organization_id" `
	Activity       null.Val[string]    `db:"activity" `
	Avetemp        null.Val[float64]   `db:"avetemp" `
	Chickenid      null.Val[string]    `db:"chickenid" `
	Comments       null.Val[string]    `db:"comments" `
	Creationdate   null.Val[int64]     `db:"creationdate" `
	Creator        null.Val[string]    `db:"creator" `
	Datesent       null.Val[int64]     `db:"datesent" `
	Datetested     null.Val[int64]     `db:"datetested" `
	Diseasepos     null.Val[string]    `db:"diseasepos" `
	Diseasetested  null.Val[string]    `db:"diseasetested" `
	Enddatetime    null.Val[int64]     `db:"enddatetime" `
	Editdate       null.Val[int64]     `db:"editdate" `
	Editor         null.Val[string]    `db:"editor" `
	Fieldtech      null.Val[string]    `db:"fieldtech" `
	Flockid        null.Val[string]    `db:"flockid" `
	Gatewaysync    null.Val[int16]     `db:"gatewaysync" `
	Globalid       null.Val[string]    `db:"globalid" `
	Lab            null.Val[string]    `db:"lab" `
	Locationname   null.Val[string]    `db:"locationname" `
	LocID          null.Val[string]    `db:"loc_id" `
	Objectid       int32               `db:"objectid,pk" `
	Processed      null.Val[int16]     `db:"processed" `
	Raingauge      null.Val[float64]   `db:"raingauge" `
	Recordstatus   null.Val[int16]     `db:"recordstatus" `
	Reviewed       null.Val[int16]     `db:"reviewed" `
	Reviewedby     null.Val[string]    `db:"reviewedby" `
	Revieweddate   null.Val[int64]     `db:"revieweddate" `
	Samplecond     null.Val[string]    `db:"samplecond" `
	Samplecount    null.Val[int16]     `db:"samplecount" `
	Sampleid       null.Val[string]    `db:"sampleid" `
	Sampletype     null.Val[string]    `db:"sampletype" `
	Sex            null.Val[string]    `db:"sex" `
	Sitecond       null.Val[string]    `db:"sitecond" `
	Species        null.Val[string]    `db:"species" `
	Startdatetime  null.Val[int64]     `db:"startdatetime" `
	Survtech       null.Val[string]    `db:"survtech" `
	Testmethod     null.Val[string]    `db:"testmethod" `
	Testtech       null.Val[string]    `db:"testtech" `
	Winddir        null.Val[string]    `db:"winddir" `
	Windspeed      null.Val[float64]   `db:"windspeed" `
	Zone           null.Val[string]    `db:"zone" `
	Zone2          null.Val[string]    `db:"zone2" `
	Created        null.Val[time.Time] `db:"created" `
	CreatedDate    null.Val[int64]     `db:"created_date" `
	CreatedUser    null.Val[string]    `db:"created_user" `
	GeometryX      null.Val[float64]   `db:"geometry_x" `
	GeometryY      null.Val[float64]   `db:"geometry_y" `
	LastEditedDate null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser null.Val[string]    `db:"last_edited_user" `
	Version        int32               `db:"version,pk" `

	R historySamplecollectionR `db:"-" `
}

HistorySamplecollection is an object representing the database table.

func FindHistorySamplecollection

func FindHistorySamplecollection(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistorySamplecollection, error)

FindHistorySamplecollection retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistorySamplecollection) AfterQueryHook

func (o *HistorySamplecollection) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistorySamplecollection is retrieved from the database

func (*HistorySamplecollection) AttachOrganization

func (historySamplecollection0 *HistorySamplecollection) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistorySamplecollection) Delete

Delete deletes a single HistorySamplecollection record with an executor

func (*HistorySamplecollection) InsertOrganization

func (historySamplecollection0 *HistorySamplecollection) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistorySamplecollection) LoadOrganization

func (o *HistorySamplecollection) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historySamplecollection's Organization into the .R struct

func (*HistorySamplecollection) Organization

Organization starts a query for related objects on organization

func (*HistorySamplecollection) Preload

func (o *HistorySamplecollection) Preload(name string, retrieved any) error

func (*HistorySamplecollection) Reload

Reload refreshes the HistorySamplecollection using the executor

func (*HistorySamplecollection) Update

Update uses an executor to update the HistorySamplecollection

type HistorySamplecollectionSetter

type HistorySamplecollectionSetter struct {
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Activity       omitnull.Val[string]    `db:"activity" `
	Avetemp        omitnull.Val[float64]   `db:"avetemp" `
	Chickenid      omitnull.Val[string]    `db:"chickenid" `
	Comments       omitnull.Val[string]    `db:"comments" `
	Creationdate   omitnull.Val[int64]     `db:"creationdate" `
	Creator        omitnull.Val[string]    `db:"creator" `
	Datesent       omitnull.Val[int64]     `db:"datesent" `
	Datetested     omitnull.Val[int64]     `db:"datetested" `
	Diseasepos     omitnull.Val[string]    `db:"diseasepos" `
	Diseasetested  omitnull.Val[string]    `db:"diseasetested" `
	Enddatetime    omitnull.Val[int64]     `db:"enddatetime" `
	Editdate       omitnull.Val[int64]     `db:"editdate" `
	Editor         omitnull.Val[string]    `db:"editor" `
	Fieldtech      omitnull.Val[string]    `db:"fieldtech" `
	Flockid        omitnull.Val[string]    `db:"flockid" `
	Gatewaysync    omitnull.Val[int16]     `db:"gatewaysync" `
	Globalid       omitnull.Val[string]    `db:"globalid" `
	Lab            omitnull.Val[string]    `db:"lab" `
	Locationname   omitnull.Val[string]    `db:"locationname" `
	LocID          omitnull.Val[string]    `db:"loc_id" `
	Objectid       omit.Val[int32]         `db:"objectid,pk" `
	Processed      omitnull.Val[int16]     `db:"processed" `
	Raingauge      omitnull.Val[float64]   `db:"raingauge" `
	Recordstatus   omitnull.Val[int16]     `db:"recordstatus" `
	Reviewed       omitnull.Val[int16]     `db:"reviewed" `
	Reviewedby     omitnull.Val[string]    `db:"reviewedby" `
	Revieweddate   omitnull.Val[int64]     `db:"revieweddate" `
	Samplecond     omitnull.Val[string]    `db:"samplecond" `
	Samplecount    omitnull.Val[int16]     `db:"samplecount" `
	Sampleid       omitnull.Val[string]    `db:"sampleid" `
	Sampletype     omitnull.Val[string]    `db:"sampletype" `
	Sex            omitnull.Val[string]    `db:"sex" `
	Sitecond       omitnull.Val[string]    `db:"sitecond" `
	Species        omitnull.Val[string]    `db:"species" `
	Startdatetime  omitnull.Val[int64]     `db:"startdatetime" `
	Survtech       omitnull.Val[string]    `db:"survtech" `
	Testmethod     omitnull.Val[string]    `db:"testmethod" `
	Testtech       omitnull.Val[string]    `db:"testtech" `
	Winddir        omitnull.Val[string]    `db:"winddir" `
	Windspeed      omitnull.Val[float64]   `db:"windspeed" `
	Zone           omitnull.Val[string]    `db:"zone" `
	Zone2          omitnull.Val[string]    `db:"zone2" `
	Created        omitnull.Val[time.Time] `db:"created" `
	CreatedDate    omitnull.Val[int64]     `db:"created_date" `
	CreatedUser    omitnull.Val[string]    `db:"created_user" `
	GeometryX      omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY      omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]    `db:"last_edited_user" `
	Version        omit.Val[int32]         `db:"version,pk" `
}

HistorySamplecollectionSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistorySamplecollectionSetter) Apply

func (HistorySamplecollectionSetter) Expressions

func (s HistorySamplecollectionSetter) Expressions(prefix ...string) []bob.Expression

func (HistorySamplecollectionSetter) Overwrite

func (HistorySamplecollectionSetter) SetColumns

func (s HistorySamplecollectionSetter) SetColumns() []string

func (HistorySamplecollectionSetter) UpdateMod

type HistorySamplecollectionSlice

type HistorySamplecollectionSlice []*HistorySamplecollection

HistorySamplecollectionSlice is an alias for a slice of pointers to HistorySamplecollection. This should almost always be used instead of []*HistorySamplecollection.

func (HistorySamplecollectionSlice) AfterQueryHook

func (o HistorySamplecollectionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistorySamplecollectionSlice is retrieved from the database

func (HistorySamplecollectionSlice) DeleteAll

func (HistorySamplecollectionSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistorySamplecollectionSlice) LoadOrganization

func (os HistorySamplecollectionSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historySamplecollection's Organization into the .R struct

func (HistorySamplecollectionSlice) Organization

func (HistorySamplecollectionSlice) ReloadAll

func (HistorySamplecollectionSlice) UpdateAll

func (HistorySamplecollectionSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistorySamplecollectionsQuery

type HistorySamplecollectionsQuery = *psql.ViewQuery[*HistorySamplecollection, HistorySamplecollectionSlice]

HistorySamplecollectionsQuery is a query on the history_samplecollection table

type HistorySamplelocation

type HistorySamplelocation struct {
	OrganizationID          int32               `db:"organization_id" `
	Accessdesc              null.Val[string]    `db:"accessdesc" `
	Active                  null.Val[int16]     `db:"active" `
	Comments                null.Val[string]    `db:"comments" `
	Creationdate            null.Val[int64]     `db:"creationdate" `
	Creator                 null.Val[string]    `db:"creator" `
	Description             null.Val[string]    `db:"description" `
	Externalid              null.Val[string]    `db:"externalid" `
	Editdate                null.Val[int64]     `db:"editdate" `
	Editor                  null.Val[string]    `db:"editor" `
	Gatewaysync             null.Val[int16]     `db:"gatewaysync" `
	Globalid                null.Val[string]    `db:"globalid" `
	Habitat                 null.Val[string]    `db:"habitat" `
	Locationnumber          null.Val[int64]     `db:"locationnumber" `
	Name                    null.Val[string]    `db:"name" `
	Nextactiondatescheduled null.Val[int64]     `db:"nextactiondatescheduled" `
	Objectid                int32               `db:"objectid,pk" `
	Priority                null.Val[string]    `db:"priority" `
	Usetype                 null.Val[string]    `db:"usetype" `
	Zone                    null.Val[string]    `db:"zone" `
	Zone2                   null.Val[string]    `db:"zone2" `
	Created                 null.Val[time.Time] `db:"created" `
	CreatedDate             null.Val[int64]     `db:"created_date" `
	CreatedUser             null.Val[string]    `db:"created_user" `
	GeometryX               null.Val[float64]   `db:"geometry_x" `
	GeometryY               null.Val[float64]   `db:"geometry_y" `
	LastEditedDate          null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser          null.Val[string]    `db:"last_edited_user" `
	Version                 int32               `db:"version,pk" `

	R historySamplelocationR `db:"-" `
}

HistorySamplelocation is an object representing the database table.

func FindHistorySamplelocation

func FindHistorySamplelocation(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistorySamplelocation, error)

FindHistorySamplelocation retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistorySamplelocation) AfterQueryHook

func (o *HistorySamplelocation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistorySamplelocation is retrieved from the database

func (*HistorySamplelocation) AttachOrganization

func (historySamplelocation0 *HistorySamplelocation) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistorySamplelocation) Delete

func (o *HistorySamplelocation) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistorySamplelocation record with an executor

func (*HistorySamplelocation) InsertOrganization

func (historySamplelocation0 *HistorySamplelocation) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistorySamplelocation) LoadOrganization

func (o *HistorySamplelocation) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historySamplelocation's Organization into the .R struct

func (*HistorySamplelocation) Organization

Organization starts a query for related objects on organization

func (*HistorySamplelocation) Preload

func (o *HistorySamplelocation) Preload(name string, retrieved any) error

func (*HistorySamplelocation) Reload

func (o *HistorySamplelocation) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistorySamplelocation using the executor

func (*HistorySamplelocation) Update

Update uses an executor to update the HistorySamplelocation

type HistorySamplelocationSetter

type HistorySamplelocationSetter struct {
	OrganizationID          omit.Val[int32]         `db:"organization_id" `
	Accessdesc              omitnull.Val[string]    `db:"accessdesc" `
	Active                  omitnull.Val[int16]     `db:"active" `
	Comments                omitnull.Val[string]    `db:"comments" `
	Creationdate            omitnull.Val[int64]     `db:"creationdate" `
	Creator                 omitnull.Val[string]    `db:"creator" `
	Description             omitnull.Val[string]    `db:"description" `
	Externalid              omitnull.Val[string]    `db:"externalid" `
	Editdate                omitnull.Val[int64]     `db:"editdate" `
	Editor                  omitnull.Val[string]    `db:"editor" `
	Gatewaysync             omitnull.Val[int16]     `db:"gatewaysync" `
	Globalid                omitnull.Val[string]    `db:"globalid" `
	Habitat                 omitnull.Val[string]    `db:"habitat" `
	Locationnumber          omitnull.Val[int64]     `db:"locationnumber" `
	Name                    omitnull.Val[string]    `db:"name" `
	Nextactiondatescheduled omitnull.Val[int64]     `db:"nextactiondatescheduled" `
	Objectid                omit.Val[int32]         `db:"objectid,pk" `
	Priority                omitnull.Val[string]    `db:"priority" `
	Usetype                 omitnull.Val[string]    `db:"usetype" `
	Zone                    omitnull.Val[string]    `db:"zone" `
	Zone2                   omitnull.Val[string]    `db:"zone2" `
	Created                 omitnull.Val[time.Time] `db:"created" `
	CreatedDate             omitnull.Val[int64]     `db:"created_date" `
	CreatedUser             omitnull.Val[string]    `db:"created_user" `
	GeometryX               omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY               omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate          omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser          omitnull.Val[string]    `db:"last_edited_user" `
	Version                 omit.Val[int32]         `db:"version,pk" `
}

HistorySamplelocationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistorySamplelocationSetter) Apply

func (HistorySamplelocationSetter) Expressions

func (s HistorySamplelocationSetter) Expressions(prefix ...string) []bob.Expression

func (HistorySamplelocationSetter) Overwrite

func (HistorySamplelocationSetter) SetColumns

func (s HistorySamplelocationSetter) SetColumns() []string

func (HistorySamplelocationSetter) UpdateMod

type HistorySamplelocationSlice

type HistorySamplelocationSlice []*HistorySamplelocation

HistorySamplelocationSlice is an alias for a slice of pointers to HistorySamplelocation. This should almost always be used instead of []*HistorySamplelocation.

func (HistorySamplelocationSlice) AfterQueryHook

func (o HistorySamplelocationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistorySamplelocationSlice is retrieved from the database

func (HistorySamplelocationSlice) DeleteAll

func (HistorySamplelocationSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistorySamplelocationSlice) LoadOrganization

func (os HistorySamplelocationSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historySamplelocation's Organization into the .R struct

func (HistorySamplelocationSlice) Organization

func (HistorySamplelocationSlice) ReloadAll

func (HistorySamplelocationSlice) UpdateAll

func (HistorySamplelocationSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistorySamplelocationsQuery

type HistorySamplelocationsQuery = *psql.ViewQuery[*HistorySamplelocation, HistorySamplelocationSlice]

HistorySamplelocationsQuery is a query on the history_samplelocation table

type HistoryServicerequest

type HistoryServicerequest struct {
	OrganizationID        int32               `db:"organization_id" `
	Accepted              null.Val[int16]     `db:"accepted" `
	Acceptedby            null.Val[string]    `db:"acceptedby" `
	Accepteddate          null.Val[int64]     `db:"accepteddate" `
	Allowed               null.Val[string]    `db:"allowed" `
	Assignedtech          null.Val[string]    `db:"assignedtech" `
	Clraddr1              null.Val[string]    `db:"clraddr1" `
	Clraddr2              null.Val[string]    `db:"clraddr2" `
	Clranon               null.Val[int16]     `db:"clranon" `
	Clrcity               null.Val[string]    `db:"clrcity" `
	Clrcompany            null.Val[string]    `db:"clrcompany" `
	Clrcontpref           null.Val[string]    `db:"clrcontpref" `
	Clremail              null.Val[string]    `db:"clremail" `
	Clrfname              null.Val[string]    `db:"clrfname" `
	Clrother              null.Val[string]    `db:"clrother" `
	Clrphone1             null.Val[string]    `db:"clrphone1" `
	Clrphone2             null.Val[string]    `db:"clrphone2" `
	Clrstate              null.Val[string]    `db:"clrstate" `
	Clrzip                null.Val[string]    `db:"clrzip" `
	Comments              null.Val[string]    `db:"comments" `
	Creationdate          null.Val[int64]     `db:"creationdate" `
	Creator               null.Val[string]    `db:"creator" `
	Datetimeclosed        null.Val[int64]     `db:"datetimeclosed" `
	Duedate               null.Val[int64]     `db:"duedate" `
	Entrytech             null.Val[string]    `db:"entrytech" `
	Estcompletedate       null.Val[int64]     `db:"estcompletedate" `
	Externalerror         null.Val[string]    `db:"externalerror" `
	Externalid            null.Val[string]    `db:"externalid" `
	Editdate              null.Val[int64]     `db:"editdate" `
	Editor                null.Val[string]    `db:"editor" `
	Firstresponsedate     null.Val[int64]     `db:"firstresponsedate" `
	Globalid              null.Val[string]    `db:"globalid" `
	Issuesreported        null.Val[string]    `db:"issuesreported" `
	Jurisdiction          null.Val[string]    `db:"jurisdiction" `
	Nextaction            null.Val[string]    `db:"nextaction" `
	Notificationtimestamp null.Val[string]    `db:"notificationtimestamp" `
	Notified              null.Val[int16]     `db:"notified" `
	Notifieddate          null.Val[int64]     `db:"notifieddate" `
	Objectid              int32               `db:"objectid,pk" `
	Pointlocid            null.Val[string]    `db:"pointlocid" `
	Priority              null.Val[string]    `db:"priority" `
	Recdatetime           null.Val[int64]     `db:"recdatetime" `
	Recordstatus          null.Val[int16]     `db:"recordstatus" `
	Rejectedby            null.Val[string]    `db:"rejectedby" `
	Rejecteddate          null.Val[int64]     `db:"rejecteddate" `
	Rejectedreason        null.Val[string]    `db:"rejectedreason" `
	Reqaddr1              null.Val[string]    `db:"reqaddr1" `
	Reqaddr2              null.Val[string]    `db:"reqaddr2" `
	Reqcity               null.Val[string]    `db:"reqcity" `
	Reqcompany            null.Val[string]    `db:"reqcompany" `
	Reqcrossst            null.Val[string]    `db:"reqcrossst" `
	Reqdescr              null.Val[string]    `db:"reqdescr" `
	Reqfldnotes           null.Val[string]    `db:"reqfldnotes" `
	Reqmapgrid            null.Val[string]    `db:"reqmapgrid" `
	Reqnotesforcust       null.Val[string]    `db:"reqnotesforcust" `
	Reqnotesfortech       null.Val[string]    `db:"reqnotesfortech" `
	Reqpermission         null.Val[int16]     `db:"reqpermission" `
	Reqprogramactions     null.Val[string]    `db:"reqprogramactions" `
	Reqstate              null.Val[string]    `db:"reqstate" `
	Reqsubdiv             null.Val[string]    `db:"reqsubdiv" `
	Reqtarget             null.Val[string]    `db:"reqtarget" `
	Reqzip                null.Val[string]    `db:"reqzip" `
	Responsedaycount      null.Val[int16]     `db:"responsedaycount" `
	Reviewed              null.Val[int16]     `db:"reviewed" `
	Reviewedby            null.Val[string]    `db:"reviewedby" `
	Revieweddate          null.Val[int64]     `db:"revieweddate" `
	Scheduled             null.Val[int16]     `db:"scheduled" `
	Scheduleddate         null.Val[int64]     `db:"scheduleddate" `
	Source                null.Val[string]    `db:"source" `
	SRNumber              null.Val[int64]     `db:"sr_number" `
	Status                null.Val[string]    `db:"status" `
	Supervisor            null.Val[string]    `db:"supervisor" `
	Techclosed            null.Val[string]    `db:"techclosed" `
	Validx                null.Val[string]    `db:"validx" `
	Validy                null.Val[string]    `db:"validy" `
	Xvalue                null.Val[string]    `db:"xvalue" `
	Yvalue                null.Val[string]    `db:"yvalue" `
	Zone                  null.Val[string]    `db:"zone" `
	Zone2                 null.Val[string]    `db:"zone2" `
	Created               null.Val[time.Time] `db:"created" `
	CreatedDate           null.Val[int64]     `db:"created_date" `
	CreatedUser           null.Val[string]    `db:"created_user" `
	GeometryX             null.Val[float64]   `db:"geometry_x" `
	GeometryY             null.Val[float64]   `db:"geometry_y" `
	LastEditedDate        null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser        null.Val[string]    `db:"last_edited_user" `
	Dog                   null.Val[int64]     `db:"dog" `
	Spanish               null.Val[int64]     `db:"spanish" `
	ScheduleNotes         null.Val[string]    `db:"schedule_notes" `
	SchedulePeriod        null.Val[string]    `db:"schedule_period" `
	Version               int32               `db:"version,pk" `

	R historyServicerequestR `db:"-" `
}

HistoryServicerequest is an object representing the database table.

func FindHistoryServicerequest

func FindHistoryServicerequest(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryServicerequest, error)

FindHistoryServicerequest retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryServicerequest) AfterQueryHook

func (o *HistoryServicerequest) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryServicerequest is retrieved from the database

func (*HistoryServicerequest) AttachOrganization

func (historyServicerequest0 *HistoryServicerequest) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryServicerequest) Delete

func (o *HistoryServicerequest) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryServicerequest record with an executor

func (*HistoryServicerequest) InsertOrganization

func (historyServicerequest0 *HistoryServicerequest) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryServicerequest) LoadOrganization

func (o *HistoryServicerequest) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyServicerequest's Organization into the .R struct

func (*HistoryServicerequest) Organization

Organization starts a query for related objects on organization

func (*HistoryServicerequest) Preload

func (o *HistoryServicerequest) Preload(name string, retrieved any) error

func (*HistoryServicerequest) Reload

func (o *HistoryServicerequest) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryServicerequest using the executor

func (*HistoryServicerequest) Update

Update uses an executor to update the HistoryServicerequest

type HistoryServicerequestSetter

type HistoryServicerequestSetter struct {
	OrganizationID        omit.Val[int32]         `db:"organization_id" `
	Accepted              omitnull.Val[int16]     `db:"accepted" `
	Acceptedby            omitnull.Val[string]    `db:"acceptedby" `
	Accepteddate          omitnull.Val[int64]     `db:"accepteddate" `
	Allowed               omitnull.Val[string]    `db:"allowed" `
	Assignedtech          omitnull.Val[string]    `db:"assignedtech" `
	Clraddr1              omitnull.Val[string]    `db:"clraddr1" `
	Clraddr2              omitnull.Val[string]    `db:"clraddr2" `
	Clranon               omitnull.Val[int16]     `db:"clranon" `
	Clrcity               omitnull.Val[string]    `db:"clrcity" `
	Clrcompany            omitnull.Val[string]    `db:"clrcompany" `
	Clrcontpref           omitnull.Val[string]    `db:"clrcontpref" `
	Clremail              omitnull.Val[string]    `db:"clremail" `
	Clrfname              omitnull.Val[string]    `db:"clrfname" `
	Clrother              omitnull.Val[string]    `db:"clrother" `
	Clrphone1             omitnull.Val[string]    `db:"clrphone1" `
	Clrphone2             omitnull.Val[string]    `db:"clrphone2" `
	Clrstate              omitnull.Val[string]    `db:"clrstate" `
	Clrzip                omitnull.Val[string]    `db:"clrzip" `
	Comments              omitnull.Val[string]    `db:"comments" `
	Creationdate          omitnull.Val[int64]     `db:"creationdate" `
	Creator               omitnull.Val[string]    `db:"creator" `
	Datetimeclosed        omitnull.Val[int64]     `db:"datetimeclosed" `
	Duedate               omitnull.Val[int64]     `db:"duedate" `
	Entrytech             omitnull.Val[string]    `db:"entrytech" `
	Estcompletedate       omitnull.Val[int64]     `db:"estcompletedate" `
	Externalerror         omitnull.Val[string]    `db:"externalerror" `
	Externalid            omitnull.Val[string]    `db:"externalid" `
	Editdate              omitnull.Val[int64]     `db:"editdate" `
	Editor                omitnull.Val[string]    `db:"editor" `
	Firstresponsedate     omitnull.Val[int64]     `db:"firstresponsedate" `
	Globalid              omitnull.Val[string]    `db:"globalid" `
	Issuesreported        omitnull.Val[string]    `db:"issuesreported" `
	Jurisdiction          omitnull.Val[string]    `db:"jurisdiction" `
	Nextaction            omitnull.Val[string]    `db:"nextaction" `
	Notificationtimestamp omitnull.Val[string]    `db:"notificationtimestamp" `
	Notified              omitnull.Val[int16]     `db:"notified" `
	Notifieddate          omitnull.Val[int64]     `db:"notifieddate" `
	Objectid              omit.Val[int32]         `db:"objectid,pk" `
	Pointlocid            omitnull.Val[string]    `db:"pointlocid" `
	Priority              omitnull.Val[string]    `db:"priority" `
	Recdatetime           omitnull.Val[int64]     `db:"recdatetime" `
	Recordstatus          omitnull.Val[int16]     `db:"recordstatus" `
	Rejectedby            omitnull.Val[string]    `db:"rejectedby" `
	Rejecteddate          omitnull.Val[int64]     `db:"rejecteddate" `
	Rejectedreason        omitnull.Val[string]    `db:"rejectedreason" `
	Reqaddr1              omitnull.Val[string]    `db:"reqaddr1" `
	Reqaddr2              omitnull.Val[string]    `db:"reqaddr2" `
	Reqcity               omitnull.Val[string]    `db:"reqcity" `
	Reqcompany            omitnull.Val[string]    `db:"reqcompany" `
	Reqcrossst            omitnull.Val[string]    `db:"reqcrossst" `
	Reqdescr              omitnull.Val[string]    `db:"reqdescr" `
	Reqfldnotes           omitnull.Val[string]    `db:"reqfldnotes" `
	Reqmapgrid            omitnull.Val[string]    `db:"reqmapgrid" `
	Reqnotesforcust       omitnull.Val[string]    `db:"reqnotesforcust" `
	Reqnotesfortech       omitnull.Val[string]    `db:"reqnotesfortech" `
	Reqpermission         omitnull.Val[int16]     `db:"reqpermission" `
	Reqprogramactions     omitnull.Val[string]    `db:"reqprogramactions" `
	Reqstate              omitnull.Val[string]    `db:"reqstate" `
	Reqsubdiv             omitnull.Val[string]    `db:"reqsubdiv" `
	Reqtarget             omitnull.Val[string]    `db:"reqtarget" `
	Reqzip                omitnull.Val[string]    `db:"reqzip" `
	Responsedaycount      omitnull.Val[int16]     `db:"responsedaycount" `
	Reviewed              omitnull.Val[int16]     `db:"reviewed" `
	Reviewedby            omitnull.Val[string]    `db:"reviewedby" `
	Revieweddate          omitnull.Val[int64]     `db:"revieweddate" `
	Scheduled             omitnull.Val[int16]     `db:"scheduled" `
	Scheduleddate         omitnull.Val[int64]     `db:"scheduleddate" `
	Source                omitnull.Val[string]    `db:"source" `
	SRNumber              omitnull.Val[int64]     `db:"sr_number" `
	Status                omitnull.Val[string]    `db:"status" `
	Supervisor            omitnull.Val[string]    `db:"supervisor" `
	Techclosed            omitnull.Val[string]    `db:"techclosed" `
	Validx                omitnull.Val[string]    `db:"validx" `
	Validy                omitnull.Val[string]    `db:"validy" `
	Xvalue                omitnull.Val[string]    `db:"xvalue" `
	Yvalue                omitnull.Val[string]    `db:"yvalue" `
	Zone                  omitnull.Val[string]    `db:"zone" `
	Zone2                 omitnull.Val[string]    `db:"zone2" `
	Created               omitnull.Val[time.Time] `db:"created" `
	CreatedDate           omitnull.Val[int64]     `db:"created_date" `
	CreatedUser           omitnull.Val[string]    `db:"created_user" `
	GeometryX             omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY             omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate        omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser        omitnull.Val[string]    `db:"last_edited_user" `
	Dog                   omitnull.Val[int64]     `db:"dog" `
	Spanish               omitnull.Val[int64]     `db:"spanish" `
	ScheduleNotes         omitnull.Val[string]    `db:"schedule_notes" `
	SchedulePeriod        omitnull.Val[string]    `db:"schedule_period" `
	Version               omit.Val[int32]         `db:"version,pk" `
}

HistoryServicerequestSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryServicerequestSetter) Apply

func (HistoryServicerequestSetter) Expressions

func (s HistoryServicerequestSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryServicerequestSetter) Overwrite

func (HistoryServicerequestSetter) SetColumns

func (s HistoryServicerequestSetter) SetColumns() []string

func (HistoryServicerequestSetter) UpdateMod

type HistoryServicerequestSlice

type HistoryServicerequestSlice []*HistoryServicerequest

HistoryServicerequestSlice is an alias for a slice of pointers to HistoryServicerequest. This should almost always be used instead of []*HistoryServicerequest.

func (HistoryServicerequestSlice) AfterQueryHook

func (o HistoryServicerequestSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryServicerequestSlice is retrieved from the database

func (HistoryServicerequestSlice) DeleteAll

func (HistoryServicerequestSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryServicerequestSlice) LoadOrganization

func (os HistoryServicerequestSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyServicerequest's Organization into the .R struct

func (HistoryServicerequestSlice) Organization

func (HistoryServicerequestSlice) ReloadAll

func (HistoryServicerequestSlice) UpdateAll

func (HistoryServicerequestSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryServicerequestsQuery

type HistoryServicerequestsQuery = *psql.ViewQuery[*HistoryServicerequest, HistoryServicerequestSlice]

HistoryServicerequestsQuery is a query on the history_servicerequest table

type HistorySpeciesabundance

type HistorySpeciesabundance struct {
	OrganizationID int32               `db:"organization_id" `
	Bloodedfem     null.Val[int16]     `db:"bloodedfem" `
	Creationdate   null.Val[int64]     `db:"creationdate" `
	Creator        null.Val[string]    `db:"creator" `
	Eggs           null.Val[int16]     `db:"eggs" `
	Editdate       null.Val[int64]     `db:"editdate" `
	Editor         null.Val[string]    `db:"editor" `
	Females        null.Val[int64]     `db:"females" `
	Gravidfem      null.Val[int16]     `db:"gravidfem" `
	Globalid       null.Val[string]    `db:"globalid" `
	Larvae         null.Val[int16]     `db:"larvae" `
	Males          null.Val[int16]     `db:"males" `
	Objectid       int32               `db:"objectid,pk" `
	Poolstogen     null.Val[int16]     `db:"poolstogen" `
	Processed      null.Val[int16]     `db:"processed" `
	Pupae          null.Val[int16]     `db:"pupae" `
	Species        null.Val[string]    `db:"species" `
	Total          null.Val[int64]     `db:"total" `
	TrapdataID     null.Val[string]    `db:"trapdata_id" `
	Unknown        null.Val[int16]     `db:"unknown" `
	Created        null.Val[time.Time] `db:"created" `
	CreatedDate    null.Val[int64]     `db:"created_date" `
	CreatedUser    null.Val[string]    `db:"created_user" `
	GeometryX      null.Val[float64]   `db:"geometry_x" `
	GeometryY      null.Val[float64]   `db:"geometry_y" `
	LastEditedDate null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser null.Val[string]    `db:"last_edited_user" `
	Globalzscore   null.Val[float64]   `db:"globalzscore" `
	H3R7           null.Val[string]    `db:"h3r7" `
	H3R8           null.Val[string]    `db:"h3r8" `
	R7score        null.Val[float64]   `db:"r7score" `
	R8score        null.Val[float64]   `db:"r8score" `
	Yearweek       null.Val[int64]     `db:"yearweek" `
	Version        int32               `db:"version,pk" `

	R historySpeciesabundanceR `db:"-" `
}

HistorySpeciesabundance is an object representing the database table.

func FindHistorySpeciesabundance

func FindHistorySpeciesabundance(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistorySpeciesabundance, error)

FindHistorySpeciesabundance retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistorySpeciesabundance) AfterQueryHook

func (o *HistorySpeciesabundance) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistorySpeciesabundance is retrieved from the database

func (*HistorySpeciesabundance) AttachOrganization

func (historySpeciesabundance0 *HistorySpeciesabundance) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistorySpeciesabundance) Delete

Delete deletes a single HistorySpeciesabundance record with an executor

func (*HistorySpeciesabundance) InsertOrganization

func (historySpeciesabundance0 *HistorySpeciesabundance) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistorySpeciesabundance) LoadOrganization

func (o *HistorySpeciesabundance) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historySpeciesabundance's Organization into the .R struct

func (*HistorySpeciesabundance) Organization

Organization starts a query for related objects on organization

func (*HistorySpeciesabundance) Preload

func (o *HistorySpeciesabundance) Preload(name string, retrieved any) error

func (*HistorySpeciesabundance) Reload

Reload refreshes the HistorySpeciesabundance using the executor

func (*HistorySpeciesabundance) Update

Update uses an executor to update the HistorySpeciesabundance

type HistorySpeciesabundanceSetter

type HistorySpeciesabundanceSetter struct {
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Bloodedfem     omitnull.Val[int16]     `db:"bloodedfem" `
	Creationdate   omitnull.Val[int64]     `db:"creationdate" `
	Creator        omitnull.Val[string]    `db:"creator" `
	Eggs           omitnull.Val[int16]     `db:"eggs" `
	Editdate       omitnull.Val[int64]     `db:"editdate" `
	Editor         omitnull.Val[string]    `db:"editor" `
	Females        omitnull.Val[int64]     `db:"females" `
	Gravidfem      omitnull.Val[int16]     `db:"gravidfem" `
	Globalid       omitnull.Val[string]    `db:"globalid" `
	Larvae         omitnull.Val[int16]     `db:"larvae" `
	Males          omitnull.Val[int16]     `db:"males" `
	Objectid       omit.Val[int32]         `db:"objectid,pk" `
	Poolstogen     omitnull.Val[int16]     `db:"poolstogen" `
	Processed      omitnull.Val[int16]     `db:"processed" `
	Pupae          omitnull.Val[int16]     `db:"pupae" `
	Species        omitnull.Val[string]    `db:"species" `
	Total          omitnull.Val[int64]     `db:"total" `
	TrapdataID     omitnull.Val[string]    `db:"trapdata_id" `
	Unknown        omitnull.Val[int16]     `db:"unknown" `
	Created        omitnull.Val[time.Time] `db:"created" `
	CreatedDate    omitnull.Val[int64]     `db:"created_date" `
	CreatedUser    omitnull.Val[string]    `db:"created_user" `
	GeometryX      omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY      omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]    `db:"last_edited_user" `
	Globalzscore   omitnull.Val[float64]   `db:"globalzscore" `
	H3R7           omitnull.Val[string]    `db:"h3r7" `
	H3R8           omitnull.Val[string]    `db:"h3r8" `
	R7score        omitnull.Val[float64]   `db:"r7score" `
	R8score        omitnull.Val[float64]   `db:"r8score" `
	Yearweek       omitnull.Val[int64]     `db:"yearweek" `
	Version        omit.Val[int32]         `db:"version,pk" `
}

HistorySpeciesabundanceSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistorySpeciesabundanceSetter) Apply

func (HistorySpeciesabundanceSetter) Expressions

func (s HistorySpeciesabundanceSetter) Expressions(prefix ...string) []bob.Expression

func (HistorySpeciesabundanceSetter) Overwrite

func (HistorySpeciesabundanceSetter) SetColumns

func (s HistorySpeciesabundanceSetter) SetColumns() []string

func (HistorySpeciesabundanceSetter) UpdateMod

type HistorySpeciesabundanceSlice

type HistorySpeciesabundanceSlice []*HistorySpeciesabundance

HistorySpeciesabundanceSlice is an alias for a slice of pointers to HistorySpeciesabundance. This should almost always be used instead of []*HistorySpeciesabundance.

func (HistorySpeciesabundanceSlice) AfterQueryHook

func (o HistorySpeciesabundanceSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistorySpeciesabundanceSlice is retrieved from the database

func (HistorySpeciesabundanceSlice) DeleteAll

func (HistorySpeciesabundanceSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistorySpeciesabundanceSlice) LoadOrganization

func (os HistorySpeciesabundanceSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historySpeciesabundance's Organization into the .R struct

func (HistorySpeciesabundanceSlice) Organization

func (HistorySpeciesabundanceSlice) ReloadAll

func (HistorySpeciesabundanceSlice) UpdateAll

func (HistorySpeciesabundanceSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistorySpeciesabundancesQuery

type HistorySpeciesabundancesQuery = *psql.ViewQuery[*HistorySpeciesabundance, HistorySpeciesabundanceSlice]

HistorySpeciesabundancesQuery is a query on the history_speciesabundance table

type HistoryStormdrain

type HistoryStormdrain struct {
	OrganizationID    int32               `db:"organization_id" `
	Creationdate      null.Val[int64]     `db:"creationdate" `
	Creator           null.Val[string]    `db:"creator" `
	Editdate          null.Val[int64]     `db:"editdate" `
	Editor            null.Val[string]    `db:"editor" `
	Globalid          null.Val[string]    `db:"globalid" `
	Jurisdiction      null.Val[string]    `db:"jurisdiction" `
	Lastaction        null.Val[string]    `db:"lastaction" `
	Laststatus        null.Val[string]    `db:"laststatus" `
	Lasttreatdate     null.Val[int64]     `db:"lasttreatdate" `
	Nexttreatmentdate null.Val[int64]     `db:"nexttreatmentdate" `
	Objectid          int32               `db:"objectid,pk" `
	Symbology         null.Val[string]    `db:"symbology" `
	Type              null.Val[string]    `db:"type" `
	Zone              null.Val[string]    `db:"zone" `
	Zone2             null.Val[string]    `db:"zone2" `
	Created           null.Val[time.Time] `db:"created" `
	CreatedDate       null.Val[int64]     `db:"created_date" `
	CreatedUser       null.Val[string]    `db:"created_user" `
	GeometryX         null.Val[float64]   `db:"geometry_x" `
	GeometryY         null.Val[float64]   `db:"geometry_y" `
	LastEditedDate    null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser    null.Val[string]    `db:"last_edited_user" `
	Version           int32               `db:"version,pk" `

	R historyStormdrainR `db:"-" `
}

HistoryStormdrain is an object representing the database table.

func FindHistoryStormdrain

func FindHistoryStormdrain(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryStormdrain, error)

FindHistoryStormdrain retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryStormdrain) AfterQueryHook

func (o *HistoryStormdrain) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryStormdrain is retrieved from the database

func (*HistoryStormdrain) AttachOrganization

func (historyStormdrain0 *HistoryStormdrain) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryStormdrain) Delete

func (o *HistoryStormdrain) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryStormdrain record with an executor

func (*HistoryStormdrain) InsertOrganization

func (historyStormdrain0 *HistoryStormdrain) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryStormdrain) LoadOrganization

func (o *HistoryStormdrain) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyStormdrain's Organization into the .R struct

func (*HistoryStormdrain) Organization

func (o *HistoryStormdrain) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*HistoryStormdrain) Preload

func (o *HistoryStormdrain) Preload(name string, retrieved any) error

func (*HistoryStormdrain) Reload

func (o *HistoryStormdrain) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryStormdrain using the executor

func (*HistoryStormdrain) Update

Update uses an executor to update the HistoryStormdrain

type HistoryStormdrainSetter

type HistoryStormdrainSetter struct {
	OrganizationID    omit.Val[int32]         `db:"organization_id" `
	Creationdate      omitnull.Val[int64]     `db:"creationdate" `
	Creator           omitnull.Val[string]    `db:"creator" `
	Editdate          omitnull.Val[int64]     `db:"editdate" `
	Editor            omitnull.Val[string]    `db:"editor" `
	Globalid          omitnull.Val[string]    `db:"globalid" `
	Jurisdiction      omitnull.Val[string]    `db:"jurisdiction" `
	Lastaction        omitnull.Val[string]    `db:"lastaction" `
	Laststatus        omitnull.Val[string]    `db:"laststatus" `
	Lasttreatdate     omitnull.Val[int64]     `db:"lasttreatdate" `
	Nexttreatmentdate omitnull.Val[int64]     `db:"nexttreatmentdate" `
	Objectid          omit.Val[int32]         `db:"objectid,pk" `
	Symbology         omitnull.Val[string]    `db:"symbology" `
	Type              omitnull.Val[string]    `db:"type" `
	Zone              omitnull.Val[string]    `db:"zone" `
	Zone2             omitnull.Val[string]    `db:"zone2" `
	Created           omitnull.Val[time.Time] `db:"created" `
	CreatedDate       omitnull.Val[int64]     `db:"created_date" `
	CreatedUser       omitnull.Val[string]    `db:"created_user" `
	GeometryX         omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY         omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate    omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser    omitnull.Val[string]    `db:"last_edited_user" `
	Version           omit.Val[int32]         `db:"version,pk" `
}

HistoryStormdrainSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryStormdrainSetter) Apply

func (HistoryStormdrainSetter) Expressions

func (s HistoryStormdrainSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryStormdrainSetter) Overwrite

func (HistoryStormdrainSetter) SetColumns

func (s HistoryStormdrainSetter) SetColumns() []string

func (HistoryStormdrainSetter) UpdateMod

type HistoryStormdrainSlice

type HistoryStormdrainSlice []*HistoryStormdrain

HistoryStormdrainSlice is an alias for a slice of pointers to HistoryStormdrain. This should almost always be used instead of []*HistoryStormdrain.

func (HistoryStormdrainSlice) AfterQueryHook

func (o HistoryStormdrainSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryStormdrainSlice is retrieved from the database

func (HistoryStormdrainSlice) DeleteAll

func (o HistoryStormdrainSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (HistoryStormdrainSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryStormdrainSlice) LoadOrganization

func (os HistoryStormdrainSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyStormdrain's Organization into the .R struct

func (HistoryStormdrainSlice) Organization

func (HistoryStormdrainSlice) ReloadAll

func (o HistoryStormdrainSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (HistoryStormdrainSlice) UpdateAll

func (HistoryStormdrainSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryStormdrainsQuery

type HistoryStormdrainsQuery = *psql.ViewQuery[*HistoryStormdrain, HistoryStormdrainSlice]

HistoryStormdrainsQuery is a query on the history_stormdrain table

type HistoryTimecard

type HistoryTimecard struct {
	OrganizationID int32               `db:"organization_id" `
	Activity       null.Val[string]    `db:"activity" `
	Comments       null.Val[string]    `db:"comments" `
	Creationdate   null.Val[int64]     `db:"creationdate" `
	Creator        null.Val[string]    `db:"creator" `
	Enddatetime    null.Val[int64]     `db:"enddatetime" `
	Equiptype      null.Val[string]    `db:"equiptype" `
	Externalid     null.Val[string]    `db:"externalid" `
	Editdate       null.Val[int64]     `db:"editdate" `
	Editor         null.Val[string]    `db:"editor" `
	Fieldtech      null.Val[string]    `db:"fieldtech" `
	Globalid       null.Val[string]    `db:"globalid" `
	Lclocid        null.Val[string]    `db:"lclocid" `
	Linelocid      null.Val[string]    `db:"linelocid" `
	Locationname   null.Val[string]    `db:"locationname" `
	Objectid       int32               `db:"objectid,pk" `
	Pointlocid     null.Val[string]    `db:"pointlocid" `
	Polygonlocid   null.Val[string]    `db:"polygonlocid" `
	Samplelocid    null.Val[string]    `db:"samplelocid" `
	Srid           null.Val[string]    `db:"srid" `
	Startdatetime  null.Val[int64]     `db:"startdatetime" `
	Traplocid      null.Val[string]    `db:"traplocid" `
	Zone           null.Val[string]    `db:"zone" `
	Zone2          null.Val[string]    `db:"zone2" `
	Created        null.Val[time.Time] `db:"created" `
	CreatedDate    null.Val[int64]     `db:"created_date" `
	CreatedUser    null.Val[string]    `db:"created_user" `
	GeometryX      null.Val[float64]   `db:"geometry_x" `
	GeometryY      null.Val[float64]   `db:"geometry_y" `
	LastEditedDate null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser null.Val[string]    `db:"last_edited_user" `
	Rodentlocid    null.Val[string]    `db:"rodentlocid" `
	Version        int32               `db:"version,pk" `

	R historyTimecardR `db:"-" `
}

HistoryTimecard is an object representing the database table.

func FindHistoryTimecard

func FindHistoryTimecard(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryTimecard, error)

FindHistoryTimecard retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryTimecard) AfterQueryHook

func (o *HistoryTimecard) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryTimecard is retrieved from the database

func (*HistoryTimecard) AttachOrganization

func (historyTimecard0 *HistoryTimecard) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryTimecard) Delete

func (o *HistoryTimecard) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryTimecard record with an executor

func (*HistoryTimecard) InsertOrganization

func (historyTimecard0 *HistoryTimecard) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryTimecard) LoadOrganization

func (o *HistoryTimecard) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyTimecard's Organization into the .R struct

func (*HistoryTimecard) Organization

func (o *HistoryTimecard) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*HistoryTimecard) Preload

func (o *HistoryTimecard) Preload(name string, retrieved any) error

func (*HistoryTimecard) Reload

func (o *HistoryTimecard) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryTimecard using the executor

func (*HistoryTimecard) Update

Update uses an executor to update the HistoryTimecard

type HistoryTimecardSetter

type HistoryTimecardSetter struct {
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Activity       omitnull.Val[string]    `db:"activity" `
	Comments       omitnull.Val[string]    `db:"comments" `
	Creationdate   omitnull.Val[int64]     `db:"creationdate" `
	Creator        omitnull.Val[string]    `db:"creator" `
	Enddatetime    omitnull.Val[int64]     `db:"enddatetime" `
	Equiptype      omitnull.Val[string]    `db:"equiptype" `
	Externalid     omitnull.Val[string]    `db:"externalid" `
	Editdate       omitnull.Val[int64]     `db:"editdate" `
	Editor         omitnull.Val[string]    `db:"editor" `
	Fieldtech      omitnull.Val[string]    `db:"fieldtech" `
	Globalid       omitnull.Val[string]    `db:"globalid" `
	Lclocid        omitnull.Val[string]    `db:"lclocid" `
	Linelocid      omitnull.Val[string]    `db:"linelocid" `
	Locationname   omitnull.Val[string]    `db:"locationname" `
	Objectid       omit.Val[int32]         `db:"objectid,pk" `
	Pointlocid     omitnull.Val[string]    `db:"pointlocid" `
	Polygonlocid   omitnull.Val[string]    `db:"polygonlocid" `
	Samplelocid    omitnull.Val[string]    `db:"samplelocid" `
	Srid           omitnull.Val[string]    `db:"srid" `
	Startdatetime  omitnull.Val[int64]     `db:"startdatetime" `
	Traplocid      omitnull.Val[string]    `db:"traplocid" `
	Zone           omitnull.Val[string]    `db:"zone" `
	Zone2          omitnull.Val[string]    `db:"zone2" `
	Created        omitnull.Val[time.Time] `db:"created" `
	CreatedDate    omitnull.Val[int64]     `db:"created_date" `
	CreatedUser    omitnull.Val[string]    `db:"created_user" `
	GeometryX      omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY      omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]    `db:"last_edited_user" `
	Rodentlocid    omitnull.Val[string]    `db:"rodentlocid" `
	Version        omit.Val[int32]         `db:"version,pk" `
}

HistoryTimecardSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryTimecardSetter) Apply

func (HistoryTimecardSetter) Expressions

func (s HistoryTimecardSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryTimecardSetter) Overwrite

func (s HistoryTimecardSetter) Overwrite(t *HistoryTimecard)

func (HistoryTimecardSetter) SetColumns

func (s HistoryTimecardSetter) SetColumns() []string

func (HistoryTimecardSetter) UpdateMod

type HistoryTimecardSlice

type HistoryTimecardSlice []*HistoryTimecard

HistoryTimecardSlice is an alias for a slice of pointers to HistoryTimecard. This should almost always be used instead of []*HistoryTimecard.

func (HistoryTimecardSlice) AfterQueryHook

func (o HistoryTimecardSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryTimecardSlice is retrieved from the database

func (HistoryTimecardSlice) DeleteAll

func (o HistoryTimecardSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (HistoryTimecardSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryTimecardSlice) LoadOrganization

func (os HistoryTimecardSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyTimecard's Organization into the .R struct

func (HistoryTimecardSlice) Organization

func (HistoryTimecardSlice) ReloadAll

func (o HistoryTimecardSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (HistoryTimecardSlice) UpdateAll

func (HistoryTimecardSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryTimecardsQuery

type HistoryTimecardsQuery = *psql.ViewQuery[*HistoryTimecard, HistoryTimecardSlice]

HistoryTimecardsQuery is a query on the history_timecard table

type HistoryTrapdataQuery

type HistoryTrapdataQuery = *psql.ViewQuery[*HistoryTrapdatum, HistoryTrapdatumSlice]

HistoryTrapdataQuery is a query on the history_trapdata table

type HistoryTrapdatum

type HistoryTrapdatum struct {
	OrganizationID           int32               `db:"organization_id" `
	Avetemp                  null.Val[float64]   `db:"avetemp" `
	Comments                 null.Val[string]    `db:"comments" `
	Creationdate             null.Val[int64]     `db:"creationdate" `
	Creator                  null.Val[string]    `db:"creator" `
	Enddatetime              null.Val[int64]     `db:"enddatetime" `
	Editdate                 null.Val[int64]     `db:"editdate" `
	Editor                   null.Val[string]    `db:"editor" `
	Fieldtech                null.Val[string]    `db:"fieldtech" `
	Field                    null.Val[int64]     `db:"field" `
	Gatewaysync              null.Val[int16]     `db:"gatewaysync" `
	Globalid                 null.Val[string]    `db:"globalid" `
	Idbytech                 null.Val[string]    `db:"idbytech" `
	Locationname             null.Val[string]    `db:"locationname" `
	LocID                    null.Val[string]    `db:"loc_id" `
	LR                       null.Val[int16]     `db:"lr" `
	Objectid                 int32               `db:"objectid,pk" `
	Processed                null.Val[int16]     `db:"processed" `
	Raingauge                null.Val[float64]   `db:"raingauge" `
	Recordstatus             null.Val[int16]     `db:"recordstatus" `
	Reviewed                 null.Val[int16]     `db:"reviewed" `
	Reviewedby               null.Val[string]    `db:"reviewedby" `
	Revieweddate             null.Val[int64]     `db:"revieweddate" `
	Sitecond                 null.Val[string]    `db:"sitecond" `
	Sortbytech               null.Val[string]    `db:"sortbytech" `
	Srid                     null.Val[string]    `db:"srid" `
	Startdatetime            null.Val[int64]     `db:"startdatetime" `
	Trapactivitytype         null.Val[string]    `db:"trapactivitytype" `
	Trapcondition            null.Val[string]    `db:"trapcondition" `
	Trapnights               null.Val[int16]     `db:"trapnights" `
	Traptype                 null.Val[string]    `db:"traptype" `
	Voltage                  null.Val[float64]   `db:"voltage" `
	Winddir                  null.Val[string]    `db:"winddir" `
	Windspeed                null.Val[float64]   `db:"windspeed" `
	Zone                     null.Val[string]    `db:"zone" `
	Zone2                    null.Val[string]    `db:"zone2" `
	Created                  null.Val[time.Time] `db:"created" `
	CreatedDate              null.Val[int64]     `db:"created_date" `
	CreatedUser              null.Val[string]    `db:"created_user" `
	GeometryX                null.Val[float64]   `db:"geometry_x" `
	GeometryY                null.Val[float64]   `db:"geometry_y" `
	LastEditedDate           null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser           null.Val[string]    `db:"last_edited_user" `
	Lure                     null.Val[string]    `db:"lure" `
	Vectorsurvtrapdataid     null.Val[string]    `db:"vectorsurvtrapdataid" `
	Vectorsurvtraplocationid null.Val[string]    `db:"vectorsurvtraplocationid" `
	Version                  int32               `db:"version,pk" `

	R historyTrapdatumR `db:"-" `
}

HistoryTrapdatum is an object representing the database table.

func FindHistoryTrapdatum

func FindHistoryTrapdatum(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryTrapdatum, error)

FindHistoryTrapdatum retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryTrapdatum) AfterQueryHook

func (o *HistoryTrapdatum) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryTrapdatum is retrieved from the database

func (*HistoryTrapdatum) AttachOrganization

func (historyTrapdatum0 *HistoryTrapdatum) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryTrapdatum) Delete

func (o *HistoryTrapdatum) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryTrapdatum record with an executor

func (*HistoryTrapdatum) InsertOrganization

func (historyTrapdatum0 *HistoryTrapdatum) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryTrapdatum) LoadOrganization

func (o *HistoryTrapdatum) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyTrapdatum's Organization into the .R struct

func (*HistoryTrapdatum) Organization

func (o *HistoryTrapdatum) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*HistoryTrapdatum) Preload

func (o *HistoryTrapdatum) Preload(name string, retrieved any) error

func (*HistoryTrapdatum) Reload

func (o *HistoryTrapdatum) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryTrapdatum using the executor

func (*HistoryTrapdatum) Update

Update uses an executor to update the HistoryTrapdatum

type HistoryTrapdatumSetter

type HistoryTrapdatumSetter struct {
	OrganizationID           omit.Val[int32]         `db:"organization_id" `
	Avetemp                  omitnull.Val[float64]   `db:"avetemp" `
	Comments                 omitnull.Val[string]    `db:"comments" `
	Creationdate             omitnull.Val[int64]     `db:"creationdate" `
	Creator                  omitnull.Val[string]    `db:"creator" `
	Enddatetime              omitnull.Val[int64]     `db:"enddatetime" `
	Editdate                 omitnull.Val[int64]     `db:"editdate" `
	Editor                   omitnull.Val[string]    `db:"editor" `
	Fieldtech                omitnull.Val[string]    `db:"fieldtech" `
	Field                    omitnull.Val[int64]     `db:"field" `
	Gatewaysync              omitnull.Val[int16]     `db:"gatewaysync" `
	Globalid                 omitnull.Val[string]    `db:"globalid" `
	Idbytech                 omitnull.Val[string]    `db:"idbytech" `
	Locationname             omitnull.Val[string]    `db:"locationname" `
	LocID                    omitnull.Val[string]    `db:"loc_id" `
	LR                       omitnull.Val[int16]     `db:"lr" `
	Objectid                 omit.Val[int32]         `db:"objectid,pk" `
	Processed                omitnull.Val[int16]     `db:"processed" `
	Raingauge                omitnull.Val[float64]   `db:"raingauge" `
	Recordstatus             omitnull.Val[int16]     `db:"recordstatus" `
	Reviewed                 omitnull.Val[int16]     `db:"reviewed" `
	Reviewedby               omitnull.Val[string]    `db:"reviewedby" `
	Revieweddate             omitnull.Val[int64]     `db:"revieweddate" `
	Sitecond                 omitnull.Val[string]    `db:"sitecond" `
	Sortbytech               omitnull.Val[string]    `db:"sortbytech" `
	Srid                     omitnull.Val[string]    `db:"srid" `
	Startdatetime            omitnull.Val[int64]     `db:"startdatetime" `
	Trapactivitytype         omitnull.Val[string]    `db:"trapactivitytype" `
	Trapcondition            omitnull.Val[string]    `db:"trapcondition" `
	Trapnights               omitnull.Val[int16]     `db:"trapnights" `
	Traptype                 omitnull.Val[string]    `db:"traptype" `
	Voltage                  omitnull.Val[float64]   `db:"voltage" `
	Winddir                  omitnull.Val[string]    `db:"winddir" `
	Windspeed                omitnull.Val[float64]   `db:"windspeed" `
	Zone                     omitnull.Val[string]    `db:"zone" `
	Zone2                    omitnull.Val[string]    `db:"zone2" `
	Created                  omitnull.Val[time.Time] `db:"created" `
	CreatedDate              omitnull.Val[int64]     `db:"created_date" `
	CreatedUser              omitnull.Val[string]    `db:"created_user" `
	GeometryX                omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY                omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate           omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser           omitnull.Val[string]    `db:"last_edited_user" `
	Lure                     omitnull.Val[string]    `db:"lure" `
	Vectorsurvtrapdataid     omitnull.Val[string]    `db:"vectorsurvtrapdataid" `
	Vectorsurvtraplocationid omitnull.Val[string]    `db:"vectorsurvtraplocationid" `
	Version                  omit.Val[int32]         `db:"version,pk" `
}

HistoryTrapdatumSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryTrapdatumSetter) Apply

func (HistoryTrapdatumSetter) Expressions

func (s HistoryTrapdatumSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryTrapdatumSetter) Overwrite

func (s HistoryTrapdatumSetter) Overwrite(t *HistoryTrapdatum)

func (HistoryTrapdatumSetter) SetColumns

func (s HistoryTrapdatumSetter) SetColumns() []string

func (HistoryTrapdatumSetter) UpdateMod

type HistoryTrapdatumSlice

type HistoryTrapdatumSlice []*HistoryTrapdatum

HistoryTrapdatumSlice is an alias for a slice of pointers to HistoryTrapdatum. This should almost always be used instead of []*HistoryTrapdatum.

func (HistoryTrapdatumSlice) AfterQueryHook

func (o HistoryTrapdatumSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryTrapdatumSlice is retrieved from the database

func (HistoryTrapdatumSlice) DeleteAll

func (o HistoryTrapdatumSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (HistoryTrapdatumSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryTrapdatumSlice) LoadOrganization

func (os HistoryTrapdatumSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyTrapdatum's Organization into the .R struct

func (HistoryTrapdatumSlice) Organization

func (HistoryTrapdatumSlice) ReloadAll

func (o HistoryTrapdatumSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (HistoryTrapdatumSlice) UpdateAll

func (HistoryTrapdatumSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryTraplocation

type HistoryTraplocation struct {
	OrganizationID          int32               `db:"organization_id" `
	Accessdesc              null.Val[string]    `db:"accessdesc" `
	Active                  null.Val[int16]     `db:"active" `
	Comments                null.Val[string]    `db:"comments" `
	Creationdate            null.Val[int64]     `db:"creationdate" `
	Creator                 null.Val[string]    `db:"creator" `
	Description             null.Val[string]    `db:"description" `
	Externalid              null.Val[string]    `db:"externalid" `
	Editdate                null.Val[int64]     `db:"editdate" `
	Editor                  null.Val[string]    `db:"editor" `
	Gatewaysync             null.Val[int16]     `db:"gatewaysync" `
	Globalid                null.Val[string]    `db:"globalid" `
	Habitat                 null.Val[string]    `db:"habitat" `
	Locationnumber          null.Val[int64]     `db:"locationnumber" `
	Name                    null.Val[string]    `db:"name" `
	Nextactiondatescheduled null.Val[int64]     `db:"nextactiondatescheduled" `
	Objectid                int32               `db:"objectid,pk" `
	Priority                null.Val[string]    `db:"priority" `
	Usetype                 null.Val[string]    `db:"usetype" `
	Zone                    null.Val[string]    `db:"zone" `
	Zone2                   null.Val[string]    `db:"zone2" `
	Created                 null.Val[time.Time] `db:"created" `
	CreatedDate             null.Val[int64]     `db:"created_date" `
	CreatedUser             null.Val[string]    `db:"created_user" `
	GeometryX               null.Val[float64]   `db:"geometry_x" `
	GeometryY               null.Val[float64]   `db:"geometry_y" `
	LastEditedDate          null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser          null.Val[string]    `db:"last_edited_user" `
	Route                   null.Val[int64]     `db:"route" `
	RouteOrder              null.Val[int64]     `db:"route_order" `
	SetDow                  null.Val[int64]     `db:"set_dow" `
	Vectorsurvsiteid        null.Val[string]    `db:"vectorsurvsiteid" `
	H3R7                    null.Val[string]    `db:"h3r7" `
	H3R8                    null.Val[string]    `db:"h3r8" `
	Version                 int32               `db:"version,pk" `

	R historyTraplocationR `db:"-" `
}

HistoryTraplocation is an object representing the database table.

func FindHistoryTraplocation

func FindHistoryTraplocation(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryTraplocation, error)

FindHistoryTraplocation retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryTraplocation) AfterQueryHook

func (o *HistoryTraplocation) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryTraplocation is retrieved from the database

func (*HistoryTraplocation) AttachOrganization

func (historyTraplocation0 *HistoryTraplocation) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryTraplocation) Delete

func (o *HistoryTraplocation) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryTraplocation record with an executor

func (*HistoryTraplocation) InsertOrganization

func (historyTraplocation0 *HistoryTraplocation) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryTraplocation) LoadOrganization

func (o *HistoryTraplocation) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyTraplocation's Organization into the .R struct

func (*HistoryTraplocation) Organization

func (o *HistoryTraplocation) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*HistoryTraplocation) Preload

func (o *HistoryTraplocation) Preload(name string, retrieved any) error

func (*HistoryTraplocation) Reload

func (o *HistoryTraplocation) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryTraplocation using the executor

func (*HistoryTraplocation) Update

Update uses an executor to update the HistoryTraplocation

type HistoryTraplocationSetter

type HistoryTraplocationSetter struct {
	OrganizationID          omit.Val[int32]         `db:"organization_id" `
	Accessdesc              omitnull.Val[string]    `db:"accessdesc" `
	Active                  omitnull.Val[int16]     `db:"active" `
	Comments                omitnull.Val[string]    `db:"comments" `
	Creationdate            omitnull.Val[int64]     `db:"creationdate" `
	Creator                 omitnull.Val[string]    `db:"creator" `
	Description             omitnull.Val[string]    `db:"description" `
	Externalid              omitnull.Val[string]    `db:"externalid" `
	Editdate                omitnull.Val[int64]     `db:"editdate" `
	Editor                  omitnull.Val[string]    `db:"editor" `
	Gatewaysync             omitnull.Val[int16]     `db:"gatewaysync" `
	Globalid                omitnull.Val[string]    `db:"globalid" `
	Habitat                 omitnull.Val[string]    `db:"habitat" `
	Locationnumber          omitnull.Val[int64]     `db:"locationnumber" `
	Name                    omitnull.Val[string]    `db:"name" `
	Nextactiondatescheduled omitnull.Val[int64]     `db:"nextactiondatescheduled" `
	Objectid                omit.Val[int32]         `db:"objectid,pk" `
	Priority                omitnull.Val[string]    `db:"priority" `
	Usetype                 omitnull.Val[string]    `db:"usetype" `
	Zone                    omitnull.Val[string]    `db:"zone" `
	Zone2                   omitnull.Val[string]    `db:"zone2" `
	Created                 omitnull.Val[time.Time] `db:"created" `
	CreatedDate             omitnull.Val[int64]     `db:"created_date" `
	CreatedUser             omitnull.Val[string]    `db:"created_user" `
	GeometryX               omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY               omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate          omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser          omitnull.Val[string]    `db:"last_edited_user" `
	Route                   omitnull.Val[int64]     `db:"route" `
	RouteOrder              omitnull.Val[int64]     `db:"route_order" `
	SetDow                  omitnull.Val[int64]     `db:"set_dow" `
	Vectorsurvsiteid        omitnull.Val[string]    `db:"vectorsurvsiteid" `
	H3R7                    omitnull.Val[string]    `db:"h3r7" `
	H3R8                    omitnull.Val[string]    `db:"h3r8" `
	Version                 omit.Val[int32]         `db:"version,pk" `
}

HistoryTraplocationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryTraplocationSetter) Apply

func (HistoryTraplocationSetter) Expressions

func (s HistoryTraplocationSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryTraplocationSetter) Overwrite

func (HistoryTraplocationSetter) SetColumns

func (s HistoryTraplocationSetter) SetColumns() []string

func (HistoryTraplocationSetter) UpdateMod

type HistoryTraplocationSlice

type HistoryTraplocationSlice []*HistoryTraplocation

HistoryTraplocationSlice is an alias for a slice of pointers to HistoryTraplocation. This should almost always be used instead of []*HistoryTraplocation.

func (HistoryTraplocationSlice) AfterQueryHook

func (o HistoryTraplocationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryTraplocationSlice is retrieved from the database

func (HistoryTraplocationSlice) DeleteAll

func (o HistoryTraplocationSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (HistoryTraplocationSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryTraplocationSlice) LoadOrganization

func (os HistoryTraplocationSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyTraplocation's Organization into the .R struct

func (HistoryTraplocationSlice) Organization

func (HistoryTraplocationSlice) ReloadAll

func (o HistoryTraplocationSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (HistoryTraplocationSlice) UpdateAll

func (HistoryTraplocationSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryTraplocationsQuery

type HistoryTraplocationsQuery = *psql.ViewQuery[*HistoryTraplocation, HistoryTraplocationSlice]

HistoryTraplocationsQuery is a query on the history_traplocation table

type HistoryTreatment

type HistoryTreatment struct {
	OrganizationID       int32               `db:"organization_id" `
	Activity             null.Val[string]    `db:"activity" `
	Areaunit             null.Val[string]    `db:"areaunit" `
	Avetemp              null.Val[float64]   `db:"avetemp" `
	Barrierrouteid       null.Val[string]    `db:"barrierrouteid" `
	Cbcount              null.Val[int16]     `db:"cbcount" `
	Comments             null.Val[string]    `db:"comments" `
	Containercount       null.Val[int16]     `db:"containercount" `
	Creationdate         null.Val[int64]     `db:"creationdate" `
	Creator              null.Val[string]    `db:"creator" `
	Enddatetime          null.Val[int64]     `db:"enddatetime" `
	Equiptype            null.Val[string]    `db:"equiptype" `
	Editdate             null.Val[int64]     `db:"editdate" `
	Editor               null.Val[string]    `db:"editor" `
	Fieldtech            null.Val[string]    `db:"fieldtech" `
	Flowrate             null.Val[float64]   `db:"flowrate" `
	Globalid             null.Val[string]    `db:"globalid" `
	Habitat              null.Val[string]    `db:"habitat" `
	InspID               null.Val[string]    `db:"insp_id" `
	Invloc               null.Val[string]    `db:"invloc" `
	Linelocid            null.Val[string]    `db:"linelocid" `
	Locationname         null.Val[string]    `db:"locationname" `
	Method               null.Val[string]    `db:"method" `
	Objectid             int32               `db:"objectid,pk" `
	Pointlocid           null.Val[string]    `db:"pointlocid" `
	Polygonlocid         null.Val[string]    `db:"polygonlocid" `
	Product              null.Val[string]    `db:"product" `
	Ptaid                null.Val[string]    `db:"ptaid" `
	Qty                  null.Val[float64]   `db:"qty" `
	Qtyunit              null.Val[string]    `db:"qtyunit" `
	Raingauge            null.Val[float64]   `db:"raingauge" `
	Recordstatus         null.Val[int16]     `db:"recordstatus" `
	Reviewed             null.Val[int16]     `db:"reviewed" `
	Reviewedby           null.Val[string]    `db:"reviewedby" `
	Revieweddate         null.Val[int64]     `db:"revieweddate" `
	Sdid                 null.Val[string]    `db:"sdid" `
	Sitecond             null.Val[string]    `db:"sitecond" `
	Srid                 null.Val[string]    `db:"srid" `
	Startdatetime        null.Val[int64]     `db:"startdatetime" `
	Targetspecies        null.Val[string]    `db:"targetspecies" `
	Tirecount            null.Val[int16]     `db:"tirecount" `
	Treatacres           null.Val[float64]   `db:"treatacres" `
	Treatarea            null.Val[float64]   `db:"treatarea" `
	Treathectares        null.Val[float64]   `db:"treathectares" `
	Treatmenthours       null.Val[float64]   `db:"treatmenthours" `
	Treatmentlength      null.Val[float64]   `db:"treatmentlength" `
	Treatmentlengthunits null.Val[string]    `db:"treatmentlengthunits" `
	Totalcostprodcut     null.Val[float64]   `db:"totalcostprodcut" `
	Ulvrouteid           null.Val[string]    `db:"ulvrouteid" `
	Warningoverride      null.Val[int16]     `db:"warningoverride" `
	Winddir              null.Val[string]    `db:"winddir" `
	Windspeed            null.Val[float64]   `db:"windspeed" `
	Zone                 null.Val[string]    `db:"zone" `
	Zone2                null.Val[string]    `db:"zone2" `
	GeometryX            null.Val[float64]   `db:"geometry_x" `
	GeometryY            null.Val[float64]   `db:"geometry_y" `
	TempSitecond         null.Val[string]    `db:"temp_sitecond" `
	Version              int32               `db:"version,pk" `
	Created              null.Val[time.Time] `db:"created" `

	R historyTreatmentR `db:"-" `
}

HistoryTreatment is an object representing the database table.

func FindHistoryTreatment

func FindHistoryTreatment(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryTreatment, error)

FindHistoryTreatment retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryTreatment) AfterQueryHook

func (o *HistoryTreatment) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryTreatment is retrieved from the database

func (*HistoryTreatment) AttachOrganization

func (historyTreatment0 *HistoryTreatment) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryTreatment) Delete

func (o *HistoryTreatment) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryTreatment record with an executor

func (*HistoryTreatment) InsertOrganization

func (historyTreatment0 *HistoryTreatment) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryTreatment) LoadOrganization

func (o *HistoryTreatment) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyTreatment's Organization into the .R struct

func (*HistoryTreatment) Organization

func (o *HistoryTreatment) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*HistoryTreatment) Preload

func (o *HistoryTreatment) Preload(name string, retrieved any) error

func (*HistoryTreatment) Reload

func (o *HistoryTreatment) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryTreatment using the executor

func (*HistoryTreatment) Update

Update uses an executor to update the HistoryTreatment

type HistoryTreatmentSetter

type HistoryTreatmentSetter struct {
	OrganizationID       omit.Val[int32]         `db:"organization_id" `
	Activity             omitnull.Val[string]    `db:"activity" `
	Areaunit             omitnull.Val[string]    `db:"areaunit" `
	Avetemp              omitnull.Val[float64]   `db:"avetemp" `
	Barrierrouteid       omitnull.Val[string]    `db:"barrierrouteid" `
	Cbcount              omitnull.Val[int16]     `db:"cbcount" `
	Comments             omitnull.Val[string]    `db:"comments" `
	Containercount       omitnull.Val[int16]     `db:"containercount" `
	Creationdate         omitnull.Val[int64]     `db:"creationdate" `
	Creator              omitnull.Val[string]    `db:"creator" `
	Enddatetime          omitnull.Val[int64]     `db:"enddatetime" `
	Equiptype            omitnull.Val[string]    `db:"equiptype" `
	Editdate             omitnull.Val[int64]     `db:"editdate" `
	Editor               omitnull.Val[string]    `db:"editor" `
	Fieldtech            omitnull.Val[string]    `db:"fieldtech" `
	Flowrate             omitnull.Val[float64]   `db:"flowrate" `
	Globalid             omitnull.Val[string]    `db:"globalid" `
	Habitat              omitnull.Val[string]    `db:"habitat" `
	InspID               omitnull.Val[string]    `db:"insp_id" `
	Invloc               omitnull.Val[string]    `db:"invloc" `
	Linelocid            omitnull.Val[string]    `db:"linelocid" `
	Locationname         omitnull.Val[string]    `db:"locationname" `
	Method               omitnull.Val[string]    `db:"method" `
	Objectid             omit.Val[int32]         `db:"objectid,pk" `
	Pointlocid           omitnull.Val[string]    `db:"pointlocid" `
	Polygonlocid         omitnull.Val[string]    `db:"polygonlocid" `
	Product              omitnull.Val[string]    `db:"product" `
	Ptaid                omitnull.Val[string]    `db:"ptaid" `
	Qty                  omitnull.Val[float64]   `db:"qty" `
	Qtyunit              omitnull.Val[string]    `db:"qtyunit" `
	Raingauge            omitnull.Val[float64]   `db:"raingauge" `
	Recordstatus         omitnull.Val[int16]     `db:"recordstatus" `
	Reviewed             omitnull.Val[int16]     `db:"reviewed" `
	Reviewedby           omitnull.Val[string]    `db:"reviewedby" `
	Revieweddate         omitnull.Val[int64]     `db:"revieweddate" `
	Sdid                 omitnull.Val[string]    `db:"sdid" `
	Sitecond             omitnull.Val[string]    `db:"sitecond" `
	Srid                 omitnull.Val[string]    `db:"srid" `
	Startdatetime        omitnull.Val[int64]     `db:"startdatetime" `
	Targetspecies        omitnull.Val[string]    `db:"targetspecies" `
	Tirecount            omitnull.Val[int16]     `db:"tirecount" `
	Treatacres           omitnull.Val[float64]   `db:"treatacres" `
	Treatarea            omitnull.Val[float64]   `db:"treatarea" `
	Treathectares        omitnull.Val[float64]   `db:"treathectares" `
	Treatmenthours       omitnull.Val[float64]   `db:"treatmenthours" `
	Treatmentlength      omitnull.Val[float64]   `db:"treatmentlength" `
	Treatmentlengthunits omitnull.Val[string]    `db:"treatmentlengthunits" `
	Totalcostprodcut     omitnull.Val[float64]   `db:"totalcostprodcut" `
	Ulvrouteid           omitnull.Val[string]    `db:"ulvrouteid" `
	Warningoverride      omitnull.Val[int16]     `db:"warningoverride" `
	Winddir              omitnull.Val[string]    `db:"winddir" `
	Windspeed            omitnull.Val[float64]   `db:"windspeed" `
	Zone                 omitnull.Val[string]    `db:"zone" `
	Zone2                omitnull.Val[string]    `db:"zone2" `
	GeometryX            omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY            omitnull.Val[float64]   `db:"geometry_y" `
	TempSitecond         omitnull.Val[string]    `db:"temp_sitecond" `
	Version              omit.Val[int32]         `db:"version,pk" `
	Created              omitnull.Val[time.Time] `db:"created" `
}

HistoryTreatmentSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryTreatmentSetter) Apply

func (HistoryTreatmentSetter) Expressions

func (s HistoryTreatmentSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryTreatmentSetter) Overwrite

func (s HistoryTreatmentSetter) Overwrite(t *HistoryTreatment)

func (HistoryTreatmentSetter) SetColumns

func (s HistoryTreatmentSetter) SetColumns() []string

func (HistoryTreatmentSetter) UpdateMod

type HistoryTreatmentSlice

type HistoryTreatmentSlice []*HistoryTreatment

HistoryTreatmentSlice is an alias for a slice of pointers to HistoryTreatment. This should almost always be used instead of []*HistoryTreatment.

func (HistoryTreatmentSlice) AfterQueryHook

func (o HistoryTreatmentSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryTreatmentSlice is retrieved from the database

func (HistoryTreatmentSlice) DeleteAll

func (o HistoryTreatmentSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (HistoryTreatmentSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryTreatmentSlice) LoadOrganization

func (os HistoryTreatmentSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyTreatment's Organization into the .R struct

func (HistoryTreatmentSlice) Organization

func (HistoryTreatmentSlice) ReloadAll

func (o HistoryTreatmentSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (HistoryTreatmentSlice) UpdateAll

func (HistoryTreatmentSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryTreatmentarea

type HistoryTreatmentarea struct {
	OrganizationID int32               `db:"organization_id" `
	Comments       null.Val[string]    `db:"comments" `
	Creationdate   null.Val[int64]     `db:"creationdate" `
	Creator        null.Val[string]    `db:"creator" `
	Editdate       null.Val[int64]     `db:"editdate" `
	Editor         null.Val[string]    `db:"editor" `
	Globalid       null.Val[string]    `db:"globalid" `
	Notified       null.Val[int16]     `db:"notified" `
	Objectid       int32               `db:"objectid,pk" `
	SessionID      null.Val[string]    `db:"session_id" `
	ShapeArea      null.Val[float64]   `db:"shape__area" `
	ShapeLength    null.Val[float64]   `db:"shape__length" `
	Treatdate      null.Val[int64]     `db:"treatdate" `
	TreatID        null.Val[string]    `db:"treat_id" `
	Type           null.Val[string]    `db:"type" `
	Created        null.Val[time.Time] `db:"created" `
	CreatedDate    null.Val[int64]     `db:"created_date" `
	CreatedUser    null.Val[string]    `db:"created_user" `
	GeometryX      null.Val[float64]   `db:"geometry_x" `
	GeometryY      null.Val[float64]   `db:"geometry_y" `
	LastEditedDate null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser null.Val[string]    `db:"last_edited_user" `
	Version        int32               `db:"version,pk" `

	R historyTreatmentareaR `db:"-" `
}

HistoryTreatmentarea is an object representing the database table.

func FindHistoryTreatmentarea

func FindHistoryTreatmentarea(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryTreatmentarea, error)

FindHistoryTreatmentarea retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryTreatmentarea) AfterQueryHook

func (o *HistoryTreatmentarea) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryTreatmentarea is retrieved from the database

func (*HistoryTreatmentarea) AttachOrganization

func (historyTreatmentarea0 *HistoryTreatmentarea) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryTreatmentarea) Delete

func (o *HistoryTreatmentarea) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryTreatmentarea record with an executor

func (*HistoryTreatmentarea) InsertOrganization

func (historyTreatmentarea0 *HistoryTreatmentarea) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryTreatmentarea) LoadOrganization

func (o *HistoryTreatmentarea) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyTreatmentarea's Organization into the .R struct

func (*HistoryTreatmentarea) Organization

Organization starts a query for related objects on organization

func (*HistoryTreatmentarea) Preload

func (o *HistoryTreatmentarea) Preload(name string, retrieved any) error

func (*HistoryTreatmentarea) Reload

func (o *HistoryTreatmentarea) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryTreatmentarea using the executor

func (*HistoryTreatmentarea) Update

Update uses an executor to update the HistoryTreatmentarea

type HistoryTreatmentareaSetter

type HistoryTreatmentareaSetter struct {
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Comments       omitnull.Val[string]    `db:"comments" `
	Creationdate   omitnull.Val[int64]     `db:"creationdate" `
	Creator        omitnull.Val[string]    `db:"creator" `
	Editdate       omitnull.Val[int64]     `db:"editdate" `
	Editor         omitnull.Val[string]    `db:"editor" `
	Globalid       omitnull.Val[string]    `db:"globalid" `
	Notified       omitnull.Val[int16]     `db:"notified" `
	Objectid       omit.Val[int32]         `db:"objectid,pk" `
	SessionID      omitnull.Val[string]    `db:"session_id" `
	ShapeArea      omitnull.Val[float64]   `db:"shape__area" `
	ShapeLength    omitnull.Val[float64]   `db:"shape__length" `
	Treatdate      omitnull.Val[int64]     `db:"treatdate" `
	TreatID        omitnull.Val[string]    `db:"treat_id" `
	Type           omitnull.Val[string]    `db:"type" `
	Created        omitnull.Val[time.Time] `db:"created" `
	CreatedDate    omitnull.Val[int64]     `db:"created_date" `
	CreatedUser    omitnull.Val[string]    `db:"created_user" `
	GeometryX      omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY      omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]    `db:"last_edited_user" `
	Version        omit.Val[int32]         `db:"version,pk" `
}

HistoryTreatmentareaSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryTreatmentareaSetter) Apply

func (HistoryTreatmentareaSetter) Expressions

func (s HistoryTreatmentareaSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryTreatmentareaSetter) Overwrite

func (HistoryTreatmentareaSetter) SetColumns

func (s HistoryTreatmentareaSetter) SetColumns() []string

func (HistoryTreatmentareaSetter) UpdateMod

type HistoryTreatmentareaSlice

type HistoryTreatmentareaSlice []*HistoryTreatmentarea

HistoryTreatmentareaSlice is an alias for a slice of pointers to HistoryTreatmentarea. This should almost always be used instead of []*HistoryTreatmentarea.

func (HistoryTreatmentareaSlice) AfterQueryHook

func (o HistoryTreatmentareaSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryTreatmentareaSlice is retrieved from the database

func (HistoryTreatmentareaSlice) DeleteAll

func (o HistoryTreatmentareaSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (HistoryTreatmentareaSlice) DeleteMod

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryTreatmentareaSlice) LoadOrganization

func (os HistoryTreatmentareaSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyTreatmentarea's Organization into the .R struct

func (HistoryTreatmentareaSlice) Organization

func (HistoryTreatmentareaSlice) ReloadAll

func (o HistoryTreatmentareaSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (HistoryTreatmentareaSlice) UpdateAll

func (HistoryTreatmentareaSlice) UpdateMod

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryTreatmentareasQuery

type HistoryTreatmentareasQuery = *psql.ViewQuery[*HistoryTreatmentarea, HistoryTreatmentareaSlice]

HistoryTreatmentareasQuery is a query on the history_treatmentarea table

type HistoryTreatmentsQuery

type HistoryTreatmentsQuery = *psql.ViewQuery[*HistoryTreatment, HistoryTreatmentSlice]

HistoryTreatmentsQuery is a query on the history_treatment table

type HistoryZone

type HistoryZone struct {
	OrganizationID int32               `db:"organization_id" `
	Active         null.Val[int64]     `db:"active" `
	Creationdate   null.Val[int64]     `db:"creationdate" `
	Creator        null.Val[string]    `db:"creator" `
	Editdate       null.Val[int64]     `db:"editdate" `
	Editor         null.Val[string]    `db:"editor" `
	Globalid       null.Val[string]    `db:"globalid" `
	Name           null.Val[string]    `db:"name" `
	Objectid       int32               `db:"objectid,pk" `
	ShapeArea      null.Val[float64]   `db:"shape__area" `
	ShapeLength    null.Val[float64]   `db:"shape__length" `
	Created        null.Val[time.Time] `db:"created" `
	CreatedDate    null.Val[int64]     `db:"created_date" `
	CreatedUser    null.Val[string]    `db:"created_user" `
	GeometryX      null.Val[float64]   `db:"geometry_x" `
	GeometryY      null.Val[float64]   `db:"geometry_y" `
	LastEditedDate null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser null.Val[string]    `db:"last_edited_user" `
	Version        int32               `db:"version,pk" `

	R historyZoneR `db:"-" `
}

HistoryZone is an object representing the database table.

func FindHistoryZone

func FindHistoryZone(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryZone, error)

FindHistoryZone retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryZone) AfterQueryHook

func (o *HistoryZone) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryZone is retrieved from the database

func (*HistoryZone) AttachOrganization

func (historyZone0 *HistoryZone) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryZone) Delete

func (o *HistoryZone) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryZone record with an executor

func (*HistoryZone) InsertOrganization

func (historyZone0 *HistoryZone) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryZone) LoadOrganization

func (o *HistoryZone) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyZone's Organization into the .R struct

func (*HistoryZone) Organization

func (o *HistoryZone) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*HistoryZone) Preload

func (o *HistoryZone) Preload(name string, retrieved any) error

func (*HistoryZone) Reload

func (o *HistoryZone) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryZone using the executor

func (*HistoryZone) Update

func (o *HistoryZone) Update(ctx context.Context, exec bob.Executor, s *HistoryZoneSetter) error

Update uses an executor to update the HistoryZone

type HistoryZoneSetter

type HistoryZoneSetter struct {
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Active         omitnull.Val[int64]     `db:"active" `
	Creationdate   omitnull.Val[int64]     `db:"creationdate" `
	Creator        omitnull.Val[string]    `db:"creator" `
	Editdate       omitnull.Val[int64]     `db:"editdate" `
	Editor         omitnull.Val[string]    `db:"editor" `
	Globalid       omitnull.Val[string]    `db:"globalid" `
	Name           omitnull.Val[string]    `db:"name" `
	Objectid       omit.Val[int32]         `db:"objectid,pk" `
	ShapeArea      omitnull.Val[float64]   `db:"shape__area" `
	ShapeLength    omitnull.Val[float64]   `db:"shape__length" `
	Created        omitnull.Val[time.Time] `db:"created" `
	CreatedDate    omitnull.Val[int64]     `db:"created_date" `
	CreatedUser    omitnull.Val[string]    `db:"created_user" `
	GeometryX      omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY      omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]    `db:"last_edited_user" `
	Version        omit.Val[int32]         `db:"version,pk" `
}

HistoryZoneSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryZoneSetter) Apply

func (s *HistoryZoneSetter) Apply(q *dialect.InsertQuery)

func (HistoryZoneSetter) Expressions

func (s HistoryZoneSetter) Expressions(prefix ...string) []bob.Expression

func (HistoryZoneSetter) Overwrite

func (s HistoryZoneSetter) Overwrite(t *HistoryZone)

func (HistoryZoneSetter) SetColumns

func (s HistoryZoneSetter) SetColumns() []string

func (HistoryZoneSetter) UpdateMod

func (s HistoryZoneSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type HistoryZoneSlice

type HistoryZoneSlice []*HistoryZone

HistoryZoneSlice is an alias for a slice of pointers to HistoryZone. This should almost always be used instead of []*HistoryZone.

func (HistoryZoneSlice) AfterQueryHook

func (o HistoryZoneSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryZoneSlice is retrieved from the database

func (HistoryZoneSlice) DeleteAll

func (o HistoryZoneSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (HistoryZoneSlice) DeleteMod

func (o HistoryZoneSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryZoneSlice) LoadOrganization

func (os HistoryZoneSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyZone's Organization into the .R struct

func (HistoryZoneSlice) Organization

func (os HistoryZoneSlice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (HistoryZoneSlice) ReloadAll

func (o HistoryZoneSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (HistoryZoneSlice) UpdateAll

func (o HistoryZoneSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals HistoryZoneSetter) error

func (HistoryZoneSlice) UpdateMod

func (o HistoryZoneSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryZones2

type HistoryZones2 struct {
	OrganizationID int32               `db:"organization_id" `
	Creationdate   null.Val[int64]     `db:"creationdate" `
	Creator        null.Val[string]    `db:"creator" `
	Editdate       null.Val[int64]     `db:"editdate" `
	Editor         null.Val[string]    `db:"editor" `
	Globalid       null.Val[string]    `db:"globalid" `
	Name           null.Val[string]    `db:"name" `
	Objectid       int32               `db:"objectid,pk" `
	ShapeArea      null.Val[float64]   `db:"shape__area" `
	ShapeLength    null.Val[float64]   `db:"shape__length" `
	Created        null.Val[time.Time] `db:"created" `
	CreatedDate    null.Val[int64]     `db:"created_date" `
	CreatedUser    null.Val[string]    `db:"created_user" `
	GeometryX      null.Val[float64]   `db:"geometry_x" `
	GeometryY      null.Val[float64]   `db:"geometry_y" `
	LastEditedDate null.Val[int64]     `db:"last_edited_date" `
	LastEditedUser null.Val[string]    `db:"last_edited_user" `
	Version        int32               `db:"version,pk" `

	R historyZones2R `db:"-" `
}

HistoryZones2 is an object representing the database table.

func FindHistoryZones2

func FindHistoryZones2(ctx context.Context, exec bob.Executor, ObjectidPK int32, VersionPK int32, cols ...string) (*HistoryZones2, error)

FindHistoryZones2 retrieves a single record by primary key If cols is empty Find will return all columns.

func (*HistoryZones2) AfterQueryHook

func (o *HistoryZones2) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryZones2 is retrieved from the database

func (*HistoryZones2) AttachOrganization

func (historyZones20 *HistoryZones2) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*HistoryZones2) Delete

func (o *HistoryZones2) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single HistoryZones2 record with an executor

func (*HistoryZones2) InsertOrganization

func (historyZones20 *HistoryZones2) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*HistoryZones2) LoadOrganization

func (o *HistoryZones2) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyZones2's Organization into the .R struct

func (*HistoryZones2) Organization

func (o *HistoryZones2) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*HistoryZones2) Preload

func (o *HistoryZones2) Preload(name string, retrieved any) error

func (*HistoryZones2) Reload

func (o *HistoryZones2) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the HistoryZones2 using the executor

func (*HistoryZones2) Update

Update uses an executor to update the HistoryZones2

type HistoryZones2Setter

type HistoryZones2Setter struct {
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Creationdate   omitnull.Val[int64]     `db:"creationdate" `
	Creator        omitnull.Val[string]    `db:"creator" `
	Editdate       omitnull.Val[int64]     `db:"editdate" `
	Editor         omitnull.Val[string]    `db:"editor" `
	Globalid       omitnull.Val[string]    `db:"globalid" `
	Name           omitnull.Val[string]    `db:"name" `
	Objectid       omit.Val[int32]         `db:"objectid,pk" `
	ShapeArea      omitnull.Val[float64]   `db:"shape__area" `
	ShapeLength    omitnull.Val[float64]   `db:"shape__length" `
	Created        omitnull.Val[time.Time] `db:"created" `
	CreatedDate    omitnull.Val[int64]     `db:"created_date" `
	CreatedUser    omitnull.Val[string]    `db:"created_user" `
	GeometryX      omitnull.Val[float64]   `db:"geometry_x" `
	GeometryY      omitnull.Val[float64]   `db:"geometry_y" `
	LastEditedDate omitnull.Val[int64]     `db:"last_edited_date" `
	LastEditedUser omitnull.Val[string]    `db:"last_edited_user" `
	Version        omit.Val[int32]         `db:"version,pk" `
}

HistoryZones2Setter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*HistoryZones2Setter) Apply

func (HistoryZones2Setter) Expressions

func (s HistoryZones2Setter) Expressions(prefix ...string) []bob.Expression

func (HistoryZones2Setter) Overwrite

func (s HistoryZones2Setter) Overwrite(t *HistoryZones2)

func (HistoryZones2Setter) SetColumns

func (s HistoryZones2Setter) SetColumns() []string

func (HistoryZones2Setter) UpdateMod

func (s HistoryZones2Setter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type HistoryZones2Slice

type HistoryZones2Slice []*HistoryZones2

HistoryZones2Slice is an alias for a slice of pointers to HistoryZones2. This should almost always be used instead of []*HistoryZones2.

func (HistoryZones2Slice) AfterQueryHook

func (o HistoryZones2Slice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after HistoryZones2Slice is retrieved from the database

func (HistoryZones2Slice) DeleteAll

func (o HistoryZones2Slice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (HistoryZones2Slice) DeleteMod

func (o HistoryZones2Slice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (HistoryZones2Slice) LoadOrganization

func (os HistoryZones2Slice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the historyZones2's Organization into the .R struct

func (HistoryZones2Slice) Organization

func (os HistoryZones2Slice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (HistoryZones2Slice) ReloadAll

func (o HistoryZones2Slice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (HistoryZones2Slice) UpdateAll

func (HistoryZones2Slice) UpdateMod

func (o HistoryZones2Slice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type HistoryZones2sQuery

type HistoryZones2sQuery = *psql.ViewQuery[*HistoryZones2, HistoryZones2Slice]

HistoryZones2sQuery is a query on the history_zones2 table

type HistoryZonesQuery

type HistoryZonesQuery = *psql.ViewQuery[*HistoryZone, HistoryZoneSlice]

HistoryZonesQuery is a query on the history_zones table

type Notification

type Notification struct {
	ID         int32                  `db:"id,pk" `
	Created    time.Time              `db:"created" `
	Link       string                 `db:"link" `
	Message    string                 `db:"message" `
	Type       enums.Notificationtype `db:"type" `
	UserID     int32                  `db:"user_id" `
	ResolvedAt null.Val[time.Time]    `db:"resolved_at" `

	R notificationR `db:"-" `
}

Notification is an object representing the database table.

func FindNotification

func FindNotification(ctx context.Context, exec bob.Executor, IDPK int32, cols ...string) (*Notification, error)

FindNotification retrieves a single record by primary key If cols is empty Find will return all columns.

func (*Notification) AfterQueryHook

func (o *Notification) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after Notification is retrieved from the database

func (*Notification) AttachUserUser

func (notification0 *Notification) AttachUserUser(ctx context.Context, exec bob.Executor, user1 *User) error

func (*Notification) Delete

func (o *Notification) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single Notification record with an executor

func (*Notification) InsertUserUser

func (notification0 *Notification) InsertUserUser(ctx context.Context, exec bob.Executor, related *UserSetter) error

func (*Notification) LoadUserUser

func (o *Notification) LoadUserUser(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadUserUser loads the notification's UserUser into the .R struct

func (*Notification) Preload

func (o *Notification) Preload(name string, retrieved any) error

func (*Notification) Reload

func (o *Notification) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the Notification using the executor

func (*Notification) Update

func (o *Notification) Update(ctx context.Context, exec bob.Executor, s *NotificationSetter) error

Update uses an executor to update the Notification

func (*Notification) UserUser

func (o *Notification) UserUser(mods ...bob.Mod[*dialect.SelectQuery]) UsersQuery

UserUser starts a query for related objects on user_

type NotificationSetter

type NotificationSetter struct {
	ID         omit.Val[int32]                  `db:"id,pk" `
	Created    omit.Val[time.Time]              `db:"created" `
	Link       omit.Val[string]                 `db:"link" `
	Message    omit.Val[string]                 `db:"message" `
	Type       omit.Val[enums.Notificationtype] `db:"type" `
	UserID     omit.Val[int32]                  `db:"user_id" `
	ResolvedAt omitnull.Val[time.Time]          `db:"resolved_at" `
}

NotificationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*NotificationSetter) Apply

func (s *NotificationSetter) Apply(q *dialect.InsertQuery)

func (NotificationSetter) Expressions

func (s NotificationSetter) Expressions(prefix ...string) []bob.Expression

func (NotificationSetter) Overwrite

func (s NotificationSetter) Overwrite(t *Notification)

func (NotificationSetter) SetColumns

func (s NotificationSetter) SetColumns() []string

func (NotificationSetter) UpdateMod

func (s NotificationSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type NotificationSlice

type NotificationSlice []*Notification

NotificationSlice is an alias for a slice of pointers to Notification. This should almost always be used instead of []*Notification.

func (NotificationSlice) AfterQueryHook

func (o NotificationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after NotificationSlice is retrieved from the database

func (NotificationSlice) DeleteAll

func (o NotificationSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (NotificationSlice) DeleteMod

func (o NotificationSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (NotificationSlice) LoadUserUser

func (os NotificationSlice) LoadUserUser(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadUserUser loads the notification's UserUser into the .R struct

func (NotificationSlice) ReloadAll

func (o NotificationSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (NotificationSlice) UpdateAll

func (o NotificationSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals NotificationSetter) error

func (NotificationSlice) UpdateMod

func (o NotificationSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

func (NotificationSlice) UserUser

func (os NotificationSlice) UserUser(mods ...bob.Mod[*dialect.SelectQuery]) UsersQuery

type NotificationsQuery

type NotificationsQuery = *psql.ViewQuery[*Notification, NotificationSlice]

NotificationsQuery is a query on the notification table

type OauthToken

type OauthToken struct {
	ID                  int32               `db:"id,pk" `
	AccessToken         string              `db:"access_token" `
	AccessTokenExpires  time.Time           `db:"access_token_expires" `
	RefreshToken        string              `db:"refresh_token" `
	Username            string              `db:"username" `
	UserID              int32               `db:"user_id" `
	ArcgisID            null.Val[string]    `db:"arcgis_id" `
	ArcgisLicenseTypeID null.Val[string]    `db:"arcgis_license_type_id" `
	RefreshTokenExpires time.Time           `db:"refresh_token_expires" `
	InvalidatedAt       null.Val[time.Time] `db:"invalidated_at" `

	R oauthTokenR `db:"-" `
}

OauthToken is an object representing the database table.

func FindOauthToken

func FindOauthToken(ctx context.Context, exec bob.Executor, IDPK int32, cols ...string) (*OauthToken, error)

FindOauthToken retrieves a single record by primary key If cols is empty Find will return all columns.

func (*OauthToken) AfterQueryHook

func (o *OauthToken) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after OauthToken is retrieved from the database

func (*OauthToken) AttachUserUser

func (oauthToken0 *OauthToken) AttachUserUser(ctx context.Context, exec bob.Executor, user1 *User) error

func (*OauthToken) Delete

func (o *OauthToken) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single OauthToken record with an executor

func (*OauthToken) InsertUserUser

func (oauthToken0 *OauthToken) InsertUserUser(ctx context.Context, exec bob.Executor, related *UserSetter) error

func (*OauthToken) LoadUserUser

func (o *OauthToken) LoadUserUser(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadUserUser loads the oauthToken's UserUser into the .R struct

func (*OauthToken) Preload

func (o *OauthToken) Preload(name string, retrieved any) error

func (*OauthToken) Reload

func (o *OauthToken) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the OauthToken using the executor

func (*OauthToken) Update

func (o *OauthToken) Update(ctx context.Context, exec bob.Executor, s *OauthTokenSetter) error

Update uses an executor to update the OauthToken

func (*OauthToken) UserUser

func (o *OauthToken) UserUser(mods ...bob.Mod[*dialect.SelectQuery]) UsersQuery

UserUser starts a query for related objects on user_

type OauthTokenSetter

type OauthTokenSetter struct {
	ID                  omit.Val[int32]         `db:"id,pk" `
	AccessToken         omit.Val[string]        `db:"access_token" `
	AccessTokenExpires  omit.Val[time.Time]     `db:"access_token_expires" `
	RefreshToken        omit.Val[string]        `db:"refresh_token" `
	Username            omit.Val[string]        `db:"username" `
	UserID              omit.Val[int32]         `db:"user_id" `
	ArcgisID            omitnull.Val[string]    `db:"arcgis_id" `
	ArcgisLicenseTypeID omitnull.Val[string]    `db:"arcgis_license_type_id" `
	RefreshTokenExpires omit.Val[time.Time]     `db:"refresh_token_expires" `
	InvalidatedAt       omitnull.Val[time.Time] `db:"invalidated_at" `
}

OauthTokenSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*OauthTokenSetter) Apply

func (s *OauthTokenSetter) Apply(q *dialect.InsertQuery)

func (OauthTokenSetter) Expressions

func (s OauthTokenSetter) Expressions(prefix ...string) []bob.Expression

func (OauthTokenSetter) Overwrite

func (s OauthTokenSetter) Overwrite(t *OauthToken)

func (OauthTokenSetter) SetColumns

func (s OauthTokenSetter) SetColumns() []string

func (OauthTokenSetter) UpdateMod

func (s OauthTokenSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type OauthTokenSlice

type OauthTokenSlice []*OauthToken

OauthTokenSlice is an alias for a slice of pointers to OauthToken. This should almost always be used instead of []*OauthToken.

func (OauthTokenSlice) AfterQueryHook

func (o OauthTokenSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after OauthTokenSlice is retrieved from the database

func (OauthTokenSlice) DeleteAll

func (o OauthTokenSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (OauthTokenSlice) DeleteMod

func (o OauthTokenSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (OauthTokenSlice) LoadUserUser

func (os OauthTokenSlice) LoadUserUser(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadUserUser loads the oauthToken's UserUser into the .R struct

func (OauthTokenSlice) ReloadAll

func (o OauthTokenSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (OauthTokenSlice) UpdateAll

func (o OauthTokenSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals OauthTokenSetter) error

func (OauthTokenSlice) UpdateMod

func (o OauthTokenSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

func (OauthTokenSlice) UserUser

func (os OauthTokenSlice) UserUser(mods ...bob.Mod[*dialect.SelectQuery]) UsersQuery

type OauthTokensQuery

type OauthTokensQuery = *psql.ViewQuery[*OauthToken, OauthTokenSlice]

OauthTokensQuery is a query on the oauth_token table

type Organization

type Organization struct {
	ID             int32            `db:"id,pk" `
	Name           null.Val[string] `db:"name" `
	ArcgisID       null.Val[string] `db:"arcgis_id" `
	ArcgisName     null.Val[string] `db:"arcgis_name" `
	FieldseekerURL null.Val[string] `db:"fieldseeker_url" `

	R organizationR `db:"-" `
}

Organization is an object representing the database table.

func FindOrganization

func FindOrganization(ctx context.Context, exec bob.Executor, IDPK int32, cols ...string) (*Organization, error)

FindOrganization retrieves a single record by primary key If cols is empty Find will return all columns.

func (*Organization) AfterQueryHook

func (o *Organization) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after Organization is retrieved from the database

func (*Organization) AttachFSContainerrelates

func (organization0 *Organization) AttachFSContainerrelates(ctx context.Context, exec bob.Executor, related ...*FSContainerrelate) error

func (*Organization) AttachFSFieldscoutinglogs

func (organization0 *Organization) AttachFSFieldscoutinglogs(ctx context.Context, exec bob.Executor, related ...*FSFieldscoutinglog) error

func (*Organization) AttachFSHabitatrelates

func (organization0 *Organization) AttachFSHabitatrelates(ctx context.Context, exec bob.Executor, related ...*FSHabitatrelate) error

func (*Organization) AttachFSInspectionsampledetails

func (organization0 *Organization) AttachFSInspectionsampledetails(ctx context.Context, exec bob.Executor, related ...*FSInspectionsampledetail) error

func (*Organization) AttachFSInspectionsamples

func (organization0 *Organization) AttachFSInspectionsamples(ctx context.Context, exec bob.Executor, related ...*FSInspectionsample) error

func (*Organization) AttachFSLinelocations

func (organization0 *Organization) AttachFSLinelocations(ctx context.Context, exec bob.Executor, related ...*FSLinelocation) error

func (*Organization) AttachFSLocationtrackings

func (organization0 *Organization) AttachFSLocationtrackings(ctx context.Context, exec bob.Executor, related ...*FSLocationtracking) error

func (*Organization) AttachFSMosquitoinspections

func (organization0 *Organization) AttachFSMosquitoinspections(ctx context.Context, exec bob.Executor, related ...*FSMosquitoinspection) error

func (*Organization) AttachFSPointlocations

func (organization0 *Organization) AttachFSPointlocations(ctx context.Context, exec bob.Executor, related ...*FSPointlocation) error

func (*Organization) AttachFSPolygonlocations

func (organization0 *Organization) AttachFSPolygonlocations(ctx context.Context, exec bob.Executor, related ...*FSPolygonlocation) error

func (*Organization) AttachFSPooldetails

func (organization0 *Organization) AttachFSPooldetails(ctx context.Context, exec bob.Executor, related ...*FSPooldetail) error

func (*Organization) AttachFSPools

func (organization0 *Organization) AttachFSPools(ctx context.Context, exec bob.Executor, related ...*FSPool) error

func (*Organization) AttachFSProposedtreatmentareas

func (organization0 *Organization) AttachFSProposedtreatmentareas(ctx context.Context, exec bob.Executor, related ...*FSProposedtreatmentarea) error

func (*Organization) AttachFSQamosquitoinspections

func (organization0 *Organization) AttachFSQamosquitoinspections(ctx context.Context, exec bob.Executor, related ...*FSQamosquitoinspection) error

func (*Organization) AttachFSRodentlocations

func (organization0 *Organization) AttachFSRodentlocations(ctx context.Context, exec bob.Executor, related ...*FSRodentlocation) error

func (*Organization) AttachFSSamplecollections

func (organization0 *Organization) AttachFSSamplecollections(ctx context.Context, exec bob.Executor, related ...*FSSamplecollection) error

func (*Organization) AttachFSSamplelocations

func (organization0 *Organization) AttachFSSamplelocations(ctx context.Context, exec bob.Executor, related ...*FSSamplelocation) error

func (*Organization) AttachFSServicerequests

func (organization0 *Organization) AttachFSServicerequests(ctx context.Context, exec bob.Executor, related ...*FSServicerequest) error

func (*Organization) AttachFSSpeciesabundances

func (organization0 *Organization) AttachFSSpeciesabundances(ctx context.Context, exec bob.Executor, related ...*FSSpeciesabundance) error

func (*Organization) AttachFSStormdrains

func (organization0 *Organization) AttachFSStormdrains(ctx context.Context, exec bob.Executor, related ...*FSStormdrain) error

func (*Organization) AttachFSTimecards

func (organization0 *Organization) AttachFSTimecards(ctx context.Context, exec bob.Executor, related ...*FSTimecard) error

func (*Organization) AttachFSTrapdata

func (organization0 *Organization) AttachFSTrapdata(ctx context.Context, exec bob.Executor, related ...*FSTrapdatum) error

func (*Organization) AttachFSTraplocations

func (organization0 *Organization) AttachFSTraplocations(ctx context.Context, exec bob.Executor, related ...*FSTraplocation) error

func (*Organization) AttachFSTreatmentareas

func (organization0 *Organization) AttachFSTreatmentareas(ctx context.Context, exec bob.Executor, related ...*FSTreatmentarea) error

func (*Organization) AttachFSTreatments

func (organization0 *Organization) AttachFSTreatments(ctx context.Context, exec bob.Executor, related ...*FSTreatment) error

func (*Organization) AttachFSZones

func (organization0 *Organization) AttachFSZones(ctx context.Context, exec bob.Executor, related ...*FSZone) error

func (*Organization) AttachFSZones2s

func (organization0 *Organization) AttachFSZones2s(ctx context.Context, exec bob.Executor, related ...*FSZones2) error

func (*Organization) AttachFieldseekerSyncs

func (organization0 *Organization) AttachFieldseekerSyncs(ctx context.Context, exec bob.Executor, related ...*FieldseekerSync) error

func (*Organization) AttachH3Aggregations

func (organization0 *Organization) AttachH3Aggregations(ctx context.Context, exec bob.Executor, related ...*H3Aggregation) error

func (*Organization) AttachHistoryContainerrelates

func (organization0 *Organization) AttachHistoryContainerrelates(ctx context.Context, exec bob.Executor, related ...*HistoryContainerrelate) error

func (*Organization) AttachHistoryFieldscoutinglogs

func (organization0 *Organization) AttachHistoryFieldscoutinglogs(ctx context.Context, exec bob.Executor, related ...*HistoryFieldscoutinglog) error

func (*Organization) AttachHistoryHabitatrelates

func (organization0 *Organization) AttachHistoryHabitatrelates(ctx context.Context, exec bob.Executor, related ...*HistoryHabitatrelate) error

func (*Organization) AttachHistoryInspectionsampledetails

func (organization0 *Organization) AttachHistoryInspectionsampledetails(ctx context.Context, exec bob.Executor, related ...*HistoryInspectionsampledetail) error

func (*Organization) AttachHistoryInspectionsamples

func (organization0 *Organization) AttachHistoryInspectionsamples(ctx context.Context, exec bob.Executor, related ...*HistoryInspectionsample) error

func (*Organization) AttachHistoryLinelocations

func (organization0 *Organization) AttachHistoryLinelocations(ctx context.Context, exec bob.Executor, related ...*HistoryLinelocation) error

func (*Organization) AttachHistoryLocationtrackings

func (organization0 *Organization) AttachHistoryLocationtrackings(ctx context.Context, exec bob.Executor, related ...*HistoryLocationtracking) error

func (*Organization) AttachHistoryMosquitoinspections

func (organization0 *Organization) AttachHistoryMosquitoinspections(ctx context.Context, exec bob.Executor, related ...*HistoryMosquitoinspection) error

func (*Organization) AttachHistoryPointlocations

func (organization0 *Organization) AttachHistoryPointlocations(ctx context.Context, exec bob.Executor, related ...*HistoryPointlocation) error

func (*Organization) AttachHistoryPolygonlocations

func (organization0 *Organization) AttachHistoryPolygonlocations(ctx context.Context, exec bob.Executor, related ...*HistoryPolygonlocation) error

func (*Organization) AttachHistoryPooldetails

func (organization0 *Organization) AttachHistoryPooldetails(ctx context.Context, exec bob.Executor, related ...*HistoryPooldetail) error

func (*Organization) AttachHistoryPools

func (organization0 *Organization) AttachHistoryPools(ctx context.Context, exec bob.Executor, related ...*HistoryPool) error

func (*Organization) AttachHistoryProposedtreatmentareas

func (organization0 *Organization) AttachHistoryProposedtreatmentareas(ctx context.Context, exec bob.Executor, related ...*HistoryProposedtreatmentarea) error

func (*Organization) AttachHistoryQamosquitoinspections

func (organization0 *Organization) AttachHistoryQamosquitoinspections(ctx context.Context, exec bob.Executor, related ...*HistoryQamosquitoinspection) error

func (*Organization) AttachHistoryRodentlocations

func (organization0 *Organization) AttachHistoryRodentlocations(ctx context.Context, exec bob.Executor, related ...*HistoryRodentlocation) error

func (*Organization) AttachHistorySamplecollections

func (organization0 *Organization) AttachHistorySamplecollections(ctx context.Context, exec bob.Executor, related ...*HistorySamplecollection) error

func (*Organization) AttachHistorySamplelocations

func (organization0 *Organization) AttachHistorySamplelocations(ctx context.Context, exec bob.Executor, related ...*HistorySamplelocation) error

func (*Organization) AttachHistoryServicerequests

func (organization0 *Organization) AttachHistoryServicerequests(ctx context.Context, exec bob.Executor, related ...*HistoryServicerequest) error

func (*Organization) AttachHistorySpeciesabundances

func (organization0 *Organization) AttachHistorySpeciesabundances(ctx context.Context, exec bob.Executor, related ...*HistorySpeciesabundance) error

func (*Organization) AttachHistoryStormdrains

func (organization0 *Organization) AttachHistoryStormdrains(ctx context.Context, exec bob.Executor, related ...*HistoryStormdrain) error

func (*Organization) AttachHistoryTimecards

func (organization0 *Organization) AttachHistoryTimecards(ctx context.Context, exec bob.Executor, related ...*HistoryTimecard) error

func (*Organization) AttachHistoryTrapdata

func (organization0 *Organization) AttachHistoryTrapdata(ctx context.Context, exec bob.Executor, related ...*HistoryTrapdatum) error

func (*Organization) AttachHistoryTraplocations

func (organization0 *Organization) AttachHistoryTraplocations(ctx context.Context, exec bob.Executor, related ...*HistoryTraplocation) error

func (*Organization) AttachHistoryTreatmentareas

func (organization0 *Organization) AttachHistoryTreatmentareas(ctx context.Context, exec bob.Executor, related ...*HistoryTreatmentarea) error

func (*Organization) AttachHistoryTreatments

func (organization0 *Organization) AttachHistoryTreatments(ctx context.Context, exec bob.Executor, related ...*HistoryTreatment) error

func (*Organization) AttachHistoryZones

func (organization0 *Organization) AttachHistoryZones(ctx context.Context, exec bob.Executor, related ...*HistoryZone) error

func (*Organization) AttachHistoryZones2s

func (organization0 *Organization) AttachHistoryZones2s(ctx context.Context, exec bob.Executor, related ...*HistoryZones2) error

func (*Organization) AttachUser

func (organization0 *Organization) AttachUser(ctx context.Context, exec bob.Executor, related ...*User) error

func (*Organization) Delete

func (o *Organization) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single Organization record with an executor

func (*Organization) FSContainerrelates

func (o *Organization) FSContainerrelates(mods ...bob.Mod[*dialect.SelectQuery]) FSContainerrelatesQuery

FSContainerrelates starts a query for related objects on fs_containerrelate

func (*Organization) FSFieldscoutinglogs

func (o *Organization) FSFieldscoutinglogs(mods ...bob.Mod[*dialect.SelectQuery]) FSFieldscoutinglogsQuery

FSFieldscoutinglogs starts a query for related objects on fs_fieldscoutinglog

func (*Organization) FSHabitatrelates

func (o *Organization) FSHabitatrelates(mods ...bob.Mod[*dialect.SelectQuery]) FSHabitatrelatesQuery

FSHabitatrelates starts a query for related objects on fs_habitatrelate

func (*Organization) FSInspectionsampledetails

func (o *Organization) FSInspectionsampledetails(mods ...bob.Mod[*dialect.SelectQuery]) FSInspectionsampledetailsQuery

FSInspectionsampledetails starts a query for related objects on fs_inspectionsampledetail

func (*Organization) FSInspectionsamples

func (o *Organization) FSInspectionsamples(mods ...bob.Mod[*dialect.SelectQuery]) FSInspectionsamplesQuery

FSInspectionsamples starts a query for related objects on fs_inspectionsample

func (*Organization) FSLinelocations

func (o *Organization) FSLinelocations(mods ...bob.Mod[*dialect.SelectQuery]) FSLinelocationsQuery

FSLinelocations starts a query for related objects on fs_linelocation

func (*Organization) FSLocationtrackings

func (o *Organization) FSLocationtrackings(mods ...bob.Mod[*dialect.SelectQuery]) FSLocationtrackingsQuery

FSLocationtrackings starts a query for related objects on fs_locationtracking

func (*Organization) FSMosquitoinspections

func (o *Organization) FSMosquitoinspections(mods ...bob.Mod[*dialect.SelectQuery]) FSMosquitoinspectionsQuery

FSMosquitoinspections starts a query for related objects on fs_mosquitoinspection

func (*Organization) FSPointlocations

func (o *Organization) FSPointlocations(mods ...bob.Mod[*dialect.SelectQuery]) FSPointlocationsQuery

FSPointlocations starts a query for related objects on fs_pointlocation

func (*Organization) FSPolygonlocations

func (o *Organization) FSPolygonlocations(mods ...bob.Mod[*dialect.SelectQuery]) FSPolygonlocationsQuery

FSPolygonlocations starts a query for related objects on fs_polygonlocation

func (*Organization) FSPooldetails

func (o *Organization) FSPooldetails(mods ...bob.Mod[*dialect.SelectQuery]) FSPooldetailsQuery

FSPooldetails starts a query for related objects on fs_pooldetail

func (*Organization) FSPools

func (o *Organization) FSPools(mods ...bob.Mod[*dialect.SelectQuery]) FSPoolsQuery

FSPools starts a query for related objects on fs_pool

func (*Organization) FSProposedtreatmentareas

func (o *Organization) FSProposedtreatmentareas(mods ...bob.Mod[*dialect.SelectQuery]) FSProposedtreatmentareasQuery

FSProposedtreatmentareas starts a query for related objects on fs_proposedtreatmentarea

func (*Organization) FSQamosquitoinspections

func (o *Organization) FSQamosquitoinspections(mods ...bob.Mod[*dialect.SelectQuery]) FSQamosquitoinspectionsQuery

FSQamosquitoinspections starts a query for related objects on fs_qamosquitoinspection

func (*Organization) FSRodentlocations

func (o *Organization) FSRodentlocations(mods ...bob.Mod[*dialect.SelectQuery]) FSRodentlocationsQuery

FSRodentlocations starts a query for related objects on fs_rodentlocation

func (*Organization) FSSamplecollections

func (o *Organization) FSSamplecollections(mods ...bob.Mod[*dialect.SelectQuery]) FSSamplecollectionsQuery

FSSamplecollections starts a query for related objects on fs_samplecollection

func (*Organization) FSSamplelocations

func (o *Organization) FSSamplelocations(mods ...bob.Mod[*dialect.SelectQuery]) FSSamplelocationsQuery

FSSamplelocations starts a query for related objects on fs_samplelocation

func (*Organization) FSServicerequests

func (o *Organization) FSServicerequests(mods ...bob.Mod[*dialect.SelectQuery]) FSServicerequestsQuery

FSServicerequests starts a query for related objects on fs_servicerequest

func (*Organization) FSSpeciesabundances

func (o *Organization) FSSpeciesabundances(mods ...bob.Mod[*dialect.SelectQuery]) FSSpeciesabundancesQuery

FSSpeciesabundances starts a query for related objects on fs_speciesabundance

func (*Organization) FSStormdrains

func (o *Organization) FSStormdrains(mods ...bob.Mod[*dialect.SelectQuery]) FSStormdrainsQuery

FSStormdrains starts a query for related objects on fs_stormdrain

func (*Organization) FSTimecards

func (o *Organization) FSTimecards(mods ...bob.Mod[*dialect.SelectQuery]) FSTimecardsQuery

FSTimecards starts a query for related objects on fs_timecard

func (*Organization) FSTrapdata

func (o *Organization) FSTrapdata(mods ...bob.Mod[*dialect.SelectQuery]) FSTrapdataQuery

FSTrapdata starts a query for related objects on fs_trapdata

func (*Organization) FSTraplocations

func (o *Organization) FSTraplocations(mods ...bob.Mod[*dialect.SelectQuery]) FSTraplocationsQuery

FSTraplocations starts a query for related objects on fs_traplocation

func (*Organization) FSTreatmentareas

func (o *Organization) FSTreatmentareas(mods ...bob.Mod[*dialect.SelectQuery]) FSTreatmentareasQuery

FSTreatmentareas starts a query for related objects on fs_treatmentarea

func (*Organization) FSTreatments

func (o *Organization) FSTreatments(mods ...bob.Mod[*dialect.SelectQuery]) FSTreatmentsQuery

FSTreatments starts a query for related objects on fs_treatment

func (*Organization) FSZones

func (o *Organization) FSZones(mods ...bob.Mod[*dialect.SelectQuery]) FSZonesQuery

FSZones starts a query for related objects on fs_zones

func (*Organization) FSZones2s

func (o *Organization) FSZones2s(mods ...bob.Mod[*dialect.SelectQuery]) FSZones2sQuery

FSZones2s starts a query for related objects on fs_zones2

func (*Organization) FieldseekerSyncs

func (o *Organization) FieldseekerSyncs(mods ...bob.Mod[*dialect.SelectQuery]) FieldseekerSyncsQuery

FieldseekerSyncs starts a query for related objects on fieldseeker_sync

func (*Organization) H3Aggregations

func (o *Organization) H3Aggregations(mods ...bob.Mod[*dialect.SelectQuery]) H3AggregationsQuery

H3Aggregations starts a query for related objects on h3_aggregation

func (*Organization) HistoryContainerrelates

func (o *Organization) HistoryContainerrelates(mods ...bob.Mod[*dialect.SelectQuery]) HistoryContainerrelatesQuery

HistoryContainerrelates starts a query for related objects on history_containerrelate

func (*Organization) HistoryFieldscoutinglogs

func (o *Organization) HistoryFieldscoutinglogs(mods ...bob.Mod[*dialect.SelectQuery]) HistoryFieldscoutinglogsQuery

HistoryFieldscoutinglogs starts a query for related objects on history_fieldscoutinglog

func (*Organization) HistoryHabitatrelates

func (o *Organization) HistoryHabitatrelates(mods ...bob.Mod[*dialect.SelectQuery]) HistoryHabitatrelatesQuery

HistoryHabitatrelates starts a query for related objects on history_habitatrelate

func (*Organization) HistoryInspectionsampledetails

func (o *Organization) HistoryInspectionsampledetails(mods ...bob.Mod[*dialect.SelectQuery]) HistoryInspectionsampledetailsQuery

HistoryInspectionsampledetails starts a query for related objects on history_inspectionsampledetail

func (*Organization) HistoryInspectionsamples

func (o *Organization) HistoryInspectionsamples(mods ...bob.Mod[*dialect.SelectQuery]) HistoryInspectionsamplesQuery

HistoryInspectionsamples starts a query for related objects on history_inspectionsample

func (*Organization) HistoryLinelocations

func (o *Organization) HistoryLinelocations(mods ...bob.Mod[*dialect.SelectQuery]) HistoryLinelocationsQuery

HistoryLinelocations starts a query for related objects on history_linelocation

func (*Organization) HistoryLocationtrackings

func (o *Organization) HistoryLocationtrackings(mods ...bob.Mod[*dialect.SelectQuery]) HistoryLocationtrackingsQuery

HistoryLocationtrackings starts a query for related objects on history_locationtracking

func (*Organization) HistoryMosquitoinspections

func (o *Organization) HistoryMosquitoinspections(mods ...bob.Mod[*dialect.SelectQuery]) HistoryMosquitoinspectionsQuery

HistoryMosquitoinspections starts a query for related objects on history_mosquitoinspection

func (*Organization) HistoryPointlocations

func (o *Organization) HistoryPointlocations(mods ...bob.Mod[*dialect.SelectQuery]) HistoryPointlocationsQuery

HistoryPointlocations starts a query for related objects on history_pointlocation

func (*Organization) HistoryPolygonlocations

func (o *Organization) HistoryPolygonlocations(mods ...bob.Mod[*dialect.SelectQuery]) HistoryPolygonlocationsQuery

HistoryPolygonlocations starts a query for related objects on history_polygonlocation

func (*Organization) HistoryPooldetails

func (o *Organization) HistoryPooldetails(mods ...bob.Mod[*dialect.SelectQuery]) HistoryPooldetailsQuery

HistoryPooldetails starts a query for related objects on history_pooldetail

func (*Organization) HistoryPools

func (o *Organization) HistoryPools(mods ...bob.Mod[*dialect.SelectQuery]) HistoryPoolsQuery

HistoryPools starts a query for related objects on history_pool

func (*Organization) HistoryProposedtreatmentareas

func (o *Organization) HistoryProposedtreatmentareas(mods ...bob.Mod[*dialect.SelectQuery]) HistoryProposedtreatmentareasQuery

HistoryProposedtreatmentareas starts a query for related objects on history_proposedtreatmentarea

func (*Organization) HistoryQamosquitoinspections

func (o *Organization) HistoryQamosquitoinspections(mods ...bob.Mod[*dialect.SelectQuery]) HistoryQamosquitoinspectionsQuery

HistoryQamosquitoinspections starts a query for related objects on history_qamosquitoinspection

func (*Organization) HistoryRodentlocations

func (o *Organization) HistoryRodentlocations(mods ...bob.Mod[*dialect.SelectQuery]) HistoryRodentlocationsQuery

HistoryRodentlocations starts a query for related objects on history_rodentlocation

func (*Organization) HistorySamplecollections

func (o *Organization) HistorySamplecollections(mods ...bob.Mod[*dialect.SelectQuery]) HistorySamplecollectionsQuery

HistorySamplecollections starts a query for related objects on history_samplecollection

func (*Organization) HistorySamplelocations

func (o *Organization) HistorySamplelocations(mods ...bob.Mod[*dialect.SelectQuery]) HistorySamplelocationsQuery

HistorySamplelocations starts a query for related objects on history_samplelocation

func (*Organization) HistoryServicerequests

func (o *Organization) HistoryServicerequests(mods ...bob.Mod[*dialect.SelectQuery]) HistoryServicerequestsQuery

HistoryServicerequests starts a query for related objects on history_servicerequest

func (*Organization) HistorySpeciesabundances

func (o *Organization) HistorySpeciesabundances(mods ...bob.Mod[*dialect.SelectQuery]) HistorySpeciesabundancesQuery

HistorySpeciesabundances starts a query for related objects on history_speciesabundance

func (*Organization) HistoryStormdrains

func (o *Organization) HistoryStormdrains(mods ...bob.Mod[*dialect.SelectQuery]) HistoryStormdrainsQuery

HistoryStormdrains starts a query for related objects on history_stormdrain

func (*Organization) HistoryTimecards

func (o *Organization) HistoryTimecards(mods ...bob.Mod[*dialect.SelectQuery]) HistoryTimecardsQuery

HistoryTimecards starts a query for related objects on history_timecard

func (*Organization) HistoryTrapdata

func (o *Organization) HistoryTrapdata(mods ...bob.Mod[*dialect.SelectQuery]) HistoryTrapdataQuery

HistoryTrapdata starts a query for related objects on history_trapdata

func (*Organization) HistoryTraplocations

func (o *Organization) HistoryTraplocations(mods ...bob.Mod[*dialect.SelectQuery]) HistoryTraplocationsQuery

HistoryTraplocations starts a query for related objects on history_traplocation

func (*Organization) HistoryTreatmentareas

func (o *Organization) HistoryTreatmentareas(mods ...bob.Mod[*dialect.SelectQuery]) HistoryTreatmentareasQuery

HistoryTreatmentareas starts a query for related objects on history_treatmentarea

func (*Organization) HistoryTreatments

func (o *Organization) HistoryTreatments(mods ...bob.Mod[*dialect.SelectQuery]) HistoryTreatmentsQuery

HistoryTreatments starts a query for related objects on history_treatment

func (*Organization) HistoryZones

func (o *Organization) HistoryZones(mods ...bob.Mod[*dialect.SelectQuery]) HistoryZonesQuery

HistoryZones starts a query for related objects on history_zones

func (*Organization) HistoryZones2s

func (o *Organization) HistoryZones2s(mods ...bob.Mod[*dialect.SelectQuery]) HistoryZones2sQuery

HistoryZones2s starts a query for related objects on history_zones2

func (*Organization) InsertFSContainerrelates

func (organization0 *Organization) InsertFSContainerrelates(ctx context.Context, exec bob.Executor, related ...*FSContainerrelateSetter) error

func (*Organization) InsertFSFieldscoutinglogs

func (organization0 *Organization) InsertFSFieldscoutinglogs(ctx context.Context, exec bob.Executor, related ...*FSFieldscoutinglogSetter) error

func (*Organization) InsertFSHabitatrelates

func (organization0 *Organization) InsertFSHabitatrelates(ctx context.Context, exec bob.Executor, related ...*FSHabitatrelateSetter) error

func (*Organization) InsertFSInspectionsampledetails

func (organization0 *Organization) InsertFSInspectionsampledetails(ctx context.Context, exec bob.Executor, related ...*FSInspectionsampledetailSetter) error

func (*Organization) InsertFSInspectionsamples

func (organization0 *Organization) InsertFSInspectionsamples(ctx context.Context, exec bob.Executor, related ...*FSInspectionsampleSetter) error

func (*Organization) InsertFSLinelocations

func (organization0 *Organization) InsertFSLinelocations(ctx context.Context, exec bob.Executor, related ...*FSLinelocationSetter) error

func (*Organization) InsertFSLocationtrackings

func (organization0 *Organization) InsertFSLocationtrackings(ctx context.Context, exec bob.Executor, related ...*FSLocationtrackingSetter) error

func (*Organization) InsertFSMosquitoinspections

func (organization0 *Organization) InsertFSMosquitoinspections(ctx context.Context, exec bob.Executor, related ...*FSMosquitoinspectionSetter) error

func (*Organization) InsertFSPointlocations

func (organization0 *Organization) InsertFSPointlocations(ctx context.Context, exec bob.Executor, related ...*FSPointlocationSetter) error

func (*Organization) InsertFSPolygonlocations

func (organization0 *Organization) InsertFSPolygonlocations(ctx context.Context, exec bob.Executor, related ...*FSPolygonlocationSetter) error

func (*Organization) InsertFSPooldetails

func (organization0 *Organization) InsertFSPooldetails(ctx context.Context, exec bob.Executor, related ...*FSPooldetailSetter) error

func (*Organization) InsertFSPools

func (organization0 *Organization) InsertFSPools(ctx context.Context, exec bob.Executor, related ...*FSPoolSetter) error

func (*Organization) InsertFSProposedtreatmentareas

func (organization0 *Organization) InsertFSProposedtreatmentareas(ctx context.Context, exec bob.Executor, related ...*FSProposedtreatmentareaSetter) error

func (*Organization) InsertFSQamosquitoinspections

func (organization0 *Organization) InsertFSQamosquitoinspections(ctx context.Context, exec bob.Executor, related ...*FSQamosquitoinspectionSetter) error

func (*Organization) InsertFSRodentlocations

func (organization0 *Organization) InsertFSRodentlocations(ctx context.Context, exec bob.Executor, related ...*FSRodentlocationSetter) error

func (*Organization) InsertFSSamplecollections

func (organization0 *Organization) InsertFSSamplecollections(ctx context.Context, exec bob.Executor, related ...*FSSamplecollectionSetter) error

func (*Organization) InsertFSSamplelocations

func (organization0 *Organization) InsertFSSamplelocations(ctx context.Context, exec bob.Executor, related ...*FSSamplelocationSetter) error

func (*Organization) InsertFSServicerequests

func (organization0 *Organization) InsertFSServicerequests(ctx context.Context, exec bob.Executor, related ...*FSServicerequestSetter) error

func (*Organization) InsertFSSpeciesabundances

func (organization0 *Organization) InsertFSSpeciesabundances(ctx context.Context, exec bob.Executor, related ...*FSSpeciesabundanceSetter) error

func (*Organization) InsertFSStormdrains

func (organization0 *Organization) InsertFSStormdrains(ctx context.Context, exec bob.Executor, related ...*FSStormdrainSetter) error

func (*Organization) InsertFSTimecards

func (organization0 *Organization) InsertFSTimecards(ctx context.Context, exec bob.Executor, related ...*FSTimecardSetter) error

func (*Organization) InsertFSTrapdata

func (organization0 *Organization) InsertFSTrapdata(ctx context.Context, exec bob.Executor, related ...*FSTrapdatumSetter) error

func (*Organization) InsertFSTraplocations

func (organization0 *Organization) InsertFSTraplocations(ctx context.Context, exec bob.Executor, related ...*FSTraplocationSetter) error

func (*Organization) InsertFSTreatmentareas

func (organization0 *Organization) InsertFSTreatmentareas(ctx context.Context, exec bob.Executor, related ...*FSTreatmentareaSetter) error

func (*Organization) InsertFSTreatments

func (organization0 *Organization) InsertFSTreatments(ctx context.Context, exec bob.Executor, related ...*FSTreatmentSetter) error

func (*Organization) InsertFSZones

func (organization0 *Organization) InsertFSZones(ctx context.Context, exec bob.Executor, related ...*FSZoneSetter) error

func (*Organization) InsertFSZones2s

func (organization0 *Organization) InsertFSZones2s(ctx context.Context, exec bob.Executor, related ...*FSZones2Setter) error

func (*Organization) InsertFieldseekerSyncs

func (organization0 *Organization) InsertFieldseekerSyncs(ctx context.Context, exec bob.Executor, related ...*FieldseekerSyncSetter) error

func (*Organization) InsertH3Aggregations

func (organization0 *Organization) InsertH3Aggregations(ctx context.Context, exec bob.Executor, related ...*H3AggregationSetter) error

func (*Organization) InsertHistoryContainerrelates

func (organization0 *Organization) InsertHistoryContainerrelates(ctx context.Context, exec bob.Executor, related ...*HistoryContainerrelateSetter) error

func (*Organization) InsertHistoryFieldscoutinglogs

func (organization0 *Organization) InsertHistoryFieldscoutinglogs(ctx context.Context, exec bob.Executor, related ...*HistoryFieldscoutinglogSetter) error

func (*Organization) InsertHistoryHabitatrelates

func (organization0 *Organization) InsertHistoryHabitatrelates(ctx context.Context, exec bob.Executor, related ...*HistoryHabitatrelateSetter) error

func (*Organization) InsertHistoryInspectionsampledetails

func (organization0 *Organization) InsertHistoryInspectionsampledetails(ctx context.Context, exec bob.Executor, related ...*HistoryInspectionsampledetailSetter) error

func (*Organization) InsertHistoryInspectionsamples

func (organization0 *Organization) InsertHistoryInspectionsamples(ctx context.Context, exec bob.Executor, related ...*HistoryInspectionsampleSetter) error

func (*Organization) InsertHistoryLinelocations

func (organization0 *Organization) InsertHistoryLinelocations(ctx context.Context, exec bob.Executor, related ...*HistoryLinelocationSetter) error

func (*Organization) InsertHistoryLocationtrackings

func (organization0 *Organization) InsertHistoryLocationtrackings(ctx context.Context, exec bob.Executor, related ...*HistoryLocationtrackingSetter) error

func (*Organization) InsertHistoryMosquitoinspections

func (organization0 *Organization) InsertHistoryMosquitoinspections(ctx context.Context, exec bob.Executor, related ...*HistoryMosquitoinspectionSetter) error

func (*Organization) InsertHistoryPointlocations

func (organization0 *Organization) InsertHistoryPointlocations(ctx context.Context, exec bob.Executor, related ...*HistoryPointlocationSetter) error

func (*Organization) InsertHistoryPolygonlocations

func (organization0 *Organization) InsertHistoryPolygonlocations(ctx context.Context, exec bob.Executor, related ...*HistoryPolygonlocationSetter) error

func (*Organization) InsertHistoryPooldetails

func (organization0 *Organization) InsertHistoryPooldetails(ctx context.Context, exec bob.Executor, related ...*HistoryPooldetailSetter) error

func (*Organization) InsertHistoryPools

func (organization0 *Organization) InsertHistoryPools(ctx context.Context, exec bob.Executor, related ...*HistoryPoolSetter) error

func (*Organization) InsertHistoryProposedtreatmentareas

func (organization0 *Organization) InsertHistoryProposedtreatmentareas(ctx context.Context, exec bob.Executor, related ...*HistoryProposedtreatmentareaSetter) error

func (*Organization) InsertHistoryQamosquitoinspections

func (organization0 *Organization) InsertHistoryQamosquitoinspections(ctx context.Context, exec bob.Executor, related ...*HistoryQamosquitoinspectionSetter) error

func (*Organization) InsertHistoryRodentlocations

func (organization0 *Organization) InsertHistoryRodentlocations(ctx context.Context, exec bob.Executor, related ...*HistoryRodentlocationSetter) error

func (*Organization) InsertHistorySamplecollections

func (organization0 *Organization) InsertHistorySamplecollections(ctx context.Context, exec bob.Executor, related ...*HistorySamplecollectionSetter) error

func (*Organization) InsertHistorySamplelocations

func (organization0 *Organization) InsertHistorySamplelocations(ctx context.Context, exec bob.Executor, related ...*HistorySamplelocationSetter) error

func (*Organization) InsertHistoryServicerequests

func (organization0 *Organization) InsertHistoryServicerequests(ctx context.Context, exec bob.Executor, related ...*HistoryServicerequestSetter) error

func (*Organization) InsertHistorySpeciesabundances

func (organization0 *Organization) InsertHistorySpeciesabundances(ctx context.Context, exec bob.Executor, related ...*HistorySpeciesabundanceSetter) error

func (*Organization) InsertHistoryStormdrains

func (organization0 *Organization) InsertHistoryStormdrains(ctx context.Context, exec bob.Executor, related ...*HistoryStormdrainSetter) error

func (*Organization) InsertHistoryTimecards

func (organization0 *Organization) InsertHistoryTimecards(ctx context.Context, exec bob.Executor, related ...*HistoryTimecardSetter) error

func (*Organization) InsertHistoryTrapdata

func (organization0 *Organization) InsertHistoryTrapdata(ctx context.Context, exec bob.Executor, related ...*HistoryTrapdatumSetter) error

func (*Organization) InsertHistoryTraplocations

func (organization0 *Organization) InsertHistoryTraplocations(ctx context.Context, exec bob.Executor, related ...*HistoryTraplocationSetter) error

func (*Organization) InsertHistoryTreatmentareas

func (organization0 *Organization) InsertHistoryTreatmentareas(ctx context.Context, exec bob.Executor, related ...*HistoryTreatmentareaSetter) error

func (*Organization) InsertHistoryTreatments

func (organization0 *Organization) InsertHistoryTreatments(ctx context.Context, exec bob.Executor, related ...*HistoryTreatmentSetter) error

func (*Organization) InsertHistoryZones

func (organization0 *Organization) InsertHistoryZones(ctx context.Context, exec bob.Executor, related ...*HistoryZoneSetter) error

func (*Organization) InsertHistoryZones2s

func (organization0 *Organization) InsertHistoryZones2s(ctx context.Context, exec bob.Executor, related ...*HistoryZones2Setter) error

func (*Organization) InsertUser

func (organization0 *Organization) InsertUser(ctx context.Context, exec bob.Executor, related ...*UserSetter) error

func (*Organization) LoadFSContainerrelates

func (o *Organization) LoadFSContainerrelates(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSContainerrelates loads the organization's FSContainerrelates into the .R struct

func (*Organization) LoadFSFieldscoutinglogs

func (o *Organization) LoadFSFieldscoutinglogs(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSFieldscoutinglogs loads the organization's FSFieldscoutinglogs into the .R struct

func (*Organization) LoadFSHabitatrelates

func (o *Organization) LoadFSHabitatrelates(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSHabitatrelates loads the organization's FSHabitatrelates into the .R struct

func (*Organization) LoadFSInspectionsampledetails

func (o *Organization) LoadFSInspectionsampledetails(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSInspectionsampledetails loads the organization's FSInspectionsampledetails into the .R struct

func (*Organization) LoadFSInspectionsamples

func (o *Organization) LoadFSInspectionsamples(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSInspectionsamples loads the organization's FSInspectionsamples into the .R struct

func (*Organization) LoadFSLinelocations

func (o *Organization) LoadFSLinelocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSLinelocations loads the organization's FSLinelocations into the .R struct

func (*Organization) LoadFSLocationtrackings

func (o *Organization) LoadFSLocationtrackings(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSLocationtrackings loads the organization's FSLocationtrackings into the .R struct

func (*Organization) LoadFSMosquitoinspections

func (o *Organization) LoadFSMosquitoinspections(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSMosquitoinspections loads the organization's FSMosquitoinspections into the .R struct

func (*Organization) LoadFSPointlocations

func (o *Organization) LoadFSPointlocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSPointlocations loads the organization's FSPointlocations into the .R struct

func (*Organization) LoadFSPolygonlocations

func (o *Organization) LoadFSPolygonlocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSPolygonlocations loads the organization's FSPolygonlocations into the .R struct

func (*Organization) LoadFSPooldetails

func (o *Organization) LoadFSPooldetails(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSPooldetails loads the organization's FSPooldetails into the .R struct

func (*Organization) LoadFSPools

func (o *Organization) LoadFSPools(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSPools loads the organization's FSPools into the .R struct

func (*Organization) LoadFSProposedtreatmentareas

func (o *Organization) LoadFSProposedtreatmentareas(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSProposedtreatmentareas loads the organization's FSProposedtreatmentareas into the .R struct

func (*Organization) LoadFSQamosquitoinspections

func (o *Organization) LoadFSQamosquitoinspections(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSQamosquitoinspections loads the organization's FSQamosquitoinspections into the .R struct

func (*Organization) LoadFSRodentlocations

func (o *Organization) LoadFSRodentlocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSRodentlocations loads the organization's FSRodentlocations into the .R struct

func (*Organization) LoadFSSamplecollections

func (o *Organization) LoadFSSamplecollections(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSSamplecollections loads the organization's FSSamplecollections into the .R struct

func (*Organization) LoadFSSamplelocations

func (o *Organization) LoadFSSamplelocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSSamplelocations loads the organization's FSSamplelocations into the .R struct

func (*Organization) LoadFSServicerequests

func (o *Organization) LoadFSServicerequests(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSServicerequests loads the organization's FSServicerequests into the .R struct

func (*Organization) LoadFSSpeciesabundances

func (o *Organization) LoadFSSpeciesabundances(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSSpeciesabundances loads the organization's FSSpeciesabundances into the .R struct

func (*Organization) LoadFSStormdrains

func (o *Organization) LoadFSStormdrains(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSStormdrains loads the organization's FSStormdrains into the .R struct

func (*Organization) LoadFSTimecards

func (o *Organization) LoadFSTimecards(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSTimecards loads the organization's FSTimecards into the .R struct

func (*Organization) LoadFSTrapdata

func (o *Organization) LoadFSTrapdata(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSTrapdata loads the organization's FSTrapdata into the .R struct

func (*Organization) LoadFSTraplocations

func (o *Organization) LoadFSTraplocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSTraplocations loads the organization's FSTraplocations into the .R struct

func (*Organization) LoadFSTreatmentareas

func (o *Organization) LoadFSTreatmentareas(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSTreatmentareas loads the organization's FSTreatmentareas into the .R struct

func (*Organization) LoadFSTreatments

func (o *Organization) LoadFSTreatments(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSTreatments loads the organization's FSTreatments into the .R struct

func (*Organization) LoadFSZones

func (o *Organization) LoadFSZones(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSZones loads the organization's FSZones into the .R struct

func (*Organization) LoadFSZones2s

func (o *Organization) LoadFSZones2s(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSZones2s loads the organization's FSZones2s into the .R struct

func (*Organization) LoadFieldseekerSyncs

func (o *Organization) LoadFieldseekerSyncs(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFieldseekerSyncs loads the organization's FieldseekerSyncs into the .R struct

func (*Organization) LoadH3Aggregations

func (o *Organization) LoadH3Aggregations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadH3Aggregations loads the organization's H3Aggregations into the .R struct

func (*Organization) LoadHistoryContainerrelates

func (o *Organization) LoadHistoryContainerrelates(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryContainerrelates loads the organization's HistoryContainerrelates into the .R struct

func (*Organization) LoadHistoryFieldscoutinglogs

func (o *Organization) LoadHistoryFieldscoutinglogs(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryFieldscoutinglogs loads the organization's HistoryFieldscoutinglogs into the .R struct

func (*Organization) LoadHistoryHabitatrelates

func (o *Organization) LoadHistoryHabitatrelates(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryHabitatrelates loads the organization's HistoryHabitatrelates into the .R struct

func (*Organization) LoadHistoryInspectionsampledetails

func (o *Organization) LoadHistoryInspectionsampledetails(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryInspectionsampledetails loads the organization's HistoryInspectionsampledetails into the .R struct

func (*Organization) LoadHistoryInspectionsamples

func (o *Organization) LoadHistoryInspectionsamples(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryInspectionsamples loads the organization's HistoryInspectionsamples into the .R struct

func (*Organization) LoadHistoryLinelocations

func (o *Organization) LoadHistoryLinelocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryLinelocations loads the organization's HistoryLinelocations into the .R struct

func (*Organization) LoadHistoryLocationtrackings

func (o *Organization) LoadHistoryLocationtrackings(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryLocationtrackings loads the organization's HistoryLocationtrackings into the .R struct

func (*Organization) LoadHistoryMosquitoinspections

func (o *Organization) LoadHistoryMosquitoinspections(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryMosquitoinspections loads the organization's HistoryMosquitoinspections into the .R struct

func (*Organization) LoadHistoryPointlocations

func (o *Organization) LoadHistoryPointlocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryPointlocations loads the organization's HistoryPointlocations into the .R struct

func (*Organization) LoadHistoryPolygonlocations

func (o *Organization) LoadHistoryPolygonlocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryPolygonlocations loads the organization's HistoryPolygonlocations into the .R struct

func (*Organization) LoadHistoryPooldetails

func (o *Organization) LoadHistoryPooldetails(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryPooldetails loads the organization's HistoryPooldetails into the .R struct

func (*Organization) LoadHistoryPools

func (o *Organization) LoadHistoryPools(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryPools loads the organization's HistoryPools into the .R struct

func (*Organization) LoadHistoryProposedtreatmentareas

func (o *Organization) LoadHistoryProposedtreatmentareas(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryProposedtreatmentareas loads the organization's HistoryProposedtreatmentareas into the .R struct

func (*Organization) LoadHistoryQamosquitoinspections

func (o *Organization) LoadHistoryQamosquitoinspections(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryQamosquitoinspections loads the organization's HistoryQamosquitoinspections into the .R struct

func (*Organization) LoadHistoryRodentlocations

func (o *Organization) LoadHistoryRodentlocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryRodentlocations loads the organization's HistoryRodentlocations into the .R struct

func (*Organization) LoadHistorySamplecollections

func (o *Organization) LoadHistorySamplecollections(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistorySamplecollections loads the organization's HistorySamplecollections into the .R struct

func (*Organization) LoadHistorySamplelocations

func (o *Organization) LoadHistorySamplelocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistorySamplelocations loads the organization's HistorySamplelocations into the .R struct

func (*Organization) LoadHistoryServicerequests

func (o *Organization) LoadHistoryServicerequests(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryServicerequests loads the organization's HistoryServicerequests into the .R struct

func (*Organization) LoadHistorySpeciesabundances

func (o *Organization) LoadHistorySpeciesabundances(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistorySpeciesabundances loads the organization's HistorySpeciesabundances into the .R struct

func (*Organization) LoadHistoryStormdrains

func (o *Organization) LoadHistoryStormdrains(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryStormdrains loads the organization's HistoryStormdrains into the .R struct

func (*Organization) LoadHistoryTimecards

func (o *Organization) LoadHistoryTimecards(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryTimecards loads the organization's HistoryTimecards into the .R struct

func (*Organization) LoadHistoryTrapdata

func (o *Organization) LoadHistoryTrapdata(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryTrapdata loads the organization's HistoryTrapdata into the .R struct

func (*Organization) LoadHistoryTraplocations

func (o *Organization) LoadHistoryTraplocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryTraplocations loads the organization's HistoryTraplocations into the .R struct

func (*Organization) LoadHistoryTreatmentareas

func (o *Organization) LoadHistoryTreatmentareas(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryTreatmentareas loads the organization's HistoryTreatmentareas into the .R struct

func (*Organization) LoadHistoryTreatments

func (o *Organization) LoadHistoryTreatments(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryTreatments loads the organization's HistoryTreatments into the .R struct

func (*Organization) LoadHistoryZones

func (o *Organization) LoadHistoryZones(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryZones loads the organization's HistoryZones into the .R struct

func (*Organization) LoadHistoryZones2s

func (o *Organization) LoadHistoryZones2s(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryZones2s loads the organization's HistoryZones2s into the .R struct

func (*Organization) LoadUser

func (o *Organization) LoadUser(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadUser loads the organization's User into the .R struct

func (*Organization) Preload

func (o *Organization) Preload(name string, retrieved any) error

func (*Organization) Reload

func (o *Organization) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the Organization using the executor

func (*Organization) Update

func (o *Organization) Update(ctx context.Context, exec bob.Executor, s *OrganizationSetter) error

Update uses an executor to update the Organization

func (*Organization) User

func (o *Organization) User(mods ...bob.Mod[*dialect.SelectQuery]) UsersQuery

User starts a query for related objects on user_

type OrganizationSetter

type OrganizationSetter struct {
	ID             omit.Val[int32]      `db:"id,pk" `
	Name           omitnull.Val[string] `db:"name" `
	ArcgisID       omitnull.Val[string] `db:"arcgis_id" `
	ArcgisName     omitnull.Val[string] `db:"arcgis_name" `
	FieldseekerURL omitnull.Val[string] `db:"fieldseeker_url" `
}

OrganizationSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*OrganizationSetter) Apply

func (s *OrganizationSetter) Apply(q *dialect.InsertQuery)

func (OrganizationSetter) Expressions

func (s OrganizationSetter) Expressions(prefix ...string) []bob.Expression

func (OrganizationSetter) Overwrite

func (s OrganizationSetter) Overwrite(t *Organization)

func (OrganizationSetter) SetColumns

func (s OrganizationSetter) SetColumns() []string

func (OrganizationSetter) UpdateMod

func (s OrganizationSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type OrganizationSlice

type OrganizationSlice []*Organization

OrganizationSlice is an alias for a slice of pointers to Organization. This should almost always be used instead of []*Organization.

func (OrganizationSlice) AfterQueryHook

func (o OrganizationSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after OrganizationSlice is retrieved from the database

func (OrganizationSlice) DeleteAll

func (o OrganizationSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (OrganizationSlice) DeleteMod

func (o OrganizationSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (OrganizationSlice) FSContainerrelates

func (os OrganizationSlice) FSContainerrelates(mods ...bob.Mod[*dialect.SelectQuery]) FSContainerrelatesQuery

func (OrganizationSlice) FSFieldscoutinglogs

func (os OrganizationSlice) FSFieldscoutinglogs(mods ...bob.Mod[*dialect.SelectQuery]) FSFieldscoutinglogsQuery

func (OrganizationSlice) FSHabitatrelates

func (os OrganizationSlice) FSHabitatrelates(mods ...bob.Mod[*dialect.SelectQuery]) FSHabitatrelatesQuery

func (OrganizationSlice) FSInspectionsampledetails

func (os OrganizationSlice) FSInspectionsampledetails(mods ...bob.Mod[*dialect.SelectQuery]) FSInspectionsampledetailsQuery

func (OrganizationSlice) FSInspectionsamples

func (os OrganizationSlice) FSInspectionsamples(mods ...bob.Mod[*dialect.SelectQuery]) FSInspectionsamplesQuery

func (OrganizationSlice) FSLinelocations

func (os OrganizationSlice) FSLinelocations(mods ...bob.Mod[*dialect.SelectQuery]) FSLinelocationsQuery

func (OrganizationSlice) FSLocationtrackings

func (os OrganizationSlice) FSLocationtrackings(mods ...bob.Mod[*dialect.SelectQuery]) FSLocationtrackingsQuery

func (OrganizationSlice) FSMosquitoinspections

func (os OrganizationSlice) FSMosquitoinspections(mods ...bob.Mod[*dialect.SelectQuery]) FSMosquitoinspectionsQuery

func (OrganizationSlice) FSPointlocations

func (os OrganizationSlice) FSPointlocations(mods ...bob.Mod[*dialect.SelectQuery]) FSPointlocationsQuery

func (OrganizationSlice) FSPolygonlocations

func (os OrganizationSlice) FSPolygonlocations(mods ...bob.Mod[*dialect.SelectQuery]) FSPolygonlocationsQuery

func (OrganizationSlice) FSPooldetails

func (os OrganizationSlice) FSPooldetails(mods ...bob.Mod[*dialect.SelectQuery]) FSPooldetailsQuery

func (OrganizationSlice) FSPools

func (os OrganizationSlice) FSPools(mods ...bob.Mod[*dialect.SelectQuery]) FSPoolsQuery

func (OrganizationSlice) FSProposedtreatmentareas

func (os OrganizationSlice) FSProposedtreatmentareas(mods ...bob.Mod[*dialect.SelectQuery]) FSProposedtreatmentareasQuery

func (OrganizationSlice) FSQamosquitoinspections

func (os OrganizationSlice) FSQamosquitoinspections(mods ...bob.Mod[*dialect.SelectQuery]) FSQamosquitoinspectionsQuery

func (OrganizationSlice) FSRodentlocations

func (os OrganizationSlice) FSRodentlocations(mods ...bob.Mod[*dialect.SelectQuery]) FSRodentlocationsQuery

func (OrganizationSlice) FSSamplecollections

func (os OrganizationSlice) FSSamplecollections(mods ...bob.Mod[*dialect.SelectQuery]) FSSamplecollectionsQuery

func (OrganizationSlice) FSSamplelocations

func (os OrganizationSlice) FSSamplelocations(mods ...bob.Mod[*dialect.SelectQuery]) FSSamplelocationsQuery

func (OrganizationSlice) FSServicerequests

func (os OrganizationSlice) FSServicerequests(mods ...bob.Mod[*dialect.SelectQuery]) FSServicerequestsQuery

func (OrganizationSlice) FSSpeciesabundances

func (os OrganizationSlice) FSSpeciesabundances(mods ...bob.Mod[*dialect.SelectQuery]) FSSpeciesabundancesQuery

func (OrganizationSlice) FSStormdrains

func (os OrganizationSlice) FSStormdrains(mods ...bob.Mod[*dialect.SelectQuery]) FSStormdrainsQuery

func (OrganizationSlice) FSTimecards

func (os OrganizationSlice) FSTimecards(mods ...bob.Mod[*dialect.SelectQuery]) FSTimecardsQuery

func (OrganizationSlice) FSTrapdata

func (os OrganizationSlice) FSTrapdata(mods ...bob.Mod[*dialect.SelectQuery]) FSTrapdataQuery

func (OrganizationSlice) FSTraplocations

func (os OrganizationSlice) FSTraplocations(mods ...bob.Mod[*dialect.SelectQuery]) FSTraplocationsQuery

func (OrganizationSlice) FSTreatmentareas

func (os OrganizationSlice) FSTreatmentareas(mods ...bob.Mod[*dialect.SelectQuery]) FSTreatmentareasQuery

func (OrganizationSlice) FSTreatments

func (os OrganizationSlice) FSTreatments(mods ...bob.Mod[*dialect.SelectQuery]) FSTreatmentsQuery

func (OrganizationSlice) FSZones

func (os OrganizationSlice) FSZones(mods ...bob.Mod[*dialect.SelectQuery]) FSZonesQuery

func (OrganizationSlice) FSZones2s

func (os OrganizationSlice) FSZones2s(mods ...bob.Mod[*dialect.SelectQuery]) FSZones2sQuery

func (OrganizationSlice) FieldseekerSyncs

func (os OrganizationSlice) FieldseekerSyncs(mods ...bob.Mod[*dialect.SelectQuery]) FieldseekerSyncsQuery

func (OrganizationSlice) H3Aggregations

func (os OrganizationSlice) H3Aggregations(mods ...bob.Mod[*dialect.SelectQuery]) H3AggregationsQuery

func (OrganizationSlice) HistoryContainerrelates

func (os OrganizationSlice) HistoryContainerrelates(mods ...bob.Mod[*dialect.SelectQuery]) HistoryContainerrelatesQuery

func (OrganizationSlice) HistoryFieldscoutinglogs

func (os OrganizationSlice) HistoryFieldscoutinglogs(mods ...bob.Mod[*dialect.SelectQuery]) HistoryFieldscoutinglogsQuery

func (OrganizationSlice) HistoryHabitatrelates

func (os OrganizationSlice) HistoryHabitatrelates(mods ...bob.Mod[*dialect.SelectQuery]) HistoryHabitatrelatesQuery

func (OrganizationSlice) HistoryInspectionsampledetails

func (os OrganizationSlice) HistoryInspectionsampledetails(mods ...bob.Mod[*dialect.SelectQuery]) HistoryInspectionsampledetailsQuery

func (OrganizationSlice) HistoryInspectionsamples

func (os OrganizationSlice) HistoryInspectionsamples(mods ...bob.Mod[*dialect.SelectQuery]) HistoryInspectionsamplesQuery

func (OrganizationSlice) HistoryLinelocations

func (os OrganizationSlice) HistoryLinelocations(mods ...bob.Mod[*dialect.SelectQuery]) HistoryLinelocationsQuery

func (OrganizationSlice) HistoryLocationtrackings

func (os OrganizationSlice) HistoryLocationtrackings(mods ...bob.Mod[*dialect.SelectQuery]) HistoryLocationtrackingsQuery

func (OrganizationSlice) HistoryMosquitoinspections

func (os OrganizationSlice) HistoryMosquitoinspections(mods ...bob.Mod[*dialect.SelectQuery]) HistoryMosquitoinspectionsQuery

func (OrganizationSlice) HistoryPointlocations

func (os OrganizationSlice) HistoryPointlocations(mods ...bob.Mod[*dialect.SelectQuery]) HistoryPointlocationsQuery

func (OrganizationSlice) HistoryPolygonlocations

func (os OrganizationSlice) HistoryPolygonlocations(mods ...bob.Mod[*dialect.SelectQuery]) HistoryPolygonlocationsQuery

func (OrganizationSlice) HistoryPooldetails

func (os OrganizationSlice) HistoryPooldetails(mods ...bob.Mod[*dialect.SelectQuery]) HistoryPooldetailsQuery

func (OrganizationSlice) HistoryPools

func (os OrganizationSlice) HistoryPools(mods ...bob.Mod[*dialect.SelectQuery]) HistoryPoolsQuery

func (OrganizationSlice) HistoryProposedtreatmentareas

func (os OrganizationSlice) HistoryProposedtreatmentareas(mods ...bob.Mod[*dialect.SelectQuery]) HistoryProposedtreatmentareasQuery

func (OrganizationSlice) HistoryQamosquitoinspections

func (os OrganizationSlice) HistoryQamosquitoinspections(mods ...bob.Mod[*dialect.SelectQuery]) HistoryQamosquitoinspectionsQuery

func (OrganizationSlice) HistoryRodentlocations

func (os OrganizationSlice) HistoryRodentlocations(mods ...bob.Mod[*dialect.SelectQuery]) HistoryRodentlocationsQuery

func (OrganizationSlice) HistorySamplecollections

func (os OrganizationSlice) HistorySamplecollections(mods ...bob.Mod[*dialect.SelectQuery]) HistorySamplecollectionsQuery

func (OrganizationSlice) HistorySamplelocations

func (os OrganizationSlice) HistorySamplelocations(mods ...bob.Mod[*dialect.SelectQuery]) HistorySamplelocationsQuery

func (OrganizationSlice) HistoryServicerequests

func (os OrganizationSlice) HistoryServicerequests(mods ...bob.Mod[*dialect.SelectQuery]) HistoryServicerequestsQuery

func (OrganizationSlice) HistorySpeciesabundances

func (os OrganizationSlice) HistorySpeciesabundances(mods ...bob.Mod[*dialect.SelectQuery]) HistorySpeciesabundancesQuery

func (OrganizationSlice) HistoryStormdrains

func (os OrganizationSlice) HistoryStormdrains(mods ...bob.Mod[*dialect.SelectQuery]) HistoryStormdrainsQuery

func (OrganizationSlice) HistoryTimecards

func (os OrganizationSlice) HistoryTimecards(mods ...bob.Mod[*dialect.SelectQuery]) HistoryTimecardsQuery

func (OrganizationSlice) HistoryTrapdata

func (os OrganizationSlice) HistoryTrapdata(mods ...bob.Mod[*dialect.SelectQuery]) HistoryTrapdataQuery

func (OrganizationSlice) HistoryTraplocations

func (os OrganizationSlice) HistoryTraplocations(mods ...bob.Mod[*dialect.SelectQuery]) HistoryTraplocationsQuery

func (OrganizationSlice) HistoryTreatmentareas

func (os OrganizationSlice) HistoryTreatmentareas(mods ...bob.Mod[*dialect.SelectQuery]) HistoryTreatmentareasQuery

func (OrganizationSlice) HistoryTreatments

func (os OrganizationSlice) HistoryTreatments(mods ...bob.Mod[*dialect.SelectQuery]) HistoryTreatmentsQuery

func (OrganizationSlice) HistoryZones

func (os OrganizationSlice) HistoryZones(mods ...bob.Mod[*dialect.SelectQuery]) HistoryZonesQuery

func (OrganizationSlice) HistoryZones2s

func (os OrganizationSlice) HistoryZones2s(mods ...bob.Mod[*dialect.SelectQuery]) HistoryZones2sQuery

func (OrganizationSlice) LoadFSContainerrelates

func (os OrganizationSlice) LoadFSContainerrelates(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSContainerrelates loads the organization's FSContainerrelates into the .R struct

func (OrganizationSlice) LoadFSFieldscoutinglogs

func (os OrganizationSlice) LoadFSFieldscoutinglogs(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSFieldscoutinglogs loads the organization's FSFieldscoutinglogs into the .R struct

func (OrganizationSlice) LoadFSHabitatrelates

func (os OrganizationSlice) LoadFSHabitatrelates(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSHabitatrelates loads the organization's FSHabitatrelates into the .R struct

func (OrganizationSlice) LoadFSInspectionsampledetails

func (os OrganizationSlice) LoadFSInspectionsampledetails(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSInspectionsampledetails loads the organization's FSInspectionsampledetails into the .R struct

func (OrganizationSlice) LoadFSInspectionsamples

func (os OrganizationSlice) LoadFSInspectionsamples(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSInspectionsamples loads the organization's FSInspectionsamples into the .R struct

func (OrganizationSlice) LoadFSLinelocations

func (os OrganizationSlice) LoadFSLinelocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSLinelocations loads the organization's FSLinelocations into the .R struct

func (OrganizationSlice) LoadFSLocationtrackings

func (os OrganizationSlice) LoadFSLocationtrackings(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSLocationtrackings loads the organization's FSLocationtrackings into the .R struct

func (OrganizationSlice) LoadFSMosquitoinspections

func (os OrganizationSlice) LoadFSMosquitoinspections(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSMosquitoinspections loads the organization's FSMosquitoinspections into the .R struct

func (OrganizationSlice) LoadFSPointlocations

func (os OrganizationSlice) LoadFSPointlocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSPointlocations loads the organization's FSPointlocations into the .R struct

func (OrganizationSlice) LoadFSPolygonlocations

func (os OrganizationSlice) LoadFSPolygonlocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSPolygonlocations loads the organization's FSPolygonlocations into the .R struct

func (OrganizationSlice) LoadFSPooldetails

func (os OrganizationSlice) LoadFSPooldetails(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSPooldetails loads the organization's FSPooldetails into the .R struct

func (OrganizationSlice) LoadFSPools

func (os OrganizationSlice) LoadFSPools(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSPools loads the organization's FSPools into the .R struct

func (OrganizationSlice) LoadFSProposedtreatmentareas

func (os OrganizationSlice) LoadFSProposedtreatmentareas(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSProposedtreatmentareas loads the organization's FSProposedtreatmentareas into the .R struct

func (OrganizationSlice) LoadFSQamosquitoinspections

func (os OrganizationSlice) LoadFSQamosquitoinspections(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSQamosquitoinspections loads the organization's FSQamosquitoinspections into the .R struct

func (OrganizationSlice) LoadFSRodentlocations

func (os OrganizationSlice) LoadFSRodentlocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSRodentlocations loads the organization's FSRodentlocations into the .R struct

func (OrganizationSlice) LoadFSSamplecollections

func (os OrganizationSlice) LoadFSSamplecollections(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSSamplecollections loads the organization's FSSamplecollections into the .R struct

func (OrganizationSlice) LoadFSSamplelocations

func (os OrganizationSlice) LoadFSSamplelocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSSamplelocations loads the organization's FSSamplelocations into the .R struct

func (OrganizationSlice) LoadFSServicerequests

func (os OrganizationSlice) LoadFSServicerequests(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSServicerequests loads the organization's FSServicerequests into the .R struct

func (OrganizationSlice) LoadFSSpeciesabundances

func (os OrganizationSlice) LoadFSSpeciesabundances(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSSpeciesabundances loads the organization's FSSpeciesabundances into the .R struct

func (OrganizationSlice) LoadFSStormdrains

func (os OrganizationSlice) LoadFSStormdrains(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSStormdrains loads the organization's FSStormdrains into the .R struct

func (OrganizationSlice) LoadFSTimecards

func (os OrganizationSlice) LoadFSTimecards(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSTimecards loads the organization's FSTimecards into the .R struct

func (OrganizationSlice) LoadFSTrapdata

func (os OrganizationSlice) LoadFSTrapdata(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSTrapdata loads the organization's FSTrapdata into the .R struct

func (OrganizationSlice) LoadFSTraplocations

func (os OrganizationSlice) LoadFSTraplocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSTraplocations loads the organization's FSTraplocations into the .R struct

func (OrganizationSlice) LoadFSTreatmentareas

func (os OrganizationSlice) LoadFSTreatmentareas(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSTreatmentareas loads the organization's FSTreatmentareas into the .R struct

func (OrganizationSlice) LoadFSTreatments

func (os OrganizationSlice) LoadFSTreatments(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSTreatments loads the organization's FSTreatments into the .R struct

func (OrganizationSlice) LoadFSZones

func (os OrganizationSlice) LoadFSZones(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSZones loads the organization's FSZones into the .R struct

func (OrganizationSlice) LoadFSZones2s

func (os OrganizationSlice) LoadFSZones2s(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFSZones2s loads the organization's FSZones2s into the .R struct

func (OrganizationSlice) LoadFieldseekerSyncs

func (os OrganizationSlice) LoadFieldseekerSyncs(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadFieldseekerSyncs loads the organization's FieldseekerSyncs into the .R struct

func (OrganizationSlice) LoadH3Aggregations

func (os OrganizationSlice) LoadH3Aggregations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadH3Aggregations loads the organization's H3Aggregations into the .R struct

func (OrganizationSlice) LoadHistoryContainerrelates

func (os OrganizationSlice) LoadHistoryContainerrelates(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryContainerrelates loads the organization's HistoryContainerrelates into the .R struct

func (OrganizationSlice) LoadHistoryFieldscoutinglogs

func (os OrganizationSlice) LoadHistoryFieldscoutinglogs(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryFieldscoutinglogs loads the organization's HistoryFieldscoutinglogs into the .R struct

func (OrganizationSlice) LoadHistoryHabitatrelates

func (os OrganizationSlice) LoadHistoryHabitatrelates(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryHabitatrelates loads the organization's HistoryHabitatrelates into the .R struct

func (OrganizationSlice) LoadHistoryInspectionsampledetails

func (os OrganizationSlice) LoadHistoryInspectionsampledetails(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryInspectionsampledetails loads the organization's HistoryInspectionsampledetails into the .R struct

func (OrganizationSlice) LoadHistoryInspectionsamples

func (os OrganizationSlice) LoadHistoryInspectionsamples(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryInspectionsamples loads the organization's HistoryInspectionsamples into the .R struct

func (OrganizationSlice) LoadHistoryLinelocations

func (os OrganizationSlice) LoadHistoryLinelocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryLinelocations loads the organization's HistoryLinelocations into the .R struct

func (OrganizationSlice) LoadHistoryLocationtrackings

func (os OrganizationSlice) LoadHistoryLocationtrackings(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryLocationtrackings loads the organization's HistoryLocationtrackings into the .R struct

func (OrganizationSlice) LoadHistoryMosquitoinspections

func (os OrganizationSlice) LoadHistoryMosquitoinspections(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryMosquitoinspections loads the organization's HistoryMosquitoinspections into the .R struct

func (OrganizationSlice) LoadHistoryPointlocations

func (os OrganizationSlice) LoadHistoryPointlocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryPointlocations loads the organization's HistoryPointlocations into the .R struct

func (OrganizationSlice) LoadHistoryPolygonlocations

func (os OrganizationSlice) LoadHistoryPolygonlocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryPolygonlocations loads the organization's HistoryPolygonlocations into the .R struct

func (OrganizationSlice) LoadHistoryPooldetails

func (os OrganizationSlice) LoadHistoryPooldetails(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryPooldetails loads the organization's HistoryPooldetails into the .R struct

func (OrganizationSlice) LoadHistoryPools

func (os OrganizationSlice) LoadHistoryPools(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryPools loads the organization's HistoryPools into the .R struct

func (OrganizationSlice) LoadHistoryProposedtreatmentareas

func (os OrganizationSlice) LoadHistoryProposedtreatmentareas(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryProposedtreatmentareas loads the organization's HistoryProposedtreatmentareas into the .R struct

func (OrganizationSlice) LoadHistoryQamosquitoinspections

func (os OrganizationSlice) LoadHistoryQamosquitoinspections(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryQamosquitoinspections loads the organization's HistoryQamosquitoinspections into the .R struct

func (OrganizationSlice) LoadHistoryRodentlocations

func (os OrganizationSlice) LoadHistoryRodentlocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryRodentlocations loads the organization's HistoryRodentlocations into the .R struct

func (OrganizationSlice) LoadHistorySamplecollections

func (os OrganizationSlice) LoadHistorySamplecollections(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistorySamplecollections loads the organization's HistorySamplecollections into the .R struct

func (OrganizationSlice) LoadHistorySamplelocations

func (os OrganizationSlice) LoadHistorySamplelocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistorySamplelocations loads the organization's HistorySamplelocations into the .R struct

func (OrganizationSlice) LoadHistoryServicerequests

func (os OrganizationSlice) LoadHistoryServicerequests(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryServicerequests loads the organization's HistoryServicerequests into the .R struct

func (OrganizationSlice) LoadHistorySpeciesabundances

func (os OrganizationSlice) LoadHistorySpeciesabundances(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistorySpeciesabundances loads the organization's HistorySpeciesabundances into the .R struct

func (OrganizationSlice) LoadHistoryStormdrains

func (os OrganizationSlice) LoadHistoryStormdrains(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryStormdrains loads the organization's HistoryStormdrains into the .R struct

func (OrganizationSlice) LoadHistoryTimecards

func (os OrganizationSlice) LoadHistoryTimecards(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryTimecards loads the organization's HistoryTimecards into the .R struct

func (OrganizationSlice) LoadHistoryTrapdata

func (os OrganizationSlice) LoadHistoryTrapdata(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryTrapdata loads the organization's HistoryTrapdata into the .R struct

func (OrganizationSlice) LoadHistoryTraplocations

func (os OrganizationSlice) LoadHistoryTraplocations(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryTraplocations loads the organization's HistoryTraplocations into the .R struct

func (OrganizationSlice) LoadHistoryTreatmentareas

func (os OrganizationSlice) LoadHistoryTreatmentareas(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryTreatmentareas loads the organization's HistoryTreatmentareas into the .R struct

func (OrganizationSlice) LoadHistoryTreatments

func (os OrganizationSlice) LoadHistoryTreatments(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryTreatments loads the organization's HistoryTreatments into the .R struct

func (OrganizationSlice) LoadHistoryZones

func (os OrganizationSlice) LoadHistoryZones(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryZones loads the organization's HistoryZones into the .R struct

func (OrganizationSlice) LoadHistoryZones2s

func (os OrganizationSlice) LoadHistoryZones2s(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadHistoryZones2s loads the organization's HistoryZones2s into the .R struct

func (OrganizationSlice) LoadUser

func (os OrganizationSlice) LoadUser(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadUser loads the organization's User into the .R struct

func (OrganizationSlice) ReloadAll

func (o OrganizationSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (OrganizationSlice) UpdateAll

func (o OrganizationSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals OrganizationSetter) error

func (OrganizationSlice) UpdateMod

func (o OrganizationSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

func (OrganizationSlice) User

type OrganizationsQuery

type OrganizationsQuery = *psql.ViewQuery[*Organization, OrganizationSlice]

OrganizationsQuery is a query on the organization table

type RasterColumn

type RasterColumn struct {
	RTableCatalog   null.Val[string]          `db:"r_table_catalog" `
	RTableSchema    null.Val[string]          `db:"r_table_schema" `
	RTableName      null.Val[string]          `db:"r_table_name" `
	RRasterColumn   null.Val[string]          `db:"r_raster_column" `
	Srid            null.Val[int32]           `db:"srid" `
	ScaleX          null.Val[float64]         `db:"scale_x" `
	ScaleY          null.Val[float64]         `db:"scale_y" `
	BlocksizeX      null.Val[int32]           `db:"blocksize_x" `
	BlocksizeY      null.Val[int32]           `db:"blocksize_y" `
	SameAlignment   null.Val[bool]            `db:"same_alignment" `
	RegularBlocking null.Val[bool]            `db:"regular_blocking" `
	NumBands        null.Val[int32]           `db:"num_bands" `
	PixelTypes      null.Val[pq.StringArray]  `db:"pixel_types" `
	NodataValues    null.Val[pq.Float64Array] `db:"nodata_values" `
	OutDB           null.Val[pq.BoolArray]    `db:"out_db" `
	Extent          null.Val[string]          `db:"extent" `
	SpatialIndex    null.Val[bool]            `db:"spatial_index" `
}

RasterColumn is an object representing the database table.

func (*RasterColumn) AfterQueryHook

func (o *RasterColumn) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after RasterColumn is retrieved from the database

type RasterColumnSlice

type RasterColumnSlice []*RasterColumn

RasterColumnSlice is an alias for a slice of pointers to RasterColumn. This should almost always be used instead of []*RasterColumn.

func (RasterColumnSlice) AfterQueryHook

func (o RasterColumnSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after RasterColumnSlice is retrieved from the database

type RasterColumnsQuery

type RasterColumnsQuery = *psql.ViewQuery[*RasterColumn, RasterColumnSlice]

RasterColumnsQuery is a query on the raster_columns view

type RasterOverview

type RasterOverview struct {
	OTableCatalog  null.Val[string] `db:"o_table_catalog" `
	OTableSchema   null.Val[string] `db:"o_table_schema" `
	OTableName     null.Val[string] `db:"o_table_name" `
	ORasterColumn  null.Val[string] `db:"o_raster_column" `
	RTableCatalog  null.Val[string] `db:"r_table_catalog" `
	RTableSchema   null.Val[string] `db:"r_table_schema" `
	RTableName     null.Val[string] `db:"r_table_name" `
	RRasterColumn  null.Val[string] `db:"r_raster_column" `
	OverviewFactor null.Val[int32]  `db:"overview_factor" `
}

RasterOverview is an object representing the database table.

func (*RasterOverview) AfterQueryHook

func (o *RasterOverview) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after RasterOverview is retrieved from the database

type RasterOverviewSlice

type RasterOverviewSlice []*RasterOverview

RasterOverviewSlice is an alias for a slice of pointers to RasterOverview. This should almost always be used instead of []*RasterOverview.

func (RasterOverviewSlice) AfterQueryHook

func (o RasterOverviewSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after RasterOverviewSlice is retrieved from the database

type RasterOverviewsQuery

type RasterOverviewsQuery = *psql.ViewQuery[*RasterOverview, RasterOverviewSlice]

RasterOverviewsQuery is a query on the raster_overviews view

type Session

type Session struct {
	Token  string    `db:"token,pk" `
	Data   []byte    `db:"data" `
	Expiry time.Time `db:"expiry" `
}

Session is an object representing the database table.

func FindSession

func FindSession(ctx context.Context, exec bob.Executor, TokenPK string, cols ...string) (*Session, error)

FindSession retrieves a single record by primary key If cols is empty Find will return all columns.

func (*Session) AfterQueryHook

func (o *Session) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after Session is retrieved from the database

func (*Session) Delete

func (o *Session) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single Session record with an executor

func (*Session) Reload

func (o *Session) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the Session using the executor

func (*Session) Update

func (o *Session) Update(ctx context.Context, exec bob.Executor, s *SessionSetter) error

Update uses an executor to update the Session

type SessionSetter

type SessionSetter struct {
	Token  omit.Val[string]    `db:"token,pk" `
	Data   omit.Val[[]byte]    `db:"data" `
	Expiry omit.Val[time.Time] `db:"expiry" `
}

SessionSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*SessionSetter) Apply

func (s *SessionSetter) Apply(q *dialect.InsertQuery)

func (SessionSetter) Expressions

func (s SessionSetter) Expressions(prefix ...string) []bob.Expression

func (SessionSetter) Overwrite

func (s SessionSetter) Overwrite(t *Session)

func (SessionSetter) SetColumns

func (s SessionSetter) SetColumns() []string

func (SessionSetter) UpdateMod

func (s SessionSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type SessionSlice

type SessionSlice []*Session

SessionSlice is an alias for a slice of pointers to Session. This should almost always be used instead of []*Session.

func (SessionSlice) AfterQueryHook

func (o SessionSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after SessionSlice is retrieved from the database

func (SessionSlice) DeleteAll

func (o SessionSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (SessionSlice) DeleteMod

func (o SessionSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (SessionSlice) ReloadAll

func (o SessionSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (SessionSlice) UpdateAll

func (o SessionSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals SessionSetter) error

func (SessionSlice) UpdateMod

func (o SessionSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type SessionsQuery

type SessionsQuery = *psql.ViewQuery[*Session, SessionSlice]

SessionsQuery is a query on the sessions table

type SpatialRefSy

type SpatialRefSy struct {
	Srid      int32            `db:"srid,pk" `
	AuthName  null.Val[string] `db:"auth_name" `
	AuthSrid  null.Val[int32]  `db:"auth_srid" `
	Srtext    null.Val[string] `db:"srtext" `
	Proj4text null.Val[string] `db:"proj4text" `
}

SpatialRefSy is an object representing the database table.

func FindSpatialRefSy

func FindSpatialRefSy(ctx context.Context, exec bob.Executor, SridPK int32, cols ...string) (*SpatialRefSy, error)

FindSpatialRefSy retrieves a single record by primary key If cols is empty Find will return all columns.

func (*SpatialRefSy) AfterQueryHook

func (o *SpatialRefSy) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after SpatialRefSy is retrieved from the database

func (*SpatialRefSy) Delete

func (o *SpatialRefSy) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single SpatialRefSy record with an executor

func (*SpatialRefSy) Reload

func (o *SpatialRefSy) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the SpatialRefSy using the executor

func (*SpatialRefSy) Update

func (o *SpatialRefSy) Update(ctx context.Context, exec bob.Executor, s *SpatialRefSySetter) error

Update uses an executor to update the SpatialRefSy

type SpatialRefSySetter

type SpatialRefSySetter struct {
	Srid      omit.Val[int32]      `db:"srid,pk" `
	AuthName  omitnull.Val[string] `db:"auth_name" `
	AuthSrid  omitnull.Val[int32]  `db:"auth_srid" `
	Srtext    omitnull.Val[string] `db:"srtext" `
	Proj4text omitnull.Val[string] `db:"proj4text" `
}

SpatialRefSySetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*SpatialRefSySetter) Apply

func (s *SpatialRefSySetter) Apply(q *dialect.InsertQuery)

func (SpatialRefSySetter) Expressions

func (s SpatialRefSySetter) Expressions(prefix ...string) []bob.Expression

func (SpatialRefSySetter) Overwrite

func (s SpatialRefSySetter) Overwrite(t *SpatialRefSy)

func (SpatialRefSySetter) SetColumns

func (s SpatialRefSySetter) SetColumns() []string

func (SpatialRefSySetter) UpdateMod

func (s SpatialRefSySetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type SpatialRefSySlice

type SpatialRefSySlice []*SpatialRefSy

SpatialRefSySlice is an alias for a slice of pointers to SpatialRefSy. This should almost always be used instead of []*SpatialRefSy.

func (SpatialRefSySlice) AfterQueryHook

func (o SpatialRefSySlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after SpatialRefSySlice is retrieved from the database

func (SpatialRefSySlice) DeleteAll

func (o SpatialRefSySlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (SpatialRefSySlice) DeleteMod

func (o SpatialRefSySlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (SpatialRefSySlice) ReloadAll

func (o SpatialRefSySlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (SpatialRefSySlice) UpdateAll

func (o SpatialRefSySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals SpatialRefSySetter) error

func (SpatialRefSySlice) UpdateMod

func (o SpatialRefSySlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

type SpatialRefSysQuery

type SpatialRefSysQuery = *psql.ViewQuery[*SpatialRefSy, SpatialRefSySlice]

SpatialRefSysQuery is a query on the spatial_ref_sys table

type User

type User struct {
	ID                        int32                             `db:"id,pk" `
	ArcgisAccessToken         null.Val[string]                  `db:"arcgis_access_token" `
	ArcgisLicense             null.Val[enums.Arcgislicensetype] `db:"arcgis_license" `
	ArcgisRefreshToken        null.Val[string]                  `db:"arcgis_refresh_token" `
	ArcgisRefreshTokenExpires null.Val[time.Time]               `db:"arcgis_refresh_token_expires" `
	ArcgisRole                null.Val[string]                  `db:"arcgis_role" `
	DisplayName               string                            `db:"display_name" `
	Email                     null.Val[string]                  `db:"email" `
	OrganizationID            null.Val[int32]                   `db:"organization_id" `
	Username                  string                            `db:"username" `
	PasswordHashType          enums.Hashtype                    `db:"password_hash_type" `
	PasswordHash              string                            `db:"password_hash" `

	R userR `db:"-" `
}

User is an object representing the database table.

func FindUser

func FindUser(ctx context.Context, exec bob.Executor, IDPK int32, cols ...string) (*User, error)

FindUser retrieves a single record by primary key If cols is empty Find will return all columns.

func (*User) AfterQueryHook

func (o *User) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after User is retrieved from the database

func (*User) AttachOrganization

func (user0 *User) AttachOrganization(ctx context.Context, exec bob.Executor, organization1 *Organization) error

func (*User) AttachUserNotifications

func (user0 *User) AttachUserNotifications(ctx context.Context, exec bob.Executor, related ...*Notification) error

func (*User) AttachUserOauthTokens

func (user0 *User) AttachUserOauthTokens(ctx context.Context, exec bob.Executor, related ...*OauthToken) error

func (*User) Delete

func (o *User) Delete(ctx context.Context, exec bob.Executor) error

Delete deletes a single User record with an executor

func (*User) InsertOrganization

func (user0 *User) InsertOrganization(ctx context.Context, exec bob.Executor, related *OrganizationSetter) error

func (*User) InsertUserNotifications

func (user0 *User) InsertUserNotifications(ctx context.Context, exec bob.Executor, related ...*NotificationSetter) error

func (*User) InsertUserOauthTokens

func (user0 *User) InsertUserOauthTokens(ctx context.Context, exec bob.Executor, related ...*OauthTokenSetter) error

func (*User) LoadOrganization

func (o *User) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the user's Organization into the .R struct

func (*User) LoadUserNotifications

func (o *User) LoadUserNotifications(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadUserNotifications loads the user's UserNotifications into the .R struct

func (*User) LoadUserOauthTokens

func (o *User) LoadUserOauthTokens(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadUserOauthTokens loads the user's UserOauthTokens into the .R struct

func (*User) Organization

func (o *User) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

Organization starts a query for related objects on organization

func (*User) Preload

func (o *User) Preload(name string, retrieved any) error

func (*User) Reload

func (o *User) Reload(ctx context.Context, exec bob.Executor) error

Reload refreshes the User using the executor

func (*User) Update

func (o *User) Update(ctx context.Context, exec bob.Executor, s *UserSetter) error

Update uses an executor to update the User

func (*User) UserNotifications

func (o *User) UserNotifications(mods ...bob.Mod[*dialect.SelectQuery]) NotificationsQuery

UserNotifications starts a query for related objects on notification

func (*User) UserOauthTokens

func (o *User) UserOauthTokens(mods ...bob.Mod[*dialect.SelectQuery]) OauthTokensQuery

UserOauthTokens starts a query for related objects on oauth_token

type UserSetter

type UserSetter struct {
	ID                        omit.Val[int32]                       `db:"id,pk" `
	ArcgisAccessToken         omitnull.Val[string]                  `db:"arcgis_access_token" `
	ArcgisLicense             omitnull.Val[enums.Arcgislicensetype] `db:"arcgis_license" `
	ArcgisRefreshToken        omitnull.Val[string]                  `db:"arcgis_refresh_token" `
	ArcgisRefreshTokenExpires omitnull.Val[time.Time]               `db:"arcgis_refresh_token_expires" `
	ArcgisRole                omitnull.Val[string]                  `db:"arcgis_role" `
	DisplayName               omit.Val[string]                      `db:"display_name" `
	Email                     omitnull.Val[string]                  `db:"email" `
	OrganizationID            omitnull.Val[int32]                   `db:"organization_id" `
	Username                  omit.Val[string]                      `db:"username" `
	PasswordHashType          omit.Val[enums.Hashtype]              `db:"password_hash_type" `
	PasswordHash              omit.Val[string]                      `db:"password_hash" `
}

UserSetter is used for insert/upsert/update operations All values are optional, and do not have to be set Generated columns are not included

func (*UserSetter) Apply

func (s *UserSetter) Apply(q *dialect.InsertQuery)

func (UserSetter) Expressions

func (s UserSetter) Expressions(prefix ...string) []bob.Expression

func (UserSetter) Overwrite

func (s UserSetter) Overwrite(t *User)

func (UserSetter) SetColumns

func (s UserSetter) SetColumns() []string

func (UserSetter) UpdateMod

func (s UserSetter) UpdateMod() bob.Mod[*dialect.UpdateQuery]

type UserSlice

type UserSlice []*User

UserSlice is an alias for a slice of pointers to User. This should almost always be used instead of []*User.

func (UserSlice) AfterQueryHook

func (o UserSlice) AfterQueryHook(ctx context.Context, exec bob.Executor, queryType bob.QueryType) error

AfterQueryHook is called after UserSlice is retrieved from the database

func (UserSlice) DeleteAll

func (o UserSlice) DeleteAll(ctx context.Context, exec bob.Executor) error

func (UserSlice) DeleteMod

func (o UserSlice) DeleteMod() bob.Mod[*dialect.DeleteQuery]

DeleteMod modifies an delete query with "WHERE primary_key IN (o...)"

func (UserSlice) LoadOrganization

func (os UserSlice) LoadOrganization(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadOrganization loads the user's Organization into the .R struct

func (UserSlice) LoadUserNotifications

func (os UserSlice) LoadUserNotifications(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadUserNotifications loads the user's UserNotifications into the .R struct

func (UserSlice) LoadUserOauthTokens

func (os UserSlice) LoadUserOauthTokens(ctx context.Context, exec bob.Executor, mods ...bob.Mod[*dialect.SelectQuery]) error

LoadUserOauthTokens loads the user's UserOauthTokens into the .R struct

func (UserSlice) Organization

func (os UserSlice) Organization(mods ...bob.Mod[*dialect.SelectQuery]) OrganizationsQuery

func (UserSlice) ReloadAll

func (o UserSlice) ReloadAll(ctx context.Context, exec bob.Executor) error

func (UserSlice) UpdateAll

func (o UserSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals UserSetter) error

func (UserSlice) UpdateMod

func (o UserSlice) UpdateMod() bob.Mod[*dialect.UpdateQuery]

UpdateMod modifies an update query with "WHERE primary_key IN (o...)"

func (UserSlice) UserNotifications

func (os UserSlice) UserNotifications(mods ...bob.Mod[*dialect.SelectQuery]) NotificationsQuery

func (UserSlice) UserOauthTokens

func (os UserSlice) UserOauthTokens(mods ...bob.Mod[*dialect.SelectQuery]) OauthTokensQuery

type UsersQuery

type UsersQuery = *psql.ViewQuery[*User, UserSlice]

UsersQuery is a query on the user_ table

Source Files

Jump to

Keyboard shortcuts

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