Versions in this module Expand all Collapse all v0 v0.0.5 Dec 15, 2025 v0.0.4 Dec 15, 2025 v0.0.3 Dec 11, 2025 Changes in this version + type OauthTokenByUserIdQuery = orm.ModQuery[*dialect.SelectQuery, oauthTokenByUserId, OauthTokenByUserIdRow, []OauthTokenByUserIdRow, oauthTokenByUserIdTransformer] + func OauthTokenByUserId(UserID int32) *OauthTokenByUserIdQuery + type OauthTokenByUserIdRow = struct + AccessToken string + AccessTokenExpires time.Time + ArcgisID null.Val[string] + ArcgisLicenseTypeID null.Val[string] + ID int32 + InvalidatedAt null.Val[time.Time] + RefreshToken string + RefreshTokenExpires time.Time + UserID int32 + Username string + type OrgByOauthIdQuery = orm.ModQuery[*dialect.SelectQuery, orgByOauthId, OrgByOauthIdRow, []OrgByOauthIdRow, orgByOauthIdTransformer] + func OrgByOauthId(ID int32) *OrgByOauthIdQuery + type OrgByOauthIdRow = struct + ArcgisID null.Val[string] + FieldseekerURL null.Val[string] + OrganizationID int32 + type TrapCountByLocationIDQuery = orm.ModQuery[*dialect.SelectQuery, trapCountByLocationID, TrapCountByLocationIDRow, []TrapCountByLocationIDRow, trapCountByLocationIDTransformer] + func TrapCountByLocationID(OrganizationID int32, LocID []string) *TrapCountByLocationIDQuery + type TrapCountByLocationIDRow = struct + Total decimal.Decimal + TotalFemales decimal.Decimal + TotalMales int64 + TrapdataEnddate null.Val[int64] + TrapdataGlobalid string + type TrapDataByLocationIDRecentQuery = orm.ModQuery[*dialect.SelectQuery, trapDataByLocationIDRecent, TrapDataByLocationIDRecentRow, []TrapDataByLocationIDRecentRow, trapDataByLocationIDRecentTransformer] + func TrapDataByLocationIDRecent(OrganizationID int32, LocID []string) *TrapDataByLocationIDRecentQuery + type TrapDataByLocationIDRecentRow = struct + Enddatetime int64 + Globalid string + LocID string + type TrapLocationBySourceIDQuery = orm.ModQuery[*dialect.SelectQuery, trapLocationBySourceID, TrapLocationBySourceIDRow, []TrapLocationBySourceIDRow, trapLocationBySourceIDTransformer] + func TrapLocationBySourceID(OrganizationID int32, Globalid string) *TrapLocationBySourceIDQuery + type TrapLocationBySourceIDRow = struct + Distance string + TrapLocationGlobalid string + type UpdateOauthTokenOrgQuery = orm.ModExecQuery[*dialect.UpdateQuery, updateOauthTokenOrg] + func UpdateOauthTokenOrg(ArcgisID string, ArcgisLicenseTypeID string, RefreshToken string) *UpdateOauthTokenOrgQuery + type UserByUsernameQuery = orm.ModQuery[*dialect.SelectQuery, userByUsername, UserByUsernameRow, []UserByUsernameRow, userByUsernameTransformer] + func UserByUsername(Username string) *UserByUsernameQuery + type UserByUsernameRow = struct + ArcgisAccessToken null.Val[string] + ArcgisLicense null.Val[enums.Arcgislicensetype] + ArcgisRefreshToken null.Val[string] + ArcgisRefreshTokenExpires null.Val[time.Time] + ArcgisRole null.Val[string] + DisplayName string + Email null.Val[string] + ID int32 + OrganizationID null.Val[int32] + PasswordHash string + PasswordHashType enums.Hashtype + Username string