models

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: MIT Imports: 19 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PreloadCount        = getPreloadCount()
	SelectThenLoadCount = getThenLoadCount[*dialect.SelectQuery]()
	InsertThenLoadCount = getThenLoadCount[*dialect.InsertQuery]()
)
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 IamAPIKeys = psql.NewTablex[*IamAPIKey, IamAPIKeySlice, *IamAPIKeySetter]("", "iam_api_keys", buildIamAPIKeyColumns("iam_api_keys"))

IamAPIKeys contains methods to work with the iam_api_keys table

View Source
var IamAccessRequests = psql.NewTablex[*IamAccessRequest, IamAccessRequestSlice, *IamAccessRequestSetter]("", "iam_access_requests", buildIamAccessRequestColumns("iam_access_requests"))

IamAccessRequests contains methods to work with the iam_access_requests table

View Source
var IamActivities = psql.NewTablex[*IamActivity, IamActivitySlice, *IamActivitySetter]("", "iam_activity", buildIamActivityColumns("iam_activity"))

IamActivities contains methods to work with the iam_activity table

View Source
var IamAdminTokens = psql.NewTablex[*IamAdminToken, IamAdminTokenSlice, *IamAdminTokenSetter]("", "iam_admin_tokens", buildIamAdminTokenColumns("iam_admin_tokens"))

IamAdminTokens contains methods to work with the iam_admin_tokens table

View Source
var IamAppClients = psql.NewTablex[*IamAppClient, IamAppClientSlice, *IamAppClientSetter]("", "iam_app_clients", buildIamAppClientColumns("iam_app_clients"))

IamAppClients contains methods to work with the iam_app_clients table

View Source
var IamAppSecrets = psql.NewTablex[*IamAppSecret, IamAppSecretSlice, *IamAppSecretSetter]("", "iam_app_secrets", buildIamAppSecretColumns("iam_app_secrets"))

IamAppSecrets contains methods to work with the iam_app_secrets table

View Source
var IamAuditLogs = psql.NewTablex[*IamAuditLog, IamAuditLogSlice, *IamAuditLogSetter]("", "iam_audit_logs", buildIamAuditLogColumns("iam_audit_logs"))

IamAuditLogs contains methods to work with the iam_audit_logs table

View Source
var IamAuthCodes = psql.NewTablex[*IamAuthCode, IamAuthCodeSlice, *IamAuthCodeSetter]("", "iam_auth_codes", buildIamAuthCodeColumns("iam_auth_codes"))

IamAuthCodes contains methods to work with the iam_auth_codes table

View Source
var IamBlocks = psql.NewTablex[*IamBlock, IamBlockSlice, *IamBlockSetter]("", "iam_blocks", buildIamBlockColumns("iam_blocks"))

IamBlocks contains methods to work with the iam_blocks table

View Source
var IamChallenges = psql.NewTablex[*IamChallenge, IamChallengeSlice, *IamChallengeSetter]("", "iam_challenges", buildIamChallengeColumns("iam_challenges"))

IamChallenges contains methods to work with the iam_challenges table

View Source
var IamConfigs = psql.NewTablex[*IamConfig, IamConfigSlice, *IamConfigSetter]("", "iam_config", buildIamConfigColumns("iam_config"))

IamConfigs contains methods to work with the iam_config table

View Source
var IamConsents = psql.NewTablex[*IamConsent, IamConsentSlice, *IamConsentSetter]("", "iam_consents", buildIamConsentColumns("iam_consents"))

IamConsents contains methods to work with the iam_consents table

View Source
var IamCredentials = psql.NewTablex[*IamCredential, IamCredentialSlice, *IamCredentialSetter]("", "iam_credentials", buildIamCredentialColumns("iam_credentials"))

IamCredentials contains methods to work with the iam_credentials table

View Source
var IamDeviceCodes = psql.NewTablex[*IamDeviceCode, IamDeviceCodeSlice, *IamDeviceCodeSetter]("", "iam_device_codes", buildIamDeviceCodeColumns("iam_device_codes"))

IamDeviceCodes contains methods to work with the iam_device_codes table

View Source
var IamDomains = psql.NewTablex[*IamDomain, IamDomainSlice, *IamDomainSetter]("", "iam_domains", buildIamDomainColumns("iam_domains"))

IamDomains contains methods to work with the iam_domains table

View Source
var IamEmailTemplates = psql.NewTablex[*IamEmailTemplate, IamEmailTemplateSlice, *IamEmailTemplateSetter]("", "iam_email_templates", buildIamEmailTemplateColumns("iam_email_templates"))

IamEmailTemplates contains methods to work with the iam_email_templates table

View Source
var IamEnvironments = psql.NewTablex[*IamEnvironment, IamEnvironmentSlice, *IamEnvironmentSetter]("", "iam_environments", buildIamEnvironmentColumns("iam_environments"))

IamEnvironments contains methods to work with the iam_environments table

View Source
var IamEvents = psql.NewTablex[*IamEvent, IamEventSlice, *IamEventSetter]("", "iam_events", buildIamEventColumns("iam_events"))

IamEvents contains methods to work with the iam_events table

View Source
var IamFactors = psql.NewTablex[*IamFactor, IamFactorSlice, *IamFactorSetter]("", "iam_factors", buildIamFactorColumns("iam_factors"))

IamFactors contains methods to work with the iam_factors table

View Source
var IamFlows = psql.NewTablex[*IamFlow, IamFlowSlice, *IamFlowSetter]("", "iam_flows", buildIamFlowColumns("iam_flows"))

IamFlows contains methods to work with the iam_flows table

View Source
var IamHooks = psql.NewTablex[*IamHook, IamHookSlice, *IamHookSetter]("", "iam_hooks", buildIamHookColumns("iam_hooks"))

IamHooks contains methods to work with the iam_hooks table

View Source
var IamIdentities = psql.NewTablex[*IamIdentity, IamIdentitySlice, *IamIdentitySetter]("", "iam_identities", buildIamIdentityColumns("iam_identities"))

IamIdentities contains methods to work with the iam_identities table

View Source
var IamInteractions = psql.NewTablex[*IamInteraction, IamInteractionSlice, *IamInteractionSetter]("", "iam_interactions", buildIamInteractionColumns("iam_interactions"))

IamInteractions contains methods to work with the iam_interactions table

View Source
var IamInvites = psql.NewTablex[*IamInvite, IamInviteSlice, *IamInviteSetter]("", "iam_invites", buildIamInviteColumns("iam_invites"))

IamInvites contains methods to work with the iam_invites table

View Source
var IamJobs = psql.NewTablex[*IamJob, IamJobSlice, *IamJobSetter]("", "iam_jobs", buildIamJobColumns("iam_jobs"))

IamJobs contains methods to work with the iam_jobs table

View Source
var IamOauthGrants = psql.NewTablex[*IamOauthGrant, IamOauthGrantSlice, *IamOauthGrantSetter]("", "iam_oauth_grants", buildIamOauthGrantColumns("iam_oauth_grants"))

IamOauthGrants contains methods to work with the iam_oauth_grants table

View Source
var IamParRequests = psql.NewTablex[*IamParRequest, IamParRequestSlice, *IamParRequestSetter]("", "iam_par_requests", buildIamParRequestColumns("iam_par_requests"))

IamParRequests contains methods to work with the iam_par_requests table

View Source
var IamProjects = psql.NewTablex[*IamProject, IamProjectSlice, *IamProjectSetter]("", "iam_projects", buildIamProjectColumns("iam_projects"))

IamProjects contains methods to work with the iam_projects table

View Source
var IamProviders = psql.NewTablex[*IamProvider, IamProviderSlice, *IamProviderSetter]("", "iam_providers", buildIamProviderColumns("iam_providers"))

IamProviders contains methods to work with the iam_providers table

View Source
var IamRecoveryCodes = psql.NewTablex[*IamRecoveryCode, IamRecoveryCodeSlice, *IamRecoveryCodeSetter]("", "iam_recovery_codes", buildIamRecoveryCodeColumns("iam_recovery_codes"))

IamRecoveryCodes contains methods to work with the iam_recovery_codes table

View Source
var IamRefreshTokens = psql.NewTablex[*IamRefreshToken, IamRefreshTokenSlice, *IamRefreshTokenSetter]("", "iam_refresh_tokens", buildIamRefreshTokenColumns("iam_refresh_tokens"))

IamRefreshTokens contains methods to work with the iam_refresh_tokens table

View Source
var IamRiskRules = psql.NewTablex[*IamRiskRule, IamRiskRuleSlice, *IamRiskRuleSetter]("", "iam_risk_rules", buildIamRiskRuleColumns("iam_risk_rules"))

IamRiskRules contains methods to work with the iam_risk_rules table

View Source
var IamScimResources = psql.NewTablex[*IamScimResource, IamScimResourceSlice, *IamScimResourceSetter]("", "iam_scim_resources", buildIamScimResourceColumns("iam_scim_resources"))

IamScimResources contains methods to work with the iam_scim_resources table

View Source
var IamScimTokens = psql.NewTablex[*IamScimToken, IamScimTokenSlice, *IamScimTokenSetter]("", "iam_scim_tokens", buildIamScimTokenColumns("iam_scim_tokens"))

IamScimTokens contains methods to work with the iam_scim_tokens table

View Source
var IamServiceAccounts = psql.NewTablex[*IamServiceAccount, IamServiceAccountSlice, *IamServiceAccountSetter]("", "iam_service_accounts", buildIamServiceAccountColumns("iam_service_accounts"))

IamServiceAccounts contains methods to work with the iam_service_accounts table

View Source
var IamSessions = psql.NewTablex[*IamSession, IamSessionSlice, *IamSessionSetter]("", "iam_sessions", buildIamSessionColumns("iam_sessions"))

IamSessions contains methods to work with the iam_sessions table

View Source
var IamSigningKeys = psql.NewTablex[*IamSigningKey, IamSigningKeySlice, *IamSigningKeySetter]("", "iam_signing_keys", buildIamSigningKeyColumns("iam_signing_keys"))

IamSigningKeys contains methods to work with the iam_signing_keys table

View Source
var IamSsoConnections = psql.NewTablex[*IamSsoConnection, IamSsoConnectionSlice, *IamSsoConnectionSetter]("", "iam_sso_connections", buildIamSsoConnectionColumns("iam_sso_connections"))

IamSsoConnections contains methods to work with the iam_sso_connections table

View Source
var IamTokenProfiles = psql.NewTablex[*IamTokenProfile, IamTokenProfileSlice, *IamTokenProfileSetter]("", "iam_token_profiles", buildIamTokenProfileColumns("iam_token_profiles"))

IamTokenProfiles contains methods to work with the iam_token_profiles table

View Source
var IamUsers = psql.NewTablex[*IamUser, IamUserSlice, *IamUserSetter]("", "iam_users", buildIamUserColumns("iam_users"))

IamUsers contains methods to work with the iam_users table

View Source
var IamWebauthnCredentials = psql.NewTablex[*IamWebauthnCredential, IamWebauthnCredentialSlice, *IamWebauthnCredentialSetter]("", "iam_webauthn_credentials", buildIamWebauthnCredentialColumns("iam_webauthn_credentials"))

IamWebauthnCredentials contains methods to work with the iam_webauthn_credentials table

View Source
var IamWebhooks = psql.NewTablex[*IamWebhook, IamWebhookSlice, *IamWebhookSetter]("", "iam_webhooks", buildIamWebhookColumns("iam_webhooks"))

IamWebhooks contains methods to work with the iam_webhooks table

View Source
var Preload = getPreloaders()

Functions

func IamAPIKeyExists

func IamAPIKeyExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamAPIKeyExists checks the presence of a single record by primary key

func IamAccessRequestExists

func IamAccessRequestExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamAccessRequestExists checks the presence of a single record by primary key

func IamActivityExists

func IamActivityExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamActivityExists checks the presence of a single record by primary key

func IamAdminTokenExists

func IamAdminTokenExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamAdminTokenExists checks the presence of a single record by primary key

func IamAppClientExists

func IamAppClientExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamAppClientExists checks the presence of a single record by primary key

func IamAppSecretExists

func IamAppSecretExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamAppSecretExists checks the presence of a single record by primary key

func IamAuditLogExists

func IamAuditLogExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamAuditLogExists checks the presence of a single record by primary key

func IamAuthCodeExists

func IamAuthCodeExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamAuthCodeExists checks the presence of a single record by primary key

func IamBlockExists

func IamBlockExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamBlockExists checks the presence of a single record by primary key

func IamChallengeExists

func IamChallengeExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamChallengeExists checks the presence of a single record by primary key

func IamConfigExists

func IamConfigExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string, KeyPK string) (bool, error)

IamConfigExists checks the presence of a single record by primary key

func IamConsentExists

func IamConsentExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamConsentExists checks the presence of a single record by primary key

func IamCredentialExists

func IamCredentialExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamCredentialExists checks the presence of a single record by primary key

func IamDeviceCodeExists

func IamDeviceCodeExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamDeviceCodeExists checks the presence of a single record by primary key

func IamDomainExists

func IamDomainExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamDomainExists checks the presence of a single record by primary key

func IamEmailTemplateExists

func IamEmailTemplateExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamEmailTemplateExists checks the presence of a single record by primary key

func IamEnvironmentExists

func IamEnvironmentExists(ctx context.Context, exec bob.Executor, ProjectIDPK string, NamePK string) (bool, error)

IamEnvironmentExists checks the presence of a single record by primary key

func IamEventExists

func IamEventExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamEventExists checks the presence of a single record by primary key

func IamFactorExists

func IamFactorExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamFactorExists checks the presence of a single record by primary key

func IamFlowExists added in v1.1.0

func IamFlowExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamFlowExists checks the presence of a single record by primary key

func IamHookExists

func IamHookExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamHookExists checks the presence of a single record by primary key

func IamIdentityExists

func IamIdentityExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamIdentityExists checks the presence of a single record by primary key

func IamInteractionExists

func IamInteractionExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamInteractionExists checks the presence of a single record by primary key

func IamInviteExists added in v1.2.0

func IamInviteExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamInviteExists checks the presence of a single record by primary key

func IamJobExists

func IamJobExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamJobExists checks the presence of a single record by primary key

func IamOauthGrantExists

func IamOauthGrantExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamOauthGrantExists checks the presence of a single record by primary key

func IamParRequestExists

func IamParRequestExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamParRequestExists checks the presence of a single record by primary key

func IamProjectExists

func IamProjectExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamProjectExists checks the presence of a single record by primary key

func IamProviderExists

func IamProviderExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamProviderExists checks the presence of a single record by primary key

func IamRecoveryCodeExists

func IamRecoveryCodeExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamRecoveryCodeExists checks the presence of a single record by primary key

func IamRefreshTokenExists

func IamRefreshTokenExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamRefreshTokenExists checks the presence of a single record by primary key

func IamRiskRuleExists

func IamRiskRuleExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamRiskRuleExists checks the presence of a single record by primary key

func IamScimResourceExists

func IamScimResourceExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamScimResourceExists checks the presence of a single record by primary key

func IamScimTokenExists

func IamScimTokenExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamScimTokenExists checks the presence of a single record by primary key

func IamServiceAccountExists

func IamServiceAccountExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamServiceAccountExists checks the presence of a single record by primary key

func IamSessionExists

func IamSessionExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamSessionExists checks the presence of a single record by primary key

func IamSigningKeyExists

func IamSigningKeyExists(ctx context.Context, exec bob.Executor, KidPK string) (bool, error)

IamSigningKeyExists checks the presence of a single record by primary key

func IamSsoConnectionExists

func IamSsoConnectionExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamSsoConnectionExists checks the presence of a single record by primary key

func IamTokenProfileExists

func IamTokenProfileExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamTokenProfileExists checks the presence of a single record by primary key

func IamUserExists

func IamUserExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamUserExists checks the presence of a single record by primary key

func IamWebauthnCredentialExists

func IamWebauthnCredentialExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamWebauthnCredentialExists checks the presence of a single record by primary key

func IamWebhookExists

func IamWebhookExists(ctx context.Context, exec bob.Executor, IDPK string) (bool, error)

IamWebhookExists checks the presence of a single record by primary key

func Where

func Where[Q psql.Filterable]() struct {
	IamUsers               iamUserWhere[Q]
	IamCredentials         iamCredentialWhere[Q]
	IamIdentities          iamIdentityWhere[Q]
	IamSessions            iamSessionWhere[Q]
	IamRefreshTokens       iamRefreshTokenWhere[Q]
	IamFactors             iamFactorWhere[Q]
	IamWebauthnCredentials iamWebauthnCredentialWhere[Q]
	IamRecoveryCodes       iamRecoveryCodeWhere[Q]
	IamChallenges          iamChallengeWhere[Q]
	IamFlows               iamFlowWhere[Q]
	IamConsents            iamConsentWhere[Q]
	IamInvites             iamInviteWhere[Q]
	IamServiceAccounts     iamServiceAccountWhere[Q]
	IamAPIKeys             iamAPIKeyWhere[Q]
	IamAppClients          iamAppClientWhere[Q]
	IamAppSecrets          iamAppSecretWhere[Q]
	IamSsoConnections      iamSsoConnectionWhere[Q]
	IamDomains             iamDomainWhere[Q]
	IamScimTokens          iamScimTokenWhere[Q]
	IamScimResources       iamScimResourceWhere[Q]
	IamOauthGrants         iamOauthGrantWhere[Q]
	IamInteractions        iamInteractionWhere[Q]
	IamAuthCodes           iamAuthCodeWhere[Q]
	IamParRequests         iamParRequestWhere[Q]
	IamDeviceCodes         iamDeviceCodeWhere[Q]
	IamProjects            iamProjectWhere[Q]
	IamEnvironments        iamEnvironmentWhere[Q]
	IamSigningKeys         iamSigningKeyWhere[Q]
	IamTokenProfiles       iamTokenProfileWhere[Q]
	IamAdminTokens         iamAdminTokenWhere[Q]
	IamConfigs             iamConfigWhere[Q]
	IamProviders           iamProviderWhere[Q]
	IamEmailTemplates      iamEmailTemplateWhere[Q]
	IamWebhooks            iamWebhookWhere[Q]
	IamHooks               iamHookWhere[Q]
	IamJobs                iamJobWhere[Q]
	IamAuditLogs           iamAuditLogWhere[Q]
	IamAccessRequests      iamAccessRequestWhere[Q]
	IamRiskRules           iamRiskRuleWhere[Q]
	IamBlocks              iamBlockWhere[Q]
	IamActivities          iamActivityWhere[Q]
	IamEvents              iamEventWhere[Q]
}

Types

type IamAPIKey

type IamAPIKey struct {
	ID        string              `db:"id,pk" `
	ProjectID string              `db:"project_id" `
	Prefix    string              `db:"prefix" `
	Hash      string              `db:"hash" `
	Disabled  bool                `db:"disabled" `
	ExpiresAt null.Val[time.Time] `db:"expires_at" `
	CreatedAt time.Time           `db:"created_at" `
	Data      json.RawMessage     `db:"data" `
}

IamAPIKey is an object representing the database table.

func FindIamAPIKey

func FindIamAPIKey(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAPIKey, error)

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

func (*IamAPIKey) AfterQueryHook

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

AfterQueryHook is called after IamAPIKey is retrieved from the database

func (*IamAPIKey) Delete

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

Delete deletes a single IamAPIKey record with an executor

func (*IamAPIKey) Reload

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

Reload refreshes the IamAPIKey using the executor

func (*IamAPIKey) Update

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

Update uses an executor to update the IamAPIKey

type IamAPIKeySetter

type IamAPIKeySetter struct {
	ID        *string              `db:"id,pk" `
	ProjectID *string              `db:"project_id" `
	Prefix    *string              `db:"prefix" `
	Hash      *string              `db:"hash" `
	Disabled  *bool                `db:"disabled" `
	ExpiresAt *null.Val[time.Time] `db:"expires_at" `
	CreatedAt *time.Time           `db:"created_at" `
	Data      *json.RawMessage     `db:"data" `
}

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

func (*IamAPIKeySetter) Apply

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

func (IamAPIKeySetter) Expressions

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

func (IamAPIKeySetter) Overwrite

func (s IamAPIKeySetter) Overwrite(t *IamAPIKey)

func (IamAPIKeySetter) SetColumns

func (s IamAPIKeySetter) SetColumns() []string

func (IamAPIKeySetter) UpdateMod

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

type IamAPIKeySlice

type IamAPIKeySlice []*IamAPIKey

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

func (IamAPIKeySlice) AfterQueryHook

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

AfterQueryHook is called after IamAPIKeySlice is retrieved from the database

func (IamAPIKeySlice) DeleteAll

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

func (IamAPIKeySlice) DeleteMod

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

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

func (IamAPIKeySlice) MergeMod

func (o IamAPIKeySlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamAPIKeySlice) ReloadAll

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

func (IamAPIKeySlice) UpdateAll

func (o IamAPIKeySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAPIKeySetter) error

func (IamAPIKeySlice) UpdateMod

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

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

type IamAPIKeysQuery

type IamAPIKeysQuery = *psql.ViewQuery[*IamAPIKey, IamAPIKeySlice]

IamAPIKeysQuery is a query on the iam_api_keys table

type IamAccessRequest

type IamAccessRequest struct {
	ID          string          `db:"id,pk" `
	ProjectID   string          `db:"project_id" `
	Environment string          `db:"environment" `
	Email       string          `db:"email" `
	Status      string          `db:"status" `
	CreatedAt   time.Time       `db:"created_at" `
	UpdatedAt   time.Time       `db:"updated_at" `
	Data        json.RawMessage `db:"data" `
}

IamAccessRequest is an object representing the database table.

func FindIamAccessRequest

func FindIamAccessRequest(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAccessRequest, error)

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

func (*IamAccessRequest) AfterQueryHook

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

AfterQueryHook is called after IamAccessRequest is retrieved from the database

func (*IamAccessRequest) Delete

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

Delete deletes a single IamAccessRequest record with an executor

func (*IamAccessRequest) Reload

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

Reload refreshes the IamAccessRequest using the executor

func (*IamAccessRequest) Update

Update uses an executor to update the IamAccessRequest

type IamAccessRequestSetter

type IamAccessRequestSetter struct {
	ID          *string          `db:"id,pk" `
	ProjectID   *string          `db:"project_id" `
	Environment *string          `db:"environment" `
	Email       *string          `db:"email" `
	Status      *string          `db:"status" `
	CreatedAt   *time.Time       `db:"created_at" `
	UpdatedAt   *time.Time       `db:"updated_at" `
	Data        *json.RawMessage `db:"data" `
}

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

func (*IamAccessRequestSetter) Apply

func (IamAccessRequestSetter) Expressions

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

func (IamAccessRequestSetter) Overwrite

func (s IamAccessRequestSetter) Overwrite(t *IamAccessRequest)

func (IamAccessRequestSetter) SetColumns

func (s IamAccessRequestSetter) SetColumns() []string

func (IamAccessRequestSetter) UpdateMod

type IamAccessRequestSlice

type IamAccessRequestSlice []*IamAccessRequest

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

func (IamAccessRequestSlice) AfterQueryHook

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

AfterQueryHook is called after IamAccessRequestSlice is retrieved from the database

func (IamAccessRequestSlice) DeleteAll

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

func (IamAccessRequestSlice) DeleteMod

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

func (IamAccessRequestSlice) MergeMod

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamAccessRequestSlice) ReloadAll

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

func (IamAccessRequestSlice) UpdateAll

func (IamAccessRequestSlice) UpdateMod

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

type IamAccessRequestsQuery

type IamAccessRequestsQuery = *psql.ViewQuery[*IamAccessRequest, IamAccessRequestSlice]

IamAccessRequestsQuery is a query on the iam_access_requests table

type IamActivitiesQuery

type IamActivitiesQuery = *psql.ViewQuery[*IamActivity, IamActivitySlice]

IamActivitiesQuery is a query on the iam_activity table

type IamActivity

type IamActivity struct {
	ID          string          `db:"id,pk" `
	ProjectID   string          `db:"project_id" `
	Environment string          `db:"environment" `
	UserID      string          `db:"user_id" `
	Type        string          `db:"type" `
	At          time.Time       `db:"at" `
	Data        json.RawMessage `db:"data" `
}

IamActivity is an object representing the database table.

func FindIamActivity

func FindIamActivity(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamActivity, error)

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

func (*IamActivity) AfterQueryHook

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

AfterQueryHook is called after IamActivity is retrieved from the database

func (*IamActivity) Delete

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

Delete deletes a single IamActivity record with an executor

func (*IamActivity) Reload

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

Reload refreshes the IamActivity using the executor

func (*IamActivity) Update

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

Update uses an executor to update the IamActivity

type IamActivitySetter

type IamActivitySetter struct {
	ID          *string          `db:"id,pk" `
	ProjectID   *string          `db:"project_id" `
	Environment *string          `db:"environment" `
	UserID      *string          `db:"user_id" `
	Type        *string          `db:"type" `
	At          *time.Time       `db:"at" `
	Data        *json.RawMessage `db:"data" `
}

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

func (*IamActivitySetter) Apply

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

func (IamActivitySetter) Expressions

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

func (IamActivitySetter) Overwrite

func (s IamActivitySetter) Overwrite(t *IamActivity)

func (IamActivitySetter) SetColumns

func (s IamActivitySetter) SetColumns() []string

func (IamActivitySetter) UpdateMod

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

type IamActivitySlice

type IamActivitySlice []*IamActivity

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

func (IamActivitySlice) AfterQueryHook

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

AfterQueryHook is called after IamActivitySlice is retrieved from the database

func (IamActivitySlice) DeleteAll

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

func (IamActivitySlice) DeleteMod

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

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

func (IamActivitySlice) MergeMod

func (o IamActivitySlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamActivitySlice) ReloadAll

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

func (IamActivitySlice) UpdateAll

func (o IamActivitySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamActivitySetter) error

func (IamActivitySlice) UpdateMod

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

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

type IamAdminToken

type IamAdminToken struct {
	ID        string              `db:"id,pk" `
	ProjectID string              `db:"project_id" `
	Hash      string              `db:"hash" `
	ExpiresAt null.Val[time.Time] `db:"expires_at" `
	CreatedAt time.Time           `db:"created_at" `
	Data      json.RawMessage     `db:"data" `
}

IamAdminToken is an object representing the database table.

func FindIamAdminToken

func FindIamAdminToken(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAdminToken, error)

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

func (*IamAdminToken) AfterQueryHook

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

AfterQueryHook is called after IamAdminToken is retrieved from the database

func (*IamAdminToken) Delete

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

Delete deletes a single IamAdminToken record with an executor

func (*IamAdminToken) Reload

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

Reload refreshes the IamAdminToken using the executor

func (*IamAdminToken) Update

Update uses an executor to update the IamAdminToken

type IamAdminTokenSetter

type IamAdminTokenSetter struct {
	ID        *string              `db:"id,pk" `
	ProjectID *string              `db:"project_id" `
	Hash      *string              `db:"hash" `
	ExpiresAt *null.Val[time.Time] `db:"expires_at" `
	CreatedAt *time.Time           `db:"created_at" `
	Data      *json.RawMessage     `db:"data" `
}

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

func (*IamAdminTokenSetter) Apply

func (IamAdminTokenSetter) Expressions

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

func (IamAdminTokenSetter) Overwrite

func (s IamAdminTokenSetter) Overwrite(t *IamAdminToken)

func (IamAdminTokenSetter) SetColumns

func (s IamAdminTokenSetter) SetColumns() []string

func (IamAdminTokenSetter) UpdateMod

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

type IamAdminTokenSlice

type IamAdminTokenSlice []*IamAdminToken

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

func (IamAdminTokenSlice) AfterQueryHook

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

AfterQueryHook is called after IamAdminTokenSlice is retrieved from the database

func (IamAdminTokenSlice) DeleteAll

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

func (IamAdminTokenSlice) DeleteMod

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

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

func (IamAdminTokenSlice) MergeMod

func (o IamAdminTokenSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamAdminTokenSlice) ReloadAll

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

func (IamAdminTokenSlice) UpdateAll

func (IamAdminTokenSlice) UpdateMod

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

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

type IamAdminTokensQuery

type IamAdminTokensQuery = *psql.ViewQuery[*IamAdminToken, IamAdminTokenSlice]

IamAdminTokensQuery is a query on the iam_admin_tokens table

type IamAppClient

type IamAppClient struct {
	ID          string          `db:"id,pk" `
	ProjectID   string          `db:"project_id" `
	Environment string          `db:"environment" `
	Name        string          `db:"name" `
	Type        string          `db:"type" `
	CreatedAt   time.Time       `db:"created_at" `
	UpdatedAt   time.Time       `db:"updated_at" `
	Data        json.RawMessage `db:"data" `
}

IamAppClient is an object representing the database table.

func FindIamAppClient

func FindIamAppClient(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAppClient, error)

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

func (*IamAppClient) AfterQueryHook

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

AfterQueryHook is called after IamAppClient is retrieved from the database

func (*IamAppClient) Delete

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

Delete deletes a single IamAppClient record with an executor

func (*IamAppClient) Reload

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

Reload refreshes the IamAppClient using the executor

func (*IamAppClient) Update

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

Update uses an executor to update the IamAppClient

type IamAppClientSetter

type IamAppClientSetter struct {
	ID          *string          `db:"id,pk" `
	ProjectID   *string          `db:"project_id" `
	Environment *string          `db:"environment" `
	Name        *string          `db:"name" `
	Type        *string          `db:"type" `
	CreatedAt   *time.Time       `db:"created_at" `
	UpdatedAt   *time.Time       `db:"updated_at" `
	Data        *json.RawMessage `db:"data" `
}

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

func (*IamAppClientSetter) Apply

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

func (IamAppClientSetter) Expressions

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

func (IamAppClientSetter) Overwrite

func (s IamAppClientSetter) Overwrite(t *IamAppClient)

func (IamAppClientSetter) SetColumns

func (s IamAppClientSetter) SetColumns() []string

func (IamAppClientSetter) UpdateMod

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

type IamAppClientSlice

type IamAppClientSlice []*IamAppClient

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

func (IamAppClientSlice) AfterQueryHook

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

AfterQueryHook is called after IamAppClientSlice is retrieved from the database

func (IamAppClientSlice) DeleteAll

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

func (IamAppClientSlice) DeleteMod

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

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

func (IamAppClientSlice) MergeMod

func (o IamAppClientSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamAppClientSlice) ReloadAll

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

func (IamAppClientSlice) UpdateAll

func (o IamAppClientSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAppClientSetter) error

func (IamAppClientSlice) UpdateMod

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

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

type IamAppClientsQuery

type IamAppClientsQuery = *psql.ViewQuery[*IamAppClient, IamAppClientSlice]

IamAppClientsQuery is a query on the iam_app_clients table

type IamAppSecret

type IamAppSecret struct {
	ID        string          `db:"id,pk" `
	ProjectID string          `db:"project_id" `
	AppID     string          `db:"app_id" `
	Hash      string          `db:"hash" `
	CreatedAt time.Time       `db:"created_at" `
	Data      json.RawMessage `db:"data" `
}

IamAppSecret is an object representing the database table.

func FindIamAppSecret

func FindIamAppSecret(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAppSecret, error)

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

func (*IamAppSecret) AfterQueryHook

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

AfterQueryHook is called after IamAppSecret is retrieved from the database

func (*IamAppSecret) Delete

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

Delete deletes a single IamAppSecret record with an executor

func (*IamAppSecret) Reload

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

Reload refreshes the IamAppSecret using the executor

func (*IamAppSecret) Update

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

Update uses an executor to update the IamAppSecret

type IamAppSecretSetter

type IamAppSecretSetter struct {
	ID        *string          `db:"id,pk" `
	ProjectID *string          `db:"project_id" `
	AppID     *string          `db:"app_id" `
	Hash      *string          `db:"hash" `
	CreatedAt *time.Time       `db:"created_at" `
	Data      *json.RawMessage `db:"data" `
}

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

func (*IamAppSecretSetter) Apply

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

func (IamAppSecretSetter) Expressions

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

func (IamAppSecretSetter) Overwrite

func (s IamAppSecretSetter) Overwrite(t *IamAppSecret)

func (IamAppSecretSetter) SetColumns

func (s IamAppSecretSetter) SetColumns() []string

func (IamAppSecretSetter) UpdateMod

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

type IamAppSecretSlice

type IamAppSecretSlice []*IamAppSecret

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

func (IamAppSecretSlice) AfterQueryHook

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

AfterQueryHook is called after IamAppSecretSlice is retrieved from the database

func (IamAppSecretSlice) DeleteAll

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

func (IamAppSecretSlice) DeleteMod

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

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

func (IamAppSecretSlice) MergeMod

func (o IamAppSecretSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamAppSecretSlice) ReloadAll

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

func (IamAppSecretSlice) UpdateAll

func (o IamAppSecretSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAppSecretSetter) error

func (IamAppSecretSlice) UpdateMod

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

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

type IamAppSecretsQuery

type IamAppSecretsQuery = *psql.ViewQuery[*IamAppSecret, IamAppSecretSlice]

IamAppSecretsQuery is a query on the iam_app_secrets table

type IamAuditLog

type IamAuditLog struct {
	ID        string           `db:"id,pk" `
	ProjectID string           `db:"project_id" `
	Type      string           `db:"type" `
	ActorID   null.Val[string] `db:"actor_id" `
	TargetID  null.Val[string] `db:"target_id" `
	At        time.Time        `db:"at" `
	Data      json.RawMessage  `db:"data" `
}

IamAuditLog is an object representing the database table.

func FindIamAuditLog

func FindIamAuditLog(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAuditLog, error)

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

func (*IamAuditLog) AfterQueryHook

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

AfterQueryHook is called after IamAuditLog is retrieved from the database

func (*IamAuditLog) Delete

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

Delete deletes a single IamAuditLog record with an executor

func (*IamAuditLog) Reload

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

Reload refreshes the IamAuditLog using the executor

func (*IamAuditLog) Update

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

Update uses an executor to update the IamAuditLog

type IamAuditLogSetter

type IamAuditLogSetter struct {
	ID        *string           `db:"id,pk" `
	ProjectID *string           `db:"project_id" `
	Type      *string           `db:"type" `
	ActorID   *null.Val[string] `db:"actor_id" `
	TargetID  *null.Val[string] `db:"target_id" `
	At        *time.Time        `db:"at" `
	Data      *json.RawMessage  `db:"data" `
}

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

func (*IamAuditLogSetter) Apply

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

func (IamAuditLogSetter) Expressions

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

func (IamAuditLogSetter) Overwrite

func (s IamAuditLogSetter) Overwrite(t *IamAuditLog)

func (IamAuditLogSetter) SetColumns

func (s IamAuditLogSetter) SetColumns() []string

func (IamAuditLogSetter) UpdateMod

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

type IamAuditLogSlice

type IamAuditLogSlice []*IamAuditLog

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

func (IamAuditLogSlice) AfterQueryHook

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

AfterQueryHook is called after IamAuditLogSlice is retrieved from the database

func (IamAuditLogSlice) DeleteAll

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

func (IamAuditLogSlice) DeleteMod

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

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

func (IamAuditLogSlice) MergeMod

func (o IamAuditLogSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamAuditLogSlice) ReloadAll

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

func (IamAuditLogSlice) UpdateAll

func (o IamAuditLogSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAuditLogSetter) error

func (IamAuditLogSlice) UpdateMod

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

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

type IamAuditLogsQuery

type IamAuditLogsQuery = *psql.ViewQuery[*IamAuditLog, IamAuditLogSlice]

IamAuditLogsQuery is a query on the iam_audit_logs table

type IamAuthCode

type IamAuthCode struct {
	ID          string           `db:"id,pk" `
	ProjectID   string           `db:"project_id" `
	Environment string           `db:"environment" `
	CodeHash    string           `db:"code_hash" `
	ClientID    null.Val[string] `db:"client_id" `
	UserID      null.Val[string] `db:"user_id" `
	ExpiresAt   time.Time        `db:"expires_at" `
	Consumed    bool             `db:"consumed" `
	CreatedAt   time.Time        `db:"created_at" `
	Data        json.RawMessage  `db:"data" `
}

IamAuthCode is an object representing the database table.

func FindIamAuthCode

func FindIamAuthCode(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamAuthCode, error)

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

func (*IamAuthCode) AfterQueryHook

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

AfterQueryHook is called after IamAuthCode is retrieved from the database

func (*IamAuthCode) Delete

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

Delete deletes a single IamAuthCode record with an executor

func (*IamAuthCode) Reload

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

Reload refreshes the IamAuthCode using the executor

func (*IamAuthCode) Update

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

Update uses an executor to update the IamAuthCode

type IamAuthCodeSetter

type IamAuthCodeSetter struct {
	ID          *string           `db:"id,pk" `
	ProjectID   *string           `db:"project_id" `
	Environment *string           `db:"environment" `
	CodeHash    *string           `db:"code_hash" `
	ClientID    *null.Val[string] `db:"client_id" `
	UserID      *null.Val[string] `db:"user_id" `
	ExpiresAt   *time.Time        `db:"expires_at" `
	Consumed    *bool             `db:"consumed" `
	CreatedAt   *time.Time        `db:"created_at" `
	Data        *json.RawMessage  `db:"data" `
}

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

func (*IamAuthCodeSetter) Apply

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

func (IamAuthCodeSetter) Expressions

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

func (IamAuthCodeSetter) Overwrite

func (s IamAuthCodeSetter) Overwrite(t *IamAuthCode)

func (IamAuthCodeSetter) SetColumns

func (s IamAuthCodeSetter) SetColumns() []string

func (IamAuthCodeSetter) UpdateMod

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

type IamAuthCodeSlice

type IamAuthCodeSlice []*IamAuthCode

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

func (IamAuthCodeSlice) AfterQueryHook

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

AfterQueryHook is called after IamAuthCodeSlice is retrieved from the database

func (IamAuthCodeSlice) DeleteAll

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

func (IamAuthCodeSlice) DeleteMod

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

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

func (IamAuthCodeSlice) MergeMod

func (o IamAuthCodeSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamAuthCodeSlice) ReloadAll

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

func (IamAuthCodeSlice) UpdateAll

func (o IamAuthCodeSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamAuthCodeSetter) error

func (IamAuthCodeSlice) UpdateMod

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

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

type IamAuthCodesQuery

type IamAuthCodesQuery = *psql.ViewQuery[*IamAuthCode, IamAuthCodeSlice]

IamAuthCodesQuery is a query on the iam_auth_codes table

type IamBlock

type IamBlock struct {
	ID          string              `db:"id,pk" `
	ProjectID   string              `db:"project_id" `
	Environment string              `db:"environment" `
	Subject     string              `db:"subject" `
	CreatedAt   time.Time           `db:"created_at" `
	ExpiresAt   null.Val[time.Time] `db:"expires_at" `
	Data        json.RawMessage     `db:"data" `
}

IamBlock is an object representing the database table.

func FindIamBlock

func FindIamBlock(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamBlock, error)

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

func (*IamBlock) AfterQueryHook

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

AfterQueryHook is called after IamBlock is retrieved from the database

func (*IamBlock) Delete

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

Delete deletes a single IamBlock record with an executor

func (*IamBlock) Reload

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

Reload refreshes the IamBlock using the executor

func (*IamBlock) Update

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

Update uses an executor to update the IamBlock

type IamBlockSetter

type IamBlockSetter struct {
	ID          *string              `db:"id,pk" `
	ProjectID   *string              `db:"project_id" `
	Environment *string              `db:"environment" `
	Subject     *string              `db:"subject" `
	CreatedAt   *time.Time           `db:"created_at" `
	ExpiresAt   *null.Val[time.Time] `db:"expires_at" `
	Data        *json.RawMessage     `db:"data" `
}

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

func (*IamBlockSetter) Apply

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

func (IamBlockSetter) Expressions

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

func (IamBlockSetter) Overwrite

func (s IamBlockSetter) Overwrite(t *IamBlock)

func (IamBlockSetter) SetColumns

func (s IamBlockSetter) SetColumns() []string

func (IamBlockSetter) UpdateMod

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

type IamBlockSlice

type IamBlockSlice []*IamBlock

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

func (IamBlockSlice) AfterQueryHook

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

AfterQueryHook is called after IamBlockSlice is retrieved from the database

func (IamBlockSlice) DeleteAll

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

func (IamBlockSlice) DeleteMod

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

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

func (IamBlockSlice) MergeMod

func (o IamBlockSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamBlockSlice) ReloadAll

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

func (IamBlockSlice) UpdateAll

func (o IamBlockSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamBlockSetter) error

func (IamBlockSlice) UpdateMod

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

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

type IamBlocksQuery

type IamBlocksQuery = *psql.ViewQuery[*IamBlock, IamBlockSlice]

IamBlocksQuery is a query on the iam_blocks table

type IamChallenge

type IamChallenge struct {
	ID          string           `db:"id,pk" `
	ProjectID   string           `db:"project_id" `
	Environment string           `db:"environment" `
	Type        string           `db:"type" `
	Subject     null.Val[string] `db:"subject" `
	CodeHash    null.Val[string] `db:"code_hash" `
	ExpiresAt   time.Time        `db:"expires_at" `
	Consumed    bool             `db:"consumed" `
	CreatedAt   time.Time        `db:"created_at" `
	Data        json.RawMessage  `db:"data" `
}

IamChallenge is an object representing the database table.

func FindIamChallenge

func FindIamChallenge(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamChallenge, error)

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

func (*IamChallenge) AfterQueryHook

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

AfterQueryHook is called after IamChallenge is retrieved from the database

func (*IamChallenge) Delete

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

Delete deletes a single IamChallenge record with an executor

func (*IamChallenge) Reload

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

Reload refreshes the IamChallenge using the executor

func (*IamChallenge) Update

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

Update uses an executor to update the IamChallenge

type IamChallengeSetter

type IamChallengeSetter struct {
	ID          *string           `db:"id,pk" `
	ProjectID   *string           `db:"project_id" `
	Environment *string           `db:"environment" `
	Type        *string           `db:"type" `
	Subject     *null.Val[string] `db:"subject" `
	CodeHash    *null.Val[string] `db:"code_hash" `
	ExpiresAt   *time.Time        `db:"expires_at" `
	Consumed    *bool             `db:"consumed" `
	CreatedAt   *time.Time        `db:"created_at" `
	Data        *json.RawMessage  `db:"data" `
}

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

func (*IamChallengeSetter) Apply

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

func (IamChallengeSetter) Expressions

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

func (IamChallengeSetter) Overwrite

func (s IamChallengeSetter) Overwrite(t *IamChallenge)

func (IamChallengeSetter) SetColumns

func (s IamChallengeSetter) SetColumns() []string

func (IamChallengeSetter) UpdateMod

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

type IamChallengeSlice

type IamChallengeSlice []*IamChallenge

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

func (IamChallengeSlice) AfterQueryHook

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

AfterQueryHook is called after IamChallengeSlice is retrieved from the database

func (IamChallengeSlice) DeleteAll

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

func (IamChallengeSlice) DeleteMod

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

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

func (IamChallengeSlice) MergeMod

func (o IamChallengeSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamChallengeSlice) ReloadAll

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

func (IamChallengeSlice) UpdateAll

func (o IamChallengeSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamChallengeSetter) error

func (IamChallengeSlice) UpdateMod

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

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

type IamChallengesQuery

type IamChallengesQuery = *psql.ViewQuery[*IamChallenge, IamChallengeSlice]

IamChallengesQuery is a query on the iam_challenges table

type IamConfig

type IamConfig struct {
	ProjectID   string          `db:"project_id,pk" `
	Environment string          `db:"environment,pk" `
	Key         string          `db:"key,pk" `
	UpdatedAt   time.Time       `db:"updated_at" `
	Data        json.RawMessage `db:"data" `
}

IamConfig is an object representing the database table.

func FindIamConfig

func FindIamConfig(ctx context.Context, exec bob.Executor, ProjectIDPK string, EnvironmentPK string, KeyPK string, cols ...string) (*IamConfig, error)

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

func (*IamConfig) AfterQueryHook

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

AfterQueryHook is called after IamConfig is retrieved from the database

func (*IamConfig) Delete

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

Delete deletes a single IamConfig record with an executor

func (*IamConfig) Reload

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

Reload refreshes the IamConfig using the executor

func (*IamConfig) Update

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

Update uses an executor to update the IamConfig

type IamConfigSetter

type IamConfigSetter struct {
	ProjectID   *string          `db:"project_id,pk" `
	Environment *string          `db:"environment,pk" `
	Key         *string          `db:"key,pk" `
	UpdatedAt   *time.Time       `db:"updated_at" `
	Data        *json.RawMessage `db:"data" `
}

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

func (*IamConfigSetter) Apply

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

func (IamConfigSetter) Expressions

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

func (IamConfigSetter) Overwrite

func (s IamConfigSetter) Overwrite(t *IamConfig)

func (IamConfigSetter) SetColumns

func (s IamConfigSetter) SetColumns() []string

func (IamConfigSetter) UpdateMod

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

type IamConfigSlice

type IamConfigSlice []*IamConfig

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

func (IamConfigSlice) AfterQueryHook

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

AfterQueryHook is called after IamConfigSlice is retrieved from the database

func (IamConfigSlice) DeleteAll

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

func (IamConfigSlice) DeleteMod

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

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

func (IamConfigSlice) MergeMod

func (o IamConfigSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamConfigSlice) ReloadAll

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

func (IamConfigSlice) UpdateAll

func (o IamConfigSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamConfigSetter) error

func (IamConfigSlice) UpdateMod

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

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

type IamConfigsQuery

type IamConfigsQuery = *psql.ViewQuery[*IamConfig, IamConfigSlice]

IamConfigsQuery is a query on the iam_config table

type IamConsent

type IamConsent struct {
	ID          string           `db:"id,pk" `
	ProjectID   string           `db:"project_id" `
	Environment string           `db:"environment" `
	UserID      string           `db:"user_id" `
	DocKey      string           `db:"doc_key" `
	Version     string           `db:"version" `
	Locale      null.Val[string] `db:"locale" `
	AcceptedAt  time.Time        `db:"accepted_at" `
}

IamConsent is an object representing the database table.

func FindIamConsent

func FindIamConsent(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamConsent, error)

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

func (*IamConsent) AfterQueryHook

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

AfterQueryHook is called after IamConsent is retrieved from the database

func (*IamConsent) Delete

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

Delete deletes a single IamConsent record with an executor

func (*IamConsent) Reload

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

Reload refreshes the IamConsent using the executor

func (*IamConsent) Update

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

Update uses an executor to update the IamConsent

type IamConsentSetter

type IamConsentSetter struct {
	ID          *string           `db:"id,pk" `
	ProjectID   *string           `db:"project_id" `
	Environment *string           `db:"environment" `
	UserID      *string           `db:"user_id" `
	DocKey      *string           `db:"doc_key" `
	Version     *string           `db:"version" `
	Locale      *null.Val[string] `db:"locale" `
	AcceptedAt  *time.Time        `db:"accepted_at" `
}

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

func (*IamConsentSetter) Apply

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

func (IamConsentSetter) Expressions

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

func (IamConsentSetter) Overwrite

func (s IamConsentSetter) Overwrite(t *IamConsent)

func (IamConsentSetter) SetColumns

func (s IamConsentSetter) SetColumns() []string

func (IamConsentSetter) UpdateMod

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

type IamConsentSlice

type IamConsentSlice []*IamConsent

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

func (IamConsentSlice) AfterQueryHook

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

AfterQueryHook is called after IamConsentSlice is retrieved from the database

func (IamConsentSlice) DeleteAll

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

func (IamConsentSlice) DeleteMod

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

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

func (IamConsentSlice) MergeMod

func (o IamConsentSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamConsentSlice) ReloadAll

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

func (IamConsentSlice) UpdateAll

func (o IamConsentSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamConsentSetter) error

func (IamConsentSlice) UpdateMod

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

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

type IamConsentsQuery

type IamConsentsQuery = *psql.ViewQuery[*IamConsent, IamConsentSlice]

IamConsentsQuery is a query on the iam_consents table

type IamCredential

type IamCredential struct {
	ID          string          `db:"id,pk" `
	ProjectID   string          `db:"project_id" `
	Environment string          `db:"environment" `
	UserID      string          `db:"user_id" `
	Type        string          `db:"type" `
	Secret      string          `db:"secret" `
	CreatedAt   time.Time       `db:"created_at" `
	UpdatedAt   time.Time       `db:"updated_at" `
	Data        json.RawMessage `db:"data" `
}

IamCredential is an object representing the database table.

func FindIamCredential

func FindIamCredential(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamCredential, error)

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

func (*IamCredential) AfterQueryHook

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

AfterQueryHook is called after IamCredential is retrieved from the database

func (*IamCredential) Delete

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

Delete deletes a single IamCredential record with an executor

func (*IamCredential) Reload

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

Reload refreshes the IamCredential using the executor

func (*IamCredential) Update

Update uses an executor to update the IamCredential

type IamCredentialSetter

type IamCredentialSetter struct {
	ID          *string          `db:"id,pk" `
	ProjectID   *string          `db:"project_id" `
	Environment *string          `db:"environment" `
	UserID      *string          `db:"user_id" `
	Type        *string          `db:"type" `
	Secret      *string          `db:"secret" `
	CreatedAt   *time.Time       `db:"created_at" `
	UpdatedAt   *time.Time       `db:"updated_at" `
	Data        *json.RawMessage `db:"data" `
}

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

func (*IamCredentialSetter) Apply

func (IamCredentialSetter) Expressions

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

func (IamCredentialSetter) Overwrite

func (s IamCredentialSetter) Overwrite(t *IamCredential)

func (IamCredentialSetter) SetColumns

func (s IamCredentialSetter) SetColumns() []string

func (IamCredentialSetter) UpdateMod

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

type IamCredentialSlice

type IamCredentialSlice []*IamCredential

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

func (IamCredentialSlice) AfterQueryHook

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

AfterQueryHook is called after IamCredentialSlice is retrieved from the database

func (IamCredentialSlice) DeleteAll

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

func (IamCredentialSlice) DeleteMod

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

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

func (IamCredentialSlice) MergeMod

func (o IamCredentialSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamCredentialSlice) ReloadAll

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

func (IamCredentialSlice) UpdateAll

func (IamCredentialSlice) UpdateMod

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

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

type IamCredentialsQuery

type IamCredentialsQuery = *psql.ViewQuery[*IamCredential, IamCredentialSlice]

IamCredentialsQuery is a query on the iam_credentials table

type IamDeviceCode

type IamDeviceCode struct {
	ID          string           `db:"id,pk" `
	ProjectID   string           `db:"project_id" `
	Environment string           `db:"environment" `
	DeviceCode  string           `db:"device_code" `
	UserCode    string           `db:"user_code" `
	Status      string           `db:"status" `
	UserID      null.Val[string] `db:"user_id" `
	ExpiresAt   time.Time        `db:"expires_at" `
	CreatedAt   time.Time        `db:"created_at" `
	Data        json.RawMessage  `db:"data" `
}

IamDeviceCode is an object representing the database table.

func FindIamDeviceCode

func FindIamDeviceCode(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamDeviceCode, error)

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

func (*IamDeviceCode) AfterQueryHook

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

AfterQueryHook is called after IamDeviceCode is retrieved from the database

func (*IamDeviceCode) Delete

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

Delete deletes a single IamDeviceCode record with an executor

func (*IamDeviceCode) Reload

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

Reload refreshes the IamDeviceCode using the executor

func (*IamDeviceCode) Update

Update uses an executor to update the IamDeviceCode

type IamDeviceCodeSetter

type IamDeviceCodeSetter struct {
	ID          *string           `db:"id,pk" `
	ProjectID   *string           `db:"project_id" `
	Environment *string           `db:"environment" `
	DeviceCode  *string           `db:"device_code" `
	UserCode    *string           `db:"user_code" `
	Status      *string           `db:"status" `
	UserID      *null.Val[string] `db:"user_id" `
	ExpiresAt   *time.Time        `db:"expires_at" `
	CreatedAt   *time.Time        `db:"created_at" `
	Data        *json.RawMessage  `db:"data" `
}

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

func (*IamDeviceCodeSetter) Apply

func (IamDeviceCodeSetter) Expressions

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

func (IamDeviceCodeSetter) Overwrite

func (s IamDeviceCodeSetter) Overwrite(t *IamDeviceCode)

func (IamDeviceCodeSetter) SetColumns

func (s IamDeviceCodeSetter) SetColumns() []string

func (IamDeviceCodeSetter) UpdateMod

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

type IamDeviceCodeSlice

type IamDeviceCodeSlice []*IamDeviceCode

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

func (IamDeviceCodeSlice) AfterQueryHook

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

AfterQueryHook is called after IamDeviceCodeSlice is retrieved from the database

func (IamDeviceCodeSlice) DeleteAll

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

func (IamDeviceCodeSlice) DeleteMod

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

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

func (IamDeviceCodeSlice) MergeMod

func (o IamDeviceCodeSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamDeviceCodeSlice) ReloadAll

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

func (IamDeviceCodeSlice) UpdateAll

func (IamDeviceCodeSlice) UpdateMod

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

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

type IamDeviceCodesQuery

type IamDeviceCodesQuery = *psql.ViewQuery[*IamDeviceCode, IamDeviceCodeSlice]

IamDeviceCodesQuery is a query on the iam_device_codes table

type IamDomain

type IamDomain struct {
	ID           string              `db:"id,pk" `
	ProjectID    string              `db:"project_id" `
	ConnectionID null.Val[string]    `db:"connection_id" `
	Domain       string              `db:"domain" `
	Status       string              `db:"status" `
	VerifiedAt   null.Val[time.Time] `db:"verified_at" `
	CreatedAt    time.Time           `db:"created_at" `
	Data         json.RawMessage     `db:"data" `
}

IamDomain is an object representing the database table.

func FindIamDomain

func FindIamDomain(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamDomain, error)

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

func (*IamDomain) AfterQueryHook

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

AfterQueryHook is called after IamDomain is retrieved from the database

func (*IamDomain) Delete

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

Delete deletes a single IamDomain record with an executor

func (*IamDomain) Reload

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

Reload refreshes the IamDomain using the executor

func (*IamDomain) Update

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

Update uses an executor to update the IamDomain

type IamDomainSetter

type IamDomainSetter struct {
	ID           *string              `db:"id,pk" `
	ProjectID    *string              `db:"project_id" `
	ConnectionID *null.Val[string]    `db:"connection_id" `
	Domain       *string              `db:"domain" `
	Status       *string              `db:"status" `
	VerifiedAt   *null.Val[time.Time] `db:"verified_at" `
	CreatedAt    *time.Time           `db:"created_at" `
	Data         *json.RawMessage     `db:"data" `
}

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

func (*IamDomainSetter) Apply

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

func (IamDomainSetter) Expressions

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

func (IamDomainSetter) Overwrite

func (s IamDomainSetter) Overwrite(t *IamDomain)

func (IamDomainSetter) SetColumns

func (s IamDomainSetter) SetColumns() []string

func (IamDomainSetter) UpdateMod

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

type IamDomainSlice

type IamDomainSlice []*IamDomain

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

func (IamDomainSlice) AfterQueryHook

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

AfterQueryHook is called after IamDomainSlice is retrieved from the database

func (IamDomainSlice) DeleteAll

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

func (IamDomainSlice) DeleteMod

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

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

func (IamDomainSlice) MergeMod

func (o IamDomainSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamDomainSlice) ReloadAll

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

func (IamDomainSlice) UpdateAll

func (o IamDomainSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamDomainSetter) error

func (IamDomainSlice) UpdateMod

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

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

type IamDomainsQuery

type IamDomainsQuery = *psql.ViewQuery[*IamDomain, IamDomainSlice]

IamDomainsQuery is a query on the iam_domains table

type IamEmailTemplate

type IamEmailTemplate struct {
	ID        string          `db:"id,pk" `
	ProjectID string          `db:"project_id" `
	Key       string          `db:"key" `
	Locale    string          `db:"locale" `
	UpdatedAt time.Time       `db:"updated_at" `
	Data      json.RawMessage `db:"data" `
}

IamEmailTemplate is an object representing the database table.

func FindIamEmailTemplate

func FindIamEmailTemplate(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamEmailTemplate, error)

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

func (*IamEmailTemplate) AfterQueryHook

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

AfterQueryHook is called after IamEmailTemplate is retrieved from the database

func (*IamEmailTemplate) Delete

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

Delete deletes a single IamEmailTemplate record with an executor

func (*IamEmailTemplate) Reload

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

Reload refreshes the IamEmailTemplate using the executor

func (*IamEmailTemplate) Update

Update uses an executor to update the IamEmailTemplate

type IamEmailTemplateSetter

type IamEmailTemplateSetter struct {
	ID        *string          `db:"id,pk" `
	ProjectID *string          `db:"project_id" `
	Key       *string          `db:"key" `
	Locale    *string          `db:"locale" `
	UpdatedAt *time.Time       `db:"updated_at" `
	Data      *json.RawMessage `db:"data" `
}

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

func (*IamEmailTemplateSetter) Apply

func (IamEmailTemplateSetter) Expressions

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

func (IamEmailTemplateSetter) Overwrite

func (s IamEmailTemplateSetter) Overwrite(t *IamEmailTemplate)

func (IamEmailTemplateSetter) SetColumns

func (s IamEmailTemplateSetter) SetColumns() []string

func (IamEmailTemplateSetter) UpdateMod

type IamEmailTemplateSlice

type IamEmailTemplateSlice []*IamEmailTemplate

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

func (IamEmailTemplateSlice) AfterQueryHook

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

AfterQueryHook is called after IamEmailTemplateSlice is retrieved from the database

func (IamEmailTemplateSlice) DeleteAll

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

func (IamEmailTemplateSlice) DeleteMod

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

func (IamEmailTemplateSlice) MergeMod

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamEmailTemplateSlice) ReloadAll

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

func (IamEmailTemplateSlice) UpdateAll

func (IamEmailTemplateSlice) UpdateMod

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

type IamEmailTemplatesQuery

type IamEmailTemplatesQuery = *psql.ViewQuery[*IamEmailTemplate, IamEmailTemplateSlice]

IamEmailTemplatesQuery is a query on the iam_email_templates table

type IamEnvironment

type IamEnvironment struct {
	ProjectID string           `db:"project_id,pk" `
	Name      string           `db:"name,pk" `
	Issuer    null.Val[string] `db:"issuer" `
	CreatedAt time.Time        `db:"created_at" `
	Data      json.RawMessage  `db:"data" `
}

IamEnvironment is an object representing the database table.

func FindIamEnvironment

func FindIamEnvironment(ctx context.Context, exec bob.Executor, ProjectIDPK string, NamePK string, cols ...string) (*IamEnvironment, error)

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

func (*IamEnvironment) AfterQueryHook

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

AfterQueryHook is called after IamEnvironment is retrieved from the database

func (*IamEnvironment) Delete

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

Delete deletes a single IamEnvironment record with an executor

func (*IamEnvironment) Reload

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

Reload refreshes the IamEnvironment using the executor

func (*IamEnvironment) Update

Update uses an executor to update the IamEnvironment

type IamEnvironmentSetter

type IamEnvironmentSetter struct {
	ProjectID *string           `db:"project_id,pk" `
	Name      *string           `db:"name,pk" `
	Issuer    *null.Val[string] `db:"issuer" `
	CreatedAt *time.Time        `db:"created_at" `
	Data      *json.RawMessage  `db:"data" `
}

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

func (*IamEnvironmentSetter) Apply

func (IamEnvironmentSetter) Expressions

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

func (IamEnvironmentSetter) Overwrite

func (s IamEnvironmentSetter) Overwrite(t *IamEnvironment)

func (IamEnvironmentSetter) SetColumns

func (s IamEnvironmentSetter) SetColumns() []string

func (IamEnvironmentSetter) UpdateMod

type IamEnvironmentSlice

type IamEnvironmentSlice []*IamEnvironment

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

func (IamEnvironmentSlice) AfterQueryHook

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

AfterQueryHook is called after IamEnvironmentSlice is retrieved from the database

func (IamEnvironmentSlice) DeleteAll

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

func (IamEnvironmentSlice) DeleteMod

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

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

func (IamEnvironmentSlice) MergeMod

func (o IamEnvironmentSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamEnvironmentSlice) ReloadAll

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

func (IamEnvironmentSlice) UpdateAll

func (IamEnvironmentSlice) UpdateMod

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

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

type IamEnvironmentsQuery

type IamEnvironmentsQuery = *psql.ViewQuery[*IamEnvironment, IamEnvironmentSlice]

IamEnvironmentsQuery is a query on the iam_environments table

type IamEvent

type IamEvent struct {
	ID          string          `db:"id,pk" `
	ProjectID   string          `db:"project_id" `
	Environment string          `db:"environment" `
	Type        string          `db:"type" `
	Published   bool            `db:"published" `
	CreatedAt   time.Time       `db:"created_at" `
	Data        json.RawMessage `db:"data" `
}

IamEvent is an object representing the database table.

func FindIamEvent

func FindIamEvent(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamEvent, error)

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

func (*IamEvent) AfterQueryHook

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

AfterQueryHook is called after IamEvent is retrieved from the database

func (*IamEvent) Delete

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

Delete deletes a single IamEvent record with an executor

func (*IamEvent) Reload

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

Reload refreshes the IamEvent using the executor

func (*IamEvent) Update

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

Update uses an executor to update the IamEvent

type IamEventSetter

type IamEventSetter struct {
	ID          *string          `db:"id,pk" `
	ProjectID   *string          `db:"project_id" `
	Environment *string          `db:"environment" `
	Type        *string          `db:"type" `
	Published   *bool            `db:"published" `
	CreatedAt   *time.Time       `db:"created_at" `
	Data        *json.RawMessage `db:"data" `
}

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

func (*IamEventSetter) Apply

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

func (IamEventSetter) Expressions

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

func (IamEventSetter) Overwrite

func (s IamEventSetter) Overwrite(t *IamEvent)

func (IamEventSetter) SetColumns

func (s IamEventSetter) SetColumns() []string

func (IamEventSetter) UpdateMod

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

type IamEventSlice

type IamEventSlice []*IamEvent

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

func (IamEventSlice) AfterQueryHook

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

AfterQueryHook is called after IamEventSlice is retrieved from the database

func (IamEventSlice) DeleteAll

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

func (IamEventSlice) DeleteMod

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

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

func (IamEventSlice) MergeMod

func (o IamEventSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamEventSlice) ReloadAll

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

func (IamEventSlice) UpdateAll

func (o IamEventSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamEventSetter) error

func (IamEventSlice) UpdateMod

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

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

type IamEventsQuery

type IamEventsQuery = *psql.ViewQuery[*IamEvent, IamEventSlice]

IamEventsQuery is a query on the iam_events table

type IamFactor

type IamFactor struct {
	ID          string          `db:"id,pk" `
	ProjectID   string          `db:"project_id" `
	Environment string          `db:"environment" `
	UserID      string          `db:"user_id" `
	Type        string          `db:"type" `
	Status      string          `db:"status" `
	Secret      string          `db:"secret" `
	CreatedAt   time.Time       `db:"created_at" `
	Data        json.RawMessage `db:"data" `
}

IamFactor is an object representing the database table.

func FindIamFactor

func FindIamFactor(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamFactor, error)

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

func (*IamFactor) AfterQueryHook

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

AfterQueryHook is called after IamFactor is retrieved from the database

func (*IamFactor) Delete

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

Delete deletes a single IamFactor record with an executor

func (*IamFactor) Reload

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

Reload refreshes the IamFactor using the executor

func (*IamFactor) Update

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

Update uses an executor to update the IamFactor

type IamFactorSetter

type IamFactorSetter struct {
	ID          *string          `db:"id,pk" `
	ProjectID   *string          `db:"project_id" `
	Environment *string          `db:"environment" `
	UserID      *string          `db:"user_id" `
	Type        *string          `db:"type" `
	Status      *string          `db:"status" `
	Secret      *string          `db:"secret" `
	CreatedAt   *time.Time       `db:"created_at" `
	Data        *json.RawMessage `db:"data" `
}

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

func (*IamFactorSetter) Apply

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

func (IamFactorSetter) Expressions

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

func (IamFactorSetter) Overwrite

func (s IamFactorSetter) Overwrite(t *IamFactor)

func (IamFactorSetter) SetColumns

func (s IamFactorSetter) SetColumns() []string

func (IamFactorSetter) UpdateMod

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

type IamFactorSlice

type IamFactorSlice []*IamFactor

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

func (IamFactorSlice) AfterQueryHook

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

AfterQueryHook is called after IamFactorSlice is retrieved from the database

func (IamFactorSlice) DeleteAll

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

func (IamFactorSlice) DeleteMod

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

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

func (IamFactorSlice) MergeMod

func (o IamFactorSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamFactorSlice) ReloadAll

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

func (IamFactorSlice) UpdateAll

func (o IamFactorSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamFactorSetter) error

func (IamFactorSlice) UpdateMod

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

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

type IamFactorsQuery

type IamFactorsQuery = *psql.ViewQuery[*IamFactor, IamFactorSlice]

IamFactorsQuery is a query on the iam_factors table

type IamFlow added in v1.1.0

type IamFlow struct {
	ID          string           `db:"id,pk" `
	ProjectID   string           `db:"project_id" `
	Environment string           `db:"environment" `
	TokenHash   string           `db:"token_hash" `
	Kind        string           `db:"kind" `
	Status      string           `db:"status" `
	Step        string           `db:"step" `
	UserID      null.Val[string] `db:"user_id" `
	ExpiresAt   time.Time        `db:"expires_at" `
	CreatedAt   time.Time        `db:"created_at" `
	UpdatedAt   time.Time        `db:"updated_at" `
	Data        json.RawMessage  `db:"data" `
}

IamFlow is an object representing the database table.

func FindIamFlow added in v1.1.0

func FindIamFlow(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamFlow, error)

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

func (*IamFlow) AfterQueryHook added in v1.1.0

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

AfterQueryHook is called after IamFlow is retrieved from the database

func (*IamFlow) Delete added in v1.1.0

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

Delete deletes a single IamFlow record with an executor

func (*IamFlow) Reload added in v1.1.0

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

Reload refreshes the IamFlow using the executor

func (*IamFlow) Update added in v1.1.0

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

Update uses an executor to update the IamFlow

type IamFlowSetter added in v1.1.0

type IamFlowSetter struct {
	ID          *string           `db:"id,pk" `
	ProjectID   *string           `db:"project_id" `
	Environment *string           `db:"environment" `
	TokenHash   *string           `db:"token_hash" `
	Kind        *string           `db:"kind" `
	Status      *string           `db:"status" `
	Step        *string           `db:"step" `
	UserID      *null.Val[string] `db:"user_id" `
	ExpiresAt   *time.Time        `db:"expires_at" `
	CreatedAt   *time.Time        `db:"created_at" `
	UpdatedAt   *time.Time        `db:"updated_at" `
	Data        *json.RawMessage  `db:"data" `
}

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

func (*IamFlowSetter) Apply added in v1.1.0

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

func (IamFlowSetter) Expressions added in v1.1.0

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

func (IamFlowSetter) Overwrite added in v1.1.0

func (s IamFlowSetter) Overwrite(t *IamFlow)

func (IamFlowSetter) SetColumns added in v1.1.0

func (s IamFlowSetter) SetColumns() []string

func (IamFlowSetter) UpdateMod added in v1.1.0

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

type IamFlowSlice added in v1.1.0

type IamFlowSlice []*IamFlow

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

func (IamFlowSlice) AfterQueryHook added in v1.1.0

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

AfterQueryHook is called after IamFlowSlice is retrieved from the database

func (IamFlowSlice) DeleteAll added in v1.1.0

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

func (IamFlowSlice) DeleteMod added in v1.1.0

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

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

func (IamFlowSlice) MergeMod added in v1.1.0

func (o IamFlowSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamFlowSlice) ReloadAll added in v1.1.0

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

func (IamFlowSlice) UpdateAll added in v1.1.0

func (o IamFlowSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamFlowSetter) error

func (IamFlowSlice) UpdateMod added in v1.1.0

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

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

type IamFlowsQuery added in v1.1.0

type IamFlowsQuery = *psql.ViewQuery[*IamFlow, IamFlowSlice]

IamFlowsQuery is a query on the iam_flows table

type IamHook

type IamHook struct {
	ID        string          `db:"id,pk" `
	ProjectID string          `db:"project_id" `
	Type      string          `db:"type" `
	Enabled   bool            `db:"enabled" `
	CreatedAt time.Time       `db:"created_at" `
	UpdatedAt time.Time       `db:"updated_at" `
	Data      json.RawMessage `db:"data" `
}

IamHook is an object representing the database table.

func FindIamHook

func FindIamHook(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamHook, error)

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

func (*IamHook) AfterQueryHook

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

AfterQueryHook is called after IamHook is retrieved from the database

func (*IamHook) Delete

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

Delete deletes a single IamHook record with an executor

func (*IamHook) Reload

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

Reload refreshes the IamHook using the executor

func (*IamHook) Update

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

Update uses an executor to update the IamHook

type IamHookSetter

type IamHookSetter struct {
	ID        *string          `db:"id,pk" `
	ProjectID *string          `db:"project_id" `
	Type      *string          `db:"type" `
	Enabled   *bool            `db:"enabled" `
	CreatedAt *time.Time       `db:"created_at" `
	UpdatedAt *time.Time       `db:"updated_at" `
	Data      *json.RawMessage `db:"data" `
}

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

func (*IamHookSetter) Apply

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

func (IamHookSetter) Expressions

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

func (IamHookSetter) Overwrite

func (s IamHookSetter) Overwrite(t *IamHook)

func (IamHookSetter) SetColumns

func (s IamHookSetter) SetColumns() []string

func (IamHookSetter) UpdateMod

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

type IamHookSlice

type IamHookSlice []*IamHook

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

func (IamHookSlice) AfterQueryHook

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

AfterQueryHook is called after IamHookSlice is retrieved from the database

func (IamHookSlice) DeleteAll

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

func (IamHookSlice) DeleteMod

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

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

func (IamHookSlice) MergeMod

func (o IamHookSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamHookSlice) ReloadAll

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

func (IamHookSlice) UpdateAll

func (o IamHookSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamHookSetter) error

func (IamHookSlice) UpdateMod

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

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

type IamHooksQuery

type IamHooksQuery = *psql.ViewQuery[*IamHook, IamHookSlice]

IamHooksQuery is a query on the iam_hooks table

type IamIdentitiesQuery

type IamIdentitiesQuery = *psql.ViewQuery[*IamIdentity, IamIdentitySlice]

IamIdentitiesQuery is a query on the iam_identities table

type IamIdentity

type IamIdentity struct {
	ID                string           `db:"id,pk" `
	ProjectID         string           `db:"project_id" `
	Environment       string           `db:"environment" `
	UserID            string           `db:"user_id" `
	Type              string           `db:"type" `
	Provider          null.Val[string] `db:"provider" `
	ProviderAccountID null.Val[string] `db:"provider_account_id" `
	Email             null.Val[string] `db:"email" `
	CreatedAt         time.Time        `db:"created_at" `
	Data              json.RawMessage  `db:"data" `
}

IamIdentity is an object representing the database table.

func FindIamIdentity

func FindIamIdentity(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamIdentity, error)

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

func (*IamIdentity) AfterQueryHook

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

AfterQueryHook is called after IamIdentity is retrieved from the database

func (*IamIdentity) Delete

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

Delete deletes a single IamIdentity record with an executor

func (*IamIdentity) Reload

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

Reload refreshes the IamIdentity using the executor

func (*IamIdentity) Update

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

Update uses an executor to update the IamIdentity

type IamIdentitySetter

type IamIdentitySetter struct {
	ID                *string           `db:"id,pk" `
	ProjectID         *string           `db:"project_id" `
	Environment       *string           `db:"environment" `
	UserID            *string           `db:"user_id" `
	Type              *string           `db:"type" `
	Provider          *null.Val[string] `db:"provider" `
	ProviderAccountID *null.Val[string] `db:"provider_account_id" `
	Email             *null.Val[string] `db:"email" `
	CreatedAt         *time.Time        `db:"created_at" `
	Data              *json.RawMessage  `db:"data" `
}

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

func (*IamIdentitySetter) Apply

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

func (IamIdentitySetter) Expressions

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

func (IamIdentitySetter) Overwrite

func (s IamIdentitySetter) Overwrite(t *IamIdentity)

func (IamIdentitySetter) SetColumns

func (s IamIdentitySetter) SetColumns() []string

func (IamIdentitySetter) UpdateMod

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

type IamIdentitySlice

type IamIdentitySlice []*IamIdentity

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

func (IamIdentitySlice) AfterQueryHook

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

AfterQueryHook is called after IamIdentitySlice is retrieved from the database

func (IamIdentitySlice) DeleteAll

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

func (IamIdentitySlice) DeleteMod

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

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

func (IamIdentitySlice) MergeMod

func (o IamIdentitySlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamIdentitySlice) ReloadAll

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

func (IamIdentitySlice) UpdateAll

func (o IamIdentitySlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamIdentitySetter) error

func (IamIdentitySlice) UpdateMod

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

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

type IamInteraction

type IamInteraction struct {
	ID          string              `db:"id,pk" `
	ProjectID   string              `db:"project_id" `
	Environment string              `db:"environment" `
	ClientID    null.Val[string]    `db:"client_id" `
	SessionID   null.Val[string]    `db:"session_id" `
	ExpiresAt   null.Val[time.Time] `db:"expires_at" `
	CreatedAt   time.Time           `db:"created_at" `
	Data        json.RawMessage     `db:"data" `
}

IamInteraction is an object representing the database table.

func FindIamInteraction

func FindIamInteraction(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamInteraction, error)

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

func (*IamInteraction) AfterQueryHook

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

AfterQueryHook is called after IamInteraction is retrieved from the database

func (*IamInteraction) Delete

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

Delete deletes a single IamInteraction record with an executor

func (*IamInteraction) Reload

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

Reload refreshes the IamInteraction using the executor

func (*IamInteraction) Update

Update uses an executor to update the IamInteraction

type IamInteractionSetter

type IamInteractionSetter struct {
	ID          *string              `db:"id,pk" `
	ProjectID   *string              `db:"project_id" `
	Environment *string              `db:"environment" `
	ClientID    *null.Val[string]    `db:"client_id" `
	SessionID   *null.Val[string]    `db:"session_id" `
	ExpiresAt   *null.Val[time.Time] `db:"expires_at" `
	CreatedAt   *time.Time           `db:"created_at" `
	Data        *json.RawMessage     `db:"data" `
}

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

func (*IamInteractionSetter) Apply

func (IamInteractionSetter) Expressions

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

func (IamInteractionSetter) Overwrite

func (s IamInteractionSetter) Overwrite(t *IamInteraction)

func (IamInteractionSetter) SetColumns

func (s IamInteractionSetter) SetColumns() []string

func (IamInteractionSetter) UpdateMod

type IamInteractionSlice

type IamInteractionSlice []*IamInteraction

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

func (IamInteractionSlice) AfterQueryHook

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

AfterQueryHook is called after IamInteractionSlice is retrieved from the database

func (IamInteractionSlice) DeleteAll

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

func (IamInteractionSlice) DeleteMod

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

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

func (IamInteractionSlice) MergeMod

func (o IamInteractionSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamInteractionSlice) ReloadAll

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

func (IamInteractionSlice) UpdateAll

func (IamInteractionSlice) UpdateMod

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

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

type IamInteractionsQuery

type IamInteractionsQuery = *psql.ViewQuery[*IamInteraction, IamInteractionSlice]

IamInteractionsQuery is a query on the iam_interactions table

type IamInvite added in v1.2.0

type IamInvite struct {
	ID          string              `db:"id,pk" `
	ProjectID   string              `db:"project_id" `
	Environment string              `db:"environment" `
	Email       null.Val[string]    `db:"email" `
	TokenHash   string              `db:"token_hash" `
	Status      string              `db:"status" `
	ExpiresAt   null.Val[time.Time] `db:"expires_at" `
	AcceptedAt  null.Val[time.Time] `db:"accepted_at" `
	CreatedAt   time.Time           `db:"created_at" `
	UpdatedAt   time.Time           `db:"updated_at" `
	Data        json.RawMessage     `db:"data" `
}

IamInvite is an object representing the database table.

func FindIamInvite added in v1.2.0

func FindIamInvite(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamInvite, error)

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

func (*IamInvite) AfterQueryHook added in v1.2.0

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

AfterQueryHook is called after IamInvite is retrieved from the database

func (*IamInvite) Delete added in v1.2.0

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

Delete deletes a single IamInvite record with an executor

func (*IamInvite) Reload added in v1.2.0

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

Reload refreshes the IamInvite using the executor

func (*IamInvite) Update added in v1.2.0

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

Update uses an executor to update the IamInvite

type IamInviteSetter added in v1.2.0

type IamInviteSetter struct {
	ID          *string              `db:"id,pk" `
	ProjectID   *string              `db:"project_id" `
	Environment *string              `db:"environment" `
	Email       *null.Val[string]    `db:"email" `
	TokenHash   *string              `db:"token_hash" `
	Status      *string              `db:"status" `
	ExpiresAt   *null.Val[time.Time] `db:"expires_at" `
	AcceptedAt  *null.Val[time.Time] `db:"accepted_at" `
	CreatedAt   *time.Time           `db:"created_at" `
	UpdatedAt   *time.Time           `db:"updated_at" `
	Data        *json.RawMessage     `db:"data" `
}

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

func (*IamInviteSetter) Apply added in v1.2.0

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

func (IamInviteSetter) Expressions added in v1.2.0

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

func (IamInviteSetter) Overwrite added in v1.2.0

func (s IamInviteSetter) Overwrite(t *IamInvite)

func (IamInviteSetter) SetColumns added in v1.2.0

func (s IamInviteSetter) SetColumns() []string

func (IamInviteSetter) UpdateMod added in v1.2.0

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

type IamInviteSlice added in v1.2.0

type IamInviteSlice []*IamInvite

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

func (IamInviteSlice) AfterQueryHook added in v1.2.0

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

AfterQueryHook is called after IamInviteSlice is retrieved from the database

func (IamInviteSlice) DeleteAll added in v1.2.0

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

func (IamInviteSlice) DeleteMod added in v1.2.0

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

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

func (IamInviteSlice) MergeMod added in v1.2.0

func (o IamInviteSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamInviteSlice) ReloadAll added in v1.2.0

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

func (IamInviteSlice) UpdateAll added in v1.2.0

func (o IamInviteSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamInviteSetter) error

func (IamInviteSlice) UpdateMod added in v1.2.0

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

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

type IamInvitesQuery added in v1.2.0

type IamInvitesQuery = *psql.ViewQuery[*IamInvite, IamInviteSlice]

IamInvitesQuery is a query on the iam_invites table

type IamJob

type IamJob struct {
	ID        string          `db:"id,pk" `
	ProjectID string          `db:"project_id" `
	Type      string          `db:"type" `
	Status    string          `db:"status" `
	CreatedAt time.Time       `db:"created_at" `
	UpdatedAt time.Time       `db:"updated_at" `
	Data      json.RawMessage `db:"data" `
}

IamJob is an object representing the database table.

func FindIamJob

func FindIamJob(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamJob, error)

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

func (*IamJob) AfterQueryHook

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

AfterQueryHook is called after IamJob is retrieved from the database

func (*IamJob) Delete

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

Delete deletes a single IamJob record with an executor

func (*IamJob) Reload

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

Reload refreshes the IamJob using the executor

func (*IamJob) Update

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

Update uses an executor to update the IamJob

type IamJobSetter

type IamJobSetter struct {
	ID        *string          `db:"id,pk" `
	ProjectID *string          `db:"project_id" `
	Type      *string          `db:"type" `
	Status    *string          `db:"status" `
	CreatedAt *time.Time       `db:"created_at" `
	UpdatedAt *time.Time       `db:"updated_at" `
	Data      *json.RawMessage `db:"data" `
}

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

func (*IamJobSetter) Apply

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

func (IamJobSetter) Expressions

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

func (IamJobSetter) Overwrite

func (s IamJobSetter) Overwrite(t *IamJob)

func (IamJobSetter) SetColumns

func (s IamJobSetter) SetColumns() []string

func (IamJobSetter) UpdateMod

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

type IamJobSlice

type IamJobSlice []*IamJob

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

func (IamJobSlice) AfterQueryHook

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

AfterQueryHook is called after IamJobSlice is retrieved from the database

func (IamJobSlice) DeleteAll

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

func (IamJobSlice) DeleteMod

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

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

func (IamJobSlice) MergeMod

func (o IamJobSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamJobSlice) ReloadAll

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

func (IamJobSlice) UpdateAll

func (o IamJobSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamJobSetter) error

func (IamJobSlice) UpdateMod

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

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

type IamJobsQuery

type IamJobsQuery = *psql.ViewQuery[*IamJob, IamJobSlice]

IamJobsQuery is a query on the iam_jobs table

type IamOauthGrant

type IamOauthGrant struct {
	ID          string          `db:"id,pk" `
	ProjectID   string          `db:"project_id" `
	Environment string          `db:"environment" `
	UserID      string          `db:"user_id" `
	ClientID    string          `db:"client_id" `
	GrantedAt   time.Time       `db:"granted_at" `
	Data        json.RawMessage `db:"data" `
}

IamOauthGrant is an object representing the database table.

func FindIamOauthGrant

func FindIamOauthGrant(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamOauthGrant, error)

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

func (*IamOauthGrant) AfterQueryHook

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

AfterQueryHook is called after IamOauthGrant is retrieved from the database

func (*IamOauthGrant) Delete

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

Delete deletes a single IamOauthGrant record with an executor

func (*IamOauthGrant) Reload

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

Reload refreshes the IamOauthGrant using the executor

func (*IamOauthGrant) Update

Update uses an executor to update the IamOauthGrant

type IamOauthGrantSetter

type IamOauthGrantSetter struct {
	ID          *string          `db:"id,pk" `
	ProjectID   *string          `db:"project_id" `
	Environment *string          `db:"environment" `
	UserID      *string          `db:"user_id" `
	ClientID    *string          `db:"client_id" `
	GrantedAt   *time.Time       `db:"granted_at" `
	Data        *json.RawMessage `db:"data" `
}

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

func (*IamOauthGrantSetter) Apply

func (IamOauthGrantSetter) Expressions

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

func (IamOauthGrantSetter) Overwrite

func (s IamOauthGrantSetter) Overwrite(t *IamOauthGrant)

func (IamOauthGrantSetter) SetColumns

func (s IamOauthGrantSetter) SetColumns() []string

func (IamOauthGrantSetter) UpdateMod

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

type IamOauthGrantSlice

type IamOauthGrantSlice []*IamOauthGrant

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

func (IamOauthGrantSlice) AfterQueryHook

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

AfterQueryHook is called after IamOauthGrantSlice is retrieved from the database

func (IamOauthGrantSlice) DeleteAll

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

func (IamOauthGrantSlice) DeleteMod

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

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

func (IamOauthGrantSlice) MergeMod

func (o IamOauthGrantSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamOauthGrantSlice) ReloadAll

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

func (IamOauthGrantSlice) UpdateAll

func (IamOauthGrantSlice) UpdateMod

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

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

type IamOauthGrantsQuery

type IamOauthGrantsQuery = *psql.ViewQuery[*IamOauthGrant, IamOauthGrantSlice]

IamOauthGrantsQuery is a query on the iam_oauth_grants table

type IamParRequest

type IamParRequest struct {
	ID         string           `db:"id,pk" `
	ProjectID  string           `db:"project_id" `
	RequestURI string           `db:"request_uri" `
	ClientID   null.Val[string] `db:"client_id" `
	ExpiresAt  time.Time        `db:"expires_at" `
	CreatedAt  time.Time        `db:"created_at" `
	Data       json.RawMessage  `db:"data" `
}

IamParRequest is an object representing the database table.

func FindIamParRequest

func FindIamParRequest(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamParRequest, error)

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

func (*IamParRequest) AfterQueryHook

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

AfterQueryHook is called after IamParRequest is retrieved from the database

func (*IamParRequest) Delete

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

Delete deletes a single IamParRequest record with an executor

func (*IamParRequest) Reload

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

Reload refreshes the IamParRequest using the executor

func (*IamParRequest) Update

Update uses an executor to update the IamParRequest

type IamParRequestSetter

type IamParRequestSetter struct {
	ID         *string           `db:"id,pk" `
	ProjectID  *string           `db:"project_id" `
	RequestURI *string           `db:"request_uri" `
	ClientID   *null.Val[string] `db:"client_id" `
	ExpiresAt  *time.Time        `db:"expires_at" `
	CreatedAt  *time.Time        `db:"created_at" `
	Data       *json.RawMessage  `db:"data" `
}

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

func (*IamParRequestSetter) Apply

func (IamParRequestSetter) Expressions

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

func (IamParRequestSetter) Overwrite

func (s IamParRequestSetter) Overwrite(t *IamParRequest)

func (IamParRequestSetter) SetColumns

func (s IamParRequestSetter) SetColumns() []string

func (IamParRequestSetter) UpdateMod

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

type IamParRequestSlice

type IamParRequestSlice []*IamParRequest

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

func (IamParRequestSlice) AfterQueryHook

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

AfterQueryHook is called after IamParRequestSlice is retrieved from the database

func (IamParRequestSlice) DeleteAll

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

func (IamParRequestSlice) DeleteMod

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

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

func (IamParRequestSlice) MergeMod

func (o IamParRequestSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamParRequestSlice) ReloadAll

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

func (IamParRequestSlice) UpdateAll

func (IamParRequestSlice) UpdateMod

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

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

type IamParRequestsQuery

type IamParRequestsQuery = *psql.ViewQuery[*IamParRequest, IamParRequestSlice]

IamParRequestsQuery is a query on the iam_par_requests table

type IamProject

type IamProject struct {
	ID        string          `db:"id,pk" `
	Slug      string          `db:"slug" `
	Name      string          `db:"name" `
	CreatedAt time.Time       `db:"created_at" `
	UpdatedAt time.Time       `db:"updated_at" `
	Data      json.RawMessage `db:"data" `
}

IamProject is an object representing the database table.

func FindIamProject

func FindIamProject(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamProject, error)

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

func (*IamProject) AfterQueryHook

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

AfterQueryHook is called after IamProject is retrieved from the database

func (*IamProject) Delete

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

Delete deletes a single IamProject record with an executor

func (*IamProject) Reload

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

Reload refreshes the IamProject using the executor

func (*IamProject) Update

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

Update uses an executor to update the IamProject

type IamProjectSetter

type IamProjectSetter struct {
	ID        *string          `db:"id,pk" `
	Slug      *string          `db:"slug" `
	Name      *string          `db:"name" `
	CreatedAt *time.Time       `db:"created_at" `
	UpdatedAt *time.Time       `db:"updated_at" `
	Data      *json.RawMessage `db:"data" `
}

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

func (*IamProjectSetter) Apply

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

func (IamProjectSetter) Expressions

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

func (IamProjectSetter) Overwrite

func (s IamProjectSetter) Overwrite(t *IamProject)

func (IamProjectSetter) SetColumns

func (s IamProjectSetter) SetColumns() []string

func (IamProjectSetter) UpdateMod

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

type IamProjectSlice

type IamProjectSlice []*IamProject

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

func (IamProjectSlice) AfterQueryHook

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

AfterQueryHook is called after IamProjectSlice is retrieved from the database

func (IamProjectSlice) DeleteAll

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

func (IamProjectSlice) DeleteMod

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

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

func (IamProjectSlice) MergeMod

func (o IamProjectSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamProjectSlice) ReloadAll

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

func (IamProjectSlice) UpdateAll

func (o IamProjectSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamProjectSetter) error

func (IamProjectSlice) UpdateMod

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

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

type IamProjectsQuery

type IamProjectsQuery = *psql.ViewQuery[*IamProject, IamProjectSlice]

IamProjectsQuery is a query on the iam_projects table

type IamProvider

type IamProvider struct {
	ID        string          `db:"id,pk" `
	ProjectID string          `db:"project_id" `
	Kind      string          `db:"kind" `
	Provider  string          `db:"provider" `
	Enabled   bool            `db:"enabled" `
	CreatedAt time.Time       `db:"created_at" `
	UpdatedAt time.Time       `db:"updated_at" `
	Data      json.RawMessage `db:"data" `
}

IamProvider is an object representing the database table.

func FindIamProvider

func FindIamProvider(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamProvider, error)

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

func (*IamProvider) AfterQueryHook

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

AfterQueryHook is called after IamProvider is retrieved from the database

func (*IamProvider) Delete

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

Delete deletes a single IamProvider record with an executor

func (*IamProvider) Reload

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

Reload refreshes the IamProvider using the executor

func (*IamProvider) Update

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

Update uses an executor to update the IamProvider

type IamProviderSetter

type IamProviderSetter struct {
	ID        *string          `db:"id,pk" `
	ProjectID *string          `db:"project_id" `
	Kind      *string          `db:"kind" `
	Provider  *string          `db:"provider" `
	Enabled   *bool            `db:"enabled" `
	CreatedAt *time.Time       `db:"created_at" `
	UpdatedAt *time.Time       `db:"updated_at" `
	Data      *json.RawMessage `db:"data" `
}

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

func (*IamProviderSetter) Apply

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

func (IamProviderSetter) Expressions

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

func (IamProviderSetter) Overwrite

func (s IamProviderSetter) Overwrite(t *IamProvider)

func (IamProviderSetter) SetColumns

func (s IamProviderSetter) SetColumns() []string

func (IamProviderSetter) UpdateMod

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

type IamProviderSlice

type IamProviderSlice []*IamProvider

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

func (IamProviderSlice) AfterQueryHook

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

AfterQueryHook is called after IamProviderSlice is retrieved from the database

func (IamProviderSlice) DeleteAll

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

func (IamProviderSlice) DeleteMod

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

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

func (IamProviderSlice) MergeMod

func (o IamProviderSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamProviderSlice) ReloadAll

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

func (IamProviderSlice) UpdateAll

func (o IamProviderSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamProviderSetter) error

func (IamProviderSlice) UpdateMod

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

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

type IamProvidersQuery

type IamProvidersQuery = *psql.ViewQuery[*IamProvider, IamProviderSlice]

IamProvidersQuery is a query on the iam_providers table

type IamRecoveryCode

type IamRecoveryCode struct {
	ID          string    `db:"id,pk" `
	ProjectID   string    `db:"project_id" `
	Environment string    `db:"environment" `
	UserID      string    `db:"user_id" `
	Hash        string    `db:"hash" `
	Used        bool      `db:"used" `
	CreatedAt   time.Time `db:"created_at" `
}

IamRecoveryCode is an object representing the database table.

func FindIamRecoveryCode

func FindIamRecoveryCode(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamRecoveryCode, error)

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

func (*IamRecoveryCode) AfterQueryHook

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

AfterQueryHook is called after IamRecoveryCode is retrieved from the database

func (*IamRecoveryCode) Delete

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

Delete deletes a single IamRecoveryCode record with an executor

func (*IamRecoveryCode) Reload

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

Reload refreshes the IamRecoveryCode using the executor

func (*IamRecoveryCode) Update

Update uses an executor to update the IamRecoveryCode

type IamRecoveryCodeSetter

type IamRecoveryCodeSetter struct {
	ID          *string    `db:"id,pk" `
	ProjectID   *string    `db:"project_id" `
	Environment *string    `db:"environment" `
	UserID      *string    `db:"user_id" `
	Hash        *string    `db:"hash" `
	Used        *bool      `db:"used" `
	CreatedAt   *time.Time `db:"created_at" `
}

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

func (*IamRecoveryCodeSetter) Apply

func (IamRecoveryCodeSetter) Expressions

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

func (IamRecoveryCodeSetter) Overwrite

func (s IamRecoveryCodeSetter) Overwrite(t *IamRecoveryCode)

func (IamRecoveryCodeSetter) SetColumns

func (s IamRecoveryCodeSetter) SetColumns() []string

func (IamRecoveryCodeSetter) UpdateMod

type IamRecoveryCodeSlice

type IamRecoveryCodeSlice []*IamRecoveryCode

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

func (IamRecoveryCodeSlice) AfterQueryHook

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

AfterQueryHook is called after IamRecoveryCodeSlice is retrieved from the database

func (IamRecoveryCodeSlice) DeleteAll

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

func (IamRecoveryCodeSlice) DeleteMod

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

func (IamRecoveryCodeSlice) MergeMod

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamRecoveryCodeSlice) ReloadAll

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

func (IamRecoveryCodeSlice) UpdateAll

func (IamRecoveryCodeSlice) UpdateMod

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

type IamRecoveryCodesQuery

type IamRecoveryCodesQuery = *psql.ViewQuery[*IamRecoveryCode, IamRecoveryCodeSlice]

IamRecoveryCodesQuery is a query on the iam_recovery_codes table

type IamRefreshToken

type IamRefreshToken struct {
	ID          string              `db:"id,pk" `
	ProjectID   string              `db:"project_id" `
	Environment string              `db:"environment" `
	UserID      string              `db:"user_id" `
	SessionID   string              `db:"session_id" `
	Hash        string              `db:"hash" `
	Revoked     bool                `db:"revoked" `
	ExpiresAt   null.Val[time.Time] `db:"expires_at" `
	CreatedAt   time.Time           `db:"created_at" `
	Data        json.RawMessage     `db:"data" `
}

IamRefreshToken is an object representing the database table.

func FindIamRefreshToken

func FindIamRefreshToken(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamRefreshToken, error)

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

func (*IamRefreshToken) AfterQueryHook

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

AfterQueryHook is called after IamRefreshToken is retrieved from the database

func (*IamRefreshToken) Delete

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

Delete deletes a single IamRefreshToken record with an executor

func (*IamRefreshToken) Reload

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

Reload refreshes the IamRefreshToken using the executor

func (*IamRefreshToken) Update

Update uses an executor to update the IamRefreshToken

type IamRefreshTokenSetter

type IamRefreshTokenSetter struct {
	ID          *string              `db:"id,pk" `
	ProjectID   *string              `db:"project_id" `
	Environment *string              `db:"environment" `
	UserID      *string              `db:"user_id" `
	SessionID   *string              `db:"session_id" `
	Hash        *string              `db:"hash" `
	Revoked     *bool                `db:"revoked" `
	ExpiresAt   *null.Val[time.Time] `db:"expires_at" `
	CreatedAt   *time.Time           `db:"created_at" `
	Data        *json.RawMessage     `db:"data" `
}

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

func (*IamRefreshTokenSetter) Apply

func (IamRefreshTokenSetter) Expressions

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

func (IamRefreshTokenSetter) Overwrite

func (s IamRefreshTokenSetter) Overwrite(t *IamRefreshToken)

func (IamRefreshTokenSetter) SetColumns

func (s IamRefreshTokenSetter) SetColumns() []string

func (IamRefreshTokenSetter) UpdateMod

type IamRefreshTokenSlice

type IamRefreshTokenSlice []*IamRefreshToken

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

func (IamRefreshTokenSlice) AfterQueryHook

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

AfterQueryHook is called after IamRefreshTokenSlice is retrieved from the database

func (IamRefreshTokenSlice) DeleteAll

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

func (IamRefreshTokenSlice) DeleteMod

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

func (IamRefreshTokenSlice) MergeMod

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamRefreshTokenSlice) ReloadAll

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

func (IamRefreshTokenSlice) UpdateAll

func (IamRefreshTokenSlice) UpdateMod

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

type IamRefreshTokensQuery

type IamRefreshTokensQuery = *psql.ViewQuery[*IamRefreshToken, IamRefreshTokenSlice]

IamRefreshTokensQuery is a query on the iam_refresh_tokens table

type IamRiskRule

type IamRiskRule struct {
	ID        string          `db:"id,pk" `
	ProjectID string          `db:"project_id" `
	Enabled   bool            `db:"enabled" `
	CreatedAt time.Time       `db:"created_at" `
	UpdatedAt time.Time       `db:"updated_at" `
	Data      json.RawMessage `db:"data" `
}

IamRiskRule is an object representing the database table.

func FindIamRiskRule

func FindIamRiskRule(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamRiskRule, error)

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

func (*IamRiskRule) AfterQueryHook

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

AfterQueryHook is called after IamRiskRule is retrieved from the database

func (*IamRiskRule) Delete

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

Delete deletes a single IamRiskRule record with an executor

func (*IamRiskRule) Reload

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

Reload refreshes the IamRiskRule using the executor

func (*IamRiskRule) Update

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

Update uses an executor to update the IamRiskRule

type IamRiskRuleSetter

type IamRiskRuleSetter struct {
	ID        *string          `db:"id,pk" `
	ProjectID *string          `db:"project_id" `
	Enabled   *bool            `db:"enabled" `
	CreatedAt *time.Time       `db:"created_at" `
	UpdatedAt *time.Time       `db:"updated_at" `
	Data      *json.RawMessage `db:"data" `
}

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

func (*IamRiskRuleSetter) Apply

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

func (IamRiskRuleSetter) Expressions

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

func (IamRiskRuleSetter) Overwrite

func (s IamRiskRuleSetter) Overwrite(t *IamRiskRule)

func (IamRiskRuleSetter) SetColumns

func (s IamRiskRuleSetter) SetColumns() []string

func (IamRiskRuleSetter) UpdateMod

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

type IamRiskRuleSlice

type IamRiskRuleSlice []*IamRiskRule

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

func (IamRiskRuleSlice) AfterQueryHook

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

AfterQueryHook is called after IamRiskRuleSlice is retrieved from the database

func (IamRiskRuleSlice) DeleteAll

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

func (IamRiskRuleSlice) DeleteMod

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

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

func (IamRiskRuleSlice) MergeMod

func (o IamRiskRuleSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamRiskRuleSlice) ReloadAll

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

func (IamRiskRuleSlice) UpdateAll

func (o IamRiskRuleSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamRiskRuleSetter) error

func (IamRiskRuleSlice) UpdateMod

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

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

type IamRiskRulesQuery

type IamRiskRulesQuery = *psql.ViewQuery[*IamRiskRule, IamRiskRuleSlice]

IamRiskRulesQuery is a query on the iam_risk_rules table

type IamScimResource

type IamScimResource struct {
	ID           string           `db:"id,pk" `
	ProjectID    string           `db:"project_id" `
	ConnectionID string           `db:"connection_id" `
	ResourceType string           `db:"resource_type" `
	ExternalID   null.Val[string] `db:"external_id" `
	UserID       null.Val[string] `db:"user_id" `
	CreatedAt    time.Time        `db:"created_at" `
	UpdatedAt    time.Time        `db:"updated_at" `
	Data         json.RawMessage  `db:"data" `
}

IamScimResource is an object representing the database table.

func FindIamScimResource

func FindIamScimResource(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamScimResource, error)

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

func (*IamScimResource) AfterQueryHook

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

AfterQueryHook is called after IamScimResource is retrieved from the database

func (*IamScimResource) Delete

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

Delete deletes a single IamScimResource record with an executor

func (*IamScimResource) Reload

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

Reload refreshes the IamScimResource using the executor

func (*IamScimResource) Update

Update uses an executor to update the IamScimResource

type IamScimResourceSetter

type IamScimResourceSetter struct {
	ID           *string           `db:"id,pk" `
	ProjectID    *string           `db:"project_id" `
	ConnectionID *string           `db:"connection_id" `
	ResourceType *string           `db:"resource_type" `
	ExternalID   *null.Val[string] `db:"external_id" `
	UserID       *null.Val[string] `db:"user_id" `
	CreatedAt    *time.Time        `db:"created_at" `
	UpdatedAt    *time.Time        `db:"updated_at" `
	Data         *json.RawMessage  `db:"data" `
}

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

func (*IamScimResourceSetter) Apply

func (IamScimResourceSetter) Expressions

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

func (IamScimResourceSetter) Overwrite

func (s IamScimResourceSetter) Overwrite(t *IamScimResource)

func (IamScimResourceSetter) SetColumns

func (s IamScimResourceSetter) SetColumns() []string

func (IamScimResourceSetter) UpdateMod

type IamScimResourceSlice

type IamScimResourceSlice []*IamScimResource

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

func (IamScimResourceSlice) AfterQueryHook

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

AfterQueryHook is called after IamScimResourceSlice is retrieved from the database

func (IamScimResourceSlice) DeleteAll

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

func (IamScimResourceSlice) DeleteMod

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

func (IamScimResourceSlice) MergeMod

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamScimResourceSlice) ReloadAll

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

func (IamScimResourceSlice) UpdateAll

func (IamScimResourceSlice) UpdateMod

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

type IamScimResourcesQuery

type IamScimResourcesQuery = *psql.ViewQuery[*IamScimResource, IamScimResourceSlice]

IamScimResourcesQuery is a query on the iam_scim_resources table

type IamScimToken

type IamScimToken struct {
	ID           string          `db:"id,pk" `
	ProjectID    string          `db:"project_id" `
	ConnectionID string          `db:"connection_id" `
	Hash         string          `db:"hash" `
	CreatedAt    time.Time       `db:"created_at" `
	Data         json.RawMessage `db:"data" `
}

IamScimToken is an object representing the database table.

func FindIamScimToken

func FindIamScimToken(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamScimToken, error)

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

func (*IamScimToken) AfterQueryHook

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

AfterQueryHook is called after IamScimToken is retrieved from the database

func (*IamScimToken) Delete

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

Delete deletes a single IamScimToken record with an executor

func (*IamScimToken) Reload

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

Reload refreshes the IamScimToken using the executor

func (*IamScimToken) Update

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

Update uses an executor to update the IamScimToken

type IamScimTokenSetter

type IamScimTokenSetter struct {
	ID           *string          `db:"id,pk" `
	ProjectID    *string          `db:"project_id" `
	ConnectionID *string          `db:"connection_id" `
	Hash         *string          `db:"hash" `
	CreatedAt    *time.Time       `db:"created_at" `
	Data         *json.RawMessage `db:"data" `
}

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

func (*IamScimTokenSetter) Apply

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

func (IamScimTokenSetter) Expressions

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

func (IamScimTokenSetter) Overwrite

func (s IamScimTokenSetter) Overwrite(t *IamScimToken)

func (IamScimTokenSetter) SetColumns

func (s IamScimTokenSetter) SetColumns() []string

func (IamScimTokenSetter) UpdateMod

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

type IamScimTokenSlice

type IamScimTokenSlice []*IamScimToken

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

func (IamScimTokenSlice) AfterQueryHook

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

AfterQueryHook is called after IamScimTokenSlice is retrieved from the database

func (IamScimTokenSlice) DeleteAll

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

func (IamScimTokenSlice) DeleteMod

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

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

func (IamScimTokenSlice) MergeMod

func (o IamScimTokenSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamScimTokenSlice) ReloadAll

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

func (IamScimTokenSlice) UpdateAll

func (o IamScimTokenSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamScimTokenSetter) error

func (IamScimTokenSlice) UpdateMod

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

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

type IamScimTokensQuery

type IamScimTokensQuery = *psql.ViewQuery[*IamScimToken, IamScimTokenSlice]

IamScimTokensQuery is a query on the iam_scim_tokens table

type IamServiceAccount

type IamServiceAccount struct {
	ID        string          `db:"id,pk" `
	ProjectID string          `db:"project_id" `
	Name      string          `db:"name" `
	Disabled  bool            `db:"disabled" `
	CreatedAt time.Time       `db:"created_at" `
	UpdatedAt time.Time       `db:"updated_at" `
	Data      json.RawMessage `db:"data" `
}

IamServiceAccount is an object representing the database table.

func FindIamServiceAccount

func FindIamServiceAccount(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamServiceAccount, error)

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

func (*IamServiceAccount) AfterQueryHook

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

AfterQueryHook is called after IamServiceAccount is retrieved from the database

func (*IamServiceAccount) Delete

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

Delete deletes a single IamServiceAccount record with an executor

func (*IamServiceAccount) Reload

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

Reload refreshes the IamServiceAccount using the executor

func (*IamServiceAccount) Update

Update uses an executor to update the IamServiceAccount

type IamServiceAccountSetter

type IamServiceAccountSetter struct {
	ID        *string          `db:"id,pk" `
	ProjectID *string          `db:"project_id" `
	Name      *string          `db:"name" `
	Disabled  *bool            `db:"disabled" `
	CreatedAt *time.Time       `db:"created_at" `
	UpdatedAt *time.Time       `db:"updated_at" `
	Data      *json.RawMessage `db:"data" `
}

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

func (*IamServiceAccountSetter) Apply

func (IamServiceAccountSetter) Expressions

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

func (IamServiceAccountSetter) Overwrite

func (IamServiceAccountSetter) SetColumns

func (s IamServiceAccountSetter) SetColumns() []string

func (IamServiceAccountSetter) UpdateMod

type IamServiceAccountSlice

type IamServiceAccountSlice []*IamServiceAccount

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

func (IamServiceAccountSlice) AfterQueryHook

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

AfterQueryHook is called after IamServiceAccountSlice is retrieved from the database

func (IamServiceAccountSlice) DeleteAll

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

func (IamServiceAccountSlice) DeleteMod

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

func (IamServiceAccountSlice) MergeMod

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamServiceAccountSlice) ReloadAll

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

func (IamServiceAccountSlice) UpdateAll

func (IamServiceAccountSlice) UpdateMod

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

type IamServiceAccountsQuery

type IamServiceAccountsQuery = *psql.ViewQuery[*IamServiceAccount, IamServiceAccountSlice]

IamServiceAccountsQuery is a query on the iam_service_accounts table

type IamSession

type IamSession struct {
	ID           string              `db:"id,pk" `
	ProjectID    string              `db:"project_id" `
	Environment  string              `db:"environment" `
	UserID       string              `db:"user_id" `
	ClientID     null.Val[string]    `db:"client_id" `
	Aal          int32               `db:"aal" `
	Trusted      bool                `db:"trusted" `
	ExpiresAt    null.Val[time.Time] `db:"expires_at" `
	CreatedAt    time.Time           `db:"created_at" `
	LastActiveAt time.Time           `db:"last_active_at" `
	Data         json.RawMessage     `db:"data" `
}

IamSession is an object representing the database table.

func FindIamSession

func FindIamSession(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamSession, error)

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

func (*IamSession) AfterQueryHook

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

AfterQueryHook is called after IamSession is retrieved from the database

func (*IamSession) Delete

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

Delete deletes a single IamSession record with an executor

func (*IamSession) Reload

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

Reload refreshes the IamSession using the executor

func (*IamSession) Update

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

Update uses an executor to update the IamSession

type IamSessionSetter

type IamSessionSetter struct {
	ID           *string              `db:"id,pk" `
	ProjectID    *string              `db:"project_id" `
	Environment  *string              `db:"environment" `
	UserID       *string              `db:"user_id" `
	ClientID     *null.Val[string]    `db:"client_id" `
	Aal          *int32               `db:"aal" `
	Trusted      *bool                `db:"trusted" `
	ExpiresAt    *null.Val[time.Time] `db:"expires_at" `
	CreatedAt    *time.Time           `db:"created_at" `
	LastActiveAt *time.Time           `db:"last_active_at" `
	Data         *json.RawMessage     `db:"data" `
}

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

func (*IamSessionSetter) Apply

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

func (IamSessionSetter) Expressions

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

func (IamSessionSetter) Overwrite

func (s IamSessionSetter) Overwrite(t *IamSession)

func (IamSessionSetter) SetColumns

func (s IamSessionSetter) SetColumns() []string

func (IamSessionSetter) UpdateMod

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

type IamSessionSlice

type IamSessionSlice []*IamSession

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

func (IamSessionSlice) AfterQueryHook

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

AfterQueryHook is called after IamSessionSlice is retrieved from the database

func (IamSessionSlice) DeleteAll

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

func (IamSessionSlice) DeleteMod

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

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

func (IamSessionSlice) MergeMod

func (o IamSessionSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamSessionSlice) ReloadAll

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

func (IamSessionSlice) UpdateAll

func (o IamSessionSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamSessionSetter) error

func (IamSessionSlice) UpdateMod

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

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

type IamSessionsQuery

type IamSessionsQuery = *psql.ViewQuery[*IamSession, IamSessionSlice]

IamSessionsQuery is a query on the iam_sessions table

type IamSigningKey

type IamSigningKey struct {
	Kid         string           `db:"kid,pk" `
	ProjectID   string           `db:"project_id" `
	Environment string           `db:"environment" `
	Alg         string           `db:"alg" `
	Use         string           `db:"use" `
	Status      string           `db:"status" `
	PrivatePem  null.Val[string] `db:"private_pem" `
	CreatedAt   time.Time        `db:"created_at" `
	Data        json.RawMessage  `db:"data" `
}

IamSigningKey is an object representing the database table.

func FindIamSigningKey

func FindIamSigningKey(ctx context.Context, exec bob.Executor, KidPK string, cols ...string) (*IamSigningKey, error)

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

func (*IamSigningKey) AfterQueryHook

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

AfterQueryHook is called after IamSigningKey is retrieved from the database

func (*IamSigningKey) Delete

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

Delete deletes a single IamSigningKey record with an executor

func (*IamSigningKey) Reload

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

Reload refreshes the IamSigningKey using the executor

func (*IamSigningKey) Update

Update uses an executor to update the IamSigningKey

type IamSigningKeySetter

type IamSigningKeySetter struct {
	Kid         *string           `db:"kid,pk" `
	ProjectID   *string           `db:"project_id" `
	Environment *string           `db:"environment" `
	Alg         *string           `db:"alg" `
	Use         *string           `db:"use" `
	Status      *string           `db:"status" `
	PrivatePem  *null.Val[string] `db:"private_pem" `
	CreatedAt   *time.Time        `db:"created_at" `
	Data        *json.RawMessage  `db:"data" `
}

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

func (*IamSigningKeySetter) Apply

func (IamSigningKeySetter) Expressions

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

func (IamSigningKeySetter) Overwrite

func (s IamSigningKeySetter) Overwrite(t *IamSigningKey)

func (IamSigningKeySetter) SetColumns

func (s IamSigningKeySetter) SetColumns() []string

func (IamSigningKeySetter) UpdateMod

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

type IamSigningKeySlice

type IamSigningKeySlice []*IamSigningKey

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

func (IamSigningKeySlice) AfterQueryHook

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

AfterQueryHook is called after IamSigningKeySlice is retrieved from the database

func (IamSigningKeySlice) DeleteAll

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

func (IamSigningKeySlice) DeleteMod

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

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

func (IamSigningKeySlice) MergeMod

func (o IamSigningKeySlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamSigningKeySlice) ReloadAll

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

func (IamSigningKeySlice) UpdateAll

func (IamSigningKeySlice) UpdateMod

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

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

type IamSigningKeysQuery

type IamSigningKeysQuery = *psql.ViewQuery[*IamSigningKey, IamSigningKeySlice]

IamSigningKeysQuery is a query on the iam_signing_keys table

type IamSsoConnection

type IamSsoConnection struct {
	ID          string           `db:"id,pk" `
	ProjectID   string           `db:"project_id" `
	Type        string           `db:"type" `
	Status      string           `db:"status" `
	Name        string           `db:"name" `
	ExternalRef null.Val[string] `db:"external_ref" `
	CreatedAt   time.Time        `db:"created_at" `
	UpdatedAt   time.Time        `db:"updated_at" `
	Data        json.RawMessage  `db:"data" `
}

IamSsoConnection is an object representing the database table.

func FindIamSsoConnection

func FindIamSsoConnection(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamSsoConnection, error)

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

func (*IamSsoConnection) AfterQueryHook

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

AfterQueryHook is called after IamSsoConnection is retrieved from the database

func (*IamSsoConnection) Delete

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

Delete deletes a single IamSsoConnection record with an executor

func (*IamSsoConnection) Reload

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

Reload refreshes the IamSsoConnection using the executor

func (*IamSsoConnection) Update

Update uses an executor to update the IamSsoConnection

type IamSsoConnectionSetter

type IamSsoConnectionSetter struct {
	ID          *string           `db:"id,pk" `
	ProjectID   *string           `db:"project_id" `
	Type        *string           `db:"type" `
	Status      *string           `db:"status" `
	Name        *string           `db:"name" `
	ExternalRef *null.Val[string] `db:"external_ref" `
	CreatedAt   *time.Time        `db:"created_at" `
	UpdatedAt   *time.Time        `db:"updated_at" `
	Data        *json.RawMessage  `db:"data" `
}

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

func (*IamSsoConnectionSetter) Apply

func (IamSsoConnectionSetter) Expressions

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

func (IamSsoConnectionSetter) Overwrite

func (s IamSsoConnectionSetter) Overwrite(t *IamSsoConnection)

func (IamSsoConnectionSetter) SetColumns

func (s IamSsoConnectionSetter) SetColumns() []string

func (IamSsoConnectionSetter) UpdateMod

type IamSsoConnectionSlice

type IamSsoConnectionSlice []*IamSsoConnection

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

func (IamSsoConnectionSlice) AfterQueryHook

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

AfterQueryHook is called after IamSsoConnectionSlice is retrieved from the database

func (IamSsoConnectionSlice) DeleteAll

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

func (IamSsoConnectionSlice) DeleteMod

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

func (IamSsoConnectionSlice) MergeMod

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamSsoConnectionSlice) ReloadAll

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

func (IamSsoConnectionSlice) UpdateAll

func (IamSsoConnectionSlice) UpdateMod

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

type IamSsoConnectionsQuery

type IamSsoConnectionsQuery = *psql.ViewQuery[*IamSsoConnection, IamSsoConnectionSlice]

IamSsoConnectionsQuery is a query on the iam_sso_connections table

type IamTokenProfile

type IamTokenProfile struct {
	ID        string          `db:"id,pk" `
	ProjectID string          `db:"project_id" `
	Name      string          `db:"name" `
	CreatedAt time.Time       `db:"created_at" `
	UpdatedAt time.Time       `db:"updated_at" `
	Data      json.RawMessage `db:"data" `
}

IamTokenProfile is an object representing the database table.

func FindIamTokenProfile

func FindIamTokenProfile(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamTokenProfile, error)

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

func (*IamTokenProfile) AfterQueryHook

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

AfterQueryHook is called after IamTokenProfile is retrieved from the database

func (*IamTokenProfile) Delete

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

Delete deletes a single IamTokenProfile record with an executor

func (*IamTokenProfile) Reload

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

Reload refreshes the IamTokenProfile using the executor

func (*IamTokenProfile) Update

Update uses an executor to update the IamTokenProfile

type IamTokenProfileSetter

type IamTokenProfileSetter struct {
	ID        *string          `db:"id,pk" `
	ProjectID *string          `db:"project_id" `
	Name      *string          `db:"name" `
	CreatedAt *time.Time       `db:"created_at" `
	UpdatedAt *time.Time       `db:"updated_at" `
	Data      *json.RawMessage `db:"data" `
}

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

func (*IamTokenProfileSetter) Apply

func (IamTokenProfileSetter) Expressions

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

func (IamTokenProfileSetter) Overwrite

func (s IamTokenProfileSetter) Overwrite(t *IamTokenProfile)

func (IamTokenProfileSetter) SetColumns

func (s IamTokenProfileSetter) SetColumns() []string

func (IamTokenProfileSetter) UpdateMod

type IamTokenProfileSlice

type IamTokenProfileSlice []*IamTokenProfile

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

func (IamTokenProfileSlice) AfterQueryHook

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

AfterQueryHook is called after IamTokenProfileSlice is retrieved from the database

func (IamTokenProfileSlice) DeleteAll

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

func (IamTokenProfileSlice) DeleteMod

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

func (IamTokenProfileSlice) MergeMod

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamTokenProfileSlice) ReloadAll

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

func (IamTokenProfileSlice) UpdateAll

func (IamTokenProfileSlice) UpdateMod

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

type IamTokenProfilesQuery

type IamTokenProfilesQuery = *psql.ViewQuery[*IamTokenProfile, IamTokenProfileSlice]

IamTokenProfilesQuery is a query on the iam_token_profiles table

type IamUser

type IamUser struct {
	ID           string           `db:"id,pk" `
	ProjectID    string           `db:"project_id" `
	Environment  string           `db:"environment" `
	Kind         string           `db:"kind" `
	Status       string           `db:"status" `
	PrimaryEmail null.Val[string] `db:"primary_email" `
	PrimaryPhone null.Val[string] `db:"primary_phone" `
	CreatedAt    time.Time        `db:"created_at" `
	UpdatedAt    time.Time        `db:"updated_at" `
	Data         json.RawMessage  `db:"data" `
}

IamUser is an object representing the database table.

func FindIamUser

func FindIamUser(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamUser, error)

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

func (*IamUser) AfterQueryHook

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

AfterQueryHook is called after IamUser is retrieved from the database

func (*IamUser) Delete

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

Delete deletes a single IamUser record with an executor

func (*IamUser) Reload

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

Reload refreshes the IamUser using the executor

func (*IamUser) Update

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

Update uses an executor to update the IamUser

type IamUserSetter

type IamUserSetter struct {
	ID           *string           `db:"id,pk" `
	ProjectID    *string           `db:"project_id" `
	Environment  *string           `db:"environment" `
	Kind         *string           `db:"kind" `
	Status       *string           `db:"status" `
	PrimaryEmail *null.Val[string] `db:"primary_email" `
	PrimaryPhone *null.Val[string] `db:"primary_phone" `
	CreatedAt    *time.Time        `db:"created_at" `
	UpdatedAt    *time.Time        `db:"updated_at" `
	Data         *json.RawMessage  `db:"data" `
}

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

func (*IamUserSetter) Apply

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

func (IamUserSetter) Expressions

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

func (IamUserSetter) Overwrite

func (s IamUserSetter) Overwrite(t *IamUser)

func (IamUserSetter) SetColumns

func (s IamUserSetter) SetColumns() []string

func (IamUserSetter) UpdateMod

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

type IamUserSlice

type IamUserSlice []*IamUser

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

func (IamUserSlice) AfterQueryHook

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

AfterQueryHook is called after IamUserSlice is retrieved from the database

func (IamUserSlice) DeleteAll

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

func (IamUserSlice) DeleteMod

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

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

func (IamUserSlice) MergeMod

func (o IamUserSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamUserSlice) ReloadAll

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

func (IamUserSlice) UpdateAll

func (o IamUserSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamUserSetter) error

func (IamUserSlice) UpdateMod

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

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

type IamUsersQuery

type IamUsersQuery = *psql.ViewQuery[*IamUser, IamUserSlice]

IamUsersQuery is a query on the iam_users table

type IamWebauthnCredential

type IamWebauthnCredential struct {
	ID           string              `db:"id,pk" `
	ProjectID    string              `db:"project_id" `
	Environment  string              `db:"environment" `
	UserID       string              `db:"user_id" `
	CredentialID string              `db:"credential_id" `
	PublicKey    null.Val[[]byte]    `db:"public_key" `
	SignCount    int64               `db:"sign_count" `
	CreatedAt    time.Time           `db:"created_at" `
	LastUsedAt   null.Val[time.Time] `db:"last_used_at" `
	Data         json.RawMessage     `db:"data" `
}

IamWebauthnCredential is an object representing the database table.

func FindIamWebauthnCredential

func FindIamWebauthnCredential(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamWebauthnCredential, error)

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

func (*IamWebauthnCredential) AfterQueryHook

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

AfterQueryHook is called after IamWebauthnCredential is retrieved from the database

func (*IamWebauthnCredential) Delete

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

Delete deletes a single IamWebauthnCredential record with an executor

func (*IamWebauthnCredential) Reload

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

Reload refreshes the IamWebauthnCredential using the executor

func (*IamWebauthnCredential) Update

Update uses an executor to update the IamWebauthnCredential

type IamWebauthnCredentialSetter

type IamWebauthnCredentialSetter struct {
	ID           *string              `db:"id,pk" `
	ProjectID    *string              `db:"project_id" `
	Environment  *string              `db:"environment" `
	UserID       *string              `db:"user_id" `
	CredentialID *string              `db:"credential_id" `
	PublicKey    *null.Val[[]byte]    `db:"public_key" `
	SignCount    *int64               `db:"sign_count" `
	CreatedAt    *time.Time           `db:"created_at" `
	LastUsedAt   *null.Val[time.Time] `db:"last_used_at" `
	Data         *json.RawMessage     `db:"data" `
}

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

func (*IamWebauthnCredentialSetter) Apply

func (IamWebauthnCredentialSetter) Expressions

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

func (IamWebauthnCredentialSetter) Overwrite

func (IamWebauthnCredentialSetter) SetColumns

func (s IamWebauthnCredentialSetter) SetColumns() []string

func (IamWebauthnCredentialSetter) UpdateMod

type IamWebauthnCredentialSlice

type IamWebauthnCredentialSlice []*IamWebauthnCredential

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

func (IamWebauthnCredentialSlice) AfterQueryHook

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

AfterQueryHook is called after IamWebauthnCredentialSlice is retrieved from the database

func (IamWebauthnCredentialSlice) DeleteAll

func (IamWebauthnCredentialSlice) DeleteMod

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

func (IamWebauthnCredentialSlice) MergeMod

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamWebauthnCredentialSlice) ReloadAll

func (IamWebauthnCredentialSlice) UpdateAll

func (IamWebauthnCredentialSlice) UpdateMod

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

type IamWebauthnCredentialsQuery

type IamWebauthnCredentialsQuery = *psql.ViewQuery[*IamWebauthnCredential, IamWebauthnCredentialSlice]

IamWebauthnCredentialsQuery is a query on the iam_webauthn_credentials table

type IamWebhook

type IamWebhook struct {
	ID        string          `db:"id,pk" `
	ProjectID string          `db:"project_id" `
	Enabled   bool            `db:"enabled" `
	CreatedAt time.Time       `db:"created_at" `
	UpdatedAt time.Time       `db:"updated_at" `
	Data      json.RawMessage `db:"data" `
}

IamWebhook is an object representing the database table.

func FindIamWebhook

func FindIamWebhook(ctx context.Context, exec bob.Executor, IDPK string, cols ...string) (*IamWebhook, error)

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

func (*IamWebhook) AfterQueryHook

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

AfterQueryHook is called after IamWebhook is retrieved from the database

func (*IamWebhook) Delete

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

Delete deletes a single IamWebhook record with an executor

func (*IamWebhook) Reload

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

Reload refreshes the IamWebhook using the executor

func (*IamWebhook) Update

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

Update uses an executor to update the IamWebhook

type IamWebhookSetter

type IamWebhookSetter struct {
	ID        *string          `db:"id,pk" `
	ProjectID *string          `db:"project_id" `
	Enabled   *bool            `db:"enabled" `
	CreatedAt *time.Time       `db:"created_at" `
	UpdatedAt *time.Time       `db:"updated_at" `
	Data      *json.RawMessage `db:"data" `
}

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

func (*IamWebhookSetter) Apply

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

func (IamWebhookSetter) Expressions

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

func (IamWebhookSetter) Overwrite

func (s IamWebhookSetter) Overwrite(t *IamWebhook)

func (IamWebhookSetter) SetColumns

func (s IamWebhookSetter) SetColumns() []string

func (IamWebhookSetter) UpdateMod

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

type IamWebhookSlice

type IamWebhookSlice []*IamWebhook

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

func (IamWebhookSlice) AfterQueryHook

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

AfterQueryHook is called after IamWebhookSlice is retrieved from the database

func (IamWebhookSlice) DeleteAll

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

func (IamWebhookSlice) DeleteMod

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

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

func (IamWebhookSlice) MergeMod

func (o IamWebhookSlice) MergeMod() bob.Mod[*dialect.MergeQuery]

MergeMod modifies a merge query to run BeforeMergeHooks and AfterMergeHooks and updates the slice with the returned rows.

func (IamWebhookSlice) ReloadAll

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

func (IamWebhookSlice) UpdateAll

func (o IamWebhookSlice) UpdateAll(ctx context.Context, exec bob.Executor, vals IamWebhookSetter) error

func (IamWebhookSlice) UpdateMod

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

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

type IamWebhooksQuery

type IamWebhooksQuery = *psql.ViewQuery[*IamWebhook, IamWebhookSlice]

IamWebhooksQuery is a query on the iam_webhooks table

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL