models

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: AGPL-3.0 Imports: 26 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 FieldseekerContainerrelates = psql.NewTablex[*FieldseekerContainerrelate, FieldseekerContainerrelateSlice, *FieldseekerContainerrelateSetter]("fieldseeker", "containerrelate", buildFieldseekerContainerrelateColumns("fieldseeker.containerrelate"))

FieldseekerContainerrelates contains methods to work with the containerrelate table

View Source
var FieldseekerFieldscoutinglogs = psql.NewTablex[*FieldseekerFieldscoutinglog, FieldseekerFieldscoutinglogSlice, *FieldseekerFieldscoutinglogSetter]("fieldseeker", "fieldscoutinglog", buildFieldseekerFieldscoutinglogColumns("fieldseeker.fieldscoutinglog"))

FieldseekerFieldscoutinglogs contains methods to work with the fieldscoutinglog table

View Source
var FieldseekerHabitatrelates = psql.NewTablex[*FieldseekerHabitatrelate, FieldseekerHabitatrelateSlice, *FieldseekerHabitatrelateSetter]("fieldseeker", "habitatrelate", buildFieldseekerHabitatrelateColumns("fieldseeker.habitatrelate"))

FieldseekerHabitatrelates contains methods to work with the habitatrelate table

View Source
var FieldseekerInspectionsampledetails = psql.NewTablex[*FieldseekerInspectionsampledetail, FieldseekerInspectionsampledetailSlice, *FieldseekerInspectionsampledetailSetter]("fieldseeker", "inspectionsampledetail", buildFieldseekerInspectionsampledetailColumns("fieldseeker.inspectionsampledetail"))

FieldseekerInspectionsampledetails contains methods to work with the inspectionsampledetail table

View Source
var FieldseekerInspectionsamples = psql.NewTablex[*FieldseekerInspectionsample, FieldseekerInspectionsampleSlice, *FieldseekerInspectionsampleSetter]("fieldseeker", "inspectionsample", buildFieldseekerInspectionsampleColumns("fieldseeker.inspectionsample"))

FieldseekerInspectionsamples contains methods to work with the inspectionsample table

View Source
var FieldseekerLinelocations = psql.NewTablex[*FieldseekerLinelocation, FieldseekerLinelocationSlice, *FieldseekerLinelocationSetter]("fieldseeker", "linelocation", buildFieldseekerLinelocationColumns("fieldseeker.linelocation"))

FieldseekerLinelocations contains methods to work with the linelocation table

View Source
var FieldseekerLocationtrackings = psql.NewTablex[*FieldseekerLocationtracking, FieldseekerLocationtrackingSlice, *FieldseekerLocationtrackingSetter]("fieldseeker", "locationtracking", buildFieldseekerLocationtrackingColumns("fieldseeker.locationtracking"))

FieldseekerLocationtrackings contains methods to work with the locationtracking table

View Source
var FieldseekerMosquitoinspections = psql.NewTablex[*FieldseekerMosquitoinspection, FieldseekerMosquitoinspectionSlice, *FieldseekerMosquitoinspectionSetter]("fieldseeker", "mosquitoinspection", buildFieldseekerMosquitoinspectionColumns("fieldseeker.mosquitoinspection"))

FieldseekerMosquitoinspections contains methods to work with the mosquitoinspection table

View Source
var FieldseekerPointlocations = psql.NewTablex[*FieldseekerPointlocation, FieldseekerPointlocationSlice, *FieldseekerPointlocationSetter]("fieldseeker", "pointlocation", buildFieldseekerPointlocationColumns("fieldseeker.pointlocation"))

FieldseekerPointlocations contains methods to work with the pointlocation table

View Source
var FieldseekerPolygonlocations = psql.NewTablex[*FieldseekerPolygonlocation, FieldseekerPolygonlocationSlice, *FieldseekerPolygonlocationSetter]("fieldseeker", "polygonlocation", buildFieldseekerPolygonlocationColumns("fieldseeker.polygonlocation"))

FieldseekerPolygonlocations contains methods to work with the polygonlocation table

View Source
var FieldseekerPooldetails = psql.NewTablex[*FieldseekerPooldetail, FieldseekerPooldetailSlice, *FieldseekerPooldetailSetter]("fieldseeker", "pooldetail", buildFieldseekerPooldetailColumns("fieldseeker.pooldetail"))

FieldseekerPooldetails contains methods to work with the pooldetail table

View Source
var FieldseekerPools = psql.NewTablex[*FieldseekerPool, FieldseekerPoolSlice, *FieldseekerPoolSetter]("fieldseeker", "pool", buildFieldseekerPoolColumns("fieldseeker.pool"))

FieldseekerPools contains methods to work with the pool table

View Source
var FieldseekerProposedtreatmentareas = psql.NewTablex[*FieldseekerProposedtreatmentarea, FieldseekerProposedtreatmentareaSlice, *FieldseekerProposedtreatmentareaSetter]("fieldseeker", "proposedtreatmentarea", buildFieldseekerProposedtreatmentareaColumns("fieldseeker.proposedtreatmentarea"))

FieldseekerProposedtreatmentareas contains methods to work with the proposedtreatmentarea table

View Source
var FieldseekerQamosquitoinspections = psql.NewTablex[*FieldseekerQamosquitoinspection, FieldseekerQamosquitoinspectionSlice, *FieldseekerQamosquitoinspectionSetter]("fieldseeker", "qamosquitoinspection", buildFieldseekerQamosquitoinspectionColumns("fieldseeker.qamosquitoinspection"))

FieldseekerQamosquitoinspections contains methods to work with the qamosquitoinspection table

View Source
var FieldseekerRodentlocations = psql.NewTablex[*FieldseekerRodentlocation, FieldseekerRodentlocationSlice, *FieldseekerRodentlocationSetter]("fieldseeker", "rodentlocation", buildFieldseekerRodentlocationColumns("fieldseeker.rodentlocation"))

FieldseekerRodentlocations contains methods to work with the rodentlocation table

View Source
var FieldseekerSamplecollections = psql.NewTablex[*FieldseekerSamplecollection, FieldseekerSamplecollectionSlice, *FieldseekerSamplecollectionSetter]("fieldseeker", "samplecollection", buildFieldseekerSamplecollectionColumns("fieldseeker.samplecollection"))

FieldseekerSamplecollections contains methods to work with the samplecollection table

View Source
var FieldseekerSamplelocations = psql.NewTablex[*FieldseekerSamplelocation, FieldseekerSamplelocationSlice, *FieldseekerSamplelocationSetter]("fieldseeker", "samplelocation", buildFieldseekerSamplelocationColumns("fieldseeker.samplelocation"))

FieldseekerSamplelocations contains methods to work with the samplelocation table

View Source
var FieldseekerServicerequests = psql.NewTablex[*FieldseekerServicerequest, FieldseekerServicerequestSlice, *FieldseekerServicerequestSetter]("fieldseeker", "servicerequest", buildFieldseekerServicerequestColumns("fieldseeker.servicerequest"))

FieldseekerServicerequests contains methods to work with the servicerequest table

View Source
var FieldseekerSpeciesabundances = psql.NewTablex[*FieldseekerSpeciesabundance, FieldseekerSpeciesabundanceSlice, *FieldseekerSpeciesabundanceSetter]("fieldseeker", "speciesabundance", buildFieldseekerSpeciesabundanceColumns("fieldseeker.speciesabundance"))

FieldseekerSpeciesabundances contains methods to work with the speciesabundance table

View Source
var FieldseekerStormdrains = psql.NewTablex[*FieldseekerStormdrain, FieldseekerStormdrainSlice, *FieldseekerStormdrainSetter]("fieldseeker", "stormdrain", buildFieldseekerStormdrainColumns("fieldseeker.stormdrain"))

FieldseekerStormdrains contains methods to work with the stormdrain 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 FieldseekerTimecards = psql.NewTablex[*FieldseekerTimecard, FieldseekerTimecardSlice, *FieldseekerTimecardSetter]("fieldseeker", "timecard", buildFieldseekerTimecardColumns("fieldseeker.timecard"))

FieldseekerTimecards contains methods to work with the timecard table

View Source
var FieldseekerTrapdata = psql.NewTablex[*FieldseekerTrapdatum, FieldseekerTrapdatumSlice, *FieldseekerTrapdatumSetter]("fieldseeker", "trapdata", buildFieldseekerTrapdatumColumns("fieldseeker.trapdata"))

FieldseekerTrapdata contains methods to work with the trapdata table

View Source
var FieldseekerTraplocations = psql.NewTablex[*FieldseekerTraplocation, FieldseekerTraplocationSlice, *FieldseekerTraplocationSetter]("fieldseeker", "traplocation", buildFieldseekerTraplocationColumns("fieldseeker.traplocation"))

FieldseekerTraplocations contains methods to work with the traplocation table

View Source
var FieldseekerTreatmentareas = psql.NewTablex[*FieldseekerTreatmentarea, FieldseekerTreatmentareaSlice, *FieldseekerTreatmentareaSetter]("fieldseeker", "treatmentarea", buildFieldseekerTreatmentareaColumns("fieldseeker.treatmentarea"))

FieldseekerTreatmentareas contains methods to work with the treatmentarea table

View Source
var FieldseekerTreatments = psql.NewTablex[*FieldseekerTreatment, FieldseekerTreatmentSlice, *FieldseekerTreatmentSetter]("fieldseeker", "treatment", buildFieldseekerTreatmentColumns("fieldseeker.treatment"))

FieldseekerTreatments contains methods to work with the treatment table

View Source
var FieldseekerZones = psql.NewTablex[*FieldseekerZone, FieldseekerZoneSlice, *FieldseekerZoneSetter]("fieldseeker", "zones", buildFieldseekerZoneColumns("fieldseeker.zones"))

FieldseekerZones contains methods to work with the zones table

View Source
var FieldseekerZones2s = psql.NewTablex[*FieldseekerZones2, FieldseekerZones2Slice, *FieldseekerZones2Setter]("fieldseeker", "zones2", buildFieldseekerZones2Columns("fieldseeker.zones2"))

FieldseekerZones2s contains methods to work with the zones2 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 NoteAudioBreadcrumbs = psql.NewTablex[*NoteAudioBreadcrumb, NoteAudioBreadcrumbSlice, *NoteAudioBreadcrumbSetter]("", "note_audio_breadcrumb", buildNoteAudioBreadcrumbColumns("note_audio_breadcrumb"))

NoteAudioBreadcrumbs contains methods to work with the note_audio_breadcrumb table

View Source
var NoteAudioData = psql.NewTablex[*NoteAudioDatum, NoteAudioDatumSlice, *NoteAudioDatumSetter]("", "note_audio_data", buildNoteAudioDatumColumns("note_audio_data"))

NoteAudioData contains methods to work with the note_audio_data table

View Source
var NoteAudios = psql.NewTablex[*NoteAudio, NoteAudioSlice, *NoteAudioSetter]("", "note_audio", buildNoteAudioColumns("note_audio"))

NoteAudios contains methods to work with the note_audio table

View Source
var NoteImageBreadcrumbs = psql.NewTablex[*NoteImageBreadcrumb, NoteImageBreadcrumbSlice, *NoteImageBreadcrumbSetter]("", "note_image_breadcrumb", buildNoteImageBreadcrumbColumns("note_image_breadcrumb"))

NoteImageBreadcrumbs contains methods to work with the note_image_breadcrumb table

View Source
var NoteImageData = psql.NewTablex[*NoteImageDatum, NoteImageDatumSlice, *NoteImageDatumSetter]("", "note_image_data", buildNoteImageDatumColumns("note_image_data"))

NoteImageData contains methods to work with the note_image_data table

View Source
var NoteImages = psql.NewTablex[*NoteImage, NoteImageSlice, *NoteImageSetter]("", "note_image", buildNoteImageColumns("note_image"))

NoteImages contains methods to work with the note_image 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 FieldseekerContainerrelateExists

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

FieldseekerContainerrelateExists checks the presence of a single record by primary key

func FieldseekerFieldscoutinglogExists

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

FieldseekerFieldscoutinglogExists checks the presence of a single record by primary key

func FieldseekerHabitatrelateExists

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

FieldseekerHabitatrelateExists checks the presence of a single record by primary key

func FieldseekerInspectionsampleExists

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

FieldseekerInspectionsampleExists checks the presence of a single record by primary key

func FieldseekerInspectionsampledetailExists

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

FieldseekerInspectionsampledetailExists checks the presence of a single record by primary key

func FieldseekerLinelocationExists

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

FieldseekerLinelocationExists checks the presence of a single record by primary key

func FieldseekerLocationtrackingExists

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

FieldseekerLocationtrackingExists checks the presence of a single record by primary key

func FieldseekerMosquitoinspectionExists

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

FieldseekerMosquitoinspectionExists checks the presence of a single record by primary key

func FieldseekerPointlocationExists

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

FieldseekerPointlocationExists checks the presence of a single record by primary key

func FieldseekerPolygonlocationExists

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

FieldseekerPolygonlocationExists checks the presence of a single record by primary key

func FieldseekerPoolExists

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

FieldseekerPoolExists checks the presence of a single record by primary key

func FieldseekerPooldetailExists

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

FieldseekerPooldetailExists checks the presence of a single record by primary key

func FieldseekerProposedtreatmentareaExists

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

FieldseekerProposedtreatmentareaExists checks the presence of a single record by primary key

func FieldseekerQamosquitoinspectionExists

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

FieldseekerQamosquitoinspectionExists checks the presence of a single record by primary key

func FieldseekerRodentlocationExists

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

FieldseekerRodentlocationExists checks the presence of a single record by primary key

func FieldseekerSamplecollectionExists

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

FieldseekerSamplecollectionExists checks the presence of a single record by primary key

func FieldseekerSamplelocationExists

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

FieldseekerSamplelocationExists checks the presence of a single record by primary key

func FieldseekerServicerequestExists

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

FieldseekerServicerequestExists checks the presence of a single record by primary key

func FieldseekerSpeciesabundanceExists

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

FieldseekerSpeciesabundanceExists checks the presence of a single record by primary key

func FieldseekerStormdrainExists

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

FieldseekerStormdrainExists 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 FieldseekerTimecardExists

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

FieldseekerTimecardExists checks the presence of a single record by primary key

func FieldseekerTrapdatumExists

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

FieldseekerTrapdatumExists checks the presence of a single record by primary key

func FieldseekerTraplocationExists

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

FieldseekerTraplocationExists checks the presence of a single record by primary key

func FieldseekerTreatmentExists

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

FieldseekerTreatmentExists checks the presence of a single record by primary key

func FieldseekerTreatmentareaExists

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

FieldseekerTreatmentareaExists checks the presence of a single record by primary key

func FieldseekerZoneExists

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

FieldseekerZoneExists checks the presence of a single record by primary key

func FieldseekerZones2Exists

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

FieldseekerZones2Exists 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 NoteAudioBreadcrumbExists added in v0.0.6

func NoteAudioBreadcrumbExists(ctx context.Context, exec bob.Executor, NoteAudioVersionPK int32, NoteAudioUUIDPK uuid.UUID, PositionPK int32) (bool, error)

NoteAudioBreadcrumbExists checks the presence of a single record by primary key

func NoteAudioDatumExists added in v0.0.6

func NoteAudioDatumExists(ctx context.Context, exec bob.Executor, NoteAudioVersionPK int32, NoteAudioUUIDPK uuid.UUID, TypePK enums.Audiodatatype) (bool, error)

NoteAudioDatumExists checks the presence of a single record by primary key

func NoteAudioExists added in v0.0.6

func NoteAudioExists(ctx context.Context, exec bob.Executor, VersionPK int32, UUIDPK uuid.UUID) (bool, error)

NoteAudioExists checks the presence of a single record by primary key

func NoteImageBreadcrumbExists added in v0.0.6

func NoteImageBreadcrumbExists(ctx context.Context, exec bob.Executor, NoteImageVersionPK int32, NoteImageUUIDPK uuid.UUID, PositionPK int32) (bool, error)

NoteImageBreadcrumbExists checks the presence of a single record by primary key

func NoteImageDatumExists added in v0.0.6

func NoteImageDatumExists(ctx context.Context, exec bob.Executor, NoteImageVersionPK int32, NoteImageUUIDPK uuid.UUID, TypePK enums.Audiodatatype) (bool, error)

NoteImageDatumExists checks the presence of a single record by primary key

func NoteImageExists added in v0.0.6

func NoteImageExists(ctx context.Context, exec bob.Executor, VersionPK int32, UUIDPK uuid.UUID) (bool, error)

NoteImageExists 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 {
	FieldseekerContainerrelates        fieldseekerContainerrelateWhere[Q]
	FieldseekerFieldscoutinglogs       fieldseekerFieldscoutinglogWhere[Q]
	FieldseekerHabitatrelates          fieldseekerHabitatrelateWhere[Q]
	FieldseekerInspectionsamples       fieldseekerInspectionsampleWhere[Q]
	FieldseekerInspectionsampledetails fieldseekerInspectionsampledetailWhere[Q]
	FieldseekerLinelocations           fieldseekerLinelocationWhere[Q]
	FieldseekerLocationtrackings       fieldseekerLocationtrackingWhere[Q]
	FieldseekerMosquitoinspections     fieldseekerMosquitoinspectionWhere[Q]
	FieldseekerPointlocations          fieldseekerPointlocationWhere[Q]
	FieldseekerPolygonlocations        fieldseekerPolygonlocationWhere[Q]
	FieldseekerPools                   fieldseekerPoolWhere[Q]
	FieldseekerPooldetails             fieldseekerPooldetailWhere[Q]
	FieldseekerProposedtreatmentareas  fieldseekerProposedtreatmentareaWhere[Q]
	FieldseekerQamosquitoinspections   fieldseekerQamosquitoinspectionWhere[Q]
	FieldseekerRodentlocations         fieldseekerRodentlocationWhere[Q]
	FieldseekerSamplecollections       fieldseekerSamplecollectionWhere[Q]
	FieldseekerSamplelocations         fieldseekerSamplelocationWhere[Q]
	FieldseekerServicerequests         fieldseekerServicerequestWhere[Q]
	FieldseekerSpeciesabundances       fieldseekerSpeciesabundanceWhere[Q]
	FieldseekerStormdrains             fieldseekerStormdrainWhere[Q]
	FieldseekerTimecards               fieldseekerTimecardWhere[Q]
	FieldseekerTrapdata                fieldseekerTrapdatumWhere[Q]
	FieldseekerTraplocations           fieldseekerTraplocationWhere[Q]
	FieldseekerTreatments              fieldseekerTreatmentWhere[Q]
	FieldseekerTreatmentareas          fieldseekerTreatmentareaWhere[Q]
	FieldseekerZones                   fieldseekerZoneWhere[Q]
	FieldseekerZones2s                 fieldseekerZones2Where[Q]
	FieldseekerSyncs                   fieldseekerSyncWhere[Q]
	GeographyColumns                   geographyColumnWhere[Q]
	GeometryColumns                    geometryColumnWhere[Q]
	GooseDBVersions                    gooseDBVersionWhere[Q]
	H3Aggregations                     h3AggregationWhere[Q]
	NoteAudios                         noteAudioWhere[Q]
	NoteAudioBreadcrumbs               noteAudioBreadcrumbWhere[Q]
	NoteAudioData                      noteAudioDatumWhere[Q]
	NoteImages                         noteImageWhere[Q]
	NoteImageBreadcrumbs               noteImageBreadcrumbWhere[Q]
	NoteImageData                      noteImageDatumWhere[Q]
	Notifications                      notificationWhere[Q]
	OauthTokens                        oauthTokenWhere[Q]
	Organizations                      organizationWhere[Q]
	RasterColumns                      rasterColumnWhere[Q]
	RasterOverviews                    rasterOverviewWhere[Q]
	Sessions                           sessionWhere[Q]
	SpatialRefSys                      spatialRefSyWhere[Q]
	Users                              userWhere[Q]
}

Types

type FieldseekerContainerrelate

type FieldseekerContainerrelate struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is INSPSAMPLEID
	Inspsampleid null.Val[uuid.UUID] `db:"inspsampleid" `
	// Original attribute from ArcGIS API is MOSQUITOINSPID
	Mosquitoinspid null.Val[uuid.UUID] `db:"mosquitoinspid" `
	// Original attribute from ArcGIS API is TREATMENTID
	Treatmentid null.Val[uuid.UUID] `db:"treatmentid" `
	// Original attribute from ArcGIS API is CONTAINERTYPE
	Containertype null.Val[string] `db:"containertype" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor         null.Val[string]            `db:"editor" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerContainerrelateR `db:"-" `
}

FieldseekerContainerrelate is an object representing the database table.

func FindFieldseekerContainerrelate

func FindFieldseekerContainerrelate(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerContainerrelate, error)

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

func (*FieldseekerContainerrelate) AfterQueryHook

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

AfterQueryHook is called after FieldseekerContainerrelate is retrieved from the database

func (*FieldseekerContainerrelate) AttachOrganization added in v0.0.6

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

func (*FieldseekerContainerrelate) Delete

Delete deletes a single FieldseekerContainerrelate record with an executor

func (*FieldseekerContainerrelate) InsertOrganization added in v0.0.6

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

func (*FieldseekerContainerrelate) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerContainerrelate) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerContainerrelate) Preload added in v0.0.6

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

func (*FieldseekerContainerrelate) Reload

Reload refreshes the FieldseekerContainerrelate using the executor

func (*FieldseekerContainerrelate) Update

Update uses an executor to update the FieldseekerContainerrelate

type FieldseekerContainerrelateSetter

type FieldseekerContainerrelateSetter struct {
	Objectid       omit.Val[int64]                       `db:"objectid,pk" `
	Globalid       omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser    omitnull.Val[string]                  `db:"created_user" `
	CreatedDate    omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate omitnull.Val[time.Time]               `db:"last_edited_date" `
	Inspsampleid   omitnull.Val[uuid.UUID]               `db:"inspsampleid" `
	Mosquitoinspid omitnull.Val[uuid.UUID]               `db:"mosquitoinspid" `
	Treatmentid    omitnull.Val[uuid.UUID]               `db:"treatmentid" `
	Containertype  omitnull.Val[string]                  `db:"containertype" `
	Creationdate   omitnull.Val[time.Time]               `db:"creationdate" `
	Creator        omitnull.Val[string]                  `db:"creator" `
	Editdate       omitnull.Val[time.Time]               `db:"editdate" `
	Editor         omitnull.Val[string]                  `db:"editor" `
	Geometry       omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial     omitnull.Val[string]                  `db:"geospatial" `
	Version        omit.Val[int32]                       `db:"version,pk" `
	OrganizationID omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerContainerrelateSetter) Apply

func (FieldseekerContainerrelateSetter) Expressions

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

func (FieldseekerContainerrelateSetter) Overwrite

func (FieldseekerContainerrelateSetter) SetColumns

func (s FieldseekerContainerrelateSetter) SetColumns() []string

func (FieldseekerContainerrelateSetter) UpdateMod

type FieldseekerContainerrelateSlice

type FieldseekerContainerrelateSlice []*FieldseekerContainerrelate

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

func (FieldseekerContainerrelateSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerContainerrelateSlice is retrieved from the database

func (FieldseekerContainerrelateSlice) DeleteAll

func (FieldseekerContainerrelateSlice) DeleteMod

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

func (FieldseekerContainerrelateSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerContainerrelateSlice) Organization added in v0.0.6

func (FieldseekerContainerrelateSlice) ReloadAll

func (FieldseekerContainerrelateSlice) UpdateAll

func (FieldseekerContainerrelateSlice) UpdateMod

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

type FieldseekerContainerrelatesQuery

type FieldseekerContainerrelatesQuery = *psql.ViewQuery[*FieldseekerContainerrelate, FieldseekerContainerrelateSlice]

FieldseekerContainerrelatesQuery is a query on the containerrelate table

type FieldseekerFieldscoutinglog

type FieldseekerFieldscoutinglog struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is STATUS
	Status null.Val[int16] `db:"status" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor         null.Val[string]            `db:"editor" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerFieldscoutinglogR `db:"-" `
}

FieldseekerFieldscoutinglog is an object representing the database table.

func FindFieldseekerFieldscoutinglog

func FindFieldseekerFieldscoutinglog(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerFieldscoutinglog, error)

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

func (*FieldseekerFieldscoutinglog) AfterQueryHook

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

AfterQueryHook is called after FieldseekerFieldscoutinglog is retrieved from the database

func (*FieldseekerFieldscoutinglog) AttachOrganization added in v0.0.6

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

func (*FieldseekerFieldscoutinglog) Delete

Delete deletes a single FieldseekerFieldscoutinglog record with an executor

func (*FieldseekerFieldscoutinglog) InsertOrganization added in v0.0.6

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

func (*FieldseekerFieldscoutinglog) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerFieldscoutinglog) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerFieldscoutinglog) Preload added in v0.0.6

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

func (*FieldseekerFieldscoutinglog) Reload

Reload refreshes the FieldseekerFieldscoutinglog using the executor

func (*FieldseekerFieldscoutinglog) Update

Update uses an executor to update the FieldseekerFieldscoutinglog

type FieldseekerFieldscoutinglogSetter

type FieldseekerFieldscoutinglogSetter struct {
	Objectid       omit.Val[int64]                       `db:"objectid,pk" `
	Status         omitnull.Val[int16]                   `db:"status" `
	Globalid       omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser    omitnull.Val[string]                  `db:"created_user" `
	CreatedDate    omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate omitnull.Val[time.Time]               `db:"last_edited_date" `
	Creationdate   omitnull.Val[time.Time]               `db:"creationdate" `
	Creator        omitnull.Val[string]                  `db:"creator" `
	Editdate       omitnull.Val[time.Time]               `db:"editdate" `
	Editor         omitnull.Val[string]                  `db:"editor" `
	Geometry       omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial     omitnull.Val[string]                  `db:"geospatial" `
	Version        omit.Val[int32]                       `db:"version,pk" `
	OrganizationID omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerFieldscoutinglogSetter) Apply

func (FieldseekerFieldscoutinglogSetter) Expressions

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

func (FieldseekerFieldscoutinglogSetter) Overwrite

func (FieldseekerFieldscoutinglogSetter) SetColumns

func (s FieldseekerFieldscoutinglogSetter) SetColumns() []string

func (FieldseekerFieldscoutinglogSetter) UpdateMod

type FieldseekerFieldscoutinglogSlice

type FieldseekerFieldscoutinglogSlice []*FieldseekerFieldscoutinglog

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

func (FieldseekerFieldscoutinglogSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerFieldscoutinglogSlice is retrieved from the database

func (FieldseekerFieldscoutinglogSlice) DeleteAll

func (FieldseekerFieldscoutinglogSlice) DeleteMod

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

func (FieldseekerFieldscoutinglogSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerFieldscoutinglogSlice) Organization added in v0.0.6

func (FieldseekerFieldscoutinglogSlice) ReloadAll

func (FieldseekerFieldscoutinglogSlice) UpdateAll

func (FieldseekerFieldscoutinglogSlice) UpdateMod

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

type FieldseekerFieldscoutinglogsQuery

type FieldseekerFieldscoutinglogsQuery = *psql.ViewQuery[*FieldseekerFieldscoutinglog, FieldseekerFieldscoutinglogSlice]

FieldseekerFieldscoutinglogsQuery is a query on the fieldscoutinglog table

type FieldseekerHabitatrelate

type FieldseekerHabitatrelate struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is FOREIGN_ID
	ForeignID null.Val[uuid.UUID] `db:"foreign_id" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is HABITATTYPE
	Habitattype null.Val[string] `db:"habitattype" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor         null.Val[string]            `db:"editor" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerHabitatrelateR `db:"-" `
}

FieldseekerHabitatrelate is an object representing the database table.

func FindFieldseekerHabitatrelate

func FindFieldseekerHabitatrelate(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerHabitatrelate, error)

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

func (*FieldseekerHabitatrelate) AfterQueryHook

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

AfterQueryHook is called after FieldseekerHabitatrelate is retrieved from the database

func (*FieldseekerHabitatrelate) AttachOrganization added in v0.0.6

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

func (*FieldseekerHabitatrelate) Delete

Delete deletes a single FieldseekerHabitatrelate record with an executor

func (*FieldseekerHabitatrelate) InsertOrganization added in v0.0.6

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

func (*FieldseekerHabitatrelate) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerHabitatrelate) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerHabitatrelate) Preload added in v0.0.6

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

func (*FieldseekerHabitatrelate) Reload

Reload refreshes the FieldseekerHabitatrelate using the executor

func (*FieldseekerHabitatrelate) Update

Update uses an executor to update the FieldseekerHabitatrelate

type FieldseekerHabitatrelateSetter

type FieldseekerHabitatrelateSetter struct {
	Objectid       omit.Val[int64]                       `db:"objectid,pk" `
	ForeignID      omitnull.Val[uuid.UUID]               `db:"foreign_id" `
	Globalid       omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser    omitnull.Val[string]                  `db:"created_user" `
	CreatedDate    omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate omitnull.Val[time.Time]               `db:"last_edited_date" `
	Habitattype    omitnull.Val[string]                  `db:"habitattype" `
	Creationdate   omitnull.Val[time.Time]               `db:"creationdate" `
	Creator        omitnull.Val[string]                  `db:"creator" `
	Editdate       omitnull.Val[time.Time]               `db:"editdate" `
	Editor         omitnull.Val[string]                  `db:"editor" `
	Geometry       omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial     omitnull.Val[string]                  `db:"geospatial" `
	Version        omit.Val[int32]                       `db:"version,pk" `
	OrganizationID omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerHabitatrelateSetter) Apply

func (FieldseekerHabitatrelateSetter) Expressions

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

func (FieldseekerHabitatrelateSetter) Overwrite

func (FieldseekerHabitatrelateSetter) SetColumns

func (s FieldseekerHabitatrelateSetter) SetColumns() []string

func (FieldseekerHabitatrelateSetter) UpdateMod

type FieldseekerHabitatrelateSlice

type FieldseekerHabitatrelateSlice []*FieldseekerHabitatrelate

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

func (FieldseekerHabitatrelateSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerHabitatrelateSlice is retrieved from the database

func (FieldseekerHabitatrelateSlice) DeleteAll

func (FieldseekerHabitatrelateSlice) DeleteMod

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

func (FieldseekerHabitatrelateSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerHabitatrelateSlice) Organization added in v0.0.6

func (FieldseekerHabitatrelateSlice) ReloadAll

func (FieldseekerHabitatrelateSlice) UpdateAll

func (FieldseekerHabitatrelateSlice) UpdateMod

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

type FieldseekerHabitatrelatesQuery

type FieldseekerHabitatrelatesQuery = *psql.ViewQuery[*FieldseekerHabitatrelate, FieldseekerHabitatrelateSlice]

FieldseekerHabitatrelatesQuery is a query on the habitatrelate table

type FieldseekerInspectionsample

type FieldseekerInspectionsample struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is INSP_ID
	InspID null.Val[uuid.UUID] `db:"insp_id" `
	// Original attribute from ArcGIS API is SAMPLEID
	Sampleid null.Val[string] `db:"sampleid" `
	// Original attribute from ArcGIS API is PROCESSED
	Processed null.Val[int16] `db:"processed" `
	// Original attribute from ArcGIS API is IDBYTECH
	Idbytech null.Val[string] `db:"idbytech" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor         null.Val[string]            `db:"editor" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerInspectionsampleR `db:"-" `
}

FieldseekerInspectionsample is an object representing the database table.

func FindFieldseekerInspectionsample

func FindFieldseekerInspectionsample(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerInspectionsample, error)

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

func (*FieldseekerInspectionsample) AfterQueryHook

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

AfterQueryHook is called after FieldseekerInspectionsample is retrieved from the database

func (*FieldseekerInspectionsample) AttachOrganization added in v0.0.6

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

func (*FieldseekerInspectionsample) Delete

Delete deletes a single FieldseekerInspectionsample record with an executor

func (*FieldseekerInspectionsample) InsertOrganization added in v0.0.6

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

func (*FieldseekerInspectionsample) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerInspectionsample) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerInspectionsample) Preload added in v0.0.6

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

func (*FieldseekerInspectionsample) Reload

Reload refreshes the FieldseekerInspectionsample using the executor

func (*FieldseekerInspectionsample) Update

Update uses an executor to update the FieldseekerInspectionsample

type FieldseekerInspectionsampleSetter

type FieldseekerInspectionsampleSetter struct {
	Objectid       omit.Val[int64]                       `db:"objectid,pk" `
	InspID         omitnull.Val[uuid.UUID]               `db:"insp_id" `
	Sampleid       omitnull.Val[string]                  `db:"sampleid" `
	Processed      omitnull.Val[int16]                   `db:"processed" `
	Idbytech       omitnull.Val[string]                  `db:"idbytech" `
	Globalid       omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser    omitnull.Val[string]                  `db:"created_user" `
	CreatedDate    omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate omitnull.Val[time.Time]               `db:"last_edited_date" `
	Creationdate   omitnull.Val[time.Time]               `db:"creationdate" `
	Creator        omitnull.Val[string]                  `db:"creator" `
	Editdate       omitnull.Val[time.Time]               `db:"editdate" `
	Editor         omitnull.Val[string]                  `db:"editor" `
	Geometry       omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial     omitnull.Val[string]                  `db:"geospatial" `
	Version        omit.Val[int32]                       `db:"version,pk" `
	OrganizationID omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerInspectionsampleSetter) Apply

func (FieldseekerInspectionsampleSetter) Expressions

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

func (FieldseekerInspectionsampleSetter) Overwrite

func (FieldseekerInspectionsampleSetter) SetColumns

func (s FieldseekerInspectionsampleSetter) SetColumns() []string

func (FieldseekerInspectionsampleSetter) UpdateMod

type FieldseekerInspectionsampleSlice

type FieldseekerInspectionsampleSlice []*FieldseekerInspectionsample

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

func (FieldseekerInspectionsampleSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerInspectionsampleSlice is retrieved from the database

func (FieldseekerInspectionsampleSlice) DeleteAll

func (FieldseekerInspectionsampleSlice) DeleteMod

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

func (FieldseekerInspectionsampleSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerInspectionsampleSlice) Organization added in v0.0.6

func (FieldseekerInspectionsampleSlice) ReloadAll

func (FieldseekerInspectionsampleSlice) UpdateAll

func (FieldseekerInspectionsampleSlice) UpdateMod

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

type FieldseekerInspectionsampledetail

type FieldseekerInspectionsampledetail struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is INSPSAMPLE_ID
	InspsampleID null.Val[uuid.UUID] `db:"inspsample_id" `
	// Original attribute from ArcGIS API is FIELDSPECIES
	Fieldspecies null.Val[string] `db:"fieldspecies" `
	// Original attribute from ArcGIS API is FLARVCOUNT
	Flarvcount null.Val[int16] `db:"flarvcount" `
	// Original attribute from ArcGIS API is FPUPCOUNT
	Fpupcount null.Val[int16] `db:"fpupcount" `
	// Original attribute from ArcGIS API is FEGGCOUNT
	Feggcount null.Val[int16] `db:"feggcount" `
	// Original attribute from ArcGIS API is FLSTAGES
	Flstages null.Val[string] `db:"flstages" `
	// Original attribute from ArcGIS API is FDOMSTAGE
	Fdomstage null.Val[string] `db:"fdomstage" `
	// Original attribute from ArcGIS API is FADULTACT
	Fadultact null.Val[string] `db:"fadultact" `
	// Original attribute from ArcGIS API is LABSPECIES
	Labspecies null.Val[string] `db:"labspecies" `
	// Original attribute from ArcGIS API is LLARVCOUNT
	Llarvcount null.Val[int16] `db:"llarvcount" `
	// Original attribute from ArcGIS API is LPUPCOUNT
	Lpupcount null.Val[int16] `db:"lpupcount" `
	// Original attribute from ArcGIS API is LEGGCOUNT
	Leggcount null.Val[int16] `db:"leggcount" `
	// Original attribute from ArcGIS API is LDOMSTAGE
	Ldomstage null.Val[string] `db:"ldomstage" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is PROCESSED
	Processed null.Val[int16] `db:"processed" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor         null.Val[string]            `db:"editor" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerInspectionsampledetailR `db:"-" `
}

FieldseekerInspectionsampledetail is an object representing the database table.

func FindFieldseekerInspectionsampledetail

func FindFieldseekerInspectionsampledetail(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerInspectionsampledetail, error)

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

func (*FieldseekerInspectionsampledetail) AfterQueryHook

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

AfterQueryHook is called after FieldseekerInspectionsampledetail is retrieved from the database

func (*FieldseekerInspectionsampledetail) AttachOrganization added in v0.0.6

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

func (*FieldseekerInspectionsampledetail) Delete

Delete deletes a single FieldseekerInspectionsampledetail record with an executor

func (*FieldseekerInspectionsampledetail) InsertOrganization added in v0.0.6

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

func (*FieldseekerInspectionsampledetail) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerInspectionsampledetail) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerInspectionsampledetail) Preload added in v0.0.6

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

func (*FieldseekerInspectionsampledetail) Reload

Reload refreshes the FieldseekerInspectionsampledetail using the executor

func (*FieldseekerInspectionsampledetail) Update

Update uses an executor to update the FieldseekerInspectionsampledetail

type FieldseekerInspectionsampledetailSetter

type FieldseekerInspectionsampledetailSetter struct {
	Objectid       omit.Val[int64]                       `db:"objectid,pk" `
	InspsampleID   omitnull.Val[uuid.UUID]               `db:"inspsample_id" `
	Fieldspecies   omitnull.Val[string]                  `db:"fieldspecies" `
	Flarvcount     omitnull.Val[int16]                   `db:"flarvcount" `
	Fpupcount      omitnull.Val[int16]                   `db:"fpupcount" `
	Feggcount      omitnull.Val[int16]                   `db:"feggcount" `
	Flstages       omitnull.Val[string]                  `db:"flstages" `
	Fdomstage      omitnull.Val[string]                  `db:"fdomstage" `
	Fadultact      omitnull.Val[string]                  `db:"fadultact" `
	Labspecies     omitnull.Val[string]                  `db:"labspecies" `
	Llarvcount     omitnull.Val[int16]                   `db:"llarvcount" `
	Lpupcount      omitnull.Val[int16]                   `db:"lpupcount" `
	Leggcount      omitnull.Val[int16]                   `db:"leggcount" `
	Ldomstage      omitnull.Val[string]                  `db:"ldomstage" `
	Comments       omitnull.Val[string]                  `db:"comments" `
	Globalid       omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser    omitnull.Val[string]                  `db:"created_user" `
	CreatedDate    omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate omitnull.Val[time.Time]               `db:"last_edited_date" `
	Processed      omitnull.Val[int16]                   `db:"processed" `
	Creationdate   omitnull.Val[time.Time]               `db:"creationdate" `
	Creator        omitnull.Val[string]                  `db:"creator" `
	Editdate       omitnull.Val[time.Time]               `db:"editdate" `
	Editor         omitnull.Val[string]                  `db:"editor" `
	Geometry       omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial     omitnull.Val[string]                  `db:"geospatial" `
	Version        omit.Val[int32]                       `db:"version,pk" `
	OrganizationID omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerInspectionsampledetailSetter) Apply

func (FieldseekerInspectionsampledetailSetter) Expressions

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

func (FieldseekerInspectionsampledetailSetter) Overwrite

func (FieldseekerInspectionsampledetailSetter) SetColumns

func (FieldseekerInspectionsampledetailSetter) UpdateMod

type FieldseekerInspectionsampledetailSlice

type FieldseekerInspectionsampledetailSlice []*FieldseekerInspectionsampledetail

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

func (FieldseekerInspectionsampledetailSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerInspectionsampledetailSlice is retrieved from the database

func (FieldseekerInspectionsampledetailSlice) DeleteAll

func (FieldseekerInspectionsampledetailSlice) DeleteMod

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

func (FieldseekerInspectionsampledetailSlice) LoadOrganization added in v0.0.6

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

func (FieldseekerInspectionsampledetailSlice) Organization added in v0.0.6

func (FieldseekerInspectionsampledetailSlice) ReloadAll

func (FieldseekerInspectionsampledetailSlice) UpdateAll

func (FieldseekerInspectionsampledetailSlice) UpdateMod

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

type FieldseekerInspectionsampledetailsQuery

type FieldseekerInspectionsampledetailsQuery = *psql.ViewQuery[*FieldseekerInspectionsampledetail, FieldseekerInspectionsampledetailSlice]

FieldseekerInspectionsampledetailsQuery is a query on the inspectionsampledetail table

type FieldseekerInspectionsamplesQuery

type FieldseekerInspectionsamplesQuery = *psql.ViewQuery[*FieldseekerInspectionsample, FieldseekerInspectionsampleSlice]

FieldseekerInspectionsamplesQuery is a query on the inspectionsample table

type FieldseekerLinelocation

type FieldseekerLinelocation struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is NAME
	Name null.Val[string] `db:"name" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is HABITAT
	Habitat null.Val[string] `db:"habitat" `
	// Original attribute from ArcGIS API is PRIORITY
	Priority null.Val[string] `db:"priority" `
	// Original attribute from ArcGIS API is USETYPE
	Usetype null.Val[string] `db:"usetype" `
	// Original attribute from ArcGIS API is ACTIVE
	Active null.Val[int16] `db:"active" `
	// Original attribute from ArcGIS API is DESCRIPTION
	Description null.Val[string] `db:"description" `
	// Original attribute from ArcGIS API is ACCESSDESC
	Accessdesc null.Val[string] `db:"accessdesc" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is SYMBOLOGY
	Symbology null.Val[string] `db:"symbology" `
	// Original attribute from ArcGIS API is EXTERNALID
	Externalid null.Val[string] `db:"externalid" `
	// Original attribute from ArcGIS API is ACRES
	Acres null.Val[float64] `db:"acres" `
	// Original attribute from ArcGIS API is NEXTACTIONDATESCHEDULED
	Nextactiondatescheduled null.Val[time.Time] `db:"nextactiondatescheduled" `
	// Original attribute from ArcGIS API is LARVINSPECTINTERVAL
	Larvinspectinterval null.Val[int16] `db:"larvinspectinterval" `
	// Original attribute from ArcGIS API is LENGTH_FT
	LengthFT null.Val[float64] `db:"length_ft" `
	// Original attribute from ArcGIS API is WIDTH_FT
	WidthFT null.Val[float64] `db:"width_ft" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is LOCATIONNUMBER
	Locationnumber null.Val[int32] `db:"locationnumber" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is LASTINSPECTDATE
	Lastinspectdate null.Val[time.Time] `db:"lastinspectdate" `
	// Original attribute from ArcGIS API is LASTINSPECTBREEDING
	Lastinspectbreeding null.Val[string] `db:"lastinspectbreeding" `
	// Original attribute from ArcGIS API is LASTINSPECTAVGLARVAE
	Lastinspectavglarvae null.Val[float64] `db:"lastinspectavglarvae" `
	// Original attribute from ArcGIS API is LASTINSPECTAVGPUPAE
	Lastinspectavgpupae null.Val[float64] `db:"lastinspectavgpupae" `
	// Original attribute from ArcGIS API is LASTINSPECTLSTAGES
	Lastinspectlstages null.Val[string] `db:"lastinspectlstages" `
	// Original attribute from ArcGIS API is LASTINSPECTACTIONTAKEN
	Lastinspectactiontaken null.Val[string] `db:"lastinspectactiontaken" `
	// Original attribute from ArcGIS API is LASTINSPECTFIELDSPECIES
	Lastinspectfieldspecies null.Val[string] `db:"lastinspectfieldspecies" `
	// Original attribute from ArcGIS API is LASTTREATDATE
	Lasttreatdate null.Val[time.Time] `db:"lasttreatdate" `
	// Original attribute from ArcGIS API is LASTTREATPRODUCT
	Lasttreatproduct null.Val[string] `db:"lasttreatproduct" `
	// Original attribute from ArcGIS API is LASTTREATQTY
	Lasttreatqty null.Val[float64] `db:"lasttreatqty" `
	// Original attribute from ArcGIS API is LASTTREATQTYUNIT
	Lasttreatqtyunit null.Val[string] `db:"lasttreatqtyunit" `
	// Original attribute from ArcGIS API is HECTARES
	Hectares null.Val[float64] `db:"hectares" `
	// Original attribute from ArcGIS API is LASTINSPECTACTIVITY
	Lastinspectactivity null.Val[string] `db:"lastinspectactivity" `
	// Original attribute from ArcGIS API is LASTTREATACTIVITY
	Lasttreatactivity null.Val[string] `db:"lasttreatactivity" `
	// Original attribute from ArcGIS API is LENGTH_METERS
	LengthMeters null.Val[float64] `db:"length_meters" `
	// Original attribute from ArcGIS API is WIDTH_METERS
	WidthMeters null.Val[float64] `db:"width_meters" `
	// Original attribute from ArcGIS API is LASTINSPECTCONDITIONS
	Lastinspectconditions null.Val[string] `db:"lastinspectconditions" `
	// Original attribute from ArcGIS API is WATERORIGIN
	Waterorigin null.Val[string] `db:"waterorigin" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is JURISDICTION
	Jurisdiction null.Val[string] `db:"jurisdiction" `
	// Original attribute from ArcGIS API is Shape__Length
	ShapeLength    null.Val[float64]           `db:"shape__length" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerLinelocationR `db:"-" `
}

FieldseekerLinelocation is an object representing the database table.

func FindFieldseekerLinelocation

func FindFieldseekerLinelocation(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerLinelocation, error)

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

func (*FieldseekerLinelocation) AfterQueryHook

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

AfterQueryHook is called after FieldseekerLinelocation is retrieved from the database

func (*FieldseekerLinelocation) AttachOrganization added in v0.0.6

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

func (*FieldseekerLinelocation) Delete

Delete deletes a single FieldseekerLinelocation record with an executor

func (*FieldseekerLinelocation) InsertOrganization added in v0.0.6

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

func (*FieldseekerLinelocation) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerLinelocation) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerLinelocation) Preload added in v0.0.6

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

func (*FieldseekerLinelocation) Reload

Reload refreshes the FieldseekerLinelocation using the executor

func (*FieldseekerLinelocation) Update

Update uses an executor to update the FieldseekerLinelocation

type FieldseekerLinelocationSetter

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

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

func (*FieldseekerLinelocationSetter) Apply

func (FieldseekerLinelocationSetter) Expressions

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

func (FieldseekerLinelocationSetter) Overwrite

func (FieldseekerLinelocationSetter) SetColumns

func (s FieldseekerLinelocationSetter) SetColumns() []string

func (FieldseekerLinelocationSetter) UpdateMod

type FieldseekerLinelocationSlice

type FieldseekerLinelocationSlice []*FieldseekerLinelocation

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

func (FieldseekerLinelocationSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerLinelocationSlice is retrieved from the database

func (FieldseekerLinelocationSlice) DeleteAll

func (FieldseekerLinelocationSlice) DeleteMod

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

func (FieldseekerLinelocationSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerLinelocationSlice) Organization added in v0.0.6

func (FieldseekerLinelocationSlice) ReloadAll

func (FieldseekerLinelocationSlice) UpdateAll

func (FieldseekerLinelocationSlice) UpdateMod

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

type FieldseekerLinelocationsQuery

type FieldseekerLinelocationsQuery = *psql.ViewQuery[*FieldseekerLinelocation, FieldseekerLinelocationSlice]

FieldseekerLinelocationsQuery is a query on the linelocation table

type FieldseekerLocationtracking

type FieldseekerLocationtracking struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is Accuracy
	Accuracy null.Val[float64] `db:"accuracy" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is FIELDTECH
	Fieldtech null.Val[string] `db:"fieldtech" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor         null.Val[string]            `db:"editor" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerLocationtrackingR `db:"-" `
}

FieldseekerLocationtracking is an object representing the database table.

func FindFieldseekerLocationtracking

func FindFieldseekerLocationtracking(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerLocationtracking, error)

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

func (*FieldseekerLocationtracking) AfterQueryHook

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

AfterQueryHook is called after FieldseekerLocationtracking is retrieved from the database

func (*FieldseekerLocationtracking) AttachOrganization added in v0.0.6

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

func (*FieldseekerLocationtracking) Delete

Delete deletes a single FieldseekerLocationtracking record with an executor

func (*FieldseekerLocationtracking) InsertOrganization added in v0.0.6

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

func (*FieldseekerLocationtracking) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerLocationtracking) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerLocationtracking) Preload added in v0.0.6

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

func (*FieldseekerLocationtracking) Reload

Reload refreshes the FieldseekerLocationtracking using the executor

func (*FieldseekerLocationtracking) Update

Update uses an executor to update the FieldseekerLocationtracking

type FieldseekerLocationtrackingSetter

type FieldseekerLocationtrackingSetter struct {
	Objectid       omit.Val[int64]                       `db:"objectid,pk" `
	Accuracy       omitnull.Val[float64]                 `db:"accuracy" `
	CreatedUser    omitnull.Val[string]                  `db:"created_user" `
	CreatedDate    omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate omitnull.Val[time.Time]               `db:"last_edited_date" `
	Globalid       omit.Val[uuid.UUID]                   `db:"globalid" `
	Fieldtech      omitnull.Val[string]                  `db:"fieldtech" `
	Creationdate   omitnull.Val[time.Time]               `db:"creationdate" `
	Creator        omitnull.Val[string]                  `db:"creator" `
	Editdate       omitnull.Val[time.Time]               `db:"editdate" `
	Editor         omitnull.Val[string]                  `db:"editor" `
	Geometry       omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial     omitnull.Val[string]                  `db:"geospatial" `
	Version        omit.Val[int32]                       `db:"version,pk" `
	OrganizationID omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerLocationtrackingSetter) Apply

func (FieldseekerLocationtrackingSetter) Expressions

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

func (FieldseekerLocationtrackingSetter) Overwrite

func (FieldseekerLocationtrackingSetter) SetColumns

func (s FieldseekerLocationtrackingSetter) SetColumns() []string

func (FieldseekerLocationtrackingSetter) UpdateMod

type FieldseekerLocationtrackingSlice

type FieldseekerLocationtrackingSlice []*FieldseekerLocationtracking

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

func (FieldseekerLocationtrackingSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerLocationtrackingSlice is retrieved from the database

func (FieldseekerLocationtrackingSlice) DeleteAll

func (FieldseekerLocationtrackingSlice) DeleteMod

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

func (FieldseekerLocationtrackingSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerLocationtrackingSlice) Organization added in v0.0.6

func (FieldseekerLocationtrackingSlice) ReloadAll

func (FieldseekerLocationtrackingSlice) UpdateAll

func (FieldseekerLocationtrackingSlice) UpdateMod

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

type FieldseekerLocationtrackingsQuery

type FieldseekerLocationtrackingsQuery = *psql.ViewQuery[*FieldseekerLocationtracking, FieldseekerLocationtrackingSlice]

FieldseekerLocationtrackingsQuery is a query on the locationtracking table

type FieldseekerMosquitoinspection

type FieldseekerMosquitoinspection struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is NUMDIPS
	Numdips null.Val[int16] `db:"numdips" `
	// Original attribute from ArcGIS API is ACTIVITY
	Activity null.Val[string] `db:"activity" `
	// Original attribute from ArcGIS API is BREEDING
	Breeding null.Val[string] `db:"breeding" `
	// Original attribute from ArcGIS API is TOTLARVAE
	Totlarvae null.Val[int16] `db:"totlarvae" `
	// Original attribute from ArcGIS API is TOTPUPAE
	Totpupae null.Val[int16] `db:"totpupae" `
	// Original attribute from ArcGIS API is EGGS
	Eggs null.Val[int16] `db:"eggs" `
	// Original attribute from ArcGIS API is POSDIPS
	Posdips null.Val[int16] `db:"posdips" `
	// Original attribute from ArcGIS API is ADULTACT
	Adultact null.Val[string] `db:"adultact" `
	// Original attribute from ArcGIS API is LSTAGES
	Lstages null.Val[string] `db:"lstages" `
	// Original attribute from ArcGIS API is DOMSTAGE
	Domstage null.Val[string] `db:"domstage" `
	// Original attribute from ArcGIS API is ACTIONTAKEN
	Actiontaken null.Val[string] `db:"actiontaken" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is AVETEMP
	Avetemp null.Val[float64] `db:"avetemp" `
	// Original attribute from ArcGIS API is WINDSPEED
	Windspeed null.Val[float64] `db:"windspeed" `
	// Original attribute from ArcGIS API is RAINGAUGE
	Raingauge null.Val[float64] `db:"raingauge" `
	// Original attribute from ArcGIS API is STARTDATETIME
	Startdatetime null.Val[time.Time] `db:"startdatetime" `
	// Original attribute from ArcGIS API is ENDDATETIME
	Enddatetime null.Val[time.Time] `db:"enddatetime" `
	// Original attribute from ArcGIS API is WINDDIR
	Winddir null.Val[string] `db:"winddir" `
	// Original attribute from ArcGIS API is AVGLARVAE
	Avglarvae null.Val[float64] `db:"avglarvae" `
	// Original attribute from ArcGIS API is AVGPUPAE
	Avgpupae null.Val[float64] `db:"avgpupae" `
	// Original attribute from ArcGIS API is REVIEWED
	Reviewed null.Val[int16] `db:"reviewed" `
	// Original attribute from ArcGIS API is REVIEWEDBY
	Reviewedby null.Val[string] `db:"reviewedby" `
	// Original attribute from ArcGIS API is REVIEWEDDATE
	Revieweddate null.Val[time.Time] `db:"revieweddate" `
	// Original attribute from ArcGIS API is LOCATIONNAME
	Locationname null.Val[string] `db:"locationname" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is RECORDSTATUS
	Recordstatus null.Val[int16] `db:"recordstatus" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is PERSONALCONTACT
	Personalcontact null.Val[int16] `db:"personalcontact" `
	// Original attribute from ArcGIS API is TIRECOUNT
	Tirecount null.Val[int16] `db:"tirecount" `
	// Original attribute from ArcGIS API is CBCOUNT
	Cbcount null.Val[int16] `db:"cbcount" `
	// Original attribute from ArcGIS API is CONTAINERCOUNT
	Containercount null.Val[int16] `db:"containercount" `
	// Original attribute from ArcGIS API is FIELDSPECIES
	Fieldspecies null.Val[string] `db:"fieldspecies" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is LINELOCID
	Linelocid null.Val[uuid.UUID] `db:"linelocid" `
	// Original attribute from ArcGIS API is POINTLOCID
	Pointlocid null.Val[uuid.UUID] `db:"pointlocid" `
	// Original attribute from ArcGIS API is POLYGONLOCID
	Polygonlocid null.Val[uuid.UUID] `db:"polygonlocid" `
	// Original attribute from ArcGIS API is SRID
	Srid null.Val[uuid.UUID] `db:"srid" `
	// Original attribute from ArcGIS API is FIELDTECH
	Fieldtech null.Val[string] `db:"fieldtech" `
	// Original attribute from ArcGIS API is LARVAEPRESENT
	Larvaepresent null.Val[int16] `db:"larvaepresent" `
	// Original attribute from ArcGIS API is PUPAEPRESENT
	Pupaepresent null.Val[int16] `db:"pupaepresent" `
	// Original attribute from ArcGIS API is SDID
	Sdid null.Val[uuid.UUID] `db:"sdid" `
	// Original attribute from ArcGIS API is SITECOND
	Sitecond null.Val[string] `db:"sitecond" `
	// Original attribute from ArcGIS API is POSITIVECONTAINERCOUNT
	Positivecontainercount null.Val[int16] `db:"positivecontainercount" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is JURISDICTION
	Jurisdiction null.Val[string] `db:"jurisdiction" `
	// Original attribute from ArcGIS API is VISUALMONITORING
	Visualmonitoring null.Val[int16] `db:"visualmonitoring" `
	// Original attribute from ArcGIS API is VMCOMMENTS
	Vmcomments null.Val[string] `db:"vmcomments" `
	// Original attribute from ArcGIS API is adminAction
	Adminaction null.Val[string] `db:"adminaction" `
	// Original attribute from ArcGIS API is PTAID
	Ptaid          null.Val[uuid.UUID]         `db:"ptaid" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerMosquitoinspectionR `db:"-" `
}

FieldseekerMosquitoinspection is an object representing the database table.

func FindFieldseekerMosquitoinspection

func FindFieldseekerMosquitoinspection(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerMosquitoinspection, error)

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

func (*FieldseekerMosquitoinspection) AfterQueryHook

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

AfterQueryHook is called after FieldseekerMosquitoinspection is retrieved from the database

func (*FieldseekerMosquitoinspection) AttachOrganization added in v0.0.6

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

func (*FieldseekerMosquitoinspection) Delete

Delete deletes a single FieldseekerMosquitoinspection record with an executor

func (*FieldseekerMosquitoinspection) InsertOrganization added in v0.0.6

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

func (*FieldseekerMosquitoinspection) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerMosquitoinspection) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerMosquitoinspection) Preload added in v0.0.6

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

func (*FieldseekerMosquitoinspection) Reload

Reload refreshes the FieldseekerMosquitoinspection using the executor

func (*FieldseekerMosquitoinspection) Update

Update uses an executor to update the FieldseekerMosquitoinspection

type FieldseekerMosquitoinspectionSetter

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

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

func (*FieldseekerMosquitoinspectionSetter) Apply

func (FieldseekerMosquitoinspectionSetter) Expressions

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

func (FieldseekerMosquitoinspectionSetter) Overwrite

func (FieldseekerMosquitoinspectionSetter) SetColumns

func (FieldseekerMosquitoinspectionSetter) UpdateMod

type FieldseekerMosquitoinspectionSlice

type FieldseekerMosquitoinspectionSlice []*FieldseekerMosquitoinspection

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

func (FieldseekerMosquitoinspectionSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerMosquitoinspectionSlice is retrieved from the database

func (FieldseekerMosquitoinspectionSlice) DeleteAll

func (FieldseekerMosquitoinspectionSlice) DeleteMod

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

func (FieldseekerMosquitoinspectionSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerMosquitoinspectionSlice) Organization added in v0.0.6

func (FieldseekerMosquitoinspectionSlice) ReloadAll

func (FieldseekerMosquitoinspectionSlice) UpdateAll

func (FieldseekerMosquitoinspectionSlice) UpdateMod

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

type FieldseekerMosquitoinspectionsQuery

type FieldseekerMosquitoinspectionsQuery = *psql.ViewQuery[*FieldseekerMosquitoinspection, FieldseekerMosquitoinspectionSlice]

FieldseekerMosquitoinspectionsQuery is a query on the mosquitoinspection table

type FieldseekerPointlocation

type FieldseekerPointlocation struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is NAME
	Name null.Val[string] `db:"name" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is HABITAT
	Habitat null.Val[string] `db:"habitat" `
	// Original attribute from ArcGIS API is PRIORITY
	Priority null.Val[string] `db:"priority" `
	// Original attribute from ArcGIS API is USETYPE
	Usetype null.Val[string] `db:"usetype" `
	// Original attribute from ArcGIS API is ACTIVE
	Active null.Val[int16] `db:"active" `
	// Original attribute from ArcGIS API is DESCRIPTION
	Description null.Val[string] `db:"description" `
	// Original attribute from ArcGIS API is ACCESSDESC
	Accessdesc null.Val[string] `db:"accessdesc" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is SYMBOLOGY
	Symbology null.Val[string] `db:"symbology" `
	// Original attribute from ArcGIS API is EXTERNALID
	Externalid null.Val[string] `db:"externalid" `
	// Original attribute from ArcGIS API is NEXTACTIONDATESCHEDULED
	Nextactiondatescheduled null.Val[time.Time] `db:"nextactiondatescheduled" `
	// Original attribute from ArcGIS API is LARVINSPECTINTERVAL
	Larvinspectinterval null.Val[int16] `db:"larvinspectinterval" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is LOCATIONNUMBER
	Locationnumber null.Val[int32] `db:"locationnumber" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is STYPE
	Stype null.Val[string] `db:"stype" `
	// Original attribute from ArcGIS API is LASTINSPECTDATE
	Lastinspectdate null.Val[time.Time] `db:"lastinspectdate" `
	// Original attribute from ArcGIS API is LASTINSPECTBREEDING
	Lastinspectbreeding null.Val[string] `db:"lastinspectbreeding" `
	// Original attribute from ArcGIS API is LASTINSPECTAVGLARVAE
	Lastinspectavglarvae null.Val[float64] `db:"lastinspectavglarvae" `
	// Original attribute from ArcGIS API is LASTINSPECTAVGPUPAE
	Lastinspectavgpupae null.Val[float64] `db:"lastinspectavgpupae" `
	// Original attribute from ArcGIS API is LASTINSPECTLSTAGES
	Lastinspectlstages null.Val[string] `db:"lastinspectlstages" `
	// Original attribute from ArcGIS API is LASTINSPECTACTIONTAKEN
	Lastinspectactiontaken null.Val[string] `db:"lastinspectactiontaken" `
	// Original attribute from ArcGIS API is LASTINSPECTFIELDSPECIES
	Lastinspectfieldspecies null.Val[string] `db:"lastinspectfieldspecies" `
	// Original attribute from ArcGIS API is LASTTREATDATE
	Lasttreatdate null.Val[time.Time] `db:"lasttreatdate" `
	// Original attribute from ArcGIS API is LASTTREATPRODUCT
	Lasttreatproduct null.Val[string] `db:"lasttreatproduct" `
	// Original attribute from ArcGIS API is LASTTREATQTY
	Lasttreatqty null.Val[float64] `db:"lasttreatqty" `
	// Original attribute from ArcGIS API is LASTTREATQTYUNIT
	Lasttreatqtyunit null.Val[string] `db:"lasttreatqtyunit" `
	// Original attribute from ArcGIS API is LASTINSPECTACTIVITY
	Lastinspectactivity null.Val[string] `db:"lastinspectactivity" `
	// Original attribute from ArcGIS API is LASTTREATACTIVITY
	Lasttreatactivity null.Val[string] `db:"lasttreatactivity" `
	// Original attribute from ArcGIS API is LASTINSPECTCONDITIONS
	Lastinspectconditions null.Val[string] `db:"lastinspectconditions" `
	// Original attribute from ArcGIS API is WATERORIGIN
	Waterorigin null.Val[string] `db:"waterorigin" `
	// Original attribute from ArcGIS API is X
	X null.Val[float64] `db:"x" `
	// Original attribute from ArcGIS API is Y
	Y null.Val[float64] `db:"y" `
	// Original attribute from ArcGIS API is ASSIGNEDTECH
	Assignedtech null.Val[string] `db:"assignedtech" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is JURISDICTION
	Jurisdiction null.Val[string] `db:"jurisdiction" `
	// Original attribute from ArcGIS API is deactivate_reason
	DeactivateReason null.Val[string] `db:"deactivate_reason" `
	// Original attribute from ArcGIS API is scalarPriority
	Scalarpriority null.Val[int32] `db:"scalarpriority" `
	// Original attribute from ArcGIS API is sourceStatus
	Sourcestatus   null.Val[string]            `db:"sourcestatus" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `
	H3cell         null.Val[string]            `db:"h3cell,generated" `

	R fieldseekerPointlocationR `db:"-" `
}

FieldseekerPointlocation is an object representing the database table.

func FindFieldseekerPointlocation

func FindFieldseekerPointlocation(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerPointlocation, error)

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

func (*FieldseekerPointlocation) AfterQueryHook

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

AfterQueryHook is called after FieldseekerPointlocation is retrieved from the database

func (*FieldseekerPointlocation) AttachOrganization added in v0.0.6

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

func (*FieldseekerPointlocation) Delete

Delete deletes a single FieldseekerPointlocation record with an executor

func (*FieldseekerPointlocation) InsertOrganization added in v0.0.6

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

func (*FieldseekerPointlocation) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerPointlocation) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerPointlocation) Preload added in v0.0.6

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

func (*FieldseekerPointlocation) Reload

Reload refreshes the FieldseekerPointlocation using the executor

func (*FieldseekerPointlocation) Update

Update uses an executor to update the FieldseekerPointlocation

type FieldseekerPointlocationSetter

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

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

func (*FieldseekerPointlocationSetter) Apply

func (FieldseekerPointlocationSetter) Expressions

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

func (FieldseekerPointlocationSetter) Overwrite

func (FieldseekerPointlocationSetter) SetColumns

func (s FieldseekerPointlocationSetter) SetColumns() []string

func (FieldseekerPointlocationSetter) UpdateMod

type FieldseekerPointlocationSlice

type FieldseekerPointlocationSlice []*FieldseekerPointlocation

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

func (FieldseekerPointlocationSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerPointlocationSlice is retrieved from the database

func (FieldseekerPointlocationSlice) DeleteAll

func (FieldseekerPointlocationSlice) DeleteMod

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

func (FieldseekerPointlocationSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerPointlocationSlice) Organization added in v0.0.6

func (FieldseekerPointlocationSlice) ReloadAll

func (FieldseekerPointlocationSlice) UpdateAll

func (FieldseekerPointlocationSlice) UpdateMod

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

type FieldseekerPointlocationsQuery

type FieldseekerPointlocationsQuery = *psql.ViewQuery[*FieldseekerPointlocation, FieldseekerPointlocationSlice]

FieldseekerPointlocationsQuery is a query on the pointlocation table

type FieldseekerPolygonlocation

type FieldseekerPolygonlocation struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is NAME
	Name null.Val[string] `db:"name" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is HABITAT
	Habitat null.Val[string] `db:"habitat" `
	// Original attribute from ArcGIS API is PRIORITY
	Priority null.Val[string] `db:"priority" `
	// Original attribute from ArcGIS API is USETYPE
	Usetype null.Val[string] `db:"usetype" `
	// Original attribute from ArcGIS API is ACTIVE
	Active null.Val[int16] `db:"active" `
	// Original attribute from ArcGIS API is DESCRIPTION
	Description null.Val[string] `db:"description" `
	// Original attribute from ArcGIS API is ACCESSDESC
	Accessdesc null.Val[string] `db:"accessdesc" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is SYMBOLOGY
	Symbology null.Val[string] `db:"symbology" `
	// Original attribute from ArcGIS API is EXTERNALID
	Externalid null.Val[string] `db:"externalid" `
	// Original attribute from ArcGIS API is ACRES
	Acres null.Val[float64] `db:"acres" `
	// Original attribute from ArcGIS API is NEXTACTIONDATESCHEDULED
	Nextactiondatescheduled null.Val[time.Time] `db:"nextactiondatescheduled" `
	// Original attribute from ArcGIS API is LARVINSPECTINTERVAL
	Larvinspectinterval null.Val[int16] `db:"larvinspectinterval" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is LOCATIONNUMBER
	Locationnumber null.Val[int32] `db:"locationnumber" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is LASTINSPECTDATE
	Lastinspectdate null.Val[time.Time] `db:"lastinspectdate" `
	// Original attribute from ArcGIS API is LASTINSPECTBREEDING
	Lastinspectbreeding null.Val[string] `db:"lastinspectbreeding" `
	// Original attribute from ArcGIS API is LASTINSPECTAVGLARVAE
	Lastinspectavglarvae null.Val[float64] `db:"lastinspectavglarvae" `
	// Original attribute from ArcGIS API is LASTINSPECTAVGPUPAE
	Lastinspectavgpupae null.Val[float64] `db:"lastinspectavgpupae" `
	// Original attribute from ArcGIS API is LASTINSPECTLSTAGES
	Lastinspectlstages null.Val[string] `db:"lastinspectlstages" `
	// Original attribute from ArcGIS API is LASTINSPECTACTIONTAKEN
	Lastinspectactiontaken null.Val[string] `db:"lastinspectactiontaken" `
	// Original attribute from ArcGIS API is LASTINSPECTFIELDSPECIES
	Lastinspectfieldspecies null.Val[string] `db:"lastinspectfieldspecies" `
	// Original attribute from ArcGIS API is LASTTREATDATE
	Lasttreatdate null.Val[time.Time] `db:"lasttreatdate" `
	// Original attribute from ArcGIS API is LASTTREATPRODUCT
	Lasttreatproduct null.Val[string] `db:"lasttreatproduct" `
	// Original attribute from ArcGIS API is LASTTREATQTY
	Lasttreatqty null.Val[float64] `db:"lasttreatqty" `
	// Original attribute from ArcGIS API is LASTTREATQTYUNIT
	Lasttreatqtyunit null.Val[string] `db:"lasttreatqtyunit" `
	// Original attribute from ArcGIS API is HECTARES
	Hectares null.Val[float64] `db:"hectares" `
	// Original attribute from ArcGIS API is LASTINSPECTACTIVITY
	Lastinspectactivity null.Val[string] `db:"lastinspectactivity" `
	// Original attribute from ArcGIS API is LASTTREATACTIVITY
	Lasttreatactivity null.Val[string] `db:"lasttreatactivity" `
	// Original attribute from ArcGIS API is LASTINSPECTCONDITIONS
	Lastinspectconditions null.Val[string] `db:"lastinspectconditions" `
	// Original attribute from ArcGIS API is WATERORIGIN
	Waterorigin null.Val[string] `db:"waterorigin" `
	// Original attribute from ArcGIS API is Filter
	Filter null.Val[string] `db:"filter" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is JURISDICTION
	Jurisdiction null.Val[string] `db:"jurisdiction" `
	// Original attribute from ArcGIS API is Shape__Area
	ShapeArea null.Val[float64] `db:"shape__area" `
	// Original attribute from ArcGIS API is Shape__Length
	ShapeLength    null.Val[float64]           `db:"shape__length" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerPolygonlocationR `db:"-" `
}

FieldseekerPolygonlocation is an object representing the database table.

func FindFieldseekerPolygonlocation

func FindFieldseekerPolygonlocation(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerPolygonlocation, error)

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

func (*FieldseekerPolygonlocation) AfterQueryHook

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

AfterQueryHook is called after FieldseekerPolygonlocation is retrieved from the database

func (*FieldseekerPolygonlocation) AttachOrganization added in v0.0.6

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

func (*FieldseekerPolygonlocation) Delete

Delete deletes a single FieldseekerPolygonlocation record with an executor

func (*FieldseekerPolygonlocation) InsertOrganization added in v0.0.6

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

func (*FieldseekerPolygonlocation) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerPolygonlocation) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerPolygonlocation) Preload added in v0.0.6

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

func (*FieldseekerPolygonlocation) Reload

Reload refreshes the FieldseekerPolygonlocation using the executor

func (*FieldseekerPolygonlocation) Update

Update uses an executor to update the FieldseekerPolygonlocation

type FieldseekerPolygonlocationSetter

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

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

func (*FieldseekerPolygonlocationSetter) Apply

func (FieldseekerPolygonlocationSetter) Expressions

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

func (FieldseekerPolygonlocationSetter) Overwrite

func (FieldseekerPolygonlocationSetter) SetColumns

func (s FieldseekerPolygonlocationSetter) SetColumns() []string

func (FieldseekerPolygonlocationSetter) UpdateMod

type FieldseekerPolygonlocationSlice

type FieldseekerPolygonlocationSlice []*FieldseekerPolygonlocation

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

func (FieldseekerPolygonlocationSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerPolygonlocationSlice is retrieved from the database

func (FieldseekerPolygonlocationSlice) DeleteAll

func (FieldseekerPolygonlocationSlice) DeleteMod

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

func (FieldseekerPolygonlocationSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerPolygonlocationSlice) Organization added in v0.0.6

func (FieldseekerPolygonlocationSlice) ReloadAll

func (FieldseekerPolygonlocationSlice) UpdateAll

func (FieldseekerPolygonlocationSlice) UpdateMod

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

type FieldseekerPolygonlocationsQuery

type FieldseekerPolygonlocationsQuery = *psql.ViewQuery[*FieldseekerPolygonlocation, FieldseekerPolygonlocationSlice]

FieldseekerPolygonlocationsQuery is a query on the polygonlocation table

type FieldseekerPool

type FieldseekerPool struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is TRAPDATA_ID
	TrapdataID null.Val[uuid.UUID] `db:"trapdata_id" `
	// Original attribute from ArcGIS API is DATESENT
	Datesent null.Val[time.Time] `db:"datesent" `
	// Original attribute from ArcGIS API is SURVTECH
	Survtech null.Val[string] `db:"survtech" `
	// Original attribute from ArcGIS API is DATETESTED
	Datetested null.Val[time.Time] `db:"datetested" `
	// Original attribute from ArcGIS API is TESTTECH
	Testtech null.Val[string] `db:"testtech" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is SAMPLEID
	Sampleid null.Val[string] `db:"sampleid" `
	// Original attribute from ArcGIS API is PROCESSED
	Processed null.Val[int16] `db:"processed" `
	// Original attribute from ArcGIS API is LAB_ID
	LabID null.Val[uuid.UUID] `db:"lab_id" `
	// Original attribute from ArcGIS API is TESTMETHOD
	Testmethod null.Val[string] `db:"testmethod" `
	// Original attribute from ArcGIS API is DISEASETESTED
	Diseasetested null.Val[string] `db:"diseasetested" `
	// Original attribute from ArcGIS API is DISEASEPOS
	Diseasepos null.Val[string] `db:"diseasepos" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is LAB
	Lab null.Val[string] `db:"lab" `
	// Original attribute from ArcGIS API is POOLYEAR
	Poolyear null.Val[int16] `db:"poolyear" `
	// Original attribute from ArcGIS API is GATEWAYSYNC
	Gatewaysync null.Val[int16] `db:"gatewaysync" `
	// Original attribute from ArcGIS API is VECTORSURVCOLLECTIONID
	Vectorsurvcollectionid null.Val[string] `db:"vectorsurvcollectionid" `
	// Original attribute from ArcGIS API is VECTORSURVPOOLID
	Vectorsurvpoolid null.Val[string] `db:"vectorsurvpoolid" `
	// Original attribute from ArcGIS API is VECTORSURVTRAPDATAID
	Vectorsurvtrapdataid null.Val[string] `db:"vectorsurvtrapdataid" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor         null.Val[string]            `db:"editor" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerPoolR `db:"-" `
}

FieldseekerPool is an object representing the database table.

func FindFieldseekerPool

func FindFieldseekerPool(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerPool, error)

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

func (*FieldseekerPool) AfterQueryHook

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

AfterQueryHook is called after FieldseekerPool is retrieved from the database

func (*FieldseekerPool) AttachOrganization added in v0.0.6

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

func (*FieldseekerPool) Delete

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

Delete deletes a single FieldseekerPool record with an executor

func (*FieldseekerPool) InsertOrganization added in v0.0.6

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

func (*FieldseekerPool) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerPool) Organization added in v0.0.6

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

Organization starts a query for related objects on organization

func (*FieldseekerPool) Preload added in v0.0.6

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

func (*FieldseekerPool) Reload

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

Reload refreshes the FieldseekerPool using the executor

func (*FieldseekerPool) Update

Update uses an executor to update the FieldseekerPool

type FieldseekerPoolSetter

type FieldseekerPoolSetter struct {
	Objectid               omit.Val[int64]                       `db:"objectid,pk" `
	TrapdataID             omitnull.Val[uuid.UUID]               `db:"trapdata_id" `
	Datesent               omitnull.Val[time.Time]               `db:"datesent" `
	Survtech               omitnull.Val[string]                  `db:"survtech" `
	Datetested             omitnull.Val[time.Time]               `db:"datetested" `
	Testtech               omitnull.Val[string]                  `db:"testtech" `
	Comments               omitnull.Val[string]                  `db:"comments" `
	Sampleid               omitnull.Val[string]                  `db:"sampleid" `
	Processed              omitnull.Val[int16]                   `db:"processed" `
	LabID                  omitnull.Val[uuid.UUID]               `db:"lab_id" `
	Testmethod             omitnull.Val[string]                  `db:"testmethod" `
	Diseasetested          omitnull.Val[string]                  `db:"diseasetested" `
	Diseasepos             omitnull.Val[string]                  `db:"diseasepos" `
	Globalid               omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser            omitnull.Val[string]                  `db:"created_user" `
	CreatedDate            omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser         omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate         omitnull.Val[time.Time]               `db:"last_edited_date" `
	Lab                    omitnull.Val[string]                  `db:"lab" `
	Poolyear               omitnull.Val[int16]                   `db:"poolyear" `
	Gatewaysync            omitnull.Val[int16]                   `db:"gatewaysync" `
	Vectorsurvcollectionid omitnull.Val[string]                  `db:"vectorsurvcollectionid" `
	Vectorsurvpoolid       omitnull.Val[string]                  `db:"vectorsurvpoolid" `
	Vectorsurvtrapdataid   omitnull.Val[string]                  `db:"vectorsurvtrapdataid" `
	Creationdate           omitnull.Val[time.Time]               `db:"creationdate" `
	Creator                omitnull.Val[string]                  `db:"creator" `
	Editdate               omitnull.Val[time.Time]               `db:"editdate" `
	Editor                 omitnull.Val[string]                  `db:"editor" `
	Geometry               omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial             omitnull.Val[string]                  `db:"geospatial" `
	Version                omit.Val[int32]                       `db:"version,pk" `
	OrganizationID         omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerPoolSetter) Apply

func (FieldseekerPoolSetter) Expressions

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

func (FieldseekerPoolSetter) Overwrite

func (s FieldseekerPoolSetter) Overwrite(t *FieldseekerPool)

func (FieldseekerPoolSetter) SetColumns

func (s FieldseekerPoolSetter) SetColumns() []string

func (FieldseekerPoolSetter) UpdateMod

type FieldseekerPoolSlice

type FieldseekerPoolSlice []*FieldseekerPool

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

func (FieldseekerPoolSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerPoolSlice is retrieved from the database

func (FieldseekerPoolSlice) DeleteAll

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

func (FieldseekerPoolSlice) DeleteMod

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

func (FieldseekerPoolSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerPoolSlice) Organization added in v0.0.6

func (FieldseekerPoolSlice) ReloadAll

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

func (FieldseekerPoolSlice) UpdateAll

func (FieldseekerPoolSlice) UpdateMod

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

type FieldseekerPooldetail

type FieldseekerPooldetail struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is TRAPDATA_ID
	TrapdataID null.Val[uuid.UUID] `db:"trapdata_id" `
	// Original attribute from ArcGIS API is POOL_ID
	PoolID null.Val[uuid.UUID] `db:"pool_id" `
	// Original attribute from ArcGIS API is SPECIES
	Species null.Val[string] `db:"species" `
	// Original attribute from ArcGIS API is FEMALES
	Females null.Val[int16] `db:"females" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor         null.Val[string]            `db:"editor" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerPooldetailR `db:"-" `
}

FieldseekerPooldetail is an object representing the database table.

func FindFieldseekerPooldetail

func FindFieldseekerPooldetail(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerPooldetail, error)

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

func (*FieldseekerPooldetail) AfterQueryHook

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

AfterQueryHook is called after FieldseekerPooldetail is retrieved from the database

func (*FieldseekerPooldetail) AttachOrganization added in v0.0.6

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

func (*FieldseekerPooldetail) Delete

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

Delete deletes a single FieldseekerPooldetail record with an executor

func (*FieldseekerPooldetail) InsertOrganization added in v0.0.6

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

func (*FieldseekerPooldetail) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerPooldetail) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerPooldetail) Preload added in v0.0.6

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

func (*FieldseekerPooldetail) Reload

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

Reload refreshes the FieldseekerPooldetail using the executor

func (*FieldseekerPooldetail) Update

Update uses an executor to update the FieldseekerPooldetail

type FieldseekerPooldetailSetter

type FieldseekerPooldetailSetter struct {
	Objectid       omit.Val[int64]                       `db:"objectid,pk" `
	TrapdataID     omitnull.Val[uuid.UUID]               `db:"trapdata_id" `
	PoolID         omitnull.Val[uuid.UUID]               `db:"pool_id" `
	Species        omitnull.Val[string]                  `db:"species" `
	Females        omitnull.Val[int16]                   `db:"females" `
	Globalid       omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser    omitnull.Val[string]                  `db:"created_user" `
	CreatedDate    omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate omitnull.Val[time.Time]               `db:"last_edited_date" `
	Creationdate   omitnull.Val[time.Time]               `db:"creationdate" `
	Creator        omitnull.Val[string]                  `db:"creator" `
	Editdate       omitnull.Val[time.Time]               `db:"editdate" `
	Editor         omitnull.Val[string]                  `db:"editor" `
	Geometry       omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial     omitnull.Val[string]                  `db:"geospatial" `
	Version        omit.Val[int32]                       `db:"version,pk" `
	OrganizationID omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerPooldetailSetter) Apply

func (FieldseekerPooldetailSetter) Expressions

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

func (FieldseekerPooldetailSetter) Overwrite

func (FieldseekerPooldetailSetter) SetColumns

func (s FieldseekerPooldetailSetter) SetColumns() []string

func (FieldseekerPooldetailSetter) UpdateMod

type FieldseekerPooldetailSlice

type FieldseekerPooldetailSlice []*FieldseekerPooldetail

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

func (FieldseekerPooldetailSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerPooldetailSlice is retrieved from the database

func (FieldseekerPooldetailSlice) DeleteAll

func (FieldseekerPooldetailSlice) DeleteMod

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

func (FieldseekerPooldetailSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerPooldetailSlice) Organization added in v0.0.6

func (FieldseekerPooldetailSlice) ReloadAll

func (FieldseekerPooldetailSlice) UpdateAll

func (FieldseekerPooldetailSlice) UpdateMod

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

type FieldseekerPooldetailsQuery

type FieldseekerPooldetailsQuery = *psql.ViewQuery[*FieldseekerPooldetail, FieldseekerPooldetailSlice]

FieldseekerPooldetailsQuery is a query on the pooldetail table

type FieldseekerPoolsQuery

type FieldseekerPoolsQuery = *psql.ViewQuery[*FieldseekerPool, FieldseekerPoolSlice]

FieldseekerPoolsQuery is a query on the pool table

type FieldseekerProposedtreatmentarea

type FieldseekerProposedtreatmentarea struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is METHOD
	Method null.Val[string] `db:"method" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is REVIEWED
	Reviewed null.Val[int16] `db:"reviewed" `
	// Original attribute from ArcGIS API is REVIEWEDBY
	Reviewedby null.Val[string] `db:"reviewedby" `
	// Original attribute from ArcGIS API is REVIEWEDDATE
	Revieweddate null.Val[time.Time] `db:"revieweddate" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is COMPLETEDDATE
	Completeddate null.Val[time.Time] `db:"completeddate" `
	// Original attribute from ArcGIS API is COMPLETEDBY
	Completedby null.Val[string] `db:"completedby" `
	// Original attribute from ArcGIS API is COMPLETED
	Completed null.Val[int16] `db:"completed" `
	// Original attribute from ArcGIS API is ISSPRAYROUTE
	Issprayroute null.Val[int16] `db:"issprayroute" `
	// Original attribute from ArcGIS API is NAME
	Name null.Val[string] `db:"name" `
	// Original attribute from ArcGIS API is ACRES
	Acres null.Val[float64] `db:"acres" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is EXPORTED
	Exported null.Val[int16] `db:"exported" `
	// Original attribute from ArcGIS API is TARGETPRODUCT
	Targetproduct null.Val[string] `db:"targetproduct" `
	// Original attribute from ArcGIS API is TARGETAPPRATE
	Targetapprate null.Val[float64] `db:"targetapprate" `
	// Original attribute from ArcGIS API is HECTARES
	Hectares null.Val[float64] `db:"hectares" `
	// Original attribute from ArcGIS API is LASTTREATACTIVITY
	Lasttreatactivity null.Val[string] `db:"lasttreatactivity" `
	// Original attribute from ArcGIS API is LASTTREATDATE
	Lasttreatdate null.Val[time.Time] `db:"lasttreatdate" `
	// Original attribute from ArcGIS API is LASTTREATPRODUCT
	Lasttreatproduct null.Val[string] `db:"lasttreatproduct" `
	// Original attribute from ArcGIS API is LASTTREATQTY
	Lasttreatqty null.Val[float64] `db:"lasttreatqty" `
	// Original attribute from ArcGIS API is LASTTREATQTYUNIT
	Lasttreatqtyunit null.Val[string] `db:"lasttreatqtyunit" `
	// Original attribute from ArcGIS API is PRIORITY
	Priority null.Val[string] `db:"priority" `
	// Original attribute from ArcGIS API is DUEDATE
	Duedate null.Val[time.Time] `db:"duedate" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is TARGETSPECIES
	Targetspecies null.Val[string] `db:"targetspecies" `
	// Original attribute from ArcGIS API is Shape__Area
	ShapeArea null.Val[float64] `db:"shape__area" `
	// Original attribute from ArcGIS API is Shape__Length
	ShapeLength    null.Val[float64]           `db:"shape__length" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerProposedtreatmentareaR `db:"-" `
}

FieldseekerProposedtreatmentarea is an object representing the database table.

func FindFieldseekerProposedtreatmentarea

func FindFieldseekerProposedtreatmentarea(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerProposedtreatmentarea, error)

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

func (*FieldseekerProposedtreatmentarea) AfterQueryHook

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

AfterQueryHook is called after FieldseekerProposedtreatmentarea is retrieved from the database

func (*FieldseekerProposedtreatmentarea) AttachOrganization added in v0.0.6

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

func (*FieldseekerProposedtreatmentarea) Delete

Delete deletes a single FieldseekerProposedtreatmentarea record with an executor

func (*FieldseekerProposedtreatmentarea) InsertOrganization added in v0.0.6

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

func (*FieldseekerProposedtreatmentarea) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerProposedtreatmentarea) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerProposedtreatmentarea) Preload added in v0.0.6

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

func (*FieldseekerProposedtreatmentarea) Reload

Reload refreshes the FieldseekerProposedtreatmentarea using the executor

func (*FieldseekerProposedtreatmentarea) Update

Update uses an executor to update the FieldseekerProposedtreatmentarea

type FieldseekerProposedtreatmentareaSetter

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

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

func (*FieldseekerProposedtreatmentareaSetter) Apply

func (FieldseekerProposedtreatmentareaSetter) Expressions

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

func (FieldseekerProposedtreatmentareaSetter) Overwrite

func (FieldseekerProposedtreatmentareaSetter) SetColumns

func (FieldseekerProposedtreatmentareaSetter) UpdateMod

type FieldseekerProposedtreatmentareaSlice

type FieldseekerProposedtreatmentareaSlice []*FieldseekerProposedtreatmentarea

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

func (FieldseekerProposedtreatmentareaSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerProposedtreatmentareaSlice is retrieved from the database

func (FieldseekerProposedtreatmentareaSlice) DeleteAll

func (FieldseekerProposedtreatmentareaSlice) DeleteMod

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

func (FieldseekerProposedtreatmentareaSlice) LoadOrganization added in v0.0.6

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

func (FieldseekerProposedtreatmentareaSlice) Organization added in v0.0.6

func (FieldseekerProposedtreatmentareaSlice) ReloadAll

func (FieldseekerProposedtreatmentareaSlice) UpdateAll

func (FieldseekerProposedtreatmentareaSlice) UpdateMod

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

type FieldseekerProposedtreatmentareasQuery

type FieldseekerProposedtreatmentareasQuery = *psql.ViewQuery[*FieldseekerProposedtreatmentarea, FieldseekerProposedtreatmentareaSlice]

FieldseekerProposedtreatmentareasQuery is a query on the proposedtreatmentarea table

type FieldseekerQamosquitoinspection

type FieldseekerQamosquitoinspection struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is POSDIPS
	Posdips null.Val[int16] `db:"posdips" `
	// Original attribute from ArcGIS API is ACTIONTAKEN
	Actiontaken null.Val[string] `db:"actiontaken" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is AVETEMP
	Avetemp null.Val[float64] `db:"avetemp" `
	// Original attribute from ArcGIS API is WINDSPEED
	Windspeed null.Val[float64] `db:"windspeed" `
	// Original attribute from ArcGIS API is RAINGAUGE
	Raingauge null.Val[float64] `db:"raingauge" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is STARTDATETIME
	Startdatetime null.Val[time.Time] `db:"startdatetime" `
	// Original attribute from ArcGIS API is ENDDATETIME
	Enddatetime null.Val[time.Time] `db:"enddatetime" `
	// Original attribute from ArcGIS API is WINDDIR
	Winddir null.Val[string] `db:"winddir" `
	// Original attribute from ArcGIS API is REVIEWED
	Reviewed null.Val[int16] `db:"reviewed" `
	// Original attribute from ArcGIS API is REVIEWEDBY
	Reviewedby null.Val[string] `db:"reviewedby" `
	// Original attribute from ArcGIS API is REVIEWEDDATE
	Revieweddate null.Val[time.Time] `db:"revieweddate" `
	// Original attribute from ArcGIS API is LOCATIONNAME
	Locationname null.Val[string] `db:"locationname" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is RECORDSTATUS
	Recordstatus null.Val[int16] `db:"recordstatus" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is LR
	LR null.Val[int16] `db:"lr" `
	// Original attribute from ArcGIS API is NEGDIPS
	Negdips null.Val[int16] `db:"negdips" `
	// Original attribute from ArcGIS API is TOTALACRES
	Totalacres null.Val[float64] `db:"totalacres" `
	// Original attribute from ArcGIS API is ACRESBREEDING
	Acresbreeding null.Val[float64] `db:"acresbreeding" `
	// Original attribute from ArcGIS API is FISH
	Fish null.Val[int16] `db:"fish" `
	// Original attribute from ArcGIS API is SITETYPE
	Sitetype null.Val[string] `db:"sitetype" `
	// Original attribute from ArcGIS API is BREEDINGPOTENTIAL
	Breedingpotential null.Val[string] `db:"breedingpotential" `
	// Original attribute from ArcGIS API is MOVINGWATER
	Movingwater null.Val[int16] `db:"movingwater" `
	// Original attribute from ArcGIS API is NOWATEREVER
	Nowaterever null.Val[int16] `db:"nowaterever" `
	// Original attribute from ArcGIS API is MOSQUITOHABITAT
	Mosquitohabitat null.Val[string] `db:"mosquitohabitat" `
	// Original attribute from ArcGIS API is HABVALUE1
	Habvalue1 null.Val[int16] `db:"habvalue1" `
	// Original attribute from ArcGIS API is HABVALUE1PERCENT
	Habvalue1percent null.Val[int16] `db:"habvalue1percent" `
	// Original attribute from ArcGIS API is HABVALUE2
	Habvalue2 null.Val[int16] `db:"habvalue2" `
	// Original attribute from ArcGIS API is HABVALUE2PERCENT
	Habvalue2percent null.Val[int16] `db:"habvalue2percent" `
	// Original attribute from ArcGIS API is POTENTIAL
	Potential null.Val[int16] `db:"potential" `
	// Original attribute from ArcGIS API is LARVAEPRESENT
	Larvaepresent null.Val[int16] `db:"larvaepresent" `
	// Original attribute from ArcGIS API is LARVAEINSIDETREATEDAREA
	Larvaeinsidetreatedarea null.Val[int16] `db:"larvaeinsidetreatedarea" `
	// Original attribute from ArcGIS API is LARVAEOUTSIDETREATEDAREA
	Larvaeoutsidetreatedarea null.Val[int16] `db:"larvaeoutsidetreatedarea" `
	// Original attribute from ArcGIS API is LARVAEREASON
	Larvaereason null.Val[string] `db:"larvaereason" `
	// Original attribute from ArcGIS API is AQUATICORGANISMS
	Aquaticorganisms null.Val[string] `db:"aquaticorganisms" `
	// Original attribute from ArcGIS API is VEGETATION
	Vegetation null.Val[string] `db:"vegetation" `
	// Original attribute from ArcGIS API is SOURCEREDUCTION
	Sourcereduction null.Val[string] `db:"sourcereduction" `
	// Original attribute from ArcGIS API is WATERPRESENT
	Waterpresent null.Val[int16] `db:"waterpresent" `
	// Original attribute from ArcGIS API is WATERMOVEMENT1
	Watermovement1 null.Val[string] `db:"watermovement1" `
	// Original attribute from ArcGIS API is WATERMOVEMENT1PERCENT
	Watermovement1percent null.Val[int16] `db:"watermovement1percent" `
	// Original attribute from ArcGIS API is WATERMOVEMENT2
	Watermovement2 null.Val[string] `db:"watermovement2" `
	// Original attribute from ArcGIS API is WATERMOVEMENT2PERCENT
	Watermovement2percent null.Val[int16] `db:"watermovement2percent" `
	// Original attribute from ArcGIS API is SOILCONDITIONS
	Soilconditions null.Val[string] `db:"soilconditions" `
	// Original attribute from ArcGIS API is WATERDURATION
	Waterduration null.Val[string] `db:"waterduration" `
	// Original attribute from ArcGIS API is WATERSOURCE
	Watersource null.Val[string] `db:"watersource" `
	// Original attribute from ArcGIS API is WATERCONDITIONS
	Waterconditions null.Val[string] `db:"waterconditions" `
	// Original attribute from ArcGIS API is ADULTACTIVITY
	Adultactivity null.Val[int16] `db:"adultactivity" `
	// Original attribute from ArcGIS API is LINELOCID
	Linelocid null.Val[uuid.UUID] `db:"linelocid" `
	// Original attribute from ArcGIS API is POINTLOCID
	Pointlocid null.Val[uuid.UUID] `db:"pointlocid" `
	// Original attribute from ArcGIS API is POLYGONLOCID
	Polygonlocid null.Val[uuid.UUID] `db:"polygonlocid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is FIELDTECH
	Fieldtech null.Val[string] `db:"fieldtech" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor         null.Val[string]            `db:"editor" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerQamosquitoinspectionR `db:"-" `
}

FieldseekerQamosquitoinspection is an object representing the database table.

func FindFieldseekerQamosquitoinspection

func FindFieldseekerQamosquitoinspection(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerQamosquitoinspection, error)

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

func (*FieldseekerQamosquitoinspection) AfterQueryHook

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

AfterQueryHook is called after FieldseekerQamosquitoinspection is retrieved from the database

func (*FieldseekerQamosquitoinspection) AttachOrganization added in v0.0.6

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

func (*FieldseekerQamosquitoinspection) Delete

Delete deletes a single FieldseekerQamosquitoinspection record with an executor

func (*FieldseekerQamosquitoinspection) InsertOrganization added in v0.0.6

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

func (*FieldseekerQamosquitoinspection) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerQamosquitoinspection) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerQamosquitoinspection) Preload added in v0.0.6

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

func (*FieldseekerQamosquitoinspection) Reload

Reload refreshes the FieldseekerQamosquitoinspection using the executor

func (*FieldseekerQamosquitoinspection) Update

Update uses an executor to update the FieldseekerQamosquitoinspection

type FieldseekerQamosquitoinspectionSetter

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

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

func (*FieldseekerQamosquitoinspectionSetter) Apply

func (FieldseekerQamosquitoinspectionSetter) Expressions

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

func (FieldseekerQamosquitoinspectionSetter) Overwrite

func (FieldseekerQamosquitoinspectionSetter) SetColumns

func (FieldseekerQamosquitoinspectionSetter) UpdateMod

type FieldseekerQamosquitoinspectionSlice

type FieldseekerQamosquitoinspectionSlice []*FieldseekerQamosquitoinspection

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

func (FieldseekerQamosquitoinspectionSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerQamosquitoinspectionSlice is retrieved from the database

func (FieldseekerQamosquitoinspectionSlice) DeleteAll

func (FieldseekerQamosquitoinspectionSlice) DeleteMod

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

func (FieldseekerQamosquitoinspectionSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerQamosquitoinspectionSlice) Organization added in v0.0.6

func (FieldseekerQamosquitoinspectionSlice) ReloadAll

func (FieldseekerQamosquitoinspectionSlice) UpdateAll

func (FieldseekerQamosquitoinspectionSlice) UpdateMod

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

type FieldseekerQamosquitoinspectionsQuery

type FieldseekerQamosquitoinspectionsQuery = *psql.ViewQuery[*FieldseekerQamosquitoinspection, FieldseekerQamosquitoinspectionSlice]

FieldseekerQamosquitoinspectionsQuery is a query on the qamosquitoinspection table

type FieldseekerRodentlocation

type FieldseekerRodentlocation struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is LOCATIONNAME
	Locationname null.Val[string] `db:"locationname" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is HABITAT
	Habitat null.Val[string] `db:"habitat" `
	// Original attribute from ArcGIS API is PRIORITY
	Priority null.Val[string] `db:"priority" `
	// Original attribute from ArcGIS API is USETYPE
	Usetype null.Val[string] `db:"usetype" `
	// Original attribute from ArcGIS API is ACTIVE
	Active null.Val[int16] `db:"active" `
	// Original attribute from ArcGIS API is DESCRIPTION
	Description null.Val[string] `db:"description" `
	// Original attribute from ArcGIS API is ACCESSDESC
	Accessdesc null.Val[string] `db:"accessdesc" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is SYMBOLOGY
	Symbology null.Val[string] `db:"symbology" `
	// Original attribute from ArcGIS API is EXTERNALID
	Externalid null.Val[string] `db:"externalid" `
	// Original attribute from ArcGIS API is NEXTACTIONDATESCHEDULED
	Nextactiondatescheduled null.Val[time.Time] `db:"nextactiondatescheduled" `
	// Original attribute from ArcGIS API is LOCATIONNUMBER
	Locationnumber null.Val[int32] `db:"locationnumber" `
	// Original attribute from ArcGIS API is LASTINSPECTDATE
	Lastinspectdate null.Val[time.Time] `db:"lastinspectdate" `
	// Original attribute from ArcGIS API is LASTINSPECTSPECIES
	Lastinspectspecies null.Val[string] `db:"lastinspectspecies" `
	// Original attribute from ArcGIS API is LASTINSPECTACTION
	Lastinspectaction null.Val[string] `db:"lastinspectaction" `
	// Original attribute from ArcGIS API is LASTINSPECTCONDITIONS
	Lastinspectconditions null.Val[string] `db:"lastinspectconditions" `
	// Original attribute from ArcGIS API is LASTINSPECTRODENTEVIDENCE
	Lastinspectrodentevidence null.Val[string] `db:"lastinspectrodentevidence" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is JURISDICTION
	Jurisdiction   null.Val[string]            `db:"jurisdiction" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerRodentlocationR `db:"-" `
}

FieldseekerRodentlocation is an object representing the database table.

func FindFieldseekerRodentlocation

func FindFieldseekerRodentlocation(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerRodentlocation, error)

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

func (*FieldseekerRodentlocation) AfterQueryHook

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

AfterQueryHook is called after FieldseekerRodentlocation is retrieved from the database

func (*FieldseekerRodentlocation) AttachOrganization added in v0.0.6

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

func (*FieldseekerRodentlocation) Delete

Delete deletes a single FieldseekerRodentlocation record with an executor

func (*FieldseekerRodentlocation) InsertOrganization added in v0.0.6

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

func (*FieldseekerRodentlocation) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerRodentlocation) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerRodentlocation) Preload added in v0.0.6

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

func (*FieldseekerRodentlocation) Reload

Reload refreshes the FieldseekerRodentlocation using the executor

func (*FieldseekerRodentlocation) Update

Update uses an executor to update the FieldseekerRodentlocation

type FieldseekerRodentlocationSetter

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

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

func (*FieldseekerRodentlocationSetter) Apply

func (FieldseekerRodentlocationSetter) Expressions

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

func (FieldseekerRodentlocationSetter) Overwrite

func (FieldseekerRodentlocationSetter) SetColumns

func (s FieldseekerRodentlocationSetter) SetColumns() []string

func (FieldseekerRodentlocationSetter) UpdateMod

type FieldseekerRodentlocationSlice

type FieldseekerRodentlocationSlice []*FieldseekerRodentlocation

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

func (FieldseekerRodentlocationSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerRodentlocationSlice is retrieved from the database

func (FieldseekerRodentlocationSlice) DeleteAll

func (FieldseekerRodentlocationSlice) DeleteMod

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

func (FieldseekerRodentlocationSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerRodentlocationSlice) Organization added in v0.0.6

func (FieldseekerRodentlocationSlice) ReloadAll

func (FieldseekerRodentlocationSlice) UpdateAll

func (FieldseekerRodentlocationSlice) UpdateMod

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

type FieldseekerRodentlocationsQuery

type FieldseekerRodentlocationsQuery = *psql.ViewQuery[*FieldseekerRodentlocation, FieldseekerRodentlocationSlice]

FieldseekerRodentlocationsQuery is a query on the rodentlocation table

type FieldseekerSamplecollection

type FieldseekerSamplecollection struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is LOC_ID
	LocID null.Val[uuid.UUID] `db:"loc_id" `
	// Original attribute from ArcGIS API is STARTDATETIME
	Startdatetime null.Val[time.Time] `db:"startdatetime" `
	// Original attribute from ArcGIS API is ENDDATETIME
	Enddatetime null.Val[time.Time] `db:"enddatetime" `
	// Original attribute from ArcGIS API is SITECOND
	Sitecond null.Val[string] `db:"sitecond" `
	// Original attribute from ArcGIS API is SAMPLEID
	Sampleid null.Val[string] `db:"sampleid" `
	// Original attribute from ArcGIS API is SURVTECH
	Survtech null.Val[string] `db:"survtech" `
	// Original attribute from ArcGIS API is DATESENT
	Datesent null.Val[time.Time] `db:"datesent" `
	// Original attribute from ArcGIS API is DATETESTED
	Datetested null.Val[time.Time] `db:"datetested" `
	// Original attribute from ArcGIS API is TESTTECH
	Testtech null.Val[string] `db:"testtech" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is PROCESSED
	Processed null.Val[int16] `db:"processed" `
	// Original attribute from ArcGIS API is SAMPLETYPE
	Sampletype null.Val[string] `db:"sampletype" `
	// Original attribute from ArcGIS API is SAMPLECOND
	Samplecond null.Val[string] `db:"samplecond" `
	// Original attribute from ArcGIS API is SPECIES
	Species null.Val[string] `db:"species" `
	// Original attribute from ArcGIS API is SEX
	Sex null.Val[string] `db:"sex" `
	// Original attribute from ArcGIS API is AVETEMP
	Avetemp null.Val[float64] `db:"avetemp" `
	// Original attribute from ArcGIS API is WINDSPEED
	Windspeed null.Val[float64] `db:"windspeed" `
	// Original attribute from ArcGIS API is WINDDIR
	Winddir null.Val[string] `db:"winddir" `
	// Original attribute from ArcGIS API is RAINGAUGE
	Raingauge null.Val[float64] `db:"raingauge" `
	// Original attribute from ArcGIS API is ACTIVITY
	Activity null.Val[string] `db:"activity" `
	// Original attribute from ArcGIS API is TESTMETHOD
	Testmethod null.Val[string] `db:"testmethod" `
	// Original attribute from ArcGIS API is DISEASETESTED
	Diseasetested null.Val[string] `db:"diseasetested" `
	// Original attribute from ArcGIS API is DISEASEPOS
	Diseasepos null.Val[string] `db:"diseasepos" `
	// Original attribute from ArcGIS API is REVIEWED
	Reviewed null.Val[int16] `db:"reviewed" `
	// Original attribute from ArcGIS API is REVIEWEDBY
	Reviewedby null.Val[string] `db:"reviewedby" `
	// Original attribute from ArcGIS API is REVIEWEDDATE
	Revieweddate null.Val[time.Time] `db:"revieweddate" `
	// Original attribute from ArcGIS API is LOCATIONNAME
	Locationname null.Val[string] `db:"locationname" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is RECORDSTATUS
	Recordstatus null.Val[int16] `db:"recordstatus" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is LAB
	Lab null.Val[string] `db:"lab" `
	// Original attribute from ArcGIS API is FIELDTECH
	Fieldtech null.Val[string] `db:"fieldtech" `
	// Original attribute from ArcGIS API is FLOCKID
	Flockid null.Val[uuid.UUID] `db:"flockid" `
	// Original attribute from ArcGIS API is SAMPLECOUNT
	Samplecount null.Val[int16] `db:"samplecount" `
	// Original attribute from ArcGIS API is CHICKENID
	Chickenid null.Val[uuid.UUID] `db:"chickenid" `
	// Original attribute from ArcGIS API is GATEWAYSYNC
	Gatewaysync null.Val[int16] `db:"gatewaysync" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor         null.Val[string]            `db:"editor" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerSamplecollectionR `db:"-" `
}

FieldseekerSamplecollection is an object representing the database table.

func FindFieldseekerSamplecollection

func FindFieldseekerSamplecollection(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerSamplecollection, error)

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

func (*FieldseekerSamplecollection) AfterQueryHook

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

AfterQueryHook is called after FieldseekerSamplecollection is retrieved from the database

func (*FieldseekerSamplecollection) AttachOrganization added in v0.0.6

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

func (*FieldseekerSamplecollection) Delete

Delete deletes a single FieldseekerSamplecollection record with an executor

func (*FieldseekerSamplecollection) InsertOrganization added in v0.0.6

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

func (*FieldseekerSamplecollection) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerSamplecollection) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerSamplecollection) Preload added in v0.0.6

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

func (*FieldseekerSamplecollection) Reload

Reload refreshes the FieldseekerSamplecollection using the executor

func (*FieldseekerSamplecollection) Update

Update uses an executor to update the FieldseekerSamplecollection

type FieldseekerSamplecollectionSetter

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

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

func (*FieldseekerSamplecollectionSetter) Apply

func (FieldseekerSamplecollectionSetter) Expressions

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

func (FieldseekerSamplecollectionSetter) Overwrite

func (FieldseekerSamplecollectionSetter) SetColumns

func (s FieldseekerSamplecollectionSetter) SetColumns() []string

func (FieldseekerSamplecollectionSetter) UpdateMod

type FieldseekerSamplecollectionSlice

type FieldseekerSamplecollectionSlice []*FieldseekerSamplecollection

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

func (FieldseekerSamplecollectionSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerSamplecollectionSlice is retrieved from the database

func (FieldseekerSamplecollectionSlice) DeleteAll

func (FieldseekerSamplecollectionSlice) DeleteMod

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

func (FieldseekerSamplecollectionSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerSamplecollectionSlice) Organization added in v0.0.6

func (FieldseekerSamplecollectionSlice) ReloadAll

func (FieldseekerSamplecollectionSlice) UpdateAll

func (FieldseekerSamplecollectionSlice) UpdateMod

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

type FieldseekerSamplecollectionsQuery

type FieldseekerSamplecollectionsQuery = *psql.ViewQuery[*FieldseekerSamplecollection, FieldseekerSamplecollectionSlice]

FieldseekerSamplecollectionsQuery is a query on the samplecollection table

type FieldseekerSamplelocation

type FieldseekerSamplelocation struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is NAME
	Name null.Val[string] `db:"name" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is HABITAT
	Habitat null.Val[string] `db:"habitat" `
	// Original attribute from ArcGIS API is PRIORITY
	Priority null.Val[string] `db:"priority" `
	// Original attribute from ArcGIS API is USETYPE
	Usetype null.Val[string] `db:"usetype" `
	// Original attribute from ArcGIS API is ACTIVE
	Active null.Val[int16] `db:"active" `
	// Original attribute from ArcGIS API is DESCRIPTION
	Description null.Val[string] `db:"description" `
	// Original attribute from ArcGIS API is ACCESSDESC
	Accessdesc null.Val[string] `db:"accessdesc" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is EXTERNALID
	Externalid null.Val[string] `db:"externalid" `
	// Original attribute from ArcGIS API is NEXTACTIONDATESCHEDULED
	Nextactiondatescheduled null.Val[time.Time] `db:"nextactiondatescheduled" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is LOCATIONNUMBER
	Locationnumber null.Val[int32] `db:"locationnumber" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is GATEWAYSYNC
	Gatewaysync null.Val[int16] `db:"gatewaysync" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor         null.Val[string]            `db:"editor" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerSamplelocationR `db:"-" `
}

FieldseekerSamplelocation is an object representing the database table.

func FindFieldseekerSamplelocation

func FindFieldseekerSamplelocation(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerSamplelocation, error)

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

func (*FieldseekerSamplelocation) AfterQueryHook

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

AfterQueryHook is called after FieldseekerSamplelocation is retrieved from the database

func (*FieldseekerSamplelocation) AttachOrganization added in v0.0.6

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

func (*FieldseekerSamplelocation) Delete

Delete deletes a single FieldseekerSamplelocation record with an executor

func (*FieldseekerSamplelocation) InsertOrganization added in v0.0.6

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

func (*FieldseekerSamplelocation) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerSamplelocation) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerSamplelocation) Preload added in v0.0.6

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

func (*FieldseekerSamplelocation) Reload

Reload refreshes the FieldseekerSamplelocation using the executor

func (*FieldseekerSamplelocation) Update

Update uses an executor to update the FieldseekerSamplelocation

type FieldseekerSamplelocationSetter

type FieldseekerSamplelocationSetter struct {
	Objectid                omit.Val[int64]                       `db:"objectid,pk" `
	Name                    omitnull.Val[string]                  `db:"name" `
	Zone                    omitnull.Val[string]                  `db:"zone" `
	Habitat                 omitnull.Val[string]                  `db:"habitat" `
	Priority                omitnull.Val[string]                  `db:"priority" `
	Usetype                 omitnull.Val[string]                  `db:"usetype" `
	Active                  omitnull.Val[int16]                   `db:"active" `
	Description             omitnull.Val[string]                  `db:"description" `
	Accessdesc              omitnull.Val[string]                  `db:"accessdesc" `
	Comments                omitnull.Val[string]                  `db:"comments" `
	Externalid              omitnull.Val[string]                  `db:"externalid" `
	Nextactiondatescheduled omitnull.Val[time.Time]               `db:"nextactiondatescheduled" `
	Zone2                   omitnull.Val[string]                  `db:"zone2" `
	Locationnumber          omitnull.Val[int32]                   `db:"locationnumber" `
	Globalid                omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser             omitnull.Val[string]                  `db:"created_user" `
	CreatedDate             omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser          omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate          omitnull.Val[time.Time]               `db:"last_edited_date" `
	Gatewaysync             omitnull.Val[int16]                   `db:"gatewaysync" `
	Creationdate            omitnull.Val[time.Time]               `db:"creationdate" `
	Creator                 omitnull.Val[string]                  `db:"creator" `
	Editdate                omitnull.Val[time.Time]               `db:"editdate" `
	Editor                  omitnull.Val[string]                  `db:"editor" `
	Geometry                omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial              omitnull.Val[string]                  `db:"geospatial" `
	Version                 omit.Val[int32]                       `db:"version,pk" `
	OrganizationID          omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerSamplelocationSetter) Apply

func (FieldseekerSamplelocationSetter) Expressions

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

func (FieldseekerSamplelocationSetter) Overwrite

func (FieldseekerSamplelocationSetter) SetColumns

func (s FieldseekerSamplelocationSetter) SetColumns() []string

func (FieldseekerSamplelocationSetter) UpdateMod

type FieldseekerSamplelocationSlice

type FieldseekerSamplelocationSlice []*FieldseekerSamplelocation

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

func (FieldseekerSamplelocationSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerSamplelocationSlice is retrieved from the database

func (FieldseekerSamplelocationSlice) DeleteAll

func (FieldseekerSamplelocationSlice) DeleteMod

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

func (FieldseekerSamplelocationSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerSamplelocationSlice) Organization added in v0.0.6

func (FieldseekerSamplelocationSlice) ReloadAll

func (FieldseekerSamplelocationSlice) UpdateAll

func (FieldseekerSamplelocationSlice) UpdateMod

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

type FieldseekerSamplelocationsQuery

type FieldseekerSamplelocationsQuery = *psql.ViewQuery[*FieldseekerSamplelocation, FieldseekerSamplelocationSlice]

FieldseekerSamplelocationsQuery is a query on the samplelocation table

type FieldseekerServicerequest

type FieldseekerServicerequest struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is RECDATETIME
	Recdatetime null.Val[time.Time] `db:"recdatetime" `
	// Original attribute from ArcGIS API is SOURCE
	Source null.Val[string] `db:"source" `
	// Original attribute from ArcGIS API is ENTRYTECH
	Entrytech null.Val[string] `db:"entrytech" `
	// Original attribute from ArcGIS API is PRIORITY
	Priority null.Val[string] `db:"priority" `
	// Original attribute from ArcGIS API is SUPERVISOR
	Supervisor null.Val[string] `db:"supervisor" `
	// Original attribute from ArcGIS API is ASSIGNEDTECH
	Assignedtech null.Val[string] `db:"assignedtech" `
	// Original attribute from ArcGIS API is STATUS
	Status null.Val[string] `db:"status" `
	// Original attribute from ArcGIS API is CLRANON
	Clranon null.Val[int16] `db:"clranon" `
	// Original attribute from ArcGIS API is CLRFNAME
	Clrfname null.Val[string] `db:"clrfname" `
	// Original attribute from ArcGIS API is CLRPHONE1
	Clrphone1 null.Val[string] `db:"clrphone1" `
	// Original attribute from ArcGIS API is CLRPHONE2
	Clrphone2 null.Val[string] `db:"clrphone2" `
	// Original attribute from ArcGIS API is CLREMAIL
	Clremail null.Val[string] `db:"clremail" `
	// Original attribute from ArcGIS API is CLRCOMPANY
	Clrcompany null.Val[string] `db:"clrcompany" `
	// Original attribute from ArcGIS API is CLRADDR1
	Clraddr1 null.Val[string] `db:"clraddr1" `
	// Original attribute from ArcGIS API is CLRADDR2
	Clraddr2 null.Val[string] `db:"clraddr2" `
	// Original attribute from ArcGIS API is CLRCITY
	Clrcity null.Val[string] `db:"clrcity" `
	// Original attribute from ArcGIS API is CLRSTATE
	Clrstate null.Val[string] `db:"clrstate" `
	// Original attribute from ArcGIS API is CLRZIP
	Clrzip null.Val[string] `db:"clrzip" `
	// Original attribute from ArcGIS API is CLROTHER
	Clrother null.Val[string] `db:"clrother" `
	// Original attribute from ArcGIS API is CLRCONTPREF
	Clrcontpref null.Val[string] `db:"clrcontpref" `
	// Original attribute from ArcGIS API is REQCOMPANY
	Reqcompany null.Val[string] `db:"reqcompany" `
	// Original attribute from ArcGIS API is REQADDR1
	Reqaddr1 null.Val[string] `db:"reqaddr1" `
	// Original attribute from ArcGIS API is REQADDR2
	Reqaddr2 null.Val[string] `db:"reqaddr2" `
	// Original attribute from ArcGIS API is REQCITY
	Reqcity null.Val[string] `db:"reqcity" `
	// Original attribute from ArcGIS API is REQSTATE
	Reqstate null.Val[string] `db:"reqstate" `
	// Original attribute from ArcGIS API is REQZIP
	Reqzip null.Val[string] `db:"reqzip" `
	// Original attribute from ArcGIS API is REQCROSSST
	Reqcrossst null.Val[string] `db:"reqcrossst" `
	// Original attribute from ArcGIS API is REQSUBDIV
	Reqsubdiv null.Val[string] `db:"reqsubdiv" `
	// Original attribute from ArcGIS API is REQMAPGRID
	Reqmapgrid null.Val[string] `db:"reqmapgrid" `
	// Original attribute from ArcGIS API is REQPERMISSION
	Reqpermission null.Val[int16] `db:"reqpermission" `
	// Original attribute from ArcGIS API is REQTARGET
	Reqtarget null.Val[string] `db:"reqtarget" `
	// Original attribute from ArcGIS API is REQDESCR
	Reqdescr null.Val[string] `db:"reqdescr" `
	// Original attribute from ArcGIS API is REQNOTESFORTECH
	Reqnotesfortech null.Val[string] `db:"reqnotesfortech" `
	// Original attribute from ArcGIS API is REQNOTESFORCUST
	Reqnotesforcust null.Val[string] `db:"reqnotesforcust" `
	// Original attribute from ArcGIS API is REQFLDNOTES
	Reqfldnotes null.Val[string] `db:"reqfldnotes" `
	// Original attribute from ArcGIS API is REQPROGRAMACTIONS
	Reqprogramactions null.Val[string] `db:"reqprogramactions" `
	// Original attribute from ArcGIS API is DATETIMECLOSED
	Datetimeclosed null.Val[time.Time] `db:"datetimeclosed" `
	// Original attribute from ArcGIS API is TECHCLOSED
	Techclosed null.Val[string] `db:"techclosed" `
	// Original attribute from ArcGIS API is SR_NUMBER
	SRNumber null.Val[int32] `db:"sr_number" `
	// Original attribute from ArcGIS API is REVIEWED
	Reviewed null.Val[int16] `db:"reviewed" `
	// Original attribute from ArcGIS API is REVIEWEDBY
	Reviewedby null.Val[string] `db:"reviewedby" `
	// Original attribute from ArcGIS API is REVIEWEDDATE
	Revieweddate null.Val[time.Time] `db:"revieweddate" `
	// Original attribute from ArcGIS API is ACCEPTED
	Accepted null.Val[int16] `db:"accepted" `
	// Original attribute from ArcGIS API is ACCEPTEDDATE
	Accepteddate null.Val[time.Time] `db:"accepteddate" `
	// Original attribute from ArcGIS API is REJECTEDBY
	Rejectedby null.Val[string] `db:"rejectedby" `
	// Original attribute from ArcGIS API is REJECTEDDATE
	Rejecteddate null.Val[time.Time] `db:"rejecteddate" `
	// Original attribute from ArcGIS API is REJECTEDREASON
	Rejectedreason null.Val[string] `db:"rejectedreason" `
	// Original attribute from ArcGIS API is DUEDATE
	Duedate null.Val[time.Time] `db:"duedate" `
	// Original attribute from ArcGIS API is ACCEPTEDBY
	Acceptedby null.Val[string] `db:"acceptedby" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is ESTCOMPLETEDATE
	Estcompletedate null.Val[time.Time] `db:"estcompletedate" `
	// Original attribute from ArcGIS API is NEXTACTION
	Nextaction null.Val[string] `db:"nextaction" `
	// Original attribute from ArcGIS API is RECORDSTATUS
	Recordstatus null.Val[int16] `db:"recordstatus" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is FIRSTRESPONSEDATE
	Firstresponsedate null.Val[time.Time] `db:"firstresponsedate" `
	// Original attribute from ArcGIS API is RESPONSEDAYCOUNT
	Responsedaycount null.Val[int16] `db:"responsedaycount" `
	// Original attribute from ArcGIS API is ALLOWED
	Allowed null.Val[string] `db:"allowed" `
	// Original attribute from ArcGIS API is XVALUE
	Xvalue null.Val[string] `db:"xvalue" `
	// Original attribute from ArcGIS API is YVALUE
	Yvalue null.Val[string] `db:"yvalue" `
	// Original attribute from ArcGIS API is VALIDX
	Validx null.Val[string] `db:"validx" `
	// Original attribute from ArcGIS API is VALIDY
	Validy null.Val[string] `db:"validy" `
	// Original attribute from ArcGIS API is EXTERNALID
	Externalid null.Val[string] `db:"externalid" `
	// Original attribute from ArcGIS API is EXTERNALERROR
	Externalerror null.Val[string] `db:"externalerror" `
	// Original attribute from ArcGIS API is POINTLOCID
	Pointlocid null.Val[uuid.UUID] `db:"pointlocid" `
	// Original attribute from ArcGIS API is NOTIFIED
	Notified null.Val[int16] `db:"notified" `
	// Original attribute from ArcGIS API is NOTIFIEDDATE
	Notifieddate null.Val[time.Time] `db:"notifieddate" `
	// Original attribute from ArcGIS API is SCHEDULED
	Scheduled null.Val[int16] `db:"scheduled" `
	// Original attribute from ArcGIS API is SCHEDULEDDATE
	Scheduleddate null.Val[time.Time] `db:"scheduleddate" `
	// Original attribute from ArcGIS API is DOG
	Dog null.Val[int32] `db:"dog" `
	// Original attribute from ArcGIS API is schedule_period
	SchedulePeriod null.Val[string] `db:"schedule_period" `
	// Original attribute from ArcGIS API is schedule_notes
	ScheduleNotes null.Val[string] `db:"schedule_notes" `
	// Original attribute from ArcGIS API is Spanish
	Spanish null.Val[int32] `db:"spanish" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is ISSUESREPORTED
	Issuesreported null.Val[string] `db:"issuesreported" `
	// Original attribute from ArcGIS API is JURISDICTION
	Jurisdiction null.Val[string] `db:"jurisdiction" `
	// Original attribute from ArcGIS API is NOTIFICATIONTIMESTAMP
	Notificationtimestamp null.Val[string] `db:"notificationtimestamp" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2          null.Val[string]            `db:"zone2" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `
	H3cell         null.Val[string]            `db:"h3cell,generated" `

	R fieldseekerServicerequestR `db:"-" `
}

FieldseekerServicerequest is an object representing the database table.

func FindFieldseekerServicerequest

func FindFieldseekerServicerequest(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerServicerequest, error)

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

func (*FieldseekerServicerequest) AfterQueryHook

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

AfterQueryHook is called after FieldseekerServicerequest is retrieved from the database

func (*FieldseekerServicerequest) AttachOrganization added in v0.0.6

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

func (*FieldseekerServicerequest) Delete

Delete deletes a single FieldseekerServicerequest record with an executor

func (*FieldseekerServicerequest) InsertOrganization added in v0.0.6

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

func (*FieldseekerServicerequest) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerServicerequest) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerServicerequest) Preload added in v0.0.6

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

func (*FieldseekerServicerequest) Reload

Reload refreshes the FieldseekerServicerequest using the executor

func (*FieldseekerServicerequest) Update

Update uses an executor to update the FieldseekerServicerequest

type FieldseekerServicerequestSetter

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

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

func (*FieldseekerServicerequestSetter) Apply

func (FieldseekerServicerequestSetter) Expressions

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

func (FieldseekerServicerequestSetter) Overwrite

func (FieldseekerServicerequestSetter) SetColumns

func (s FieldseekerServicerequestSetter) SetColumns() []string

func (FieldseekerServicerequestSetter) UpdateMod

type FieldseekerServicerequestSlice

type FieldseekerServicerequestSlice []*FieldseekerServicerequest

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

func (FieldseekerServicerequestSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerServicerequestSlice is retrieved from the database

func (FieldseekerServicerequestSlice) DeleteAll

func (FieldseekerServicerequestSlice) DeleteMod

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

func (FieldseekerServicerequestSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerServicerequestSlice) Organization added in v0.0.6

func (FieldseekerServicerequestSlice) ReloadAll

func (FieldseekerServicerequestSlice) UpdateAll

func (FieldseekerServicerequestSlice) UpdateMod

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

type FieldseekerServicerequestsQuery

type FieldseekerServicerequestsQuery = *psql.ViewQuery[*FieldseekerServicerequest, FieldseekerServicerequestSlice]

FieldseekerServicerequestsQuery is a query on the servicerequest table

type FieldseekerSpeciesabundance

type FieldseekerSpeciesabundance struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is TRAPDATA_ID
	TrapdataID null.Val[uuid.UUID] `db:"trapdata_id" `
	// Original attribute from ArcGIS API is SPECIES
	Species null.Val[string] `db:"species" `
	// Original attribute from ArcGIS API is MALES
	Males null.Val[int16] `db:"males" `
	// Original attribute from ArcGIS API is UNKNOWN
	Unknown null.Val[int16] `db:"unknown" `
	// Original attribute from ArcGIS API is BLOODEDFEM
	Bloodedfem null.Val[int16] `db:"bloodedfem" `
	// Original attribute from ArcGIS API is GRAVIDFEM
	Gravidfem null.Val[int16] `db:"gravidfem" `
	// Original attribute from ArcGIS API is LARVAE
	Larvae null.Val[int16] `db:"larvae" `
	// Original attribute from ArcGIS API is POOLSTOGEN
	Poolstogen null.Val[int16] `db:"poolstogen" `
	// Original attribute from ArcGIS API is PROCESSED
	Processed null.Val[int16] `db:"processed" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is PUPAE
	Pupae null.Val[int16] `db:"pupae" `
	// Original attribute from ArcGIS API is EGGS
	Eggs null.Val[int16] `db:"eggs" `
	// Original attribute from ArcGIS API is FEMALES
	Females null.Val[int32] `db:"females" `
	// Original attribute from ArcGIS API is TOTAL
	Total null.Val[int32] `db:"total" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is yearWeek
	Yearweek null.Val[int32] `db:"yearweek" `
	// Original attribute from ArcGIS API is globalZScore
	Globalzscore null.Val[float64] `db:"globalzscore" `
	// Original attribute from ArcGIS API is r7Score
	R7score null.Val[float64] `db:"r7score" `
	// Original attribute from ArcGIS API is r8Score
	R8score null.Val[float64] `db:"r8score" `
	// Original attribute from ArcGIS API is h3r7
	H3R7 null.Val[string] `db:"h3r7" `
	// Original attribute from ArcGIS API is h3r8
	H3R8           null.Val[string]            `db:"h3r8" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerSpeciesabundanceR `db:"-" `
}

FieldseekerSpeciesabundance is an object representing the database table.

func FindFieldseekerSpeciesabundance

func FindFieldseekerSpeciesabundance(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerSpeciesabundance, error)

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

func (*FieldseekerSpeciesabundance) AfterQueryHook

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

AfterQueryHook is called after FieldseekerSpeciesabundance is retrieved from the database

func (*FieldseekerSpeciesabundance) AttachOrganization added in v0.0.6

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

func (*FieldseekerSpeciesabundance) Delete

Delete deletes a single FieldseekerSpeciesabundance record with an executor

func (*FieldseekerSpeciesabundance) InsertOrganization added in v0.0.6

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

func (*FieldseekerSpeciesabundance) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerSpeciesabundance) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerSpeciesabundance) Preload added in v0.0.6

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

func (*FieldseekerSpeciesabundance) Reload

Reload refreshes the FieldseekerSpeciesabundance using the executor

func (*FieldseekerSpeciesabundance) Update

Update uses an executor to update the FieldseekerSpeciesabundance

type FieldseekerSpeciesabundanceSetter

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

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

func (*FieldseekerSpeciesabundanceSetter) Apply

func (FieldseekerSpeciesabundanceSetter) Expressions

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

func (FieldseekerSpeciesabundanceSetter) Overwrite

func (FieldseekerSpeciesabundanceSetter) SetColumns

func (s FieldseekerSpeciesabundanceSetter) SetColumns() []string

func (FieldseekerSpeciesabundanceSetter) UpdateMod

type FieldseekerSpeciesabundanceSlice

type FieldseekerSpeciesabundanceSlice []*FieldseekerSpeciesabundance

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

func (FieldseekerSpeciesabundanceSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerSpeciesabundanceSlice is retrieved from the database

func (FieldseekerSpeciesabundanceSlice) DeleteAll

func (FieldseekerSpeciesabundanceSlice) DeleteMod

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

func (FieldseekerSpeciesabundanceSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerSpeciesabundanceSlice) Organization added in v0.0.6

func (FieldseekerSpeciesabundanceSlice) ReloadAll

func (FieldseekerSpeciesabundanceSlice) UpdateAll

func (FieldseekerSpeciesabundanceSlice) UpdateMod

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

type FieldseekerSpeciesabundancesQuery

type FieldseekerSpeciesabundancesQuery = *psql.ViewQuery[*FieldseekerSpeciesabundance, FieldseekerSpeciesabundanceSlice]

FieldseekerSpeciesabundancesQuery is a query on the speciesabundance table

type FieldseekerStormdrain

type FieldseekerStormdrain struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is NextTreatmentDate
	Nexttreatmentdate null.Val[time.Time] `db:"nexttreatmentdate" `
	// Original attribute from ArcGIS API is LastTreatDate
	Lasttreatdate null.Val[time.Time] `db:"lasttreatdate" `
	// Original attribute from ArcGIS API is LastAction
	Lastaction null.Val[string] `db:"lastaction" `
	// Original attribute from ArcGIS API is Symbology
	Symbology null.Val[string] `db:"symbology" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is LastStatus
	Laststatus null.Val[string] `db:"laststatus" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is TYPE
	Type null.Val[string] `db:"type" `
	// Original attribute from ArcGIS API is JURISDICTION
	Jurisdiction   null.Val[string]            `db:"jurisdiction" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerStormdrainR `db:"-" `
}

FieldseekerStormdrain is an object representing the database table.

func FindFieldseekerStormdrain

func FindFieldseekerStormdrain(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerStormdrain, error)

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

func (*FieldseekerStormdrain) AfterQueryHook

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

AfterQueryHook is called after FieldseekerStormdrain is retrieved from the database

func (*FieldseekerStormdrain) AttachOrganization added in v0.0.6

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

func (*FieldseekerStormdrain) Delete

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

Delete deletes a single FieldseekerStormdrain record with an executor

func (*FieldseekerStormdrain) InsertOrganization added in v0.0.6

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

func (*FieldseekerStormdrain) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerStormdrain) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerStormdrain) Preload added in v0.0.6

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

func (*FieldseekerStormdrain) Reload

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

Reload refreshes the FieldseekerStormdrain using the executor

func (*FieldseekerStormdrain) Update

Update uses an executor to update the FieldseekerStormdrain

type FieldseekerStormdrainSetter

type FieldseekerStormdrainSetter struct {
	Objectid          omit.Val[int64]                       `db:"objectid,pk" `
	Nexttreatmentdate omitnull.Val[time.Time]               `db:"nexttreatmentdate" `
	Lasttreatdate     omitnull.Val[time.Time]               `db:"lasttreatdate" `
	Lastaction        omitnull.Val[string]                  `db:"lastaction" `
	Symbology         omitnull.Val[string]                  `db:"symbology" `
	Globalid          omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser       omitnull.Val[string]                  `db:"created_user" `
	CreatedDate       omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser    omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate    omitnull.Val[time.Time]               `db:"last_edited_date" `
	Laststatus        omitnull.Val[string]                  `db:"laststatus" `
	Zone              omitnull.Val[string]                  `db:"zone" `
	Zone2             omitnull.Val[string]                  `db:"zone2" `
	Creationdate      omitnull.Val[time.Time]               `db:"creationdate" `
	Creator           omitnull.Val[string]                  `db:"creator" `
	Editdate          omitnull.Val[time.Time]               `db:"editdate" `
	Editor            omitnull.Val[string]                  `db:"editor" `
	Type              omitnull.Val[string]                  `db:"type" `
	Jurisdiction      omitnull.Val[string]                  `db:"jurisdiction" `
	Geometry          omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial        omitnull.Val[string]                  `db:"geospatial" `
	Version           omit.Val[int32]                       `db:"version,pk" `
	OrganizationID    omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerStormdrainSetter) Apply

func (FieldseekerStormdrainSetter) Expressions

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

func (FieldseekerStormdrainSetter) Overwrite

func (FieldseekerStormdrainSetter) SetColumns

func (s FieldseekerStormdrainSetter) SetColumns() []string

func (FieldseekerStormdrainSetter) UpdateMod

type FieldseekerStormdrainSlice

type FieldseekerStormdrainSlice []*FieldseekerStormdrain

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

func (FieldseekerStormdrainSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerStormdrainSlice is retrieved from the database

func (FieldseekerStormdrainSlice) DeleteAll

func (FieldseekerStormdrainSlice) DeleteMod

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

func (FieldseekerStormdrainSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerStormdrainSlice) Organization added in v0.0.6

func (FieldseekerStormdrainSlice) ReloadAll

func (FieldseekerStormdrainSlice) UpdateAll

func (FieldseekerStormdrainSlice) UpdateMod

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

type FieldseekerStormdrainsQuery

type FieldseekerStormdrainsQuery = *psql.ViewQuery[*FieldseekerStormdrain, FieldseekerStormdrainSlice]

FieldseekerStormdrainsQuery is a query on the stormdrain 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 FieldseekerTimecard

type FieldseekerTimecard struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is ACTIVITY
	Activity null.Val[string] `db:"activity" `
	// Original attribute from ArcGIS API is STARTDATETIME
	Startdatetime null.Val[time.Time] `db:"startdatetime" `
	// Original attribute from ArcGIS API is ENDDATETIME
	Enddatetime null.Val[time.Time] `db:"enddatetime" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is EXTERNALID
	Externalid null.Val[string] `db:"externalid" `
	// Original attribute from ArcGIS API is EQUIPTYPE
	Equiptype null.Val[string] `db:"equiptype" `
	// Original attribute from ArcGIS API is LOCATIONNAME
	Locationname null.Val[string] `db:"locationname" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is LINELOCID
	Linelocid null.Val[uuid.UUID] `db:"linelocid" `
	// Original attribute from ArcGIS API is POINTLOCID
	Pointlocid null.Val[uuid.UUID] `db:"pointlocid" `
	// Original attribute from ArcGIS API is POLYGONLOCID
	Polygonlocid null.Val[uuid.UUID] `db:"polygonlocid" `
	// Original attribute from ArcGIS API is LCLOCID
	Lclocid null.Val[uuid.UUID] `db:"lclocid" `
	// Original attribute from ArcGIS API is SAMPLELOCID
	Samplelocid null.Val[uuid.UUID] `db:"samplelocid" `
	// Original attribute from ArcGIS API is SRID
	Srid null.Val[uuid.UUID] `db:"srid" `
	// Original attribute from ArcGIS API is TRAPLOCID
	Traplocid null.Val[uuid.UUID] `db:"traplocid" `
	// Original attribute from ArcGIS API is FIELDTECH
	Fieldtech null.Val[string] `db:"fieldtech" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is RODENTLOCID
	Rodentlocid    null.Val[uuid.UUID]         `db:"rodentlocid" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerTimecardR `db:"-" `
}

FieldseekerTimecard is an object representing the database table.

func FindFieldseekerTimecard

func FindFieldseekerTimecard(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerTimecard, error)

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

func (*FieldseekerTimecard) AfterQueryHook

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

AfterQueryHook is called after FieldseekerTimecard is retrieved from the database

func (*FieldseekerTimecard) AttachOrganization added in v0.0.6

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

func (*FieldseekerTimecard) Delete

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

Delete deletes a single FieldseekerTimecard record with an executor

func (*FieldseekerTimecard) InsertOrganization added in v0.0.6

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

func (*FieldseekerTimecard) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerTimecard) Organization added in v0.0.6

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

Organization starts a query for related objects on organization

func (*FieldseekerTimecard) Preload added in v0.0.6

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

func (*FieldseekerTimecard) Reload

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

Reload refreshes the FieldseekerTimecard using the executor

func (*FieldseekerTimecard) Update

Update uses an executor to update the FieldseekerTimecard

type FieldseekerTimecardSetter

type FieldseekerTimecardSetter struct {
	Objectid       omit.Val[int64]                       `db:"objectid,pk" `
	Activity       omitnull.Val[string]                  `db:"activity" `
	Startdatetime  omitnull.Val[time.Time]               `db:"startdatetime" `
	Enddatetime    omitnull.Val[time.Time]               `db:"enddatetime" `
	Comments       omitnull.Val[string]                  `db:"comments" `
	Externalid     omitnull.Val[string]                  `db:"externalid" `
	Equiptype      omitnull.Val[string]                  `db:"equiptype" `
	Locationname   omitnull.Val[string]                  `db:"locationname" `
	Zone           omitnull.Val[string]                  `db:"zone" `
	Zone2          omitnull.Val[string]                  `db:"zone2" `
	Globalid       omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser    omitnull.Val[string]                  `db:"created_user" `
	CreatedDate    omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate omitnull.Val[time.Time]               `db:"last_edited_date" `
	Linelocid      omitnull.Val[uuid.UUID]               `db:"linelocid" `
	Pointlocid     omitnull.Val[uuid.UUID]               `db:"pointlocid" `
	Polygonlocid   omitnull.Val[uuid.UUID]               `db:"polygonlocid" `
	Lclocid        omitnull.Val[uuid.UUID]               `db:"lclocid" `
	Samplelocid    omitnull.Val[uuid.UUID]               `db:"samplelocid" `
	Srid           omitnull.Val[uuid.UUID]               `db:"srid" `
	Traplocid      omitnull.Val[uuid.UUID]               `db:"traplocid" `
	Fieldtech      omitnull.Val[string]                  `db:"fieldtech" `
	Creationdate   omitnull.Val[time.Time]               `db:"creationdate" `
	Creator        omitnull.Val[string]                  `db:"creator" `
	Editdate       omitnull.Val[time.Time]               `db:"editdate" `
	Editor         omitnull.Val[string]                  `db:"editor" `
	Rodentlocid    omitnull.Val[uuid.UUID]               `db:"rodentlocid" `
	Geometry       omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial     omitnull.Val[string]                  `db:"geospatial" `
	Version        omit.Val[int32]                       `db:"version,pk" `
	OrganizationID omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerTimecardSetter) Apply

func (FieldseekerTimecardSetter) Expressions

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

func (FieldseekerTimecardSetter) Overwrite

func (FieldseekerTimecardSetter) SetColumns

func (s FieldseekerTimecardSetter) SetColumns() []string

func (FieldseekerTimecardSetter) UpdateMod

type FieldseekerTimecardSlice

type FieldseekerTimecardSlice []*FieldseekerTimecard

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

func (FieldseekerTimecardSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerTimecardSlice is retrieved from the database

func (FieldseekerTimecardSlice) DeleteAll

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

func (FieldseekerTimecardSlice) DeleteMod

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

func (FieldseekerTimecardSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerTimecardSlice) Organization added in v0.0.6

func (FieldseekerTimecardSlice) ReloadAll

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

func (FieldseekerTimecardSlice) UpdateAll

func (FieldseekerTimecardSlice) UpdateMod

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

type FieldseekerTimecardsQuery

type FieldseekerTimecardsQuery = *psql.ViewQuery[*FieldseekerTimecard, FieldseekerTimecardSlice]

FieldseekerTimecardsQuery is a query on the timecard table

type FieldseekerTrapdataQuery

type FieldseekerTrapdataQuery = *psql.ViewQuery[*FieldseekerTrapdatum, FieldseekerTrapdatumSlice]

FieldseekerTrapdataQuery is a query on the trapdata table

type FieldseekerTrapdatum

type FieldseekerTrapdatum struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is TRAPTYPE
	Traptype null.Val[string] `db:"traptype" `
	// Original attribute from ArcGIS API is TRAPACTIVITYTYPE
	Trapactivitytype null.Val[string] `db:"trapactivitytype" `
	// Original attribute from ArcGIS API is STARTDATETIME
	Startdatetime null.Val[time.Time] `db:"startdatetime" `
	// Original attribute from ArcGIS API is ENDDATETIME
	Enddatetime null.Val[time.Time] `db:"enddatetime" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is IDBYTECH
	Idbytech null.Val[string] `db:"idbytech" `
	// Original attribute from ArcGIS API is SORTBYTECH
	Sortbytech null.Val[string] `db:"sortbytech" `
	// Original attribute from ArcGIS API is PROCESSED
	Processed null.Val[int16] `db:"processed" `
	// Original attribute from ArcGIS API is SITECOND
	Sitecond null.Val[string] `db:"sitecond" `
	// Original attribute from ArcGIS API is LOCATIONNAME
	Locationname null.Val[string] `db:"locationname" `
	// Original attribute from ArcGIS API is RECORDSTATUS
	Recordstatus null.Val[int16] `db:"recordstatus" `
	// Original attribute from ArcGIS API is REVIEWED
	Reviewed null.Val[int16] `db:"reviewed" `
	// Original attribute from ArcGIS API is REVIEWEDBY
	Reviewedby null.Val[string] `db:"reviewedby" `
	// Original attribute from ArcGIS API is REVIEWEDDATE
	Revieweddate null.Val[time.Time] `db:"revieweddate" `
	// Original attribute from ArcGIS API is TRAPCONDITION
	Trapcondition null.Val[string] `db:"trapcondition" `
	// Original attribute from ArcGIS API is TRAPNIGHTS
	Trapnights null.Val[int16] `db:"trapnights" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is SRID
	Srid null.Val[uuid.UUID] `db:"srid" `
	// Original attribute from ArcGIS API is FIELDTECH
	Fieldtech null.Val[string] `db:"fieldtech" `
	// Original attribute from ArcGIS API is GATEWAYSYNC
	Gatewaysync null.Val[int16] `db:"gatewaysync" `
	// Original attribute from ArcGIS API is LOC_ID
	LocID null.Val[uuid.UUID] `db:"loc_id" `
	// Original attribute from ArcGIS API is VOLTAGE
	Voltage null.Val[float64] `db:"voltage" `
	// Original attribute from ArcGIS API is WINDDIR
	Winddir null.Val[string] `db:"winddir" `
	// Original attribute from ArcGIS API is WINDSPEED
	Windspeed null.Val[float64] `db:"windspeed" `
	// Original attribute from ArcGIS API is AVETEMP
	Avetemp null.Val[float64] `db:"avetemp" `
	// Original attribute from ArcGIS API is RAINGAUGE
	Raingauge null.Val[float64] `db:"raingauge" `
	// Original attribute from ArcGIS API is LR
	LR null.Val[int16] `db:"lr" `
	// Original attribute from ArcGIS API is Field
	Field null.Val[int32] `db:"field" `
	// Original attribute from ArcGIS API is VECTORSURVTRAPDATAID
	Vectorsurvtrapdataid null.Val[string] `db:"vectorsurvtrapdataid" `
	// Original attribute from ArcGIS API is VECTORSURVTRAPLOCATIONID
	Vectorsurvtraplocationid null.Val[string] `db:"vectorsurvtraplocationid" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is Lure
	Lure           null.Val[string]            `db:"lure" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `
	H3cell         null.Val[string]            `db:"h3cell,generated" `

	R fieldseekerTrapdatumR `db:"-" `
}

FieldseekerTrapdatum is an object representing the database table.

func FindFieldseekerTrapdatum

func FindFieldseekerTrapdatum(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerTrapdatum, error)

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

func (*FieldseekerTrapdatum) AfterQueryHook

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

AfterQueryHook is called after FieldseekerTrapdatum is retrieved from the database

func (*FieldseekerTrapdatum) AttachOrganization added in v0.0.6

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

func (*FieldseekerTrapdatum) Delete

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

Delete deletes a single FieldseekerTrapdatum record with an executor

func (*FieldseekerTrapdatum) InsertOrganization added in v0.0.6

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

func (*FieldseekerTrapdatum) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerTrapdatum) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerTrapdatum) Preload added in v0.0.6

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

func (*FieldseekerTrapdatum) Reload

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

Reload refreshes the FieldseekerTrapdatum using the executor

func (*FieldseekerTrapdatum) Update

Update uses an executor to update the FieldseekerTrapdatum

type FieldseekerTrapdatumSetter

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

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

func (*FieldseekerTrapdatumSetter) Apply

func (FieldseekerTrapdatumSetter) Expressions

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

func (FieldseekerTrapdatumSetter) Overwrite

func (FieldseekerTrapdatumSetter) SetColumns

func (s FieldseekerTrapdatumSetter) SetColumns() []string

func (FieldseekerTrapdatumSetter) UpdateMod

type FieldseekerTrapdatumSlice

type FieldseekerTrapdatumSlice []*FieldseekerTrapdatum

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

func (FieldseekerTrapdatumSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerTrapdatumSlice is retrieved from the database

func (FieldseekerTrapdatumSlice) DeleteAll

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

func (FieldseekerTrapdatumSlice) DeleteMod

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

func (FieldseekerTrapdatumSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerTrapdatumSlice) Organization added in v0.0.6

func (FieldseekerTrapdatumSlice) ReloadAll

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

func (FieldseekerTrapdatumSlice) UpdateAll

func (FieldseekerTrapdatumSlice) UpdateMod

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

type FieldseekerTraplocation

type FieldseekerTraplocation struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is NAME
	Name null.Val[string] `db:"name" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is HABITAT
	Habitat null.Val[string] `db:"habitat" `
	// Original attribute from ArcGIS API is PRIORITY
	Priority null.Val[string] `db:"priority" `
	// Original attribute from ArcGIS API is USETYPE
	Usetype null.Val[string] `db:"usetype" `
	// Original attribute from ArcGIS API is ACTIVE
	Active null.Val[int16] `db:"active" `
	// Original attribute from ArcGIS API is DESCRIPTION
	Description null.Val[string] `db:"description" `
	// Original attribute from ArcGIS API is ACCESSDESC
	Accessdesc null.Val[string] `db:"accessdesc" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is EXTERNALID
	Externalid null.Val[string] `db:"externalid" `
	// Original attribute from ArcGIS API is NEXTACTIONDATESCHEDULED
	Nextactiondatescheduled null.Val[time.Time] `db:"nextactiondatescheduled" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is LOCATIONNUMBER
	Locationnumber null.Val[int32] `db:"locationnumber" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is GATEWAYSYNC
	Gatewaysync null.Val[int16] `db:"gatewaysync" `
	// Original attribute from ArcGIS API is route
	Route null.Val[int32] `db:"route" `
	// Original attribute from ArcGIS API is set_dow
	SetDow null.Val[int32] `db:"set_dow" `
	// Original attribute from ArcGIS API is route_order
	RouteOrder null.Val[int32] `db:"route_order" `
	// Original attribute from ArcGIS API is VECTORSURVSITEID
	Vectorsurvsiteid null.Val[string] `db:"vectorsurvsiteid" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is h3r7
	H3R7 null.Val[string] `db:"h3r7" `
	// Original attribute from ArcGIS API is h3r8
	H3R8           null.Val[string]            `db:"h3r8" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerTraplocationR `db:"-" `
}

FieldseekerTraplocation is an object representing the database table.

func FindFieldseekerTraplocation

func FindFieldseekerTraplocation(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerTraplocation, error)

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

func (*FieldseekerTraplocation) AfterQueryHook

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

AfterQueryHook is called after FieldseekerTraplocation is retrieved from the database

func (*FieldseekerTraplocation) AttachOrganization added in v0.0.6

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

func (*FieldseekerTraplocation) Delete

Delete deletes a single FieldseekerTraplocation record with an executor

func (*FieldseekerTraplocation) InsertOrganization added in v0.0.6

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

func (*FieldseekerTraplocation) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerTraplocation) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerTraplocation) Preload added in v0.0.6

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

func (*FieldseekerTraplocation) Reload

Reload refreshes the FieldseekerTraplocation using the executor

func (*FieldseekerTraplocation) Update

Update uses an executor to update the FieldseekerTraplocation

type FieldseekerTraplocationSetter

type FieldseekerTraplocationSetter struct {
	Objectid                omit.Val[int64]                       `db:"objectid,pk" `
	Name                    omitnull.Val[string]                  `db:"name" `
	Zone                    omitnull.Val[string]                  `db:"zone" `
	Habitat                 omitnull.Val[string]                  `db:"habitat" `
	Priority                omitnull.Val[string]                  `db:"priority" `
	Usetype                 omitnull.Val[string]                  `db:"usetype" `
	Active                  omitnull.Val[int16]                   `db:"active" `
	Description             omitnull.Val[string]                  `db:"description" `
	Accessdesc              omitnull.Val[string]                  `db:"accessdesc" `
	Comments                omitnull.Val[string]                  `db:"comments" `
	Externalid              omitnull.Val[string]                  `db:"externalid" `
	Nextactiondatescheduled omitnull.Val[time.Time]               `db:"nextactiondatescheduled" `
	Zone2                   omitnull.Val[string]                  `db:"zone2" `
	Locationnumber          omitnull.Val[int32]                   `db:"locationnumber" `
	Globalid                omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser             omitnull.Val[string]                  `db:"created_user" `
	CreatedDate             omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser          omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate          omitnull.Val[time.Time]               `db:"last_edited_date" `
	Gatewaysync             omitnull.Val[int16]                   `db:"gatewaysync" `
	Route                   omitnull.Val[int32]                   `db:"route" `
	SetDow                  omitnull.Val[int32]                   `db:"set_dow" `
	RouteOrder              omitnull.Val[int32]                   `db:"route_order" `
	Vectorsurvsiteid        omitnull.Val[string]                  `db:"vectorsurvsiteid" `
	Creationdate            omitnull.Val[time.Time]               `db:"creationdate" `
	Creator                 omitnull.Val[string]                  `db:"creator" `
	Editdate                omitnull.Val[time.Time]               `db:"editdate" `
	Editor                  omitnull.Val[string]                  `db:"editor" `
	H3R7                    omitnull.Val[string]                  `db:"h3r7" `
	H3R8                    omitnull.Val[string]                  `db:"h3r8" `
	Geometry                omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial              omitnull.Val[string]                  `db:"geospatial" `
	Version                 omit.Val[int32]                       `db:"version,pk" `
	OrganizationID          omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerTraplocationSetter) Apply

func (FieldseekerTraplocationSetter) Expressions

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

func (FieldseekerTraplocationSetter) Overwrite

func (FieldseekerTraplocationSetter) SetColumns

func (s FieldseekerTraplocationSetter) SetColumns() []string

func (FieldseekerTraplocationSetter) UpdateMod

type FieldseekerTraplocationSlice

type FieldseekerTraplocationSlice []*FieldseekerTraplocation

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

func (FieldseekerTraplocationSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerTraplocationSlice is retrieved from the database

func (FieldseekerTraplocationSlice) DeleteAll

func (FieldseekerTraplocationSlice) DeleteMod

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

func (FieldseekerTraplocationSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerTraplocationSlice) Organization added in v0.0.6

func (FieldseekerTraplocationSlice) ReloadAll

func (FieldseekerTraplocationSlice) UpdateAll

func (FieldseekerTraplocationSlice) UpdateMod

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

type FieldseekerTraplocationsQuery

type FieldseekerTraplocationsQuery = *psql.ViewQuery[*FieldseekerTraplocation, FieldseekerTraplocationSlice]

FieldseekerTraplocationsQuery is a query on the traplocation table

type FieldseekerTreatment

type FieldseekerTreatment struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is ACTIVITY
	Activity null.Val[string] `db:"activity" `
	// Original attribute from ArcGIS API is TREATAREA
	Treatarea null.Val[float64] `db:"treatarea" `
	// Original attribute from ArcGIS API is AREAUNIT
	Areaunit null.Val[string] `db:"areaunit" `
	// Original attribute from ArcGIS API is PRODUCT
	Product null.Val[string] `db:"product" `
	// Original attribute from ArcGIS API is QTY
	Qty null.Val[float64] `db:"qty" `
	// Original attribute from ArcGIS API is QTYUNIT
	Qtyunit null.Val[string] `db:"qtyunit" `
	// Original attribute from ArcGIS API is METHOD
	Method null.Val[string] `db:"method" `
	// Original attribute from ArcGIS API is EQUIPTYPE
	Equiptype null.Val[string] `db:"equiptype" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is AVETEMP
	Avetemp null.Val[float64] `db:"avetemp" `
	// Original attribute from ArcGIS API is WINDSPEED
	Windspeed null.Val[float64] `db:"windspeed" `
	// Original attribute from ArcGIS API is WINDDIR
	Winddir null.Val[string] `db:"winddir" `
	// Original attribute from ArcGIS API is RAINGAUGE
	Raingauge null.Val[float64] `db:"raingauge" `
	// Original attribute from ArcGIS API is STARTDATETIME
	Startdatetime null.Val[time.Time] `db:"startdatetime" `
	// Original attribute from ArcGIS API is ENDDATETIME
	Enddatetime null.Val[time.Time] `db:"enddatetime" `
	// Original attribute from ArcGIS API is INSP_ID
	InspID null.Val[uuid.UUID] `db:"insp_id" `
	// Original attribute from ArcGIS API is REVIEWED
	Reviewed null.Val[int16] `db:"reviewed" `
	// Original attribute from ArcGIS API is REVIEWEDBY
	Reviewedby null.Val[string] `db:"reviewedby" `
	// Original attribute from ArcGIS API is REVIEWEDDATE
	Revieweddate null.Val[time.Time] `db:"revieweddate" `
	// Original attribute from ArcGIS API is LOCATIONNAME
	Locationname null.Val[string] `db:"locationname" `
	// Original attribute from ArcGIS API is ZONE
	Zone null.Val[string] `db:"zone" `
	// Original attribute from ArcGIS API is WARNINGOVERRIDE
	Warningoverride null.Val[int16] `db:"warningoverride" `
	// Original attribute from ArcGIS API is RECORDSTATUS
	Recordstatus null.Val[int16] `db:"recordstatus" `
	// Original attribute from ArcGIS API is ZONE2
	Zone2 null.Val[string] `db:"zone2" `
	// Original attribute from ArcGIS API is TREATACRES
	Treatacres null.Val[float64] `db:"treatacres" `
	// Original attribute from ArcGIS API is TIRECOUNT
	Tirecount null.Val[int16] `db:"tirecount" `
	// Original attribute from ArcGIS API is CBCOUNT
	Cbcount null.Val[int16] `db:"cbcount" `
	// Original attribute from ArcGIS API is CONTAINERCOUNT
	Containercount null.Val[int16] `db:"containercount" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is TREATMENTLENGTH
	Treatmentlength null.Val[float64] `db:"treatmentlength" `
	// Original attribute from ArcGIS API is TREATMENTHOURS
	Treatmenthours null.Val[float64] `db:"treatmenthours" `
	// Original attribute from ArcGIS API is TREATMENTLENGTHUNITS
	Treatmentlengthunits null.Val[string] `db:"treatmentlengthunits" `
	// Original attribute from ArcGIS API is LINELOCID
	Linelocid null.Val[uuid.UUID] `db:"linelocid" `
	// Original attribute from ArcGIS API is POINTLOCID
	Pointlocid null.Val[uuid.UUID] `db:"pointlocid" `
	// Original attribute from ArcGIS API is POLYGONLOCID
	Polygonlocid null.Val[uuid.UUID] `db:"polygonlocid" `
	// Original attribute from ArcGIS API is SRID
	Srid null.Val[uuid.UUID] `db:"srid" `
	// Original attribute from ArcGIS API is SDID
	Sdid null.Val[uuid.UUID] `db:"sdid" `
	// Original attribute from ArcGIS API is BARRIERROUTEID
	Barrierrouteid null.Val[uuid.UUID] `db:"barrierrouteid" `
	// Original attribute from ArcGIS API is ULVROUTEID
	Ulvrouteid null.Val[uuid.UUID] `db:"ulvrouteid" `
	// Original attribute from ArcGIS API is FIELDTECH
	Fieldtech null.Val[string] `db:"fieldtech" `
	// Original attribute from ArcGIS API is PTAID
	Ptaid null.Val[uuid.UUID] `db:"ptaid" `
	// Original attribute from ArcGIS API is FLOWRATE
	Flowrate null.Val[float64] `db:"flowrate" `
	// Original attribute from ArcGIS API is HABITAT
	Habitat null.Val[string] `db:"habitat" `
	// Original attribute from ArcGIS API is TREATHECTARES
	Treathectares null.Val[float64] `db:"treathectares" `
	// Original attribute from ArcGIS API is INVLOC
	Invloc null.Val[string] `db:"invloc" `
	// Original attribute from ArcGIS API is temp_SITECOND
	TempSitecond null.Val[string] `db:"temp_sitecond" `
	// Original attribute from ArcGIS API is SITECOND
	Sitecond null.Val[string] `db:"sitecond" `
	// Original attribute from ArcGIS API is TotalCostProdcut
	Totalcostprodcut null.Val[float64] `db:"totalcostprodcut" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is TARGETSPECIES
	Targetspecies  null.Val[string]            `db:"targetspecies" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `
	H3cell         null.Val[string]            `db:"h3cell,generated" `

	R fieldseekerTreatmentR `db:"-" `
}

FieldseekerTreatment is an object representing the database table.

func FindFieldseekerTreatment

func FindFieldseekerTreatment(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerTreatment, error)

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

func (*FieldseekerTreatment) AfterQueryHook

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

AfterQueryHook is called after FieldseekerTreatment is retrieved from the database

func (*FieldseekerTreatment) AttachOrganization added in v0.0.6

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

func (*FieldseekerTreatment) Delete

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

Delete deletes a single FieldseekerTreatment record with an executor

func (*FieldseekerTreatment) InsertOrganization added in v0.0.6

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

func (*FieldseekerTreatment) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerTreatment) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerTreatment) Preload added in v0.0.6

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

func (*FieldseekerTreatment) Reload

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

Reload refreshes the FieldseekerTreatment using the executor

func (*FieldseekerTreatment) Update

Update uses an executor to update the FieldseekerTreatment

type FieldseekerTreatmentSetter

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

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

func (*FieldseekerTreatmentSetter) Apply

func (FieldseekerTreatmentSetter) Expressions

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

func (FieldseekerTreatmentSetter) Overwrite

func (FieldseekerTreatmentSetter) SetColumns

func (s FieldseekerTreatmentSetter) SetColumns() []string

func (FieldseekerTreatmentSetter) UpdateMod

type FieldseekerTreatmentSlice

type FieldseekerTreatmentSlice []*FieldseekerTreatment

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

func (FieldseekerTreatmentSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerTreatmentSlice is retrieved from the database

func (FieldseekerTreatmentSlice) DeleteAll

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

func (FieldseekerTreatmentSlice) DeleteMod

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

func (FieldseekerTreatmentSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerTreatmentSlice) Organization added in v0.0.6

func (FieldseekerTreatmentSlice) ReloadAll

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

func (FieldseekerTreatmentSlice) UpdateAll

func (FieldseekerTreatmentSlice) UpdateMod

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

type FieldseekerTreatmentarea

type FieldseekerTreatmentarea struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is TREAT_ID
	TreatID null.Val[uuid.UUID] `db:"treat_id" `
	// Original attribute from ArcGIS API is SESSION_ID
	SessionID null.Val[uuid.UUID] `db:"session_id" `
	// Original attribute from ArcGIS API is TREATDATE
	Treatdate null.Val[time.Time] `db:"treatdate" `
	// Original attribute from ArcGIS API is COMMENTS
	Comments null.Val[string] `db:"comments" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is Notified
	Notified null.Val[int16] `db:"notified" `
	// Original attribute from ArcGIS API is Type
	Type null.Val[string] `db:"type" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is Shape__Area
	ShapeArea null.Val[float64] `db:"shape__area" `
	// Original attribute from ArcGIS API is Shape__Length
	ShapeLength    null.Val[float64]           `db:"shape__length" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerTreatmentareaR `db:"-" `
}

FieldseekerTreatmentarea is an object representing the database table.

func FindFieldseekerTreatmentarea

func FindFieldseekerTreatmentarea(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerTreatmentarea, error)

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

func (*FieldseekerTreatmentarea) AfterQueryHook

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

AfterQueryHook is called after FieldseekerTreatmentarea is retrieved from the database

func (*FieldseekerTreatmentarea) AttachOrganization added in v0.0.6

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

func (*FieldseekerTreatmentarea) Delete

Delete deletes a single FieldseekerTreatmentarea record with an executor

func (*FieldseekerTreatmentarea) InsertOrganization added in v0.0.6

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

func (*FieldseekerTreatmentarea) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerTreatmentarea) Organization added in v0.0.6

Organization starts a query for related objects on organization

func (*FieldseekerTreatmentarea) Preload added in v0.0.6

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

func (*FieldseekerTreatmentarea) Reload

Reload refreshes the FieldseekerTreatmentarea using the executor

func (*FieldseekerTreatmentarea) Update

Update uses an executor to update the FieldseekerTreatmentarea

type FieldseekerTreatmentareaSetter

type FieldseekerTreatmentareaSetter struct {
	Objectid       omit.Val[int64]                       `db:"objectid,pk" `
	TreatID        omitnull.Val[uuid.UUID]               `db:"treat_id" `
	SessionID      omitnull.Val[uuid.UUID]               `db:"session_id" `
	Treatdate      omitnull.Val[time.Time]               `db:"treatdate" `
	Comments       omitnull.Val[string]                  `db:"comments" `
	Globalid       omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser    omitnull.Val[string]                  `db:"created_user" `
	CreatedDate    omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate omitnull.Val[time.Time]               `db:"last_edited_date" `
	Notified       omitnull.Val[int16]                   `db:"notified" `
	Type           omitnull.Val[string]                  `db:"type" `
	Creationdate   omitnull.Val[time.Time]               `db:"creationdate" `
	Creator        omitnull.Val[string]                  `db:"creator" `
	Editdate       omitnull.Val[time.Time]               `db:"editdate" `
	Editor         omitnull.Val[string]                  `db:"editor" `
	ShapeArea      omitnull.Val[float64]                 `db:"shape__area" `
	ShapeLength    omitnull.Val[float64]                 `db:"shape__length" `
	Geometry       omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial     omitnull.Val[string]                  `db:"geospatial" `
	Version        omit.Val[int32]                       `db:"version,pk" `
	OrganizationID omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerTreatmentareaSetter) Apply

func (FieldseekerTreatmentareaSetter) Expressions

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

func (FieldseekerTreatmentareaSetter) Overwrite

func (FieldseekerTreatmentareaSetter) SetColumns

func (s FieldseekerTreatmentareaSetter) SetColumns() []string

func (FieldseekerTreatmentareaSetter) UpdateMod

type FieldseekerTreatmentareaSlice

type FieldseekerTreatmentareaSlice []*FieldseekerTreatmentarea

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

func (FieldseekerTreatmentareaSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerTreatmentareaSlice is retrieved from the database

func (FieldseekerTreatmentareaSlice) DeleteAll

func (FieldseekerTreatmentareaSlice) DeleteMod

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

func (FieldseekerTreatmentareaSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerTreatmentareaSlice) Organization added in v0.0.6

func (FieldseekerTreatmentareaSlice) ReloadAll

func (FieldseekerTreatmentareaSlice) UpdateAll

func (FieldseekerTreatmentareaSlice) UpdateMod

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

type FieldseekerTreatmentareasQuery

type FieldseekerTreatmentareasQuery = *psql.ViewQuery[*FieldseekerTreatmentarea, FieldseekerTreatmentareaSlice]

FieldseekerTreatmentareasQuery is a query on the treatmentarea table

type FieldseekerTreatmentsQuery

type FieldseekerTreatmentsQuery = *psql.ViewQuery[*FieldseekerTreatment, FieldseekerTreatmentSlice]

FieldseekerTreatmentsQuery is a query on the treatment table

type FieldseekerZone

type FieldseekerZone struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is NAME
	Name null.Val[string] `db:"name" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is ACTIVE
	Active null.Val[int32] `db:"active" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is Shape__Area
	ShapeArea null.Val[float64] `db:"shape__area" `
	// Original attribute from ArcGIS API is Shape__Length
	ShapeLength    null.Val[float64]           `db:"shape__length" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerZoneR `db:"-" `
}

FieldseekerZone is an object representing the database table.

func FindFieldseekerZone

func FindFieldseekerZone(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerZone, error)

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

func (*FieldseekerZone) AfterQueryHook

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

AfterQueryHook is called after FieldseekerZone is retrieved from the database

func (*FieldseekerZone) AttachOrganization added in v0.0.6

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

func (*FieldseekerZone) Delete

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

Delete deletes a single FieldseekerZone record with an executor

func (*FieldseekerZone) InsertOrganization added in v0.0.6

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

func (*FieldseekerZone) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerZone) Organization added in v0.0.6

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

Organization starts a query for related objects on organization

func (*FieldseekerZone) Preload added in v0.0.6

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

func (*FieldseekerZone) Reload

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

Reload refreshes the FieldseekerZone using the executor

func (*FieldseekerZone) Update

Update uses an executor to update the FieldseekerZone

type FieldseekerZoneSetter

type FieldseekerZoneSetter struct {
	Objectid       omit.Val[int64]                       `db:"objectid,pk" `
	Name           omitnull.Val[string]                  `db:"name" `
	Globalid       omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser    omitnull.Val[string]                  `db:"created_user" `
	CreatedDate    omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate omitnull.Val[time.Time]               `db:"last_edited_date" `
	Active         omitnull.Val[int32]                   `db:"active" `
	Creationdate   omitnull.Val[time.Time]               `db:"creationdate" `
	Creator        omitnull.Val[string]                  `db:"creator" `
	Editdate       omitnull.Val[time.Time]               `db:"editdate" `
	Editor         omitnull.Val[string]                  `db:"editor" `
	ShapeArea      omitnull.Val[float64]                 `db:"shape__area" `
	ShapeLength    omitnull.Val[float64]                 `db:"shape__length" `
	Geometry       omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial     omitnull.Val[string]                  `db:"geospatial" `
	Version        omit.Val[int32]                       `db:"version,pk" `
	OrganizationID omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerZoneSetter) Apply

func (FieldseekerZoneSetter) Expressions

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

func (FieldseekerZoneSetter) Overwrite

func (s FieldseekerZoneSetter) Overwrite(t *FieldseekerZone)

func (FieldseekerZoneSetter) SetColumns

func (s FieldseekerZoneSetter) SetColumns() []string

func (FieldseekerZoneSetter) UpdateMod

type FieldseekerZoneSlice

type FieldseekerZoneSlice []*FieldseekerZone

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

func (FieldseekerZoneSlice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerZoneSlice is retrieved from the database

func (FieldseekerZoneSlice) DeleteAll

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

func (FieldseekerZoneSlice) DeleteMod

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

func (FieldseekerZoneSlice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerZoneSlice) Organization added in v0.0.6

func (FieldseekerZoneSlice) ReloadAll

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

func (FieldseekerZoneSlice) UpdateAll

func (FieldseekerZoneSlice) UpdateMod

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

type FieldseekerZones2

type FieldseekerZones2 struct {
	Objectid int64 `db:"objectid,pk" `
	// Original attribute from ArcGIS API is NAME
	Name null.Val[string] `db:"name" `
	// Original attribute from ArcGIS API is GlobalID
	Globalid uuid.UUID `db:"globalid" `
	// Original attribute from ArcGIS API is created_user
	CreatedUser null.Val[string] `db:"created_user" `
	// Original attribute from ArcGIS API is created_date
	CreatedDate null.Val[time.Time] `db:"created_date" `
	// Original attribute from ArcGIS API is last_edited_user
	LastEditedUser null.Val[string] `db:"last_edited_user" `
	// Original attribute from ArcGIS API is last_edited_date
	LastEditedDate null.Val[time.Time] `db:"last_edited_date" `
	// Original attribute from ArcGIS API is CreationDate
	Creationdate null.Val[time.Time] `db:"creationdate" `
	// Original attribute from ArcGIS API is Creator
	Creator null.Val[string] `db:"creator" `
	// Original attribute from ArcGIS API is EditDate
	Editdate null.Val[time.Time] `db:"editdate" `
	// Original attribute from ArcGIS API is Editor
	Editor null.Val[string] `db:"editor" `
	// Original attribute from ArcGIS API is Shape__Area
	ShapeArea null.Val[float64] `db:"shape__area" `
	// Original attribute from ArcGIS API is Shape__Length
	ShapeLength    null.Val[float64]           `db:"shape__length" `
	Geometry       types.JSON[json.RawMessage] `db:"geometry" `
	Geospatial     null.Val[string]            `db:"geospatial" `
	Version        int32                       `db:"version,pk" `
	OrganizationID int32                       `db:"organization_id" `

	R fieldseekerZones2R `db:"-" `
}

FieldseekerZones2 is an object representing the database table.

func FindFieldseekerZones2

func FindFieldseekerZones2(ctx context.Context, exec bob.Executor, ObjectidPK int64, VersionPK int32, cols ...string) (*FieldseekerZones2, error)

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

func (*FieldseekerZones2) AfterQueryHook

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

AfterQueryHook is called after FieldseekerZones2 is retrieved from the database

func (*FieldseekerZones2) AttachOrganization added in v0.0.6

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

func (*FieldseekerZones2) Delete

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

Delete deletes a single FieldseekerZones2 record with an executor

func (*FieldseekerZones2) InsertOrganization added in v0.0.6

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

func (*FieldseekerZones2) LoadOrganization added in v0.0.6

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

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

func (*FieldseekerZones2) Organization added in v0.0.6

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

Organization starts a query for related objects on organization

func (*FieldseekerZones2) Preload added in v0.0.6

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

func (*FieldseekerZones2) Reload

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

Reload refreshes the FieldseekerZones2 using the executor

func (*FieldseekerZones2) Update

Update uses an executor to update the FieldseekerZones2

type FieldseekerZones2Setter

type FieldseekerZones2Setter struct {
	Objectid       omit.Val[int64]                       `db:"objectid,pk" `
	Name           omitnull.Val[string]                  `db:"name" `
	Globalid       omit.Val[uuid.UUID]                   `db:"globalid" `
	CreatedUser    omitnull.Val[string]                  `db:"created_user" `
	CreatedDate    omitnull.Val[time.Time]               `db:"created_date" `
	LastEditedUser omitnull.Val[string]                  `db:"last_edited_user" `
	LastEditedDate omitnull.Val[time.Time]               `db:"last_edited_date" `
	Creationdate   omitnull.Val[time.Time]               `db:"creationdate" `
	Creator        omitnull.Val[string]                  `db:"creator" `
	Editdate       omitnull.Val[time.Time]               `db:"editdate" `
	Editor         omitnull.Val[string]                  `db:"editor" `
	ShapeArea      omitnull.Val[float64]                 `db:"shape__area" `
	ShapeLength    omitnull.Val[float64]                 `db:"shape__length" `
	Geometry       omit.Val[types.JSON[json.RawMessage]] `db:"geometry" `
	Geospatial     omitnull.Val[string]                  `db:"geospatial" `
	Version        omit.Val[int32]                       `db:"version,pk" `
	OrganizationID omit.Val[int32]                       `db:"organization_id" `
}

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

func (*FieldseekerZones2Setter) Apply

func (FieldseekerZones2Setter) Expressions

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

func (FieldseekerZones2Setter) Overwrite

func (FieldseekerZones2Setter) SetColumns

func (s FieldseekerZones2Setter) SetColumns() []string

func (FieldseekerZones2Setter) UpdateMod

type FieldseekerZones2Slice

type FieldseekerZones2Slice []*FieldseekerZones2

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

func (FieldseekerZones2Slice) AfterQueryHook

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

AfterQueryHook is called after FieldseekerZones2Slice is retrieved from the database

func (FieldseekerZones2Slice) DeleteAll

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

func (FieldseekerZones2Slice) DeleteMod

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

func (FieldseekerZones2Slice) LoadOrganization added in v0.0.6

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

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

func (FieldseekerZones2Slice) Organization added in v0.0.6

func (FieldseekerZones2Slice) ReloadAll

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

func (FieldseekerZones2Slice) UpdateAll

func (FieldseekerZones2Slice) UpdateMod

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

type FieldseekerZones2sQuery

type FieldseekerZones2sQuery = *psql.ViewQuery[*FieldseekerZones2, FieldseekerZones2Slice]

FieldseekerZones2sQuery is a query on the zones2 table

type FieldseekerZonesQuery

type FieldseekerZonesQuery = *psql.ViewQuery[*FieldseekerZone, FieldseekerZoneSlice]

FieldseekerZonesQuery is a query on the zones 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 NoteAudio added in v0.0.6

type NoteAudio struct {
	Created                 time.Time           `db:"created" `
	CreatorID               int32               `db:"creator_id" `
	Deleted                 null.Val[time.Time] `db:"deleted" `
	DeletorID               null.Val[int32]     `db:"deletor_id" `
	Duration                float32             `db:"duration" `
	OrganizationID          int32               `db:"organization_id" `
	Transcription           null.Val[string]    `db:"transcription" `
	TranscriptionUserEdited bool                `db:"transcription_user_edited" `
	Version                 int32               `db:"version,pk" `
	UUID                    uuid.UUID           `db:"uuid,pk" `

	R noteAudioR `db:"-" `
}

NoteAudio is an object representing the database table.

func FindNoteAudio added in v0.0.6

func FindNoteAudio(ctx context.Context, exec bob.Executor, VersionPK int32, UUIDPK uuid.UUID, cols ...string) (*NoteAudio, error)

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

func (*NoteAudio) AfterQueryHook added in v0.0.6

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

AfterQueryHook is called after NoteAudio is retrieved from the database

func (*NoteAudio) AttachCreatorUser added in v0.0.6

func (noteAudio0 *NoteAudio) AttachCreatorUser(ctx context.Context, exec bob.Executor, user1 *User) error

func (*NoteAudio) AttachDeletorUser added in v0.0.6

func (noteAudio0 *NoteAudio) AttachDeletorUser(ctx context.Context, exec bob.Executor, user1 *User) error

func (*NoteAudio) AttachNoteAudioBreadcrumbs added in v0.0.6

func (noteAudio0 *NoteAudio) AttachNoteAudioBreadcrumbs(ctx context.Context, exec bob.Executor, related ...*NoteAudioBreadcrumb) error

func (*NoteAudio) AttachNoteAudioData added in v0.0.6

func (noteAudio0 *NoteAudio) AttachNoteAudioData(ctx context.Context, exec bob.Executor, related ...*NoteAudioDatum) error

func (*NoteAudio) AttachOrganization added in v0.0.6

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

func (*NoteAudio) CreatorUser added in v0.0.6

func (o *NoteAudio) CreatorUser(mods ...bob.Mod[*dialect.SelectQuery]) UsersQuery

CreatorUser starts a query for related objects on user_

func (*NoteAudio) Delete added in v0.0.6

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

Delete deletes a single NoteAudio record with an executor

func (*NoteAudio) DeletorUser added in v0.0.6

func (o *NoteAudio) DeletorUser(mods ...bob.Mod[*dialect.SelectQuery]) UsersQuery

DeletorUser starts a query for related objects on user_

func (*NoteAudio) InsertCreatorUser added in v0.0.6

func (noteAudio0 *NoteAudio) InsertCreatorUser(ctx context.Context, exec bob.Executor, related *UserSetter) error

func (*NoteAudio) InsertDeletorUser added in v0.0.6

func (noteAudio0 *NoteAudio) InsertDeletorUser(ctx context.Context, exec bob.Executor, related *UserSetter) error

func (*NoteAudio) InsertNoteAudioBreadcrumbs added in v0.0.6

func (noteAudio0 *NoteAudio) InsertNoteAudioBreadcrumbs(ctx context.Context, exec bob.Executor, related ...*NoteAudioBreadcrumbSetter) error

func (*NoteAudio) InsertNoteAudioData added in v0.0.6

func (noteAudio0 *NoteAudio) InsertNoteAudioData(ctx context.Context, exec bob.Executor, related ...*NoteAudioDatumSetter) error

func (*NoteAudio) InsertOrganization added in v0.0.6

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

func (*NoteAudio) LoadCreatorUser added in v0.0.6

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

LoadCreatorUser loads the noteAudio's CreatorUser into the .R struct

func (*NoteAudio) LoadDeletorUser added in v0.0.6

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

LoadDeletorUser loads the noteAudio's DeletorUser into the .R struct

func (*NoteAudio) LoadNoteAudioBreadcrumbs added in v0.0.6

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

LoadNoteAudioBreadcrumbs loads the noteAudio's NoteAudioBreadcrumbs into the .R struct

func (*NoteAudio) LoadNoteAudioData added in v0.0.6

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

LoadNoteAudioData loads the noteAudio's NoteAudioData into the .R struct

func (*NoteAudio) LoadOrganization added in v0.0.6

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

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

func (*NoteAudio) NoteAudioBreadcrumbs added in v0.0.6

func (o *NoteAudio) NoteAudioBreadcrumbs(mods ...bob.Mod[*dialect.SelectQuery]) NoteAudioBreadcrumbsQuery

NoteAudioBreadcrumbs starts a query for related objects on note_audio_breadcrumb

func (*NoteAudio) NoteAudioData added in v0.0.6

func (o *NoteAudio) NoteAudioData(mods ...bob.Mod[*dialect.SelectQuery]) NoteAudioDataQuery

NoteAudioData starts a query for related objects on note_audio_data

func (*NoteAudio) Organization added in v0.0.6

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

Organization starts a query for related objects on organization

func (*NoteAudio) Preload added in v0.0.6

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

func (*NoteAudio) Reload added in v0.0.6

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

Reload refreshes the NoteAudio using the executor

func (*NoteAudio) Update added in v0.0.6

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

Update uses an executor to update the NoteAudio

type NoteAudioBreadcrumb added in v0.0.6

type NoteAudioBreadcrumb struct {
	Cell             string    `db:"cell" `
	Created          time.Time `db:"created" `
	ManuallySelected bool      `db:"manually_selected" `
	NoteAudioVersion int32     `db:"note_audio_version,pk" `
	NoteAudioUUID    uuid.UUID `db:"note_audio_uuid,pk" `
	Position         int32     `db:"position,pk" `

	R noteAudioBreadcrumbR `db:"-" `
}

NoteAudioBreadcrumb is an object representing the database table.

func FindNoteAudioBreadcrumb added in v0.0.6

func FindNoteAudioBreadcrumb(ctx context.Context, exec bob.Executor, NoteAudioVersionPK int32, NoteAudioUUIDPK uuid.UUID, PositionPK int32, cols ...string) (*NoteAudioBreadcrumb, error)

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

func (*NoteAudioBreadcrumb) AfterQueryHook added in v0.0.6

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

AfterQueryHook is called after NoteAudioBreadcrumb is retrieved from the database

func (*NoteAudioBreadcrumb) AttachNoteAudio added in v0.0.6

func (noteAudioBreadcrumb0 *NoteAudioBreadcrumb) AttachNoteAudio(ctx context.Context, exec bob.Executor, noteAudio1 *NoteAudio) error

func (*NoteAudioBreadcrumb) Delete added in v0.0.6

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

Delete deletes a single NoteAudioBreadcrumb record with an executor

func (*NoteAudioBreadcrumb) InsertNoteAudio added in v0.0.6

func (noteAudioBreadcrumb0 *NoteAudioBreadcrumb) InsertNoteAudio(ctx context.Context, exec bob.Executor, related *NoteAudioSetter) error

func (*NoteAudioBreadcrumb) LoadNoteAudio added in v0.0.6

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

LoadNoteAudio loads the noteAudioBreadcrumb's NoteAudio into the .R struct

func (*NoteAudioBreadcrumb) NoteAudio added in v0.0.6

NoteAudio starts a query for related objects on note_audio

func (*NoteAudioBreadcrumb) Preload added in v0.0.6

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

func (*NoteAudioBreadcrumb) Reload added in v0.0.6

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

Reload refreshes the NoteAudioBreadcrumb using the executor

func (*NoteAudioBreadcrumb) Update added in v0.0.6

Update uses an executor to update the NoteAudioBreadcrumb

type NoteAudioBreadcrumbSetter added in v0.0.6

type NoteAudioBreadcrumbSetter struct {
	Cell             omit.Val[string]    `db:"cell" `
	Created          omit.Val[time.Time] `db:"created" `
	ManuallySelected omit.Val[bool]      `db:"manually_selected" `
	NoteAudioVersion omit.Val[int32]     `db:"note_audio_version,pk" `
	NoteAudioUUID    omit.Val[uuid.UUID] `db:"note_audio_uuid,pk" `
	Position         omit.Val[int32]     `db:"position,pk" `
}

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

func (*NoteAudioBreadcrumbSetter) Apply added in v0.0.6

func (NoteAudioBreadcrumbSetter) Expressions added in v0.0.6

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

func (NoteAudioBreadcrumbSetter) Overwrite added in v0.0.6

func (NoteAudioBreadcrumbSetter) SetColumns added in v0.0.6

func (s NoteAudioBreadcrumbSetter) SetColumns() []string

func (NoteAudioBreadcrumbSetter) UpdateMod added in v0.0.6

type NoteAudioBreadcrumbSlice added in v0.0.6

type NoteAudioBreadcrumbSlice []*NoteAudioBreadcrumb

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

func (NoteAudioBreadcrumbSlice) AfterQueryHook added in v0.0.6

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

AfterQueryHook is called after NoteAudioBreadcrumbSlice is retrieved from the database

func (NoteAudioBreadcrumbSlice) DeleteAll added in v0.0.6

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

func (NoteAudioBreadcrumbSlice) DeleteMod added in v0.0.6

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

func (NoteAudioBreadcrumbSlice) LoadNoteAudio added in v0.0.6

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

LoadNoteAudio loads the noteAudioBreadcrumb's NoteAudio into the .R struct

func (NoteAudioBreadcrumbSlice) NoteAudio added in v0.0.6

func (NoteAudioBreadcrumbSlice) ReloadAll added in v0.0.6

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

func (NoteAudioBreadcrumbSlice) UpdateAll added in v0.0.6

func (NoteAudioBreadcrumbSlice) UpdateMod added in v0.0.6

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

type NoteAudioBreadcrumbsQuery added in v0.0.6

type NoteAudioBreadcrumbsQuery = *psql.ViewQuery[*NoteAudioBreadcrumb, NoteAudioBreadcrumbSlice]

NoteAudioBreadcrumbsQuery is a query on the note_audio_breadcrumb table

type NoteAudioDataQuery added in v0.0.6

type NoteAudioDataQuery = *psql.ViewQuery[*NoteAudioDatum, NoteAudioDatumSlice]

NoteAudioDataQuery is a query on the note_audio_data table

type NoteAudioDatum added in v0.0.6

type NoteAudioDatum struct {
	Created          time.Time           `db:"created" `
	NoteAudioVersion int32               `db:"note_audio_version,pk" `
	NoteAudioUUID    uuid.UUID           `db:"note_audio_uuid,pk" `
	Type             enums.Audiodatatype `db:"type_,pk" `

	R noteAudioDatumR `db:"-" `
}

NoteAudioDatum is an object representing the database table.

func FindNoteAudioDatum added in v0.0.6

func FindNoteAudioDatum(ctx context.Context, exec bob.Executor, NoteAudioVersionPK int32, NoteAudioUUIDPK uuid.UUID, TypePK enums.Audiodatatype, cols ...string) (*NoteAudioDatum, error)

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

func (*NoteAudioDatum) AfterQueryHook added in v0.0.6

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

AfterQueryHook is called after NoteAudioDatum is retrieved from the database

func (*NoteAudioDatum) AttachNoteAudio added in v0.0.6

func (noteAudioDatum0 *NoteAudioDatum) AttachNoteAudio(ctx context.Context, exec bob.Executor, noteAudio1 *NoteAudio) error

func (*NoteAudioDatum) Delete added in v0.0.6

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

Delete deletes a single NoteAudioDatum record with an executor

func (*NoteAudioDatum) InsertNoteAudio added in v0.0.6

func (noteAudioDatum0 *NoteAudioDatum) InsertNoteAudio(ctx context.Context, exec bob.Executor, related *NoteAudioSetter) error

func (*NoteAudioDatum) LoadNoteAudio added in v0.0.6

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

LoadNoteAudio loads the noteAudioDatum's NoteAudio into the .R struct

func (*NoteAudioDatum) NoteAudio added in v0.0.6

func (o *NoteAudioDatum) NoteAudio(mods ...bob.Mod[*dialect.SelectQuery]) NoteAudiosQuery

NoteAudio starts a query for related objects on note_audio

func (*NoteAudioDatum) Preload added in v0.0.6

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

func (*NoteAudioDatum) Reload added in v0.0.6

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

Reload refreshes the NoteAudioDatum using the executor

func (*NoteAudioDatum) Update added in v0.0.6

Update uses an executor to update the NoteAudioDatum

type NoteAudioDatumSetter added in v0.0.6

type NoteAudioDatumSetter struct {
	Created          omit.Val[time.Time]           `db:"created" `
	NoteAudioVersion omit.Val[int32]               `db:"note_audio_version,pk" `
	NoteAudioUUID    omit.Val[uuid.UUID]           `db:"note_audio_uuid,pk" `
	Type             omit.Val[enums.Audiodatatype] `db:"type_,pk" `
}

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

func (*NoteAudioDatumSetter) Apply added in v0.0.6

func (NoteAudioDatumSetter) Expressions added in v0.0.6

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

func (NoteAudioDatumSetter) Overwrite added in v0.0.6

func (s NoteAudioDatumSetter) Overwrite(t *NoteAudioDatum)

func (NoteAudioDatumSetter) SetColumns added in v0.0.6

func (s NoteAudioDatumSetter) SetColumns() []string

func (NoteAudioDatumSetter) UpdateMod added in v0.0.6

type NoteAudioDatumSlice added in v0.0.6

type NoteAudioDatumSlice []*NoteAudioDatum

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

func (NoteAudioDatumSlice) AfterQueryHook added in v0.0.6

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

AfterQueryHook is called after NoteAudioDatumSlice is retrieved from the database

func (NoteAudioDatumSlice) DeleteAll added in v0.0.6

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

func (NoteAudioDatumSlice) DeleteMod added in v0.0.6

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

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

func (NoteAudioDatumSlice) LoadNoteAudio added in v0.0.6

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

LoadNoteAudio loads the noteAudioDatum's NoteAudio into the .R struct

func (NoteAudioDatumSlice) NoteAudio added in v0.0.6

func (NoteAudioDatumSlice) ReloadAll added in v0.0.6

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

func (NoteAudioDatumSlice) UpdateAll added in v0.0.6

func (NoteAudioDatumSlice) UpdateMod added in v0.0.6

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

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

type NoteAudioSetter added in v0.0.6

type NoteAudioSetter struct {
	Created                 omit.Val[time.Time]     `db:"created" `
	CreatorID               omit.Val[int32]         `db:"creator_id" `
	Deleted                 omitnull.Val[time.Time] `db:"deleted" `
	DeletorID               omitnull.Val[int32]     `db:"deletor_id" `
	Duration                omit.Val[float32]       `db:"duration" `
	OrganizationID          omit.Val[int32]         `db:"organization_id" `
	Transcription           omitnull.Val[string]    `db:"transcription" `
	TranscriptionUserEdited omit.Val[bool]          `db:"transcription_user_edited" `
	Version                 omit.Val[int32]         `db:"version,pk" `
	UUID                    omit.Val[uuid.UUID]     `db:"uuid,pk" `
}

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

func (*NoteAudioSetter) Apply added in v0.0.6

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

func (NoteAudioSetter) Expressions added in v0.0.6

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

func (NoteAudioSetter) Overwrite added in v0.0.6

func (s NoteAudioSetter) Overwrite(t *NoteAudio)

func (NoteAudioSetter) SetColumns added in v0.0.6

func (s NoteAudioSetter) SetColumns() []string

func (NoteAudioSetter) UpdateMod added in v0.0.6

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

type NoteAudioSlice added in v0.0.6

type NoteAudioSlice []*NoteAudio

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

func (NoteAudioSlice) AfterQueryHook added in v0.0.6

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

AfterQueryHook is called after NoteAudioSlice is retrieved from the database

func (NoteAudioSlice) CreatorUser added in v0.0.6

func (os NoteAudioSlice) CreatorUser(mods ...bob.Mod[*dialect.SelectQuery]) UsersQuery

func (NoteAudioSlice) DeleteAll added in v0.0.6

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

func (NoteAudioSlice) DeleteMod added in v0.0.6

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

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

func (NoteAudioSlice) DeletorUser added in v0.0.6

func (os NoteAudioSlice) DeletorUser(mods ...bob.Mod[*dialect.SelectQuery]) UsersQuery

func (NoteAudioSlice) LoadCreatorUser added in v0.0.6

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

LoadCreatorUser loads the noteAudio's CreatorUser into the .R struct

func (NoteAudioSlice) LoadDeletorUser added in v0.0.6

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

LoadDeletorUser loads the noteAudio's DeletorUser into the .R struct

func (NoteAudioSlice) LoadNoteAudioBreadcrumbs added in v0.0.6

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

LoadNoteAudioBreadcrumbs loads the noteAudio's NoteAudioBreadcrumbs into the .R struct

func (NoteAudioSlice) LoadNoteAudioData added in v0.0.6

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

LoadNoteAudioData loads the noteAudio's NoteAudioData into the .R struct

func (NoteAudioSlice) LoadOrganization added in v0.0.6

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

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

func (NoteAudioSlice) NoteAudioBreadcrumbs added in v0.0.6

func (os NoteAudioSlice) NoteAudioBreadcrumbs(mods ...bob.Mod[*dialect.SelectQuery]) NoteAudioBreadcrumbsQuery

func (NoteAudioSlice) NoteAudioData added in v0.0.6

func (os NoteAudioSlice) NoteAudioData(mods ...bob.Mod[*dialect.SelectQuery]) NoteAudioDataQuery

func (NoteAudioSlice) Organization added in v0.0.6

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

func (NoteAudioSlice) ReloadAll added in v0.0.6

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

func (NoteAudioSlice) UpdateAll added in v0.0.6

func (o NoteAudioSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals NoteAudioSetter) error

func (NoteAudioSlice) UpdateMod added in v0.0.6

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

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

type NoteAudiosQuery added in v0.0.6

type NoteAudiosQuery = *psql.ViewQuery[*NoteAudio, NoteAudioSlice]

NoteAudiosQuery is a query on the note_audio table

type NoteImage added in v0.0.6

type NoteImage struct {
	Created        time.Time           `db:"created" `
	CreatorID      int32               `db:"creator_id" `
	Deleted        null.Val[time.Time] `db:"deleted" `
	DeletorID      null.Val[int32]     `db:"deletor_id" `
	OrganizationID int32               `db:"organization_id" `
	Version        int32               `db:"version,pk" `
	UUID           uuid.UUID           `db:"uuid,pk" `

	R noteImageR `db:"-" `
}

NoteImage is an object representing the database table.

func FindNoteImage added in v0.0.6

func FindNoteImage(ctx context.Context, exec bob.Executor, VersionPK int32, UUIDPK uuid.UUID, cols ...string) (*NoteImage, error)

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

func (*NoteImage) AfterQueryHook added in v0.0.6

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

AfterQueryHook is called after NoteImage is retrieved from the database

func (*NoteImage) AttachCreatorUser added in v0.0.6

func (noteImage0 *NoteImage) AttachCreatorUser(ctx context.Context, exec bob.Executor, user1 *User) error

func (*NoteImage) AttachDeletorUser added in v0.0.6

func (noteImage0 *NoteImage) AttachDeletorUser(ctx context.Context, exec bob.Executor, user1 *User) error

func (*NoteImage) AttachNoteImageBreadcrumbs added in v0.0.6

func (noteImage0 *NoteImage) AttachNoteImageBreadcrumbs(ctx context.Context, exec bob.Executor, related ...*NoteImageBreadcrumb) error

func (*NoteImage) AttachNoteImageData added in v0.0.6

func (noteImage0 *NoteImage) AttachNoteImageData(ctx context.Context, exec bob.Executor, related ...*NoteImageDatum) error

func (*NoteImage) AttachOrganization added in v0.0.6

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

func (*NoteImage) CreatorUser added in v0.0.6

func (o *NoteImage) CreatorUser(mods ...bob.Mod[*dialect.SelectQuery]) UsersQuery

CreatorUser starts a query for related objects on user_

func (*NoteImage) Delete added in v0.0.6

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

Delete deletes a single NoteImage record with an executor

func (*NoteImage) DeletorUser added in v0.0.6

func (o *NoteImage) DeletorUser(mods ...bob.Mod[*dialect.SelectQuery]) UsersQuery

DeletorUser starts a query for related objects on user_

func (*NoteImage) InsertCreatorUser added in v0.0.6

func (noteImage0 *NoteImage) InsertCreatorUser(ctx context.Context, exec bob.Executor, related *UserSetter) error

func (*NoteImage) InsertDeletorUser added in v0.0.6

func (noteImage0 *NoteImage) InsertDeletorUser(ctx context.Context, exec bob.Executor, related *UserSetter) error

func (*NoteImage) InsertNoteImageBreadcrumbs added in v0.0.6

func (noteImage0 *NoteImage) InsertNoteImageBreadcrumbs(ctx context.Context, exec bob.Executor, related ...*NoteImageBreadcrumbSetter) error

func (*NoteImage) InsertNoteImageData added in v0.0.6

func (noteImage0 *NoteImage) InsertNoteImageData(ctx context.Context, exec bob.Executor, related ...*NoteImageDatumSetter) error

func (*NoteImage) InsertOrganization added in v0.0.6

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

func (*NoteImage) LoadCreatorUser added in v0.0.6

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

LoadCreatorUser loads the noteImage's CreatorUser into the .R struct

func (*NoteImage) LoadDeletorUser added in v0.0.6

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

LoadDeletorUser loads the noteImage's DeletorUser into the .R struct

func (*NoteImage) LoadNoteImageBreadcrumbs added in v0.0.6

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

LoadNoteImageBreadcrumbs loads the noteImage's NoteImageBreadcrumbs into the .R struct

func (*NoteImage) LoadNoteImageData added in v0.0.6

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

LoadNoteImageData loads the noteImage's NoteImageData into the .R struct

func (*NoteImage) LoadOrganization added in v0.0.6

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

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

func (*NoteImage) NoteImageBreadcrumbs added in v0.0.6

func (o *NoteImage) NoteImageBreadcrumbs(mods ...bob.Mod[*dialect.SelectQuery]) NoteImageBreadcrumbsQuery

NoteImageBreadcrumbs starts a query for related objects on note_image_breadcrumb

func (*NoteImage) NoteImageData added in v0.0.6

func (o *NoteImage) NoteImageData(mods ...bob.Mod[*dialect.SelectQuery]) NoteImageDataQuery

NoteImageData starts a query for related objects on note_image_data

func (*NoteImage) Organization added in v0.0.6

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

Organization starts a query for related objects on organization

func (*NoteImage) Preload added in v0.0.6

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

func (*NoteImage) Reload added in v0.0.6

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

Reload refreshes the NoteImage using the executor

func (*NoteImage) Update added in v0.0.6

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

Update uses an executor to update the NoteImage

type NoteImageBreadcrumb added in v0.0.6

type NoteImageBreadcrumb struct {
	Cell             string    `db:"cell" `
	Created          time.Time `db:"created" `
	ManuallySelected bool      `db:"manually_selected" `
	NoteImageVersion int32     `db:"note_image_version,pk" `
	NoteImageUUID    uuid.UUID `db:"note_image_uuid,pk" `
	Position         int32     `db:"position,pk" `

	R noteImageBreadcrumbR `db:"-" `
}

NoteImageBreadcrumb is an object representing the database table.

func FindNoteImageBreadcrumb added in v0.0.6

func FindNoteImageBreadcrumb(ctx context.Context, exec bob.Executor, NoteImageVersionPK int32, NoteImageUUIDPK uuid.UUID, PositionPK int32, cols ...string) (*NoteImageBreadcrumb, error)

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

func (*NoteImageBreadcrumb) AfterQueryHook added in v0.0.6

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

AfterQueryHook is called after NoteImageBreadcrumb is retrieved from the database

func (*NoteImageBreadcrumb) AttachNoteImage added in v0.0.6

func (noteImageBreadcrumb0 *NoteImageBreadcrumb) AttachNoteImage(ctx context.Context, exec bob.Executor, noteImage1 *NoteImage) error

func (*NoteImageBreadcrumb) Delete added in v0.0.6

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

Delete deletes a single NoteImageBreadcrumb record with an executor

func (*NoteImageBreadcrumb) InsertNoteImage added in v0.0.6

func (noteImageBreadcrumb0 *NoteImageBreadcrumb) InsertNoteImage(ctx context.Context, exec bob.Executor, related *NoteImageSetter) error

func (*NoteImageBreadcrumb) LoadNoteImage added in v0.0.6

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

LoadNoteImage loads the noteImageBreadcrumb's NoteImage into the .R struct

func (*NoteImageBreadcrumb) NoteImage added in v0.0.6

NoteImage starts a query for related objects on note_image

func (*NoteImageBreadcrumb) Preload added in v0.0.6

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

func (*NoteImageBreadcrumb) Reload added in v0.0.6

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

Reload refreshes the NoteImageBreadcrumb using the executor

func (*NoteImageBreadcrumb) Update added in v0.0.6

Update uses an executor to update the NoteImageBreadcrumb

type NoteImageBreadcrumbSetter added in v0.0.6

type NoteImageBreadcrumbSetter struct {
	Cell             omit.Val[string]    `db:"cell" `
	Created          omit.Val[time.Time] `db:"created" `
	ManuallySelected omit.Val[bool]      `db:"manually_selected" `
	NoteImageVersion omit.Val[int32]     `db:"note_image_version,pk" `
	NoteImageUUID    omit.Val[uuid.UUID] `db:"note_image_uuid,pk" `
	Position         omit.Val[int32]     `db:"position,pk" `
}

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

func (*NoteImageBreadcrumbSetter) Apply added in v0.0.6

func (NoteImageBreadcrumbSetter) Expressions added in v0.0.6

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

func (NoteImageBreadcrumbSetter) Overwrite added in v0.0.6

func (NoteImageBreadcrumbSetter) SetColumns added in v0.0.6

func (s NoteImageBreadcrumbSetter) SetColumns() []string

func (NoteImageBreadcrumbSetter) UpdateMod added in v0.0.6

type NoteImageBreadcrumbSlice added in v0.0.6

type NoteImageBreadcrumbSlice []*NoteImageBreadcrumb

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

func (NoteImageBreadcrumbSlice) AfterQueryHook added in v0.0.6

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

AfterQueryHook is called after NoteImageBreadcrumbSlice is retrieved from the database

func (NoteImageBreadcrumbSlice) DeleteAll added in v0.0.6

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

func (NoteImageBreadcrumbSlice) DeleteMod added in v0.0.6

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

func (NoteImageBreadcrumbSlice) LoadNoteImage added in v0.0.6

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

LoadNoteImage loads the noteImageBreadcrumb's NoteImage into the .R struct

func (NoteImageBreadcrumbSlice) NoteImage added in v0.0.6

func (NoteImageBreadcrumbSlice) ReloadAll added in v0.0.6

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

func (NoteImageBreadcrumbSlice) UpdateAll added in v0.0.6

func (NoteImageBreadcrumbSlice) UpdateMod added in v0.0.6

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

type NoteImageBreadcrumbsQuery added in v0.0.6

type NoteImageBreadcrumbsQuery = *psql.ViewQuery[*NoteImageBreadcrumb, NoteImageBreadcrumbSlice]

NoteImageBreadcrumbsQuery is a query on the note_image_breadcrumb table

type NoteImageDataQuery added in v0.0.6

type NoteImageDataQuery = *psql.ViewQuery[*NoteImageDatum, NoteImageDatumSlice]

NoteImageDataQuery is a query on the note_image_data table

type NoteImageDatum added in v0.0.6

type NoteImageDatum struct {
	Created          time.Time           `db:"created" `
	NoteImageVersion int32               `db:"note_image_version,pk" `
	NoteImageUUID    uuid.UUID           `db:"note_image_uuid,pk" `
	Type             enums.Audiodatatype `db:"type_,pk" `

	R noteImageDatumR `db:"-" `
}

NoteImageDatum is an object representing the database table.

func FindNoteImageDatum added in v0.0.6

func FindNoteImageDatum(ctx context.Context, exec bob.Executor, NoteImageVersionPK int32, NoteImageUUIDPK uuid.UUID, TypePK enums.Audiodatatype, cols ...string) (*NoteImageDatum, error)

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

func (*NoteImageDatum) AfterQueryHook added in v0.0.6

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

AfterQueryHook is called after NoteImageDatum is retrieved from the database

func (*NoteImageDatum) AttachNoteImage added in v0.0.6

func (noteImageDatum0 *NoteImageDatum) AttachNoteImage(ctx context.Context, exec bob.Executor, noteImage1 *NoteImage) error

func (*NoteImageDatum) Delete added in v0.0.6

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

Delete deletes a single NoteImageDatum record with an executor

func (*NoteImageDatum) InsertNoteImage added in v0.0.6

func (noteImageDatum0 *NoteImageDatum) InsertNoteImage(ctx context.Context, exec bob.Executor, related *NoteImageSetter) error

func (*NoteImageDatum) LoadNoteImage added in v0.0.6

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

LoadNoteImage loads the noteImageDatum's NoteImage into the .R struct

func (*NoteImageDatum) NoteImage added in v0.0.6

func (o *NoteImageDatum) NoteImage(mods ...bob.Mod[*dialect.SelectQuery]) NoteImagesQuery

NoteImage starts a query for related objects on note_image

func (*NoteImageDatum) Preload added in v0.0.6

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

func (*NoteImageDatum) Reload added in v0.0.6

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

Reload refreshes the NoteImageDatum using the executor

func (*NoteImageDatum) Update added in v0.0.6

Update uses an executor to update the NoteImageDatum

type NoteImageDatumSetter added in v0.0.6

type NoteImageDatumSetter struct {
	Created          omit.Val[time.Time]           `db:"created" `
	NoteImageVersion omit.Val[int32]               `db:"note_image_version,pk" `
	NoteImageUUID    omit.Val[uuid.UUID]           `db:"note_image_uuid,pk" `
	Type             omit.Val[enums.Audiodatatype] `db:"type_,pk" `
}

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

func (*NoteImageDatumSetter) Apply added in v0.0.6

func (NoteImageDatumSetter) Expressions added in v0.0.6

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

func (NoteImageDatumSetter) Overwrite added in v0.0.6

func (s NoteImageDatumSetter) Overwrite(t *NoteImageDatum)

func (NoteImageDatumSetter) SetColumns added in v0.0.6

func (s NoteImageDatumSetter) SetColumns() []string

func (NoteImageDatumSetter) UpdateMod added in v0.0.6

type NoteImageDatumSlice added in v0.0.6

type NoteImageDatumSlice []*NoteImageDatum

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

func (NoteImageDatumSlice) AfterQueryHook added in v0.0.6

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

AfterQueryHook is called after NoteImageDatumSlice is retrieved from the database

func (NoteImageDatumSlice) DeleteAll added in v0.0.6

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

func (NoteImageDatumSlice) DeleteMod added in v0.0.6

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

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

func (NoteImageDatumSlice) LoadNoteImage added in v0.0.6

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

LoadNoteImage loads the noteImageDatum's NoteImage into the .R struct

func (NoteImageDatumSlice) NoteImage added in v0.0.6

func (NoteImageDatumSlice) ReloadAll added in v0.0.6

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

func (NoteImageDatumSlice) UpdateAll added in v0.0.6

func (NoteImageDatumSlice) UpdateMod added in v0.0.6

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

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

type NoteImageSetter added in v0.0.6

type NoteImageSetter struct {
	Created        omit.Val[time.Time]     `db:"created" `
	CreatorID      omit.Val[int32]         `db:"creator_id" `
	Deleted        omitnull.Val[time.Time] `db:"deleted" `
	DeletorID      omitnull.Val[int32]     `db:"deletor_id" `
	OrganizationID omit.Val[int32]         `db:"organization_id" `
	Version        omit.Val[int32]         `db:"version,pk" `
	UUID           omit.Val[uuid.UUID]     `db:"uuid,pk" `
}

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

func (*NoteImageSetter) Apply added in v0.0.6

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

func (NoteImageSetter) Expressions added in v0.0.6

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

func (NoteImageSetter) Overwrite added in v0.0.6

func (s NoteImageSetter) Overwrite(t *NoteImage)

func (NoteImageSetter) SetColumns added in v0.0.6

func (s NoteImageSetter) SetColumns() []string

func (NoteImageSetter) UpdateMod added in v0.0.6

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

type NoteImageSlice added in v0.0.6

type NoteImageSlice []*NoteImage

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

func (NoteImageSlice) AfterQueryHook added in v0.0.6

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

AfterQueryHook is called after NoteImageSlice is retrieved from the database

func (NoteImageSlice) CreatorUser added in v0.0.6

func (os NoteImageSlice) CreatorUser(mods ...bob.Mod[*dialect.SelectQuery]) UsersQuery

func (NoteImageSlice) DeleteAll added in v0.0.6

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

func (NoteImageSlice) DeleteMod added in v0.0.6

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

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

func (NoteImageSlice) DeletorUser added in v0.0.6

func (os NoteImageSlice) DeletorUser(mods ...bob.Mod[*dialect.SelectQuery]) UsersQuery

func (NoteImageSlice) LoadCreatorUser added in v0.0.6

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

LoadCreatorUser loads the noteImage's CreatorUser into the .R struct

func (NoteImageSlice) LoadDeletorUser added in v0.0.6

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

LoadDeletorUser loads the noteImage's DeletorUser into the .R struct

func (NoteImageSlice) LoadNoteImageBreadcrumbs added in v0.0.6

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

LoadNoteImageBreadcrumbs loads the noteImage's NoteImageBreadcrumbs into the .R struct

func (NoteImageSlice) LoadNoteImageData added in v0.0.6

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

LoadNoteImageData loads the noteImage's NoteImageData into the .R struct

func (NoteImageSlice) LoadOrganization added in v0.0.6

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

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

func (NoteImageSlice) NoteImageBreadcrumbs added in v0.0.6

func (os NoteImageSlice) NoteImageBreadcrumbs(mods ...bob.Mod[*dialect.SelectQuery]) NoteImageBreadcrumbsQuery

func (NoteImageSlice) NoteImageData added in v0.0.6

func (os NoteImageSlice) NoteImageData(mods ...bob.Mod[*dialect.SelectQuery]) NoteImageDataQuery

func (NoteImageSlice) Organization added in v0.0.6

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

func (NoteImageSlice) ReloadAll added in v0.0.6

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

func (NoteImageSlice) UpdateAll added in v0.0.6

func (o NoteImageSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals NoteImageSetter) error

func (NoteImageSlice) UpdateMod added in v0.0.6

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

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

type NoteImagesQuery added in v0.0.6

type NoteImagesQuery = *psql.ViewQuery[*NoteImage, NoteImageSlice]

NoteImagesQuery is a query on the note_image 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) AttachContainerrelates added in v0.0.6

func (organization0 *Organization) AttachContainerrelates(ctx context.Context, exec bob.Executor, related ...*FieldseekerContainerrelate) error

func (*Organization) AttachFieldscoutinglogs added in v0.0.6

func (organization0 *Organization) AttachFieldscoutinglogs(ctx context.Context, exec bob.Executor, related ...*FieldseekerFieldscoutinglog) 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) AttachHabitatrelates added in v0.0.6

func (organization0 *Organization) AttachHabitatrelates(ctx context.Context, exec bob.Executor, related ...*FieldseekerHabitatrelate) error

func (*Organization) AttachInspectionsampledetails added in v0.0.6

func (organization0 *Organization) AttachInspectionsampledetails(ctx context.Context, exec bob.Executor, related ...*FieldseekerInspectionsampledetail) error

func (*Organization) AttachInspectionsamples added in v0.0.6

func (organization0 *Organization) AttachInspectionsamples(ctx context.Context, exec bob.Executor, related ...*FieldseekerInspectionsample) error

func (*Organization) AttachLinelocations added in v0.0.6

func (organization0 *Organization) AttachLinelocations(ctx context.Context, exec bob.Executor, related ...*FieldseekerLinelocation) error

func (*Organization) AttachLocationtrackings added in v0.0.6

func (organization0 *Organization) AttachLocationtrackings(ctx context.Context, exec bob.Executor, related ...*FieldseekerLocationtracking) error

func (*Organization) AttachMosquitoinspections added in v0.0.6

func (organization0 *Organization) AttachMosquitoinspections(ctx context.Context, exec bob.Executor, related ...*FieldseekerMosquitoinspection) error

func (*Organization) AttachNoteAudios added in v0.0.6

func (organization0 *Organization) AttachNoteAudios(ctx context.Context, exec bob.Executor, related ...*NoteAudio) error

func (*Organization) AttachNoteImages added in v0.0.6

func (organization0 *Organization) AttachNoteImages(ctx context.Context, exec bob.Executor, related ...*NoteImage) error

func (*Organization) AttachPointlocations added in v0.0.6

func (organization0 *Organization) AttachPointlocations(ctx context.Context, exec bob.Executor, related ...*FieldseekerPointlocation) error

func (*Organization) AttachPolygonlocations added in v0.0.6

func (organization0 *Organization) AttachPolygonlocations(ctx context.Context, exec bob.Executor, related ...*FieldseekerPolygonlocation) error

func (*Organization) AttachPooldetails added in v0.0.6

func (organization0 *Organization) AttachPooldetails(ctx context.Context, exec bob.Executor, related ...*FieldseekerPooldetail) error

func (*Organization) AttachPools added in v0.0.6

func (organization0 *Organization) AttachPools(ctx context.Context, exec bob.Executor, related ...*FieldseekerPool) error

func (*Organization) AttachProposedtreatmentareas added in v0.0.6

func (organization0 *Organization) AttachProposedtreatmentareas(ctx context.Context, exec bob.Executor, related ...*FieldseekerProposedtreatmentarea) error

func (*Organization) AttachQamosquitoinspections added in v0.0.6

func (organization0 *Organization) AttachQamosquitoinspections(ctx context.Context, exec bob.Executor, related ...*FieldseekerQamosquitoinspection) error

func (*Organization) AttachRodentlocations added in v0.0.6

func (organization0 *Organization) AttachRodentlocations(ctx context.Context, exec bob.Executor, related ...*FieldseekerRodentlocation) error

func (*Organization) AttachSamplecollections added in v0.0.6

func (organization0 *Organization) AttachSamplecollections(ctx context.Context, exec bob.Executor, related ...*FieldseekerSamplecollection) error

func (*Organization) AttachSamplelocations added in v0.0.6

func (organization0 *Organization) AttachSamplelocations(ctx context.Context, exec bob.Executor, related ...*FieldseekerSamplelocation) error

func (*Organization) AttachServicerequests added in v0.0.6

func (organization0 *Organization) AttachServicerequests(ctx context.Context, exec bob.Executor, related ...*FieldseekerServicerequest) error

func (*Organization) AttachSpeciesabundances added in v0.0.6

func (organization0 *Organization) AttachSpeciesabundances(ctx context.Context, exec bob.Executor, related ...*FieldseekerSpeciesabundance) error

func (*Organization) AttachStormdrains added in v0.0.6

func (organization0 *Organization) AttachStormdrains(ctx context.Context, exec bob.Executor, related ...*FieldseekerStormdrain) error

func (*Organization) AttachTimecards added in v0.0.6

func (organization0 *Organization) AttachTimecards(ctx context.Context, exec bob.Executor, related ...*FieldseekerTimecard) error

func (*Organization) AttachTrapdata added in v0.0.6

func (organization0 *Organization) AttachTrapdata(ctx context.Context, exec bob.Executor, related ...*FieldseekerTrapdatum) error

func (*Organization) AttachTraplocations added in v0.0.6

func (organization0 *Organization) AttachTraplocations(ctx context.Context, exec bob.Executor, related ...*FieldseekerTraplocation) error

func (*Organization) AttachTreatmentareas added in v0.0.6

func (organization0 *Organization) AttachTreatmentareas(ctx context.Context, exec bob.Executor, related ...*FieldseekerTreatmentarea) error

func (*Organization) AttachTreatments added in v0.0.6

func (organization0 *Organization) AttachTreatments(ctx context.Context, exec bob.Executor, related ...*FieldseekerTreatment) error

func (*Organization) AttachUser

func (organization0 *Organization) AttachUser(ctx context.Context, exec bob.Executor, related ...*User) error

func (*Organization) AttachZones added in v0.0.6

func (organization0 *Organization) AttachZones(ctx context.Context, exec bob.Executor, related ...*FieldseekerZone) error

func (*Organization) AttachZones2s added in v0.0.6

func (organization0 *Organization) AttachZones2s(ctx context.Context, exec bob.Executor, related ...*FieldseekerZones2) error

func (*Organization) Containerrelates added in v0.0.6

Containerrelates starts a query for related objects on fieldseeker.containerrelate

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) Fieldscoutinglogs added in v0.0.6

func (o *Organization) Fieldscoutinglogs(mods ...bob.Mod[*dialect.SelectQuery]) FieldseekerFieldscoutinglogsQuery

Fieldscoutinglogs starts a query for related objects on fieldseeker.fieldscoutinglog

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) Habitatrelates added in v0.0.6

Habitatrelates starts a query for related objects on fieldseeker.habitatrelate

func (*Organization) InsertContainerrelates added in v0.0.6

func (organization0 *Organization) InsertContainerrelates(ctx context.Context, exec bob.Executor, related ...*FieldseekerContainerrelateSetter) error

func (*Organization) InsertFieldscoutinglogs added in v0.0.6

func (organization0 *Organization) InsertFieldscoutinglogs(ctx context.Context, exec bob.Executor, related ...*FieldseekerFieldscoutinglogSetter) 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) InsertHabitatrelates added in v0.0.6

func (organization0 *Organization) InsertHabitatrelates(ctx context.Context, exec bob.Executor, related ...*FieldseekerHabitatrelateSetter) error

func (*Organization) InsertInspectionsampledetails added in v0.0.6

func (organization0 *Organization) InsertInspectionsampledetails(ctx context.Context, exec bob.Executor, related ...*FieldseekerInspectionsampledetailSetter) error

func (*Organization) InsertInspectionsamples added in v0.0.6

func (organization0 *Organization) InsertInspectionsamples(ctx context.Context, exec bob.Executor, related ...*FieldseekerInspectionsampleSetter) error

func (*Organization) InsertLinelocations added in v0.0.6

func (organization0 *Organization) InsertLinelocations(ctx context.Context, exec bob.Executor, related ...*FieldseekerLinelocationSetter) error

func (*Organization) InsertLocationtrackings added in v0.0.6

func (organization0 *Organization) InsertLocationtrackings(ctx context.Context, exec bob.Executor, related ...*FieldseekerLocationtrackingSetter) error

func (*Organization) InsertMosquitoinspections added in v0.0.6

func (organization0 *Organization) InsertMosquitoinspections(ctx context.Context, exec bob.Executor, related ...*FieldseekerMosquitoinspectionSetter) error

func (*Organization) InsertNoteAudios added in v0.0.6

func (organization0 *Organization) InsertNoteAudios(ctx context.Context, exec bob.Executor, related ...*NoteAudioSetter) error

func (*Organization) InsertNoteImages added in v0.0.6

func (organization0 *Organization) InsertNoteImages(ctx context.Context, exec bob.Executor, related ...*NoteImageSetter) error

func (*Organization) InsertPointlocations added in v0.0.6

func (organization0 *Organization) InsertPointlocations(ctx context.Context, exec bob.Executor, related ...*FieldseekerPointlocationSetter) error

func (*Organization) InsertPolygonlocations added in v0.0.6

func (organization0 *Organization) InsertPolygonlocations(ctx context.Context, exec bob.Executor, related ...*FieldseekerPolygonlocationSetter) error

func (*Organization) InsertPooldetails added in v0.0.6

func (organization0 *Organization) InsertPooldetails(ctx context.Context, exec bob.Executor, related ...*FieldseekerPooldetailSetter) error

func (*Organization) InsertPools added in v0.0.6

func (organization0 *Organization) InsertPools(ctx context.Context, exec bob.Executor, related ...*FieldseekerPoolSetter) error

func (*Organization) InsertProposedtreatmentareas added in v0.0.6

func (organization0 *Organization) InsertProposedtreatmentareas(ctx context.Context, exec bob.Executor, related ...*FieldseekerProposedtreatmentareaSetter) error

func (*Organization) InsertQamosquitoinspections added in v0.0.6

func (organization0 *Organization) InsertQamosquitoinspections(ctx context.Context, exec bob.Executor, related ...*FieldseekerQamosquitoinspectionSetter) error

func (*Organization) InsertRodentlocations added in v0.0.6

func (organization0 *Organization) InsertRodentlocations(ctx context.Context, exec bob.Executor, related ...*FieldseekerRodentlocationSetter) error

func (*Organization) InsertSamplecollections added in v0.0.6

func (organization0 *Organization) InsertSamplecollections(ctx context.Context, exec bob.Executor, related ...*FieldseekerSamplecollectionSetter) error

func (*Organization) InsertSamplelocations added in v0.0.6

func (organization0 *Organization) InsertSamplelocations(ctx context.Context, exec bob.Executor, related ...*FieldseekerSamplelocationSetter) error

func (*Organization) InsertServicerequests added in v0.0.6

func (organization0 *Organization) InsertServicerequests(ctx context.Context, exec bob.Executor, related ...*FieldseekerServicerequestSetter) error

func (*Organization) InsertSpeciesabundances added in v0.0.6

func (organization0 *Organization) InsertSpeciesabundances(ctx context.Context, exec bob.Executor, related ...*FieldseekerSpeciesabundanceSetter) error

func (*Organization) InsertStormdrains added in v0.0.6

func (organization0 *Organization) InsertStormdrains(ctx context.Context, exec bob.Executor, related ...*FieldseekerStormdrainSetter) error

func (*Organization) InsertTimecards added in v0.0.6

func (organization0 *Organization) InsertTimecards(ctx context.Context, exec bob.Executor, related ...*FieldseekerTimecardSetter) error

func (*Organization) InsertTrapdata added in v0.0.6

func (organization0 *Organization) InsertTrapdata(ctx context.Context, exec bob.Executor, related ...*FieldseekerTrapdatumSetter) error

func (*Organization) InsertTraplocations added in v0.0.6

func (organization0 *Organization) InsertTraplocations(ctx context.Context, exec bob.Executor, related ...*FieldseekerTraplocationSetter) error

func (*Organization) InsertTreatmentareas added in v0.0.6

func (organization0 *Organization) InsertTreatmentareas(ctx context.Context, exec bob.Executor, related ...*FieldseekerTreatmentareaSetter) error

func (*Organization) InsertTreatments added in v0.0.6

func (organization0 *Organization) InsertTreatments(ctx context.Context, exec bob.Executor, related ...*FieldseekerTreatmentSetter) error

func (*Organization) InsertUser

func (organization0 *Organization) InsertUser(ctx context.Context, exec bob.Executor, related ...*UserSetter) error

func (*Organization) InsertZones added in v0.0.6

func (organization0 *Organization) InsertZones(ctx context.Context, exec bob.Executor, related ...*FieldseekerZoneSetter) error

func (*Organization) InsertZones2s added in v0.0.6

func (organization0 *Organization) InsertZones2s(ctx context.Context, exec bob.Executor, related ...*FieldseekerZones2Setter) error

func (*Organization) Inspectionsampledetails added in v0.0.6

func (o *Organization) Inspectionsampledetails(mods ...bob.Mod[*dialect.SelectQuery]) FieldseekerInspectionsampledetailsQuery

Inspectionsampledetails starts a query for related objects on fieldseeker.inspectionsampledetail

func (*Organization) Inspectionsamples added in v0.0.6

func (o *Organization) Inspectionsamples(mods ...bob.Mod[*dialect.SelectQuery]) FieldseekerInspectionsamplesQuery

Inspectionsamples starts a query for related objects on fieldseeker.inspectionsample

func (*Organization) Linelocations added in v0.0.6

Linelocations starts a query for related objects on fieldseeker.linelocation

func (*Organization) LoadContainerrelates added in v0.0.6

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

LoadContainerrelates loads the organization's Containerrelates into the .R struct

func (*Organization) LoadFieldscoutinglogs added in v0.0.6

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

LoadFieldscoutinglogs loads the organization's Fieldscoutinglogs 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) LoadHabitatrelates added in v0.0.6

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

LoadHabitatrelates loads the organization's Habitatrelates into the .R struct

func (*Organization) LoadInspectionsampledetails added in v0.0.6

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

LoadInspectionsampledetails loads the organization's Inspectionsampledetails into the .R struct

func (*Organization) LoadInspectionsamples added in v0.0.6

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

LoadInspectionsamples loads the organization's Inspectionsamples into the .R struct

func (*Organization) LoadLinelocations added in v0.0.6

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

LoadLinelocations loads the organization's Linelocations into the .R struct

func (*Organization) LoadLocationtrackings added in v0.0.6

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

LoadLocationtrackings loads the organization's Locationtrackings into the .R struct

func (*Organization) LoadMosquitoinspections added in v0.0.6

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

LoadMosquitoinspections loads the organization's Mosquitoinspections into the .R struct

func (*Organization) LoadNoteAudios added in v0.0.6

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

LoadNoteAudios loads the organization's NoteAudios into the .R struct

func (*Organization) LoadNoteImages added in v0.0.6

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

LoadNoteImages loads the organization's NoteImages into the .R struct

func (*Organization) LoadPointlocations added in v0.0.6

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

LoadPointlocations loads the organization's Pointlocations into the .R struct

func (*Organization) LoadPolygonlocations added in v0.0.6

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

LoadPolygonlocations loads the organization's Polygonlocations into the .R struct

func (*Organization) LoadPooldetails added in v0.0.6

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

LoadPooldetails loads the organization's Pooldetails into the .R struct

func (*Organization) LoadPools added in v0.0.6

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

LoadPools loads the organization's Pools into the .R struct

func (*Organization) LoadProposedtreatmentareas added in v0.0.6

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

LoadProposedtreatmentareas loads the organization's Proposedtreatmentareas into the .R struct

func (*Organization) LoadQamosquitoinspections added in v0.0.6

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

LoadQamosquitoinspections loads the organization's Qamosquitoinspections into the .R struct

func (*Organization) LoadRodentlocations added in v0.0.6

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

LoadRodentlocations loads the organization's Rodentlocations into the .R struct

func (*Organization) LoadSamplecollections added in v0.0.6

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

LoadSamplecollections loads the organization's Samplecollections into the .R struct

func (*Organization) LoadSamplelocations added in v0.0.6

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

LoadSamplelocations loads the organization's Samplelocations into the .R struct

func (*Organization) LoadServicerequests added in v0.0.6

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

LoadServicerequests loads the organization's Servicerequests into the .R struct

func (*Organization) LoadSpeciesabundances added in v0.0.6

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

LoadSpeciesabundances loads the organization's Speciesabundances into the .R struct

func (*Organization) LoadStormdrains added in v0.0.6

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

LoadStormdrains loads the organization's Stormdrains into the .R struct

func (*Organization) LoadTimecards added in v0.0.6

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

LoadTimecards loads the organization's Timecards into the .R struct

func (*Organization) LoadTrapdata added in v0.0.6

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

LoadTrapdata loads the organization's Trapdata into the .R struct

func (*Organization) LoadTraplocations added in v0.0.6

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

LoadTraplocations loads the organization's Traplocations into the .R struct

func (*Organization) LoadTreatmentareas added in v0.0.6

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

LoadTreatmentareas loads the organization's Treatmentareas into the .R struct

func (*Organization) LoadTreatments added in v0.0.6

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

LoadTreatments loads the organization's Treatments 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) LoadZones added in v0.0.6

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

LoadZones loads the organization's Zones into the .R struct

func (*Organization) LoadZones2s added in v0.0.6

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

LoadZones2s loads the organization's Zones2s into the .R struct

func (*Organization) Locationtrackings added in v0.0.6

func (o *Organization) Locationtrackings(mods ...bob.Mod[*dialect.SelectQuery]) FieldseekerLocationtrackingsQuery

Locationtrackings starts a query for related objects on fieldseeker.locationtracking

func (*Organization) Mosquitoinspections added in v0.0.6

func (o *Organization) Mosquitoinspections(mods ...bob.Mod[*dialect.SelectQuery]) FieldseekerMosquitoinspectionsQuery

Mosquitoinspections starts a query for related objects on fieldseeker.mosquitoinspection

func (*Organization) NoteAudios added in v0.0.6

func (o *Organization) NoteAudios(mods ...bob.Mod[*dialect.SelectQuery]) NoteAudiosQuery

NoteAudios starts a query for related objects on note_audio

func (*Organization) NoteImages added in v0.0.6

func (o *Organization) NoteImages(mods ...bob.Mod[*dialect.SelectQuery]) NoteImagesQuery

NoteImages starts a query for related objects on note_image

func (*Organization) Pointlocations added in v0.0.6

Pointlocations starts a query for related objects on fieldseeker.pointlocation

func (*Organization) Polygonlocations added in v0.0.6

Polygonlocations starts a query for related objects on fieldseeker.polygonlocation

func (*Organization) Pooldetails added in v0.0.6

Pooldetails starts a query for related objects on fieldseeker.pooldetail

func (*Organization) Pools added in v0.0.6

Pools starts a query for related objects on fieldseeker.pool

func (*Organization) Preload

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

func (*Organization) Proposedtreatmentareas added in v0.0.6

func (o *Organization) Proposedtreatmentareas(mods ...bob.Mod[*dialect.SelectQuery]) FieldseekerProposedtreatmentareasQuery

Proposedtreatmentareas starts a query for related objects on fieldseeker.proposedtreatmentarea

func (*Organization) Qamosquitoinspections added in v0.0.6

func (o *Organization) Qamosquitoinspections(mods ...bob.Mod[*dialect.SelectQuery]) FieldseekerQamosquitoinspectionsQuery

Qamosquitoinspections starts a query for related objects on fieldseeker.qamosquitoinspection

func (*Organization) Reload

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

Reload refreshes the Organization using the executor

func (*Organization) Rodentlocations added in v0.0.6

Rodentlocations starts a query for related objects on fieldseeker.rodentlocation

func (*Organization) Samplecollections added in v0.0.6

func (o *Organization) Samplecollections(mods ...bob.Mod[*dialect.SelectQuery]) FieldseekerSamplecollectionsQuery

Samplecollections starts a query for related objects on fieldseeker.samplecollection

func (*Organization) Samplelocations added in v0.0.6

Samplelocations starts a query for related objects on fieldseeker.samplelocation

func (*Organization) Servicerequests added in v0.0.6

Servicerequests starts a query for related objects on fieldseeker.servicerequest

func (*Organization) Speciesabundances added in v0.0.6

func (o *Organization) Speciesabundances(mods ...bob.Mod[*dialect.SelectQuery]) FieldseekerSpeciesabundancesQuery

Speciesabundances starts a query for related objects on fieldseeker.speciesabundance

func (*Organization) Stormdrains added in v0.0.6

Stormdrains starts a query for related objects on fieldseeker.stormdrain

func (*Organization) Timecards added in v0.0.6

Timecards starts a query for related objects on fieldseeker.timecard

func (*Organization) Trapdata added in v0.0.6

Trapdata starts a query for related objects on fieldseeker.trapdata

func (*Organization) Traplocations added in v0.0.6

Traplocations starts a query for related objects on fieldseeker.traplocation

func (*Organization) Treatmentareas added in v0.0.6

Treatmentareas starts a query for related objects on fieldseeker.treatmentarea

func (*Organization) Treatments added in v0.0.6

Treatments starts a query for related objects on fieldseeker.treatment

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_

func (*Organization) Zones added in v0.0.6

Zones starts a query for related objects on fieldseeker.zones

func (*Organization) Zones2s added in v0.0.6

Zones2s starts a query for related objects on fieldseeker.zones2

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) Containerrelates added in v0.0.6

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) Fieldscoutinglogs added in v0.0.6

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) Habitatrelates added in v0.0.6

func (OrganizationSlice) Inspectionsampledetails added in v0.0.6

func (OrganizationSlice) Inspectionsamples added in v0.0.6

func (OrganizationSlice) Linelocations added in v0.0.6

func (OrganizationSlice) LoadContainerrelates added in v0.0.6

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

LoadContainerrelates loads the organization's Containerrelates into the .R struct

func (OrganizationSlice) LoadFieldscoutinglogs added in v0.0.6

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

LoadFieldscoutinglogs loads the organization's Fieldscoutinglogs 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) LoadHabitatrelates added in v0.0.6

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

LoadHabitatrelates loads the organization's Habitatrelates into the .R struct

func (OrganizationSlice) LoadInspectionsampledetails added in v0.0.6

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

LoadInspectionsampledetails loads the organization's Inspectionsampledetails into the .R struct

func (OrganizationSlice) LoadInspectionsamples added in v0.0.6

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

LoadInspectionsamples loads the organization's Inspectionsamples into the .R struct

func (OrganizationSlice) LoadLinelocations added in v0.0.6

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

LoadLinelocations loads the organization's Linelocations into the .R struct

func (OrganizationSlice) LoadLocationtrackings added in v0.0.6

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

LoadLocationtrackings loads the organization's Locationtrackings into the .R struct

func (OrganizationSlice) LoadMosquitoinspections added in v0.0.6

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

LoadMosquitoinspections loads the organization's Mosquitoinspections into the .R struct

func (OrganizationSlice) LoadNoteAudios added in v0.0.6

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

LoadNoteAudios loads the organization's NoteAudios into the .R struct

func (OrganizationSlice) LoadNoteImages added in v0.0.6

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

LoadNoteImages loads the organization's NoteImages into the .R struct

func (OrganizationSlice) LoadPointlocations added in v0.0.6

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

LoadPointlocations loads the organization's Pointlocations into the .R struct

func (OrganizationSlice) LoadPolygonlocations added in v0.0.6

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

LoadPolygonlocations loads the organization's Polygonlocations into the .R struct

func (OrganizationSlice) LoadPooldetails added in v0.0.6

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

LoadPooldetails loads the organization's Pooldetails into the .R struct

func (OrganizationSlice) LoadPools added in v0.0.6

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

LoadPools loads the organization's Pools into the .R struct

func (OrganizationSlice) LoadProposedtreatmentareas added in v0.0.6

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

LoadProposedtreatmentareas loads the organization's Proposedtreatmentareas into the .R struct

func (OrganizationSlice) LoadQamosquitoinspections added in v0.0.6

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

LoadQamosquitoinspections loads the organization's Qamosquitoinspections into the .R struct

func (OrganizationSlice) LoadRodentlocations added in v0.0.6

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

LoadRodentlocations loads the organization's Rodentlocations into the .R struct

func (OrganizationSlice) LoadSamplecollections added in v0.0.6

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

LoadSamplecollections loads the organization's Samplecollections into the .R struct

func (OrganizationSlice) LoadSamplelocations added in v0.0.6

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

LoadSamplelocations loads the organization's Samplelocations into the .R struct

func (OrganizationSlice) LoadServicerequests added in v0.0.6

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

LoadServicerequests loads the organization's Servicerequests into the .R struct

func (OrganizationSlice) LoadSpeciesabundances added in v0.0.6

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

LoadSpeciesabundances loads the organization's Speciesabundances into the .R struct

func (OrganizationSlice) LoadStormdrains added in v0.0.6

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

LoadStormdrains loads the organization's Stormdrains into the .R struct

func (OrganizationSlice) LoadTimecards added in v0.0.6

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

LoadTimecards loads the organization's Timecards into the .R struct

func (OrganizationSlice) LoadTrapdata added in v0.0.6

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

LoadTrapdata loads the organization's Trapdata into the .R struct

func (OrganizationSlice) LoadTraplocations added in v0.0.6

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

LoadTraplocations loads the organization's Traplocations into the .R struct

func (OrganizationSlice) LoadTreatmentareas added in v0.0.6

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

LoadTreatmentareas loads the organization's Treatmentareas into the .R struct

func (OrganizationSlice) LoadTreatments added in v0.0.6

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

LoadTreatments loads the organization's Treatments 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) LoadZones added in v0.0.6

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

LoadZones loads the organization's Zones into the .R struct

func (OrganizationSlice) LoadZones2s added in v0.0.6

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

LoadZones2s loads the organization's Zones2s into the .R struct

func (OrganizationSlice) Locationtrackings added in v0.0.6

func (OrganizationSlice) Mosquitoinspections added in v0.0.6

func (OrganizationSlice) NoteAudios added in v0.0.6

func (os OrganizationSlice) NoteAudios(mods ...bob.Mod[*dialect.SelectQuery]) NoteAudiosQuery

func (OrganizationSlice) NoteImages added in v0.0.6

func (os OrganizationSlice) NoteImages(mods ...bob.Mod[*dialect.SelectQuery]) NoteImagesQuery

func (OrganizationSlice) Pointlocations added in v0.0.6

func (OrganizationSlice) Polygonlocations added in v0.0.6

func (OrganizationSlice) Pooldetails added in v0.0.6

func (OrganizationSlice) Pools added in v0.0.6

func (OrganizationSlice) Proposedtreatmentareas added in v0.0.6

func (OrganizationSlice) Qamosquitoinspections added in v0.0.6

func (OrganizationSlice) ReloadAll

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

func (OrganizationSlice) Rodentlocations added in v0.0.6

func (OrganizationSlice) Samplecollections added in v0.0.6

func (OrganizationSlice) Samplelocations added in v0.0.6

func (OrganizationSlice) Servicerequests added in v0.0.6

func (OrganizationSlice) Speciesabundances added in v0.0.6

func (OrganizationSlice) Stormdrains added in v0.0.6

func (OrganizationSlice) Timecards added in v0.0.6

func (OrganizationSlice) Trapdata added in v0.0.6

func (OrganizationSlice) Traplocations added in v0.0.6

func (OrganizationSlice) Treatmentareas added in v0.0.6

func (OrganizationSlice) Treatments added in v0.0.6

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

func (OrganizationSlice) Zones added in v0.0.6

func (OrganizationSlice) Zones2s added in v0.0.6

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            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) AttachCreatorNoteAudios added in v0.0.6

func (user0 *User) AttachCreatorNoteAudios(ctx context.Context, exec bob.Executor, related ...*NoteAudio) error

func (*User) AttachCreatorNoteImages added in v0.0.6

func (user0 *User) AttachCreatorNoteImages(ctx context.Context, exec bob.Executor, related ...*NoteImage) error

func (*User) AttachDeletorNoteAudios added in v0.0.6

func (user0 *User) AttachDeletorNoteAudios(ctx context.Context, exec bob.Executor, related ...*NoteAudio) error

func (*User) AttachDeletorNoteImages added in v0.0.6

func (user0 *User) AttachDeletorNoteImages(ctx context.Context, exec bob.Executor, related ...*NoteImage) error

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) CreatorNoteAudios added in v0.0.6

func (o *User) CreatorNoteAudios(mods ...bob.Mod[*dialect.SelectQuery]) NoteAudiosQuery

CreatorNoteAudios starts a query for related objects on note_audio

func (*User) CreatorNoteImages added in v0.0.6

func (o *User) CreatorNoteImages(mods ...bob.Mod[*dialect.SelectQuery]) NoteImagesQuery

CreatorNoteImages starts a query for related objects on note_image

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) DeletorNoteAudios added in v0.0.6

func (o *User) DeletorNoteAudios(mods ...bob.Mod[*dialect.SelectQuery]) NoteAudiosQuery

DeletorNoteAudios starts a query for related objects on note_audio

func (*User) DeletorNoteImages added in v0.0.6

func (o *User) DeletorNoteImages(mods ...bob.Mod[*dialect.SelectQuery]) NoteImagesQuery

DeletorNoteImages starts a query for related objects on note_image

func (*User) InsertCreatorNoteAudios added in v0.0.6

func (user0 *User) InsertCreatorNoteAudios(ctx context.Context, exec bob.Executor, related ...*NoteAudioSetter) error

func (*User) InsertCreatorNoteImages added in v0.0.6

func (user0 *User) InsertCreatorNoteImages(ctx context.Context, exec bob.Executor, related ...*NoteImageSetter) error

func (*User) InsertDeletorNoteAudios added in v0.0.6

func (user0 *User) InsertDeletorNoteAudios(ctx context.Context, exec bob.Executor, related ...*NoteAudioSetter) error

func (*User) InsertDeletorNoteImages added in v0.0.6

func (user0 *User) InsertDeletorNoteImages(ctx context.Context, exec bob.Executor, related ...*NoteImageSetter) error

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) LoadCreatorNoteAudios added in v0.0.6

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

LoadCreatorNoteAudios loads the user's CreatorNoteAudios into the .R struct

func (*User) LoadCreatorNoteImages added in v0.0.6

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

LoadCreatorNoteImages loads the user's CreatorNoteImages into the .R struct

func (*User) LoadDeletorNoteAudios added in v0.0.6

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

LoadDeletorNoteAudios loads the user's DeletorNoteAudios into the .R struct

func (*User) LoadDeletorNoteImages added in v0.0.6

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

LoadDeletorNoteImages loads the user's DeletorNoteImages into the .R struct

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            omit.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) CreatorNoteAudios added in v0.0.6

func (os UserSlice) CreatorNoteAudios(mods ...bob.Mod[*dialect.SelectQuery]) NoteAudiosQuery

func (UserSlice) CreatorNoteImages added in v0.0.6

func (os UserSlice) CreatorNoteImages(mods ...bob.Mod[*dialect.SelectQuery]) NoteImagesQuery

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) DeletorNoteAudios added in v0.0.6

func (os UserSlice) DeletorNoteAudios(mods ...bob.Mod[*dialect.SelectQuery]) NoteAudiosQuery

func (UserSlice) DeletorNoteImages added in v0.0.6

func (os UserSlice) DeletorNoteImages(mods ...bob.Mod[*dialect.SelectQuery]) NoteImagesQuery

func (UserSlice) LoadCreatorNoteAudios added in v0.0.6

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

LoadCreatorNoteAudios loads the user's CreatorNoteAudios into the .R struct

func (UserSlice) LoadCreatorNoteImages added in v0.0.6

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

LoadCreatorNoteImages loads the user's CreatorNoteImages into the .R struct

func (UserSlice) LoadDeletorNoteAudios added in v0.0.6

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

LoadDeletorNoteAudios loads the user's DeletorNoteAudios into the .R struct

func (UserSlice) LoadDeletorNoteImages added in v0.0.6

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

LoadDeletorNoteImages loads the user's DeletorNoteImages into the .R struct

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

Jump to

Keyboard shortcuts

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