sqlboiler

package
v0.0.0-...-afa1830 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccountColumns = struct {
	ID            string
	Password      string
	BackupData    string
	BackupVersion string
	CreatedAt     string
}{
	ID:            "id",
	Password:      "password",
	BackupData:    "backup_data",
	BackupVersion: "backup_version",
	CreatedAt:     "created_at",
}
View Source
var AccountRels = struct {
	BackupArchives               string
	Identities                   string
	SecretStorageAccountRootKeys string
}{
	BackupArchives:               "BackupArchives",
	Identities:                   "Identities",
	SecretStorageAccountRootKeys: "SecretStorageAccountRootKeys",
}

AccountRels is where relationship names are stored.

View Source
var AccountWhere = struct {
	ID            whereHelperstring
	Password      whereHelperstring
	BackupData    whereHelperstring
	BackupVersion whereHelperint
	CreatedAt     whereHelpertime_Time
}{
	ID:            whereHelperstring{/* contains filtered or unexported fields */},
	Password:      whereHelperstring{/* contains filtered or unexported fields */},
	BackupData:    whereHelperstring{/* contains filtered or unexported fields */},
	BackupVersion: whereHelperint{/* contains filtered or unexported fields */},
	CreatedAt:     whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var AuthenticationStepColumns = struct {
	ID         string
	IdentityID string
	MethodName string
	Metadata   string
	CreatedAt  string
	CompleteAt string
}{
	ID:         "id",
	IdentityID: "identity_id",
	MethodName: "method_name",
	Metadata:   "metadata",
	CreatedAt:  "created_at",
	CompleteAt: "complete_at",
}
View Source
var AuthenticationStepRels = struct {
	Identity string
}{
	Identity: "Identity",
}

AuthenticationStepRels is where relationship names are stored.

View Source
var AuthenticationStepWhere = struct {
	ID         whereHelperint
	IdentityID whereHelperstring
	MethodName whereHelperstring
	Metadata   whereHelpertypes_JSON
	CreatedAt  whereHelpertime_Time
	CompleteAt whereHelpernull_Time
}{
	ID:         whereHelperint{/* contains filtered or unexported fields */},
	IdentityID: whereHelperstring{/* contains filtered or unexported fields */},
	MethodName: whereHelperstring{/* contains filtered or unexported fields */},
	Metadata:   whereHelpertypes_JSON{/* contains filtered or unexported fields */},
	CreatedAt:  whereHelpertime_Time{/* contains filtered or unexported fields */},
	CompleteAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var BackupArchiveColumns = struct {
	ID          string
	AccountID   string
	Data        string
	CreatedAt   string
	RecoveredAt string
	DeletedAt   string
}{
	ID:          "id",
	AccountID:   "account_id",
	Data:        "data",
	CreatedAt:   "created_at",
	RecoveredAt: "recovered_at",
	DeletedAt:   "deleted_at",
}
View Source
var BackupArchiveRels = struct {
	Account string
}{
	Account: "Account",
}

BackupArchiveRels is where relationship names are stored.

View Source
var BackupArchiveWhere = struct {
	ID          whereHelperstring
	AccountID   whereHelperstring
	Data        whereHelpernull_String
	CreatedAt   whereHelpertime_Time
	RecoveredAt whereHelpernull_Time
	DeletedAt   whereHelpernull_Time
}{
	ID:          whereHelperstring{/* contains filtered or unexported fields */},
	AccountID:   whereHelperstring{/* contains filtered or unexported fields */},
	Data:        whereHelpernull_String{/* contains filtered or unexported fields */},
	CreatedAt:   whereHelpertime_Time{/* contains filtered or unexported fields */},
	RecoveredAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
	DeletedAt:   whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var CryptoActionColumns = struct {
	ID                  string
	SenderIdentityID    string
	Type                string
	BoxID               string
	EncryptionPublicKey string
	Encrypted           string
	CreatedAt           string
	IdentityID          string
}{
	ID:                  "id",
	SenderIdentityID:    "sender_identity_id",
	Type:                "type",
	BoxID:               "box_id",
	EncryptionPublicKey: "encryption_public_key",
	Encrypted:           "encrypted",
	CreatedAt:           "created_at",
	IdentityID:          "identity_id",
}
View Source
var CryptoActionRels = struct {
	Identity       string
	SenderIdentity string
}{
	Identity:       "Identity",
	SenderIdentity: "SenderIdentity",
}

CryptoActionRels is where relationship names are stored.

View Source
var CryptoActionWhere = struct {
	ID                  whereHelperstring
	SenderIdentityID    whereHelpernull_String
	Type                whereHelperstring
	BoxID               whereHelpernull_String
	EncryptionPublicKey whereHelperstring
	Encrypted           whereHelperstring
	CreatedAt           whereHelpertime_Time
	IdentityID          whereHelperstring
}{
	ID:                  whereHelperstring{/* contains filtered or unexported fields */},
	SenderIdentityID:    whereHelpernull_String{/* contains filtered or unexported fields */},
	Type:                whereHelperstring{/* contains filtered or unexported fields */},
	BoxID:               whereHelpernull_String{/* contains filtered or unexported fields */},
	EncryptionPublicKey: whereHelperstring{/* contains filtered or unexported fields */},
	Encrypted:           whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:           whereHelpertime_Time{/* contains filtered or unexported fields */},
	IdentityID:          whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var CryptoProvisionColumns = struct {
	ID               string
	OrganizationID   string
	IdentityID       string
	PublicKey        string
	MisakeyKeyShare  string
	UserKeyShareHash string
	CreatedAt        string
	UpdatedAt        string
}{
	ID:               "id",
	OrganizationID:   "organization_id",
	IdentityID:       "identity_id",
	PublicKey:        "public_key",
	MisakeyKeyShare:  "misakey_key_share",
	UserKeyShareHash: "user_key_share_hash",
	CreatedAt:        "created_at",
	UpdatedAt:        "updated_at",
}
View Source
var CryptoProvisionRels = struct {
	Identity     string
	Organization string
}{
	Identity:     "Identity",
	Organization: "Organization",
}

CryptoProvisionRels is where relationship names are stored.

View Source
var CryptoProvisionWhere = struct {
	ID               whereHelperstring
	OrganizationID   whereHelperstring
	IdentityID       whereHelperstring
	PublicKey        whereHelperstring
	MisakeyKeyShare  whereHelperstring
	UserKeyShareHash whereHelpernull_String
	CreatedAt        whereHelpertime_Time
	UpdatedAt        whereHelpertime_Time
}{
	ID:               whereHelperstring{/* contains filtered or unexported fields */},
	OrganizationID:   whereHelperstring{/* contains filtered or unexported fields */},
	IdentityID:       whereHelperstring{/* contains filtered or unexported fields */},
	PublicKey:        whereHelperstring{/* contains filtered or unexported fields */},
	MisakeyKeyShare:  whereHelperstring{/* contains filtered or unexported fields */},
	UserKeyShareHash: whereHelpernull_String{/* contains filtered or unexported fields */},
	CreatedAt:        whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:        whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var DatatagColumns = struct {
	ID        string
	Name      string
	CreatedAt string
}{
	ID:        "id",
	Name:      "name",
	CreatedAt: "created_at",
}
View Source
var DatatagRels = struct {
}{}

DatatagRels is where relationship names are stored.

View Source
var DatatagWhere = struct {
	ID        whereHelperstring
	Name      whereHelperstring
	CreatedAt whereHelpertime_Time
}{
	ID:        whereHelperstring{/* contains filtered or unexported fields */},
	Name:      whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var ErrSyncFail = errors.New("sqlboiler: failed to synchronize data after insert")

ErrSyncFail occurs during insert when the record could not be retrieved in order to populate default value information. This usually happens when LastInsertId fails or there was a primary key configuration that was not resolvable.

View Source
var IdentityColumns = struct {
	ID                        string
	AccountID                 string
	DisplayName               string
	Notifications             string
	AvatarURL                 string
	CreatedAt                 string
	Color                     string
	Level                     string
	Pubkey                    string
	NonIdentifiedPubkey       string
	IdentifierKind            string
	IdentifierValue           string
	MfaMethod                 string
	PubkeyAesRsa              string
	NonIdentifiedPubkeyAesRsa string
}{
	ID:                        "id",
	AccountID:                 "account_id",
	DisplayName:               "display_name",
	Notifications:             "notifications",
	AvatarURL:                 "avatar_url",
	CreatedAt:                 "created_at",
	Color:                     "color",
	Level:                     "level",
	Pubkey:                    "pubkey",
	NonIdentifiedPubkey:       "non_identified_pubkey",
	IdentifierKind:            "identifier_kind",
	IdentifierValue:           "identifier_value",
	MfaMethod:                 "mfa_method",
	PubkeyAesRsa:              "pubkey_aes_rsa",
	NonIdentifiedPubkeyAesRsa: "non_identified_pubkey_aes_rsa",
}
View Source
var IdentityNotificationColumns = struct {
	ID             string
	IdentityID     string
	Type           string
	Details        string
	CreatedAt      string
	AcknowledgedAt string
}{
	ID:             "id",
	IdentityID:     "identity_id",
	Type:           "type",
	Details:        "details",
	CreatedAt:      "created_at",
	AcknowledgedAt: "acknowledged_at",
}
View Source
var IdentityNotificationRels = struct {
	Identity string
}{
	Identity: "Identity",
}

IdentityNotificationRels is where relationship names are stored.

View Source
var IdentityNotificationWhere = struct {
	ID             whereHelperint
	IdentityID     whereHelperstring
	Type           whereHelperstring
	Details        whereHelpernull_JSON
	CreatedAt      whereHelpertime_Time
	AcknowledgedAt whereHelpernull_Time
}{
	ID:             whereHelperint{/* contains filtered or unexported fields */},
	IdentityID:     whereHelperstring{/* contains filtered or unexported fields */},
	Type:           whereHelperstring{/* contains filtered or unexported fields */},
	Details:        whereHelpernull_JSON{/* contains filtered or unexported fields */},
	CreatedAt:      whereHelpertime_Time{/* contains filtered or unexported fields */},
	AcknowledgedAt: whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var IdentityProfileSharingConsentColumns = struct {
	ID              string
	IdentityID      string
	InformationType string
	CreatedAt       string
	RevokedAt       string
}{
	ID:              "id",
	IdentityID:      "identity_id",
	InformationType: "information_type",
	CreatedAt:       "created_at",
	RevokedAt:       "revoked_at",
}
View Source
var IdentityProfileSharingConsentRels = struct {
	Identity string
}{
	Identity: "Identity",
}

IdentityProfileSharingConsentRels is where relationship names are stored.

View Source
var IdentityProfileSharingConsentWhere = struct {
	ID              whereHelperint
	IdentityID      whereHelperstring
	InformationType whereHelperstring
	CreatedAt       whereHelpertime_Time
	RevokedAt       whereHelpernull_Time
}{
	ID:              whereHelperint{/* contains filtered or unexported fields */},
	IdentityID:      whereHelperstring{/* contains filtered or unexported fields */},
	InformationType: whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:       whereHelpertime_Time{/* contains filtered or unexported fields */},
	RevokedAt:       whereHelpernull_Time{/* contains filtered or unexported fields */},
}
View Source
var IdentityRels = struct {
	Account                        string
	TotpSecret                     string
	AuthenticationSteps            string
	CryptoActions                  string
	SenderIdentityCryptoActions    string
	CryptoProvisions               string
	IdentityNotifications          string
	IdentityProfileSharingConsents string
	CreatorOrganizations           string
	OrganizationAgents             string
	UsedCoupons                    string
	WebauthnCredentials            string
}{
	Account:                        "Account",
	TotpSecret:                     "TotpSecret",
	AuthenticationSteps:            "AuthenticationSteps",
	CryptoActions:                  "CryptoActions",
	SenderIdentityCryptoActions:    "SenderIdentityCryptoActions",
	CryptoProvisions:               "CryptoProvisions",
	IdentityNotifications:          "IdentityNotifications",
	IdentityProfileSharingConsents: "IdentityProfileSharingConsents",
	CreatorOrganizations:           "CreatorOrganizations",
	OrganizationAgents:             "OrganizationAgents",
	UsedCoupons:                    "UsedCoupons",
	WebauthnCredentials:            "WebauthnCredentials",
}

IdentityRels is where relationship names are stored.

View Source
var IdentityWhere = struct {
	ID                        whereHelperstring
	AccountID                 whereHelperstring
	DisplayName               whereHelperstring
	Notifications             whereHelperstring
	AvatarURL                 whereHelpernull_String
	CreatedAt                 whereHelpertime_Time
	Color                     whereHelpernull_String
	Level                     whereHelperint
	Pubkey                    whereHelpernull_String
	NonIdentifiedPubkey       whereHelpernull_String
	IdentifierKind            whereHelperstring
	IdentifierValue           whereHelperstring
	MfaMethod                 whereHelperstring
	PubkeyAesRsa              whereHelpernull_String
	NonIdentifiedPubkeyAesRsa whereHelpernull_String
}{
	ID:                        whereHelperstring{/* contains filtered or unexported fields */},
	AccountID:                 whereHelperstring{/* contains filtered or unexported fields */},
	DisplayName:               whereHelperstring{/* contains filtered or unexported fields */},
	Notifications:             whereHelperstring{/* contains filtered or unexported fields */},
	AvatarURL:                 whereHelpernull_String{/* contains filtered or unexported fields */},
	CreatedAt:                 whereHelpertime_Time{/* contains filtered or unexported fields */},
	Color:                     whereHelpernull_String{/* contains filtered or unexported fields */},
	Level:                     whereHelperint{/* contains filtered or unexported fields */},
	Pubkey:                    whereHelpernull_String{/* contains filtered or unexported fields */},
	NonIdentifiedPubkey:       whereHelpernull_String{/* contains filtered or unexported fields */},
	IdentifierKind:            whereHelperstring{/* contains filtered or unexported fields */},
	IdentifierValue:           whereHelperstring{/* contains filtered or unexported fields */},
	MfaMethod:                 whereHelperstring{/* contains filtered or unexported fields */},
	PubkeyAesRsa:              whereHelpernull_String{/* contains filtered or unexported fields */},
	NonIdentifiedPubkeyAesRsa: whereHelpernull_String{/* contains filtered or unexported fields */},
}
View Source
var OrganizationAgentColumns = struct {
	ID             string
	OrganizationID string
	IdentityID     string
	CreatedAt      string
}{
	ID:             "id",
	OrganizationID: "organization_id",
	IdentityID:     "identity_id",
	CreatedAt:      "created_at",
}
View Source
var OrganizationAgentRels = struct {
	Identity     string
	Organization string
}{
	Identity:     "Identity",
	Organization: "Organization",
}

OrganizationAgentRels is where relationship names are stored.

View Source
var OrganizationAgentWhere = struct {
	ID             whereHelperint
	OrganizationID whereHelperstring
	IdentityID     whereHelperstring
	CreatedAt      whereHelpertime_Time
}{
	ID:             whereHelperint{/* contains filtered or unexported fields */},
	OrganizationID: whereHelperstring{/* contains filtered or unexported fields */},
	IdentityID:     whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:      whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var OrganizationColumns = struct {
	ID        string
	Name      string
	Domain    string
	LogoURL   string
	CreatorID string
	CreatedAt string
	Slug      string
}{
	ID:        "id",
	Name:      "name",
	Domain:    "domain",
	LogoURL:   "logo_url",
	CreatorID: "creator_id",
	CreatedAt: "created_at",
	Slug:      "slug",
}
View Source
var OrganizationRels = struct {
	Creator            string
	CryptoProvisions   string
	OrganizationAgents string
}{
	Creator:            "Creator",
	CryptoProvisions:   "CryptoProvisions",
	OrganizationAgents: "OrganizationAgents",
}

OrganizationRels is where relationship names are stored.

View Source
var OrganizationWhere = struct {
	ID        whereHelperstring
	Name      whereHelperstring
	Domain    whereHelpernull_String
	LogoURL   whereHelpernull_String
	CreatorID whereHelperstring
	CreatedAt whereHelpertime_Time
	Slug      whereHelperstring
}{
	ID:        whereHelperstring{/* contains filtered or unexported fields */},
	Name:      whereHelperstring{/* contains filtered or unexported fields */},
	Domain:    whereHelpernull_String{/* contains filtered or unexported fields */},
	LogoURL:   whereHelpernull_String{/* contains filtered or unexported fields */},
	CreatorID: whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt: whereHelpertime_Time{/* contains filtered or unexported fields */},
	Slug:      whereHelperstring{/* contains filtered or unexported fields */},
}
View Source
var SecretStorageAccountRootKeyColumns = struct {
	KeyHash      string
	AccountID    string
	EncryptedKey string
	CreatedAt    string
	UpdatedAt    string
}{
	KeyHash:      "key_hash",
	AccountID:    "account_id",
	EncryptedKey: "encrypted_key",
	CreatedAt:    "created_at",
	UpdatedAt:    "updated_at",
}
View Source
var SecretStorageAccountRootKeyRels = struct {
	Account                                     string
	AccountRootKeyHashSecretStorageAsymKeys     string
	AccountRootKeyHashSecretStorageBoxKeyShares string
	AccountRootKeyHashSecretStorageVaultKeys    string
}{
	Account:                                 "Account",
	AccountRootKeyHashSecretStorageAsymKeys: "AccountRootKeyHashSecretStorageAsymKeys",
	AccountRootKeyHashSecretStorageBoxKeyShares: "AccountRootKeyHashSecretStorageBoxKeyShares",
	AccountRootKeyHashSecretStorageVaultKeys:    "AccountRootKeyHashSecretStorageVaultKeys",
}

SecretStorageAccountRootKeyRels is where relationship names are stored.

View Source
var SecretStorageAccountRootKeyWhere = struct {
	KeyHash      whereHelperstring
	AccountID    whereHelperstring
	EncryptedKey whereHelperstring
	CreatedAt    whereHelpertime_Time
	UpdatedAt    whereHelpertime_Time
}{
	KeyHash:      whereHelperstring{/* contains filtered or unexported fields */},
	AccountID:    whereHelperstring{/* contains filtered or unexported fields */},
	EncryptedKey: whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:    whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:    whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var SecretStorageAsymKeyColumns = struct {
	ID                 string
	PublicKey          string
	EncryptedSecretKey string
	AccountRootKeyHash string
	CreatedAt          string
}{
	ID:                 "id",
	PublicKey:          "public_key",
	EncryptedSecretKey: "encrypted_secret_key",
	AccountRootKeyHash: "account_root_key_hash",
	CreatedAt:          "created_at",
}
View Source
var SecretStorageAsymKeyRels = struct {
	AccountRootKeyHashSecretStorageAccountRootKey string
}{
	AccountRootKeyHashSecretStorageAccountRootKey: "AccountRootKeyHashSecretStorageAccountRootKey",
}

SecretStorageAsymKeyRels is where relationship names are stored.

View Source
var SecretStorageAsymKeyWhere = struct {
	ID                 whereHelperstring
	PublicKey          whereHelperstring
	EncryptedSecretKey whereHelperstring
	AccountRootKeyHash whereHelperstring
	CreatedAt          whereHelpertime_Time
}{
	ID:                 whereHelperstring{/* contains filtered or unexported fields */},
	PublicKey:          whereHelperstring{/* contains filtered or unexported fields */},
	EncryptedSecretKey: whereHelperstring{/* contains filtered or unexported fields */},
	AccountRootKeyHash: whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:          whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var SecretStorageBoxKeyShareColumns = struct {
	ID                       string
	InvitationShareHash      string
	EncryptedInvitationShare string
	BoxID                    string
	AccountRootKeyHash       string
	CreatedAt                string
	UpdatedAt                string
}{
	ID:                       "id",
	InvitationShareHash:      "invitation_share_hash",
	EncryptedInvitationShare: "encrypted_invitation_share",
	BoxID:                    "box_id",
	AccountRootKeyHash:       "account_root_key_hash",
	CreatedAt:                "created_at",
	UpdatedAt:                "updated_at",
}
View Source
var SecretStorageBoxKeyShareRels = struct {
	AccountRootKeyHashSecretStorageAccountRootKey string
}{
	AccountRootKeyHashSecretStorageAccountRootKey: "AccountRootKeyHashSecretStorageAccountRootKey",
}

SecretStorageBoxKeyShareRels is where relationship names are stored.

View Source
var SecretStorageBoxKeyShareWhere = struct {
	ID                       whereHelperstring
	InvitationShareHash      whereHelperstring
	EncryptedInvitationShare whereHelperstring
	BoxID                    whereHelperstring
	AccountRootKeyHash       whereHelperstring
	CreatedAt                whereHelpertime_Time
	UpdatedAt                whereHelpertime_Time
}{
	ID:                       whereHelperstring{/* contains filtered or unexported fields */},
	InvitationShareHash:      whereHelperstring{/* contains filtered or unexported fields */},
	EncryptedInvitationShare: whereHelperstring{/* contains filtered or unexported fields */},
	BoxID:                    whereHelperstring{/* contains filtered or unexported fields */},
	AccountRootKeyHash:       whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:                whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:                whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var SecretStorageVaultKeyColumns = struct {
	KeyHash            string
	AccountRootKeyHash string
	EncryptedKey       string
	CreatedAt          string
	UpdatedAt          string
}{
	KeyHash:            "key_hash",
	AccountRootKeyHash: "account_root_key_hash",
	EncryptedKey:       "encrypted_key",
	CreatedAt:          "created_at",
	UpdatedAt:          "updated_at",
}
View Source
var SecretStorageVaultKeyRels = struct {
	AccountRootKeyHashSecretStorageAccountRootKey string
}{
	AccountRootKeyHashSecretStorageAccountRootKey: "AccountRootKeyHashSecretStorageAccountRootKey",
}

SecretStorageVaultKeyRels is where relationship names are stored.

View Source
var SecretStorageVaultKeyWhere = struct {
	KeyHash            whereHelperstring
	AccountRootKeyHash whereHelperstring
	EncryptedKey       whereHelperstring
	CreatedAt          whereHelpertime_Time
	UpdatedAt          whereHelpertime_Time
}{
	KeyHash:            whereHelperstring{/* contains filtered or unexported fields */},
	AccountRootKeyHash: whereHelperstring{/* contains filtered or unexported fields */},
	EncryptedKey:       whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:          whereHelpertime_Time{/* contains filtered or unexported fields */},
	UpdatedAt:          whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var TableNames = struct {
	Account                       string
	AuthenticationStep            string
	BackupArchive                 string
	CryptoAction                  string
	CryptoProvision               string
	Datatag                       string
	Identity                      string
	IdentityNotification          string
	IdentityProfileSharingConsent string
	Organization                  string
	OrganizationAgent             string
	SecretStorageAccountRootKey   string
	SecretStorageAsymKey          string
	SecretStorageBoxKeyShare      string
	SecretStorageVaultKey         string
	TotpSecret                    string
	UsedCoupon                    string
	WebauthnCredential            string
}{
	Account:                       "account",
	AuthenticationStep:            "authentication_step",
	BackupArchive:                 "backup_archive",
	CryptoAction:                  "crypto_action",
	CryptoProvision:               "crypto_provision",
	Datatag:                       "datatag",
	Identity:                      "identity",
	IdentityNotification:          "identity_notification",
	IdentityProfileSharingConsent: "identity_profile_sharing_consent",
	Organization:                  "organization",
	OrganizationAgent:             "organization_agent",
	SecretStorageAccountRootKey:   "secret_storage_account_root_key",
	SecretStorageAsymKey:          "secret_storage_asym_key",
	SecretStorageBoxKeyShare:      "secret_storage_box_key_share",
	SecretStorageVaultKey:         "secret_storage_vault_key",
	TotpSecret:                    "totp_secret",
	UsedCoupon:                    "used_coupon",
	WebauthnCredential:            "webauthn_credential",
}
View Source
var TotpSecretColumns = struct {
	ID         string
	IdentityID string
	Secret     string
	Backup     string
	CreatedAt  string
}{
	ID:         "id",
	IdentityID: "identity_id",
	Secret:     "secret",
	Backup:     "backup",
	CreatedAt:  "created_at",
}
View Source
var TotpSecretRels = struct {
	Identity string
}{
	Identity: "Identity",
}

TotpSecretRels is where relationship names are stored.

View Source
var TotpSecretWhere = struct {
	ID         whereHelperint
	IdentityID whereHelperstring
	Secret     whereHelperstring
	Backup     whereHelpertypes_StringArray
	CreatedAt  whereHelpertime_Time
}{
	ID:         whereHelperint{/* contains filtered or unexported fields */},
	IdentityID: whereHelperstring{/* contains filtered or unexported fields */},
	Secret:     whereHelperstring{/* contains filtered or unexported fields */},
	Backup:     whereHelpertypes_StringArray{/* contains filtered or unexported fields */},
	CreatedAt:  whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var UsedCouponColumns = struct {
	ID         string
	IdentityID string
	Value      string
	CreatedAt  string
}{
	ID:         "id",
	IdentityID: "identity_id",
	Value:      "value",
	CreatedAt:  "created_at",
}
View Source
var UsedCouponRels = struct {
	Identity string
}{
	Identity: "Identity",
}

UsedCouponRels is where relationship names are stored.

View Source
var UsedCouponWhere = struct {
	ID         whereHelperint
	IdentityID whereHelperstring
	Value      whereHelperstring
	CreatedAt  whereHelpertime_Time
}{
	ID:         whereHelperint{/* contains filtered or unexported fields */},
	IdentityID: whereHelperstring{/* contains filtered or unexported fields */},
	Value:      whereHelperstring{/* contains filtered or unexported fields */},
	CreatedAt:  whereHelpertime_Time{/* contains filtered or unexported fields */},
}
View Source
var WebauthnCredentialColumns = struct {
	ID              string
	Name            string
	IdentityID      string
	PublicKey       string
	AttestationType string
	Aaguid          string
	SignCount       string
	CloneWarning    string
	CreatedAt       string
}{
	ID:              "id",
	Name:            "name",
	IdentityID:      "identity_id",
	PublicKey:       "public_key",
	AttestationType: "attestation_type",
	Aaguid:          "aaguid",
	SignCount:       "sign_count",
	CloneWarning:    "clone_warning",
	CreatedAt:       "created_at",
}
View Source
var WebauthnCredentialRels = struct {
	Identity string
}{
	Identity: "Identity",
}

WebauthnCredentialRels is where relationship names are stored.

View Source
var WebauthnCredentialWhere = struct {
	ID              whereHelperstring
	Name            whereHelperstring
	IdentityID      whereHelperstring
	PublicKey       whereHelper__byte
	AttestationType whereHelperstring
	Aaguid          whereHelper__byte
	SignCount       whereHelperint
	CloneWarning    whereHelperbool
	CreatedAt       whereHelpertime_Time
}{
	ID:              whereHelperstring{/* contains filtered or unexported fields */},
	Name:            whereHelperstring{/* contains filtered or unexported fields */},
	IdentityID:      whereHelperstring{/* contains filtered or unexported fields */},
	PublicKey:       whereHelper__byte{/* contains filtered or unexported fields */},
	AttestationType: whereHelperstring{/* contains filtered or unexported fields */},
	Aaguid:          whereHelper__byte{/* contains filtered or unexported fields */},
	SignCount:       whereHelperint{/* contains filtered or unexported fields */},
	CloneWarning:    whereHelperbool{/* contains filtered or unexported fields */},
	CreatedAt:       whereHelpertime_Time{/* contains filtered or unexported fields */},
}

Functions

func AccountExists

func AccountExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

AccountExists checks if the Account row exists.

func Accounts

func Accounts(mods ...qm.QueryMod) accountQuery

Accounts retrieves all the records using an executor.

func AuthenticationStepExists

func AuthenticationStepExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

AuthenticationStepExists checks if the AuthenticationStep row exists.

func AuthenticationSteps

func AuthenticationSteps(mods ...qm.QueryMod) authenticationStepQuery

AuthenticationSteps retrieves all the records using an executor.

func BackupArchiveExists

func BackupArchiveExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

BackupArchiveExists checks if the BackupArchive row exists.

func BackupArchives

func BackupArchives(mods ...qm.QueryMod) backupArchiveQuery

BackupArchives retrieves all the records using an executor.

func CryptoActionExists

func CryptoActionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

CryptoActionExists checks if the CryptoAction row exists.

func CryptoActions

func CryptoActions(mods ...qm.QueryMod) cryptoActionQuery

CryptoActions retrieves all the records using an executor.

func CryptoProvisionExists

func CryptoProvisionExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

CryptoProvisionExists checks if the CryptoProvision row exists.

func CryptoProvisions

func CryptoProvisions(mods ...qm.QueryMod) cryptoProvisionQuery

CryptoProvisions retrieves all the records using an executor.

func DatatagExists

func DatatagExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

DatatagExists checks if the Datatag row exists.

func Datatags

func Datatags(mods ...qm.QueryMod) datatagQuery

Datatags retrieves all the records using an executor.

func Identities

func Identities(mods ...qm.QueryMod) identityQuery

Identities retrieves all the records using an executor.

func IdentityExists

func IdentityExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

IdentityExists checks if the Identity row exists.

func IdentityNotificationExists

func IdentityNotificationExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

IdentityNotificationExists checks if the IdentityNotification row exists.

func IdentityNotifications

func IdentityNotifications(mods ...qm.QueryMod) identityNotificationQuery

IdentityNotifications retrieves all the records using an executor.

func IdentityProfileSharingConsentExists

func IdentityProfileSharingConsentExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

IdentityProfileSharingConsentExists checks if the IdentityProfileSharingConsent row exists.

func IdentityProfileSharingConsents

func IdentityProfileSharingConsents(mods ...qm.QueryMod) identityProfileSharingConsentQuery

IdentityProfileSharingConsents retrieves all the records using an executor.

func NewQuery

func NewQuery(mods ...qm.QueryMod) *queries.Query

NewQuery initializes a new Query using the passed in QueryMods

func OrganizationAgentExists

func OrganizationAgentExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

OrganizationAgentExists checks if the OrganizationAgent row exists.

func OrganizationAgents

func OrganizationAgents(mods ...qm.QueryMod) organizationAgentQuery

OrganizationAgents retrieves all the records using an executor.

func OrganizationExists

func OrganizationExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

OrganizationExists checks if the Organization row exists.

func Organizations

func Organizations(mods ...qm.QueryMod) organizationQuery

Organizations retrieves all the records using an executor.

func SecretStorageAccountRootKeyExists

func SecretStorageAccountRootKeyExists(ctx context.Context, exec boil.ContextExecutor, keyHash string) (bool, error)

SecretStorageAccountRootKeyExists checks if the SecretStorageAccountRootKey row exists.

func SecretStorageAccountRootKeys

func SecretStorageAccountRootKeys(mods ...qm.QueryMod) secretStorageAccountRootKeyQuery

SecretStorageAccountRootKeys retrieves all the records using an executor.

func SecretStorageAsymKeyExists

func SecretStorageAsymKeyExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

SecretStorageAsymKeyExists checks if the SecretStorageAsymKey row exists.

func SecretStorageAsymKeys

func SecretStorageAsymKeys(mods ...qm.QueryMod) secretStorageAsymKeyQuery

SecretStorageAsymKeys retrieves all the records using an executor.

func SecretStorageBoxKeyShareExists

func SecretStorageBoxKeyShareExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

SecretStorageBoxKeyShareExists checks if the SecretStorageBoxKeyShare row exists.

func SecretStorageBoxKeyShares

func SecretStorageBoxKeyShares(mods ...qm.QueryMod) secretStorageBoxKeyShareQuery

SecretStorageBoxKeyShares retrieves all the records using an executor.

func SecretStorageVaultKeyExists

func SecretStorageVaultKeyExists(ctx context.Context, exec boil.ContextExecutor, keyHash string) (bool, error)

SecretStorageVaultKeyExists checks if the SecretStorageVaultKey row exists.

func SecretStorageVaultKeys

func SecretStorageVaultKeys(mods ...qm.QueryMod) secretStorageVaultKeyQuery

SecretStorageVaultKeys retrieves all the records using an executor.

func TotpSecretExists

func TotpSecretExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

TotpSecretExists checks if the TotpSecret row exists.

func TotpSecrets

func TotpSecrets(mods ...qm.QueryMod) totpSecretQuery

TotpSecrets retrieves all the records using an executor.

func UsedCouponExists

func UsedCouponExists(ctx context.Context, exec boil.ContextExecutor, iD int) (bool, error)

UsedCouponExists checks if the UsedCoupon row exists.

func UsedCoupons

func UsedCoupons(mods ...qm.QueryMod) usedCouponQuery

UsedCoupons retrieves all the records using an executor.

func WebauthnCredentialExists

func WebauthnCredentialExists(ctx context.Context, exec boil.ContextExecutor, iD string) (bool, error)

WebauthnCredentialExists checks if the WebauthnCredential row exists.

func WebauthnCredentials

func WebauthnCredentials(mods ...qm.QueryMod) webauthnCredentialQuery

WebauthnCredentials retrieves all the records using an executor.

Types

type Account

type Account struct {
	ID            string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	Password      string    `boil:"password" json:"password" toml:"password" yaml:"password"`
	BackupData    string    `boil:"backup_data" json:"backup_data" toml:"backup_data" yaml:"backup_data"`
	BackupVersion int       `boil:"backup_version" json:"backup_version" toml:"backup_version" yaml:"backup_version"`
	CreatedAt     time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *accountR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L accountL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Account is an object representing the database table.

func FindAccount

func FindAccount(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Account, error)

FindAccount retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Account) AddBackupArchives

func (o *Account) AddBackupArchives(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*BackupArchive) error

AddBackupArchives adds the given related objects to the existing relationships of the account, optionally inserting them as new records. Appends related to o.R.BackupArchives. Sets related.R.Account appropriately.

func (*Account) AddIdentities

func (o *Account) AddIdentities(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Identity) error

AddIdentities adds the given related objects to the existing relationships of the account, optionally inserting them as new records. Appends related to o.R.Identities. Sets related.R.Account appropriately.

func (*Account) AddSecretStorageAccountRootKeys

func (o *Account) AddSecretStorageAccountRootKeys(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*SecretStorageAccountRootKey) error

AddSecretStorageAccountRootKeys adds the given related objects to the existing relationships of the account, optionally inserting them as new records. Appends related to o.R.SecretStorageAccountRootKeys. Sets related.R.Account appropriately.

func (*Account) BackupArchives

func (o *Account) BackupArchives(mods ...qm.QueryMod) backupArchiveQuery

BackupArchives retrieves all the backup_archive's BackupArchives with an executor.

func (*Account) Delete

func (o *Account) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Account record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Account) Identities

func (o *Account) Identities(mods ...qm.QueryMod) identityQuery

Identities retrieves all the identity's Identities with an executor.

func (*Account) Insert

func (o *Account) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Account) Reload

func (o *Account) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Account) SecretStorageAccountRootKeys

func (o *Account) SecretStorageAccountRootKeys(mods ...qm.QueryMod) secretStorageAccountRootKeyQuery

SecretStorageAccountRootKeys retrieves all the secret_storage_account_root_key's SecretStorageAccountRootKeys with an executor.

func (*Account) Update

func (o *Account) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Account. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Account) Upsert

func (o *Account) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type AccountSlice

type AccountSlice []*Account

AccountSlice is an alias for a slice of pointers to Account. This should generally be used opposed to []Account.

func (AccountSlice) DeleteAll

func (o AccountSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*AccountSlice) ReloadAll

func (o *AccountSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AccountSlice) UpdateAll

func (o AccountSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type AuthenticationStep

type AuthenticationStep struct {
	ID         int        `boil:"id" json:"id" toml:"id" yaml:"id"`
	IdentityID string     `boil:"identity_id" json:"identity_id" toml:"identity_id" yaml:"identity_id"`
	MethodName string     `boil:"method_name" json:"method_name" toml:"method_name" yaml:"method_name"`
	Metadata   types.JSON `boil:"metadata" json:"metadata" toml:"metadata" yaml:"metadata"`
	CreatedAt  time.Time  `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	CompleteAt null.Time  `boil:"complete_at" json:"complete_at,omitempty" toml:"complete_at" yaml:"complete_at,omitempty"`

	R *authenticationStepR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L authenticationStepL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

AuthenticationStep is an object representing the database table.

func FindAuthenticationStep

func FindAuthenticationStep(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*AuthenticationStep, error)

FindAuthenticationStep retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*AuthenticationStep) Delete

Delete deletes a single AuthenticationStep record with an executor. Delete will match against the primary key column to find the record to delete.

func (*AuthenticationStep) Identity

func (o *AuthenticationStep) Identity(mods ...qm.QueryMod) identityQuery

Identity pointed to by the foreign key.

func (*AuthenticationStep) Insert

func (o *AuthenticationStep) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*AuthenticationStep) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*AuthenticationStep) SetIdentity

func (o *AuthenticationStep) SetIdentity(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Identity) error

SetIdentity of the authenticationStep to the related item. Sets o.R.Identity to related. Adds o to related.R.AuthenticationSteps.

func (*AuthenticationStep) Update

func (o *AuthenticationStep) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the AuthenticationStep. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*AuthenticationStep) Upsert

func (o *AuthenticationStep) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type AuthenticationStepSlice

type AuthenticationStepSlice []*AuthenticationStep

AuthenticationStepSlice is an alias for a slice of pointers to AuthenticationStep. This should generally be used opposed to []AuthenticationStep.

func (AuthenticationStepSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*AuthenticationStepSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (AuthenticationStepSlice) UpdateAll

func (o AuthenticationStepSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type BackupArchive

type BackupArchive struct {
	ID          string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	AccountID   string      `boil:"account_id" json:"account_id" toml:"account_id" yaml:"account_id"`
	Data        null.String `boil:"data" json:"data,omitempty" toml:"data" yaml:"data,omitempty"`
	CreatedAt   time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	RecoveredAt null.Time   `boil:"recovered_at" json:"recovered_at,omitempty" toml:"recovered_at" yaml:"recovered_at,omitempty"`
	DeletedAt   null.Time   `boil:"deleted_at" json:"deleted_at,omitempty" toml:"deleted_at" yaml:"deleted_at,omitempty"`

	R *backupArchiveR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L backupArchiveL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

BackupArchive is an object representing the database table.

func FindBackupArchive

func FindBackupArchive(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*BackupArchive, error)

FindBackupArchive retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*BackupArchive) Account

func (o *BackupArchive) Account(mods ...qm.QueryMod) accountQuery

Account pointed to by the foreign key.

func (*BackupArchive) Delete

func (o *BackupArchive) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single BackupArchive record with an executor. Delete will match against the primary key column to find the record to delete.

func (*BackupArchive) Insert

func (o *BackupArchive) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*BackupArchive) Reload

func (o *BackupArchive) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*BackupArchive) SetAccount

func (o *BackupArchive) SetAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Account) error

SetAccount of the backupArchive to the related item. Sets o.R.Account to related. Adds o to related.R.BackupArchives.

func (*BackupArchive) Update

func (o *BackupArchive) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the BackupArchive. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*BackupArchive) Upsert

func (o *BackupArchive) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type BackupArchiveSlice

type BackupArchiveSlice []*BackupArchive

BackupArchiveSlice is an alias for a slice of pointers to BackupArchive. This should generally be used opposed to []BackupArchive.

func (BackupArchiveSlice) DeleteAll

func (o BackupArchiveSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*BackupArchiveSlice) ReloadAll

func (o *BackupArchiveSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (BackupArchiveSlice) UpdateAll

func (o BackupArchiveSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type CryptoAction

type CryptoAction struct {
	ID                  string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	SenderIdentityID    null.String `boil:"sender_identity_id" json:"sender_identity_id,omitempty" toml:"sender_identity_id" yaml:"sender_identity_id,omitempty"`
	Type                string      `boil:"type" json:"type" toml:"type" yaml:"type"`
	BoxID               null.String `boil:"box_id" json:"box_id,omitempty" toml:"box_id" yaml:"box_id,omitempty"`
	EncryptionPublicKey string      `boil:"encryption_public_key" json:"encryption_public_key" toml:"encryption_public_key" yaml:"encryption_public_key"`
	Encrypted           string      `boil:"encrypted" json:"encrypted" toml:"encrypted" yaml:"encrypted"`
	CreatedAt           time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	IdentityID          string      `boil:"identity_id" json:"identity_id" toml:"identity_id" yaml:"identity_id"`

	R *cryptoActionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L cryptoActionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

CryptoAction is an object representing the database table.

func FindCryptoAction

func FindCryptoAction(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*CryptoAction, error)

FindCryptoAction retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*CryptoAction) Delete

func (o *CryptoAction) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single CryptoAction record with an executor. Delete will match against the primary key column to find the record to delete.

func (*CryptoAction) Identity

func (o *CryptoAction) Identity(mods ...qm.QueryMod) identityQuery

Identity pointed to by the foreign key.

func (*CryptoAction) Insert

func (o *CryptoAction) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*CryptoAction) Reload

func (o *CryptoAction) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*CryptoAction) RemoveSenderIdentity

func (o *CryptoAction) RemoveSenderIdentity(ctx context.Context, exec boil.ContextExecutor, related *Identity) error

RemoveSenderIdentity relationship. Sets o.R.SenderIdentity to nil. Removes o from all passed in related items' relationships struct (Optional).

func (*CryptoAction) SenderIdentity

func (o *CryptoAction) SenderIdentity(mods ...qm.QueryMod) identityQuery

SenderIdentity pointed to by the foreign key.

func (*CryptoAction) SetIdentity

func (o *CryptoAction) SetIdentity(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Identity) error

SetIdentity of the cryptoAction to the related item. Sets o.R.Identity to related. Adds o to related.R.CryptoActions.

func (*CryptoAction) SetSenderIdentity

func (o *CryptoAction) SetSenderIdentity(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Identity) error

SetSenderIdentity of the cryptoAction to the related item. Sets o.R.SenderIdentity to related. Adds o to related.R.SenderIdentityCryptoActions.

func (*CryptoAction) Update

func (o *CryptoAction) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the CryptoAction. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*CryptoAction) Upsert

func (o *CryptoAction) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type CryptoActionSlice

type CryptoActionSlice []*CryptoAction

CryptoActionSlice is an alias for a slice of pointers to CryptoAction. This should generally be used opposed to []CryptoAction.

func (CryptoActionSlice) DeleteAll

func (o CryptoActionSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*CryptoActionSlice) ReloadAll

func (o *CryptoActionSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (CryptoActionSlice) UpdateAll

func (o CryptoActionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type CryptoProvision

type CryptoProvision struct {
	ID               string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	OrganizationID   string      `boil:"organization_id" json:"organization_id" toml:"organization_id" yaml:"organization_id"`
	IdentityID       string      `boil:"identity_id" json:"identity_id" toml:"identity_id" yaml:"identity_id"`
	PublicKey        string      `boil:"public_key" json:"public_key" toml:"public_key" yaml:"public_key"`
	MisakeyKeyShare  string      `boil:"misakey_key_share" json:"misakey_key_share" toml:"misakey_key_share" yaml:"misakey_key_share"`
	UserKeyShareHash null.String `` /* 127-byte string literal not displayed */
	CreatedAt        time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt        time.Time   `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *cryptoProvisionR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L cryptoProvisionL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

CryptoProvision is an object representing the database table.

func FindCryptoProvision

func FindCryptoProvision(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*CryptoProvision, error)

FindCryptoProvision retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*CryptoProvision) Delete

func (o *CryptoProvision) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single CryptoProvision record with an executor. Delete will match against the primary key column to find the record to delete.

func (*CryptoProvision) Identity

func (o *CryptoProvision) Identity(mods ...qm.QueryMod) identityQuery

Identity pointed to by the foreign key.

func (*CryptoProvision) Insert

func (o *CryptoProvision) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*CryptoProvision) Organization

func (o *CryptoProvision) Organization(mods ...qm.QueryMod) organizationQuery

Organization pointed to by the foreign key.

func (*CryptoProvision) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*CryptoProvision) SetIdentity

func (o *CryptoProvision) SetIdentity(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Identity) error

SetIdentity of the cryptoProvision to the related item. Sets o.R.Identity to related. Adds o to related.R.CryptoProvisions.

func (*CryptoProvision) SetOrganization

func (o *CryptoProvision) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Organization) error

SetOrganization of the cryptoProvision to the related item. Sets o.R.Organization to related. Adds o to related.R.CryptoProvisions.

func (*CryptoProvision) Update

func (o *CryptoProvision) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the CryptoProvision. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*CryptoProvision) Upsert

func (o *CryptoProvision) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type CryptoProvisionSlice

type CryptoProvisionSlice []*CryptoProvision

CryptoProvisionSlice is an alias for a slice of pointers to CryptoProvision. This should generally be used opposed to []CryptoProvision.

func (CryptoProvisionSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*CryptoProvisionSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (CryptoProvisionSlice) UpdateAll

func (o CryptoProvisionSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type Datatag

type Datatag struct {
	ID        string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name      string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	CreatedAt time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *datatagR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L datatagL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Datatag is an object representing the database table.

func FindDatatag

func FindDatatag(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Datatag, error)

FindDatatag retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Datatag) Delete

func (o *Datatag) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Datatag record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Datatag) Insert

func (o *Datatag) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Datatag) Reload

func (o *Datatag) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Datatag) Update

func (o *Datatag) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Datatag. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Datatag) Upsert

func (o *Datatag) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type DatatagSlice

type DatatagSlice []*Datatag

DatatagSlice is an alias for a slice of pointers to Datatag. This should generally be used opposed to []Datatag.

func (DatatagSlice) DeleteAll

func (o DatatagSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*DatatagSlice) ReloadAll

func (o *DatatagSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (DatatagSlice) UpdateAll

func (o DatatagSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type Identity

type Identity struct {
	ID                        string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	AccountID                 string      `boil:"account_id" json:"account_id" toml:"account_id" yaml:"account_id"`
	DisplayName               string      `boil:"display_name" json:"display_name" toml:"display_name" yaml:"display_name"`
	Notifications             string      `boil:"notifications" json:"notifications" toml:"notifications" yaml:"notifications"`
	AvatarURL                 null.String `boil:"avatar_url" json:"avatar_url,omitempty" toml:"avatar_url" yaml:"avatar_url,omitempty"`
	CreatedAt                 time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	Color                     null.String `boil:"color" json:"color,omitempty" toml:"color" yaml:"color,omitempty"`
	Level                     int         `boil:"level" json:"level" toml:"level" yaml:"level"`
	Pubkey                    null.String `boil:"pubkey" json:"pubkey,omitempty" toml:"pubkey" yaml:"pubkey,omitempty"`
	NonIdentifiedPubkey       null.String `` /* 135-byte string literal not displayed */
	IdentifierKind            string      `boil:"identifier_kind" json:"identifier_kind" toml:"identifier_kind" yaml:"identifier_kind"`
	IdentifierValue           string      `boil:"identifier_value" json:"identifier_value" toml:"identifier_value" yaml:"identifier_value"`
	MfaMethod                 string      `boil:"mfa_method" json:"mfa_method" toml:"mfa_method" yaml:"mfa_method"`
	PubkeyAesRsa              null.String `boil:"pubkey_aes_rsa" json:"pubkey_aes_rsa,omitempty" toml:"pubkey_aes_rsa" yaml:"pubkey_aes_rsa,omitempty"`
	NonIdentifiedPubkeyAesRsa null.String `` /* 167-byte string literal not displayed */

	R *identityR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L identityL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Identity is an object representing the database table.

func FindIdentity

func FindIdentity(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Identity, error)

FindIdentity retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Identity) Account

func (o *Identity) Account(mods ...qm.QueryMod) accountQuery

Account pointed to by the foreign key.

func (*Identity) AddAuthenticationSteps

func (o *Identity) AddAuthenticationSteps(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*AuthenticationStep) error

AddAuthenticationSteps adds the given related objects to the existing relationships of the identity, optionally inserting them as new records. Appends related to o.R.AuthenticationSteps. Sets related.R.Identity appropriately.

func (*Identity) AddCreatorOrganizations

func (o *Identity) AddCreatorOrganizations(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*Organization) error

AddCreatorOrganizations adds the given related objects to the existing relationships of the identity, optionally inserting them as new records. Appends related to o.R.CreatorOrganizations. Sets related.R.Creator appropriately.

func (*Identity) AddCryptoActions

func (o *Identity) AddCryptoActions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*CryptoAction) error

AddCryptoActions adds the given related objects to the existing relationships of the identity, optionally inserting them as new records. Appends related to o.R.CryptoActions. Sets related.R.Identity appropriately.

func (*Identity) AddCryptoProvisions

func (o *Identity) AddCryptoProvisions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*CryptoProvision) error

AddCryptoProvisions adds the given related objects to the existing relationships of the identity, optionally inserting them as new records. Appends related to o.R.CryptoProvisions. Sets related.R.Identity appropriately.

func (*Identity) AddIdentityNotifications

func (o *Identity) AddIdentityNotifications(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*IdentityNotification) error

AddIdentityNotifications adds the given related objects to the existing relationships of the identity, optionally inserting them as new records. Appends related to o.R.IdentityNotifications. Sets related.R.Identity appropriately.

func (*Identity) AddIdentityProfileSharingConsents

func (o *Identity) AddIdentityProfileSharingConsents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*IdentityProfileSharingConsent) error

AddIdentityProfileSharingConsents adds the given related objects to the existing relationships of the identity, optionally inserting them as new records. Appends related to o.R.IdentityProfileSharingConsents. Sets related.R.Identity appropriately.

func (*Identity) AddOrganizationAgents

func (o *Identity) AddOrganizationAgents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*OrganizationAgent) error

AddOrganizationAgents adds the given related objects to the existing relationships of the identity, optionally inserting them as new records. Appends related to o.R.OrganizationAgents. Sets related.R.Identity appropriately.

func (*Identity) AddSenderIdentityCryptoActions

func (o *Identity) AddSenderIdentityCryptoActions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*CryptoAction) error

AddSenderIdentityCryptoActions adds the given related objects to the existing relationships of the identity, optionally inserting them as new records. Appends related to o.R.SenderIdentityCryptoActions. Sets related.R.SenderIdentity appropriately.

func (*Identity) AddUsedCoupons

func (o *Identity) AddUsedCoupons(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*UsedCoupon) error

AddUsedCoupons adds the given related objects to the existing relationships of the identity, optionally inserting them as new records. Appends related to o.R.UsedCoupons. Sets related.R.Identity appropriately.

func (*Identity) AddWebauthnCredentials

func (o *Identity) AddWebauthnCredentials(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*WebauthnCredential) error

AddWebauthnCredentials adds the given related objects to the existing relationships of the identity, optionally inserting them as new records. Appends related to o.R.WebauthnCredentials. Sets related.R.Identity appropriately.

func (*Identity) AuthenticationSteps

func (o *Identity) AuthenticationSteps(mods ...qm.QueryMod) authenticationStepQuery

AuthenticationSteps retrieves all the authentication_step's AuthenticationSteps with an executor.

func (*Identity) CreatorOrganizations

func (o *Identity) CreatorOrganizations(mods ...qm.QueryMod) organizationQuery

CreatorOrganizations retrieves all the organization's Organizations with an executor via creator_id column.

func (*Identity) CryptoActions

func (o *Identity) CryptoActions(mods ...qm.QueryMod) cryptoActionQuery

CryptoActions retrieves all the crypto_action's CryptoActions with an executor.

func (*Identity) CryptoProvisions

func (o *Identity) CryptoProvisions(mods ...qm.QueryMod) cryptoProvisionQuery

CryptoProvisions retrieves all the crypto_provision's CryptoProvisions with an executor.

func (*Identity) Delete

func (o *Identity) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Identity record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Identity) IdentityNotifications

func (o *Identity) IdentityNotifications(mods ...qm.QueryMod) identityNotificationQuery

IdentityNotifications retrieves all the identity_notification's IdentityNotifications with an executor.

func (*Identity) IdentityProfileSharingConsents

func (o *Identity) IdentityProfileSharingConsents(mods ...qm.QueryMod) identityProfileSharingConsentQuery

IdentityProfileSharingConsents retrieves all the identity_profile_sharing_consent's IdentityProfileSharingConsents with an executor.

func (*Identity) Insert

func (o *Identity) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Identity) OrganizationAgents

func (o *Identity) OrganizationAgents(mods ...qm.QueryMod) organizationAgentQuery

OrganizationAgents retrieves all the organization_agent's OrganizationAgents with an executor.

func (*Identity) Reload

func (o *Identity) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Identity) RemoveSenderIdentityCryptoActions

func (o *Identity) RemoveSenderIdentityCryptoActions(ctx context.Context, exec boil.ContextExecutor, related ...*CryptoAction) error

RemoveSenderIdentityCryptoActions relationships from objects passed in. Removes related items from R.SenderIdentityCryptoActions (uses pointer comparison, removal does not keep order) Sets related.R.SenderIdentity.

func (*Identity) SenderIdentityCryptoActions

func (o *Identity) SenderIdentityCryptoActions(mods ...qm.QueryMod) cryptoActionQuery

SenderIdentityCryptoActions retrieves all the crypto_action's CryptoActions with an executor via sender_identity_id column.

func (*Identity) SetAccount

func (o *Identity) SetAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Account) error

SetAccount of the identity to the related item. Sets o.R.Account to related. Adds o to related.R.Identities.

func (*Identity) SetSenderIdentityCryptoActions

func (o *Identity) SetSenderIdentityCryptoActions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*CryptoAction) error

SetSenderIdentityCryptoActions removes all previously related items of the identity replacing them completely with the passed in related items, optionally inserting them as new records. Sets o.R.SenderIdentity's SenderIdentityCryptoActions accordingly. Replaces o.R.SenderIdentityCryptoActions with related. Sets related.R.SenderIdentity's SenderIdentityCryptoActions accordingly.

func (*Identity) SetTotpSecret

func (o *Identity) SetTotpSecret(ctx context.Context, exec boil.ContextExecutor, insert bool, related *TotpSecret) error

SetTotpSecret of the identity to the related item. Sets o.R.TotpSecret to related. Adds o to related.R.Identity.

func (*Identity) TotpSecret

func (o *Identity) TotpSecret(mods ...qm.QueryMod) totpSecretQuery

TotpSecret pointed to by the foreign key.

func (*Identity) Update

func (o *Identity) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Identity. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Identity) Upsert

func (o *Identity) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

func (*Identity) UsedCoupons

func (o *Identity) UsedCoupons(mods ...qm.QueryMod) usedCouponQuery

UsedCoupons retrieves all the used_coupon's UsedCoupons with an executor.

func (*Identity) WebauthnCredentials

func (o *Identity) WebauthnCredentials(mods ...qm.QueryMod) webauthnCredentialQuery

WebauthnCredentials retrieves all the webauthn_credential's WebauthnCredentials with an executor.

type IdentityNotification

type IdentityNotification struct {
	ID             int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	IdentityID     string    `boil:"identity_id" json:"identity_id" toml:"identity_id" yaml:"identity_id"`
	Type           string    `boil:"type" json:"type" toml:"type" yaml:"type"`
	Details        null.JSON `boil:"details" json:"details,omitempty" toml:"details" yaml:"details,omitempty"`
	CreatedAt      time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	AcknowledgedAt null.Time `boil:"acknowledged_at" json:"acknowledged_at,omitempty" toml:"acknowledged_at" yaml:"acknowledged_at,omitempty"`

	R *identityNotificationR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L identityNotificationL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

IdentityNotification is an object representing the database table.

func FindIdentityNotification

func FindIdentityNotification(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*IdentityNotification, error)

FindIdentityNotification retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*IdentityNotification) Delete

Delete deletes a single IdentityNotification record with an executor. Delete will match against the primary key column to find the record to delete.

func (*IdentityNotification) Identity

func (o *IdentityNotification) Identity(mods ...qm.QueryMod) identityQuery

Identity pointed to by the foreign key.

func (*IdentityNotification) Insert

func (o *IdentityNotification) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*IdentityNotification) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*IdentityNotification) SetIdentity

func (o *IdentityNotification) SetIdentity(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Identity) error

SetIdentity of the identityNotification to the related item. Sets o.R.Identity to related. Adds o to related.R.IdentityNotifications.

func (*IdentityNotification) Update

func (o *IdentityNotification) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the IdentityNotification. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*IdentityNotification) Upsert

func (o *IdentityNotification) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type IdentityNotificationSlice

type IdentityNotificationSlice []*IdentityNotification

IdentityNotificationSlice is an alias for a slice of pointers to IdentityNotification. This should generally be used opposed to []IdentityNotification.

func (IdentityNotificationSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*IdentityNotificationSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (IdentityNotificationSlice) UpdateAll

func (o IdentityNotificationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type IdentityProfileSharingConsent

type IdentityProfileSharingConsent struct {
	ID              int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	IdentityID      string    `boil:"identity_id" json:"identity_id" toml:"identity_id" yaml:"identity_id"`
	InformationType string    `boil:"information_type" json:"information_type" toml:"information_type" yaml:"information_type"`
	CreatedAt       time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	RevokedAt       null.Time `boil:"revoked_at" json:"revoked_at,omitempty" toml:"revoked_at" yaml:"revoked_at,omitempty"`

	R *identityProfileSharingConsentR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L identityProfileSharingConsentL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

IdentityProfileSharingConsent is an object representing the database table.

func FindIdentityProfileSharingConsent

func FindIdentityProfileSharingConsent(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*IdentityProfileSharingConsent, error)

FindIdentityProfileSharingConsent retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*IdentityProfileSharingConsent) Delete

Delete deletes a single IdentityProfileSharingConsent record with an executor. Delete will match against the primary key column to find the record to delete.

func (*IdentityProfileSharingConsent) Identity

func (o *IdentityProfileSharingConsent) Identity(mods ...qm.QueryMod) identityQuery

Identity pointed to by the foreign key.

func (*IdentityProfileSharingConsent) Insert

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*IdentityProfileSharingConsent) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*IdentityProfileSharingConsent) SetIdentity

func (o *IdentityProfileSharingConsent) SetIdentity(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Identity) error

SetIdentity of the identityProfileSharingConsent to the related item. Sets o.R.Identity to related. Adds o to related.R.IdentityProfileSharingConsents.

func (*IdentityProfileSharingConsent) Update

Update uses an executor to update the IdentityProfileSharingConsent. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*IdentityProfileSharingConsent) Upsert

func (o *IdentityProfileSharingConsent) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type IdentityProfileSharingConsentSlice

type IdentityProfileSharingConsentSlice []*IdentityProfileSharingConsent

IdentityProfileSharingConsentSlice is an alias for a slice of pointers to IdentityProfileSharingConsent. This should generally be used opposed to []IdentityProfileSharingConsent.

func (IdentityProfileSharingConsentSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*IdentityProfileSharingConsentSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (IdentityProfileSharingConsentSlice) UpdateAll

UpdateAll updates all rows with the specified column values, using an executor.

type IdentitySlice

type IdentitySlice []*Identity

IdentitySlice is an alias for a slice of pointers to Identity. This should generally be used opposed to []Identity.

func (IdentitySlice) DeleteAll

func (o IdentitySlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*IdentitySlice) ReloadAll

func (o *IdentitySlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (IdentitySlice) UpdateAll

func (o IdentitySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type M

type M map[string]interface{}

M type is for providing columns and column values to UpdateAll.

type Organization

type Organization struct {
	ID        string      `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name      string      `boil:"name" json:"name" toml:"name" yaml:"name"`
	Domain    null.String `boil:"domain" json:"domain,omitempty" toml:"domain" yaml:"domain,omitempty"`
	LogoURL   null.String `boil:"logo_url" json:"logo_url,omitempty" toml:"logo_url" yaml:"logo_url,omitempty"`
	CreatorID string      `boil:"creator_id" json:"creator_id" toml:"creator_id" yaml:"creator_id"`
	CreatedAt time.Time   `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	Slug      string      `boil:"slug" json:"slug" toml:"slug" yaml:"slug"`

	R *organizationR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L organizationL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

Organization is an object representing the database table.

func FindOrganization

func FindOrganization(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*Organization, error)

FindOrganization retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*Organization) AddCryptoProvisions

func (o *Organization) AddCryptoProvisions(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*CryptoProvision) error

AddCryptoProvisions adds the given related objects to the existing relationships of the organization, optionally inserting them as new records. Appends related to o.R.CryptoProvisions. Sets related.R.Organization appropriately.

func (*Organization) AddOrganizationAgents

func (o *Organization) AddOrganizationAgents(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*OrganizationAgent) error

AddOrganizationAgents adds the given related objects to the existing relationships of the organization, optionally inserting them as new records. Appends related to o.R.OrganizationAgents. Sets related.R.Organization appropriately.

func (*Organization) Creator

func (o *Organization) Creator(mods ...qm.QueryMod) identityQuery

Creator pointed to by the foreign key.

func (*Organization) CryptoProvisions

func (o *Organization) CryptoProvisions(mods ...qm.QueryMod) cryptoProvisionQuery

CryptoProvisions retrieves all the crypto_provision's CryptoProvisions with an executor.

func (*Organization) Delete

func (o *Organization) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single Organization record with an executor. Delete will match against the primary key column to find the record to delete.

func (*Organization) Insert

func (o *Organization) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*Organization) OrganizationAgents

func (o *Organization) OrganizationAgents(mods ...qm.QueryMod) organizationAgentQuery

OrganizationAgents retrieves all the organization_agent's OrganizationAgents with an executor.

func (*Organization) Reload

func (o *Organization) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*Organization) SetCreator

func (o *Organization) SetCreator(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Identity) error

SetCreator of the organization to the related item. Sets o.R.Creator to related. Adds o to related.R.CreatorOrganizations.

func (*Organization) Update

func (o *Organization) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the Organization. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*Organization) Upsert

func (o *Organization) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type OrganizationAgent

type OrganizationAgent struct {
	ID             int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	OrganizationID string    `boil:"organization_id" json:"organization_id" toml:"organization_id" yaml:"organization_id"`
	IdentityID     string    `boil:"identity_id" json:"identity_id" toml:"identity_id" yaml:"identity_id"`
	CreatedAt      time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *organizationAgentR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L organizationAgentL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

OrganizationAgent is an object representing the database table.

func FindOrganizationAgent

func FindOrganizationAgent(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*OrganizationAgent, error)

FindOrganizationAgent retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*OrganizationAgent) Delete

Delete deletes a single OrganizationAgent record with an executor. Delete will match against the primary key column to find the record to delete.

func (*OrganizationAgent) Identity

func (o *OrganizationAgent) Identity(mods ...qm.QueryMod) identityQuery

Identity pointed to by the foreign key.

func (*OrganizationAgent) Insert

func (o *OrganizationAgent) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*OrganizationAgent) Organization

func (o *OrganizationAgent) Organization(mods ...qm.QueryMod) organizationQuery

Organization pointed to by the foreign key.

func (*OrganizationAgent) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*OrganizationAgent) SetIdentity

func (o *OrganizationAgent) SetIdentity(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Identity) error

SetIdentity of the organizationAgent to the related item. Sets o.R.Identity to related. Adds o to related.R.OrganizationAgents.

func (*OrganizationAgent) SetOrganization

func (o *OrganizationAgent) SetOrganization(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Organization) error

SetOrganization of the organizationAgent to the related item. Sets o.R.Organization to related. Adds o to related.R.OrganizationAgents.

func (*OrganizationAgent) Update

func (o *OrganizationAgent) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the OrganizationAgent. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*OrganizationAgent) Upsert

func (o *OrganizationAgent) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type OrganizationAgentSlice

type OrganizationAgentSlice []*OrganizationAgent

OrganizationAgentSlice is an alias for a slice of pointers to OrganizationAgent. This should generally be used opposed to []OrganizationAgent.

func (OrganizationAgentSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*OrganizationAgentSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (OrganizationAgentSlice) UpdateAll

func (o OrganizationAgentSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type OrganizationSlice

type OrganizationSlice []*Organization

OrganizationSlice is an alias for a slice of pointers to Organization. This should generally be used opposed to []Organization.

func (OrganizationSlice) DeleteAll

func (o OrganizationSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*OrganizationSlice) ReloadAll

func (o *OrganizationSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (OrganizationSlice) UpdateAll

func (o OrganizationSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type SecretStorageAccountRootKey

type SecretStorageAccountRootKey struct {
	KeyHash      string    `boil:"key_hash" json:"key_hash" toml:"key_hash" yaml:"key_hash"`
	AccountID    string    `boil:"account_id" json:"account_id" toml:"account_id" yaml:"account_id"`
	EncryptedKey string    `boil:"encrypted_key" json:"encrypted_key" toml:"encrypted_key" yaml:"encrypted_key"`
	CreatedAt    time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt    time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *secretStorageAccountRootKeyR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L secretStorageAccountRootKeyL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

SecretStorageAccountRootKey is an object representing the database table.

func FindSecretStorageAccountRootKey

func FindSecretStorageAccountRootKey(ctx context.Context, exec boil.ContextExecutor, keyHash string, selectCols ...string) (*SecretStorageAccountRootKey, error)

FindSecretStorageAccountRootKey retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*SecretStorageAccountRootKey) Account

func (o *SecretStorageAccountRootKey) Account(mods ...qm.QueryMod) accountQuery

Account pointed to by the foreign key.

func (*SecretStorageAccountRootKey) AccountRootKeyHashSecretStorageAsymKeys

func (o *SecretStorageAccountRootKey) AccountRootKeyHashSecretStorageAsymKeys(mods ...qm.QueryMod) secretStorageAsymKeyQuery

AccountRootKeyHashSecretStorageAsymKeys retrieves all the secret_storage_asym_key's SecretStorageAsymKeys with an executor via account_root_key_hash column.

func (*SecretStorageAccountRootKey) AccountRootKeyHashSecretStorageBoxKeyShares

func (o *SecretStorageAccountRootKey) AccountRootKeyHashSecretStorageBoxKeyShares(mods ...qm.QueryMod) secretStorageBoxKeyShareQuery

AccountRootKeyHashSecretStorageBoxKeyShares retrieves all the secret_storage_box_key_share's SecretStorageBoxKeyShares with an executor via account_root_key_hash column.

func (*SecretStorageAccountRootKey) AccountRootKeyHashSecretStorageVaultKeys

func (o *SecretStorageAccountRootKey) AccountRootKeyHashSecretStorageVaultKeys(mods ...qm.QueryMod) secretStorageVaultKeyQuery

AccountRootKeyHashSecretStorageVaultKeys retrieves all the secret_storage_vault_key's SecretStorageVaultKeys with an executor via account_root_key_hash column.

func (*SecretStorageAccountRootKey) AddAccountRootKeyHashSecretStorageAsymKeys

func (o *SecretStorageAccountRootKey) AddAccountRootKeyHashSecretStorageAsymKeys(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*SecretStorageAsymKey) error

AddAccountRootKeyHashSecretStorageAsymKeys adds the given related objects to the existing relationships of the secret_storage_account_root_key, optionally inserting them as new records. Appends related to o.R.AccountRootKeyHashSecretStorageAsymKeys. Sets related.R.AccountRootKeyHashSecretStorageAccountRootKey appropriately.

func (*SecretStorageAccountRootKey) AddAccountRootKeyHashSecretStorageBoxKeyShares

func (o *SecretStorageAccountRootKey) AddAccountRootKeyHashSecretStorageBoxKeyShares(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*SecretStorageBoxKeyShare) error

AddAccountRootKeyHashSecretStorageBoxKeyShares adds the given related objects to the existing relationships of the secret_storage_account_root_key, optionally inserting them as new records. Appends related to o.R.AccountRootKeyHashSecretStorageBoxKeyShares. Sets related.R.AccountRootKeyHashSecretStorageAccountRootKey appropriately.

func (*SecretStorageAccountRootKey) AddAccountRootKeyHashSecretStorageVaultKeys

func (o *SecretStorageAccountRootKey) AddAccountRootKeyHashSecretStorageVaultKeys(ctx context.Context, exec boil.ContextExecutor, insert bool, related ...*SecretStorageVaultKey) error

AddAccountRootKeyHashSecretStorageVaultKeys adds the given related objects to the existing relationships of the secret_storage_account_root_key, optionally inserting them as new records. Appends related to o.R.AccountRootKeyHashSecretStorageVaultKeys. Sets related.R.AccountRootKeyHashSecretStorageAccountRootKey appropriately.

func (*SecretStorageAccountRootKey) Delete

Delete deletes a single SecretStorageAccountRootKey record with an executor. Delete will match against the primary key column to find the record to delete.

func (*SecretStorageAccountRootKey) Insert

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*SecretStorageAccountRootKey) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*SecretStorageAccountRootKey) SetAccount

func (o *SecretStorageAccountRootKey) SetAccount(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Account) error

SetAccount of the secretStorageAccountRootKey to the related item. Sets o.R.Account to related. Adds o to related.R.SecretStorageAccountRootKeys.

func (*SecretStorageAccountRootKey) Update

Update uses an executor to update the SecretStorageAccountRootKey. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*SecretStorageAccountRootKey) Upsert

func (o *SecretStorageAccountRootKey) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type SecretStorageAccountRootKeySlice

type SecretStorageAccountRootKeySlice []*SecretStorageAccountRootKey

SecretStorageAccountRootKeySlice is an alias for a slice of pointers to SecretStorageAccountRootKey. This should generally be used opposed to []SecretStorageAccountRootKey.

func (SecretStorageAccountRootKeySlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*SecretStorageAccountRootKeySlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (SecretStorageAccountRootKeySlice) UpdateAll

UpdateAll updates all rows with the specified column values, using an executor.

type SecretStorageAsymKey

type SecretStorageAsymKey struct {
	ID                 string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	PublicKey          string    `boil:"public_key" json:"public_key" toml:"public_key" yaml:"public_key"`
	EncryptedSecretKey string    `boil:"encrypted_secret_key" json:"encrypted_secret_key" toml:"encrypted_secret_key" yaml:"encrypted_secret_key"`
	AccountRootKeyHash string    `boil:"account_root_key_hash" json:"account_root_key_hash" toml:"account_root_key_hash" yaml:"account_root_key_hash"`
	CreatedAt          time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *secretStorageAsymKeyR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L secretStorageAsymKeyL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

SecretStorageAsymKey is an object representing the database table.

func FindSecretStorageAsymKey

func FindSecretStorageAsymKey(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*SecretStorageAsymKey, error)

FindSecretStorageAsymKey retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*SecretStorageAsymKey) AccountRootKeyHashSecretStorageAccountRootKey

func (o *SecretStorageAsymKey) AccountRootKeyHashSecretStorageAccountRootKey(mods ...qm.QueryMod) secretStorageAccountRootKeyQuery

AccountRootKeyHashSecretStorageAccountRootKey pointed to by the foreign key.

func (*SecretStorageAsymKey) Delete

Delete deletes a single SecretStorageAsymKey record with an executor. Delete will match against the primary key column to find the record to delete.

func (*SecretStorageAsymKey) Insert

func (o *SecretStorageAsymKey) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*SecretStorageAsymKey) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*SecretStorageAsymKey) SetAccountRootKeyHashSecretStorageAccountRootKey

func (o *SecretStorageAsymKey) SetAccountRootKeyHashSecretStorageAccountRootKey(ctx context.Context, exec boil.ContextExecutor, insert bool, related *SecretStorageAccountRootKey) error

SetAccountRootKeyHashSecretStorageAccountRootKey of the secretStorageAsymKey to the related item. Sets o.R.AccountRootKeyHashSecretStorageAccountRootKey to related. Adds o to related.R.AccountRootKeyHashSecretStorageAsymKeys.

func (*SecretStorageAsymKey) Update

func (o *SecretStorageAsymKey) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the SecretStorageAsymKey. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*SecretStorageAsymKey) Upsert

func (o *SecretStorageAsymKey) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type SecretStorageAsymKeySlice

type SecretStorageAsymKeySlice []*SecretStorageAsymKey

SecretStorageAsymKeySlice is an alias for a slice of pointers to SecretStorageAsymKey. This should generally be used opposed to []SecretStorageAsymKey.

func (SecretStorageAsymKeySlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*SecretStorageAsymKeySlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (SecretStorageAsymKeySlice) UpdateAll

func (o SecretStorageAsymKeySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type SecretStorageBoxKeyShare

type SecretStorageBoxKeyShare struct {
	ID                       string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	InvitationShareHash      string    `boil:"invitation_share_hash" json:"invitation_share_hash" toml:"invitation_share_hash" yaml:"invitation_share_hash"`
	EncryptedInvitationShare string    `` /* 135-byte string literal not displayed */
	BoxID                    string    `boil:"box_id" json:"box_id" toml:"box_id" yaml:"box_id"`
	AccountRootKeyHash       string    `boil:"account_root_key_hash" json:"account_root_key_hash" toml:"account_root_key_hash" yaml:"account_root_key_hash"`
	CreatedAt                time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt                time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *secretStorageBoxKeyShareR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L secretStorageBoxKeyShareL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

SecretStorageBoxKeyShare is an object representing the database table.

func FindSecretStorageBoxKeyShare

func FindSecretStorageBoxKeyShare(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*SecretStorageBoxKeyShare, error)

FindSecretStorageBoxKeyShare retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*SecretStorageBoxKeyShare) AccountRootKeyHashSecretStorageAccountRootKey

func (o *SecretStorageBoxKeyShare) AccountRootKeyHashSecretStorageAccountRootKey(mods ...qm.QueryMod) secretStorageAccountRootKeyQuery

AccountRootKeyHashSecretStorageAccountRootKey pointed to by the foreign key.

func (*SecretStorageBoxKeyShare) Delete

Delete deletes a single SecretStorageBoxKeyShare record with an executor. Delete will match against the primary key column to find the record to delete.

func (*SecretStorageBoxKeyShare) Insert

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*SecretStorageBoxKeyShare) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*SecretStorageBoxKeyShare) SetAccountRootKeyHashSecretStorageAccountRootKey

func (o *SecretStorageBoxKeyShare) SetAccountRootKeyHashSecretStorageAccountRootKey(ctx context.Context, exec boil.ContextExecutor, insert bool, related *SecretStorageAccountRootKey) error

SetAccountRootKeyHashSecretStorageAccountRootKey of the secretStorageBoxKeyShare to the related item. Sets o.R.AccountRootKeyHashSecretStorageAccountRootKey to related. Adds o to related.R.AccountRootKeyHashSecretStorageBoxKeyShares.

func (*SecretStorageBoxKeyShare) Update

Update uses an executor to update the SecretStorageBoxKeyShare. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*SecretStorageBoxKeyShare) Upsert

func (o *SecretStorageBoxKeyShare) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type SecretStorageBoxKeyShareSlice

type SecretStorageBoxKeyShareSlice []*SecretStorageBoxKeyShare

SecretStorageBoxKeyShareSlice is an alias for a slice of pointers to SecretStorageBoxKeyShare. This should generally be used opposed to []SecretStorageBoxKeyShare.

func (SecretStorageBoxKeyShareSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*SecretStorageBoxKeyShareSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (SecretStorageBoxKeyShareSlice) UpdateAll

UpdateAll updates all rows with the specified column values, using an executor.

type SecretStorageVaultKey

type SecretStorageVaultKey struct {
	KeyHash            string    `boil:"key_hash" json:"key_hash" toml:"key_hash" yaml:"key_hash"`
	AccountRootKeyHash string    `boil:"account_root_key_hash" json:"account_root_key_hash" toml:"account_root_key_hash" yaml:"account_root_key_hash"`
	EncryptedKey       string    `boil:"encrypted_key" json:"encrypted_key" toml:"encrypted_key" yaml:"encrypted_key"`
	CreatedAt          time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`
	UpdatedAt          time.Time `boil:"updated_at" json:"updated_at" toml:"updated_at" yaml:"updated_at"`

	R *secretStorageVaultKeyR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L secretStorageVaultKeyL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

SecretStorageVaultKey is an object representing the database table.

func FindSecretStorageVaultKey

func FindSecretStorageVaultKey(ctx context.Context, exec boil.ContextExecutor, keyHash string, selectCols ...string) (*SecretStorageVaultKey, error)

FindSecretStorageVaultKey retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*SecretStorageVaultKey) AccountRootKeyHashSecretStorageAccountRootKey

func (o *SecretStorageVaultKey) AccountRootKeyHashSecretStorageAccountRootKey(mods ...qm.QueryMod) secretStorageAccountRootKeyQuery

AccountRootKeyHashSecretStorageAccountRootKey pointed to by the foreign key.

func (*SecretStorageVaultKey) Delete

Delete deletes a single SecretStorageVaultKey record with an executor. Delete will match against the primary key column to find the record to delete.

func (*SecretStorageVaultKey) Insert

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*SecretStorageVaultKey) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*SecretStorageVaultKey) SetAccountRootKeyHashSecretStorageAccountRootKey

func (o *SecretStorageVaultKey) SetAccountRootKeyHashSecretStorageAccountRootKey(ctx context.Context, exec boil.ContextExecutor, insert bool, related *SecretStorageAccountRootKey) error

SetAccountRootKeyHashSecretStorageAccountRootKey of the secretStorageVaultKey to the related item. Sets o.R.AccountRootKeyHashSecretStorageAccountRootKey to related. Adds o to related.R.AccountRootKeyHashSecretStorageVaultKeys.

func (*SecretStorageVaultKey) Update

func (o *SecretStorageVaultKey) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the SecretStorageVaultKey. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*SecretStorageVaultKey) Upsert

func (o *SecretStorageVaultKey) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type SecretStorageVaultKeySlice

type SecretStorageVaultKeySlice []*SecretStorageVaultKey

SecretStorageVaultKeySlice is an alias for a slice of pointers to SecretStorageVaultKey. This should generally be used opposed to []SecretStorageVaultKey.

func (SecretStorageVaultKeySlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*SecretStorageVaultKeySlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (SecretStorageVaultKeySlice) UpdateAll

func (o SecretStorageVaultKeySlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type TotpSecret

type TotpSecret struct {
	ID         int               `boil:"id" json:"id" toml:"id" yaml:"id"`
	IdentityID string            `boil:"identity_id" json:"identity_id" toml:"identity_id" yaml:"identity_id"`
	Secret     string            `boil:"secret" json:"secret" toml:"secret" yaml:"secret"`
	Backup     types.StringArray `boil:"backup" json:"backup,omitempty" toml:"backup" yaml:"backup,omitempty"`
	CreatedAt  time.Time         `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *totpSecretR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L totpSecretL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

TotpSecret is an object representing the database table.

func FindTotpSecret

func FindTotpSecret(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*TotpSecret, error)

FindTotpSecret retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*TotpSecret) Delete

func (o *TotpSecret) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single TotpSecret record with an executor. Delete will match against the primary key column to find the record to delete.

func (*TotpSecret) Identity

func (o *TotpSecret) Identity(mods ...qm.QueryMod) identityQuery

Identity pointed to by the foreign key.

func (*TotpSecret) Insert

func (o *TotpSecret) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*TotpSecret) Reload

func (o *TotpSecret) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*TotpSecret) SetIdentity

func (o *TotpSecret) SetIdentity(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Identity) error

SetIdentity of the totpSecret to the related item. Sets o.R.Identity to related. Adds o to related.R.TotpSecret.

func (*TotpSecret) Update

func (o *TotpSecret) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the TotpSecret. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*TotpSecret) Upsert

func (o *TotpSecret) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type TotpSecretSlice

type TotpSecretSlice []*TotpSecret

TotpSecretSlice is an alias for a slice of pointers to TotpSecret. This should generally be used opposed to []TotpSecret.

func (TotpSecretSlice) DeleteAll

func (o TotpSecretSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*TotpSecretSlice) ReloadAll

func (o *TotpSecretSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (TotpSecretSlice) UpdateAll

func (o TotpSecretSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type UsedCoupon

type UsedCoupon struct {
	ID         int       `boil:"id" json:"id" toml:"id" yaml:"id"`
	IdentityID string    `boil:"identity_id" json:"identity_id" toml:"identity_id" yaml:"identity_id"`
	Value      string    `boil:"value" json:"value" toml:"value" yaml:"value"`
	CreatedAt  time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *usedCouponR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L usedCouponL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

UsedCoupon is an object representing the database table.

func FindUsedCoupon

func FindUsedCoupon(ctx context.Context, exec boil.ContextExecutor, iD int, selectCols ...string) (*UsedCoupon, error)

FindUsedCoupon retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*UsedCoupon) Delete

func (o *UsedCoupon) Delete(ctx context.Context, exec boil.ContextExecutor) (int64, error)

Delete deletes a single UsedCoupon record with an executor. Delete will match against the primary key column to find the record to delete.

func (*UsedCoupon) Identity

func (o *UsedCoupon) Identity(mods ...qm.QueryMod) identityQuery

Identity pointed to by the foreign key.

func (*UsedCoupon) Insert

func (o *UsedCoupon) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*UsedCoupon) Reload

func (o *UsedCoupon) Reload(ctx context.Context, exec boil.ContextExecutor) error

Reload refetches the object from the database using the primary keys with an executor.

func (*UsedCoupon) SetIdentity

func (o *UsedCoupon) SetIdentity(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Identity) error

SetIdentity of the usedCoupon to the related item. Sets o.R.Identity to related. Adds o to related.R.UsedCoupons.

func (*UsedCoupon) Update

func (o *UsedCoupon) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the UsedCoupon. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*UsedCoupon) Upsert

func (o *UsedCoupon) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type UsedCouponSlice

type UsedCouponSlice []*UsedCoupon

UsedCouponSlice is an alias for a slice of pointers to UsedCoupon. This should generally be used opposed to []UsedCoupon.

func (UsedCouponSlice) DeleteAll

func (o UsedCouponSlice) DeleteAll(ctx context.Context, exec boil.ContextExecutor) (int64, error)

DeleteAll deletes all rows in the slice, using an executor.

func (*UsedCouponSlice) ReloadAll

func (o *UsedCouponSlice) ReloadAll(ctx context.Context, exec boil.ContextExecutor) error

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (UsedCouponSlice) UpdateAll

func (o UsedCouponSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

type WebauthnCredential

type WebauthnCredential struct {
	ID              string    `boil:"id" json:"id" toml:"id" yaml:"id"`
	Name            string    `boil:"name" json:"name" toml:"name" yaml:"name"`
	IdentityID      string    `boil:"identity_id" json:"identity_id" toml:"identity_id" yaml:"identity_id"`
	PublicKey       []byte    `boil:"public_key" json:"public_key" toml:"public_key" yaml:"public_key"`
	AttestationType string    `boil:"attestation_type" json:"attestation_type" toml:"attestation_type" yaml:"attestation_type"`
	Aaguid          []byte    `boil:"aaguid" json:"aaguid" toml:"aaguid" yaml:"aaguid"`
	SignCount       int       `boil:"sign_count" json:"sign_count" toml:"sign_count" yaml:"sign_count"`
	CloneWarning    bool      `boil:"clone_warning" json:"clone_warning" toml:"clone_warning" yaml:"clone_warning"`
	CreatedAt       time.Time `boil:"created_at" json:"created_at" toml:"created_at" yaml:"created_at"`

	R *webauthnCredentialR `boil:"-" json:"-" toml:"-" yaml:"-"`
	L webauthnCredentialL  `boil:"-" json:"-" toml:"-" yaml:"-"`
}

WebauthnCredential is an object representing the database table.

func FindWebauthnCredential

func FindWebauthnCredential(ctx context.Context, exec boil.ContextExecutor, iD string, selectCols ...string) (*WebauthnCredential, error)

FindWebauthnCredential retrieves a single record by ID with an executor. If selectCols is empty Find will return all columns.

func (*WebauthnCredential) Delete

Delete deletes a single WebauthnCredential record with an executor. Delete will match against the primary key column to find the record to delete.

func (*WebauthnCredential) Identity

func (o *WebauthnCredential) Identity(mods ...qm.QueryMod) identityQuery

Identity pointed to by the foreign key.

func (*WebauthnCredential) Insert

func (o *WebauthnCredential) Insert(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) error

Insert a single record using an executor. See boil.Columns.InsertColumnSet documentation to understand column list inference for inserts.

func (*WebauthnCredential) Reload

Reload refetches the object from the database using the primary keys with an executor.

func (*WebauthnCredential) SetIdentity

func (o *WebauthnCredential) SetIdentity(ctx context.Context, exec boil.ContextExecutor, insert bool, related *Identity) error

SetIdentity of the webauthnCredential to the related item. Sets o.R.Identity to related. Adds o to related.R.WebauthnCredentials.

func (*WebauthnCredential) Update

func (o *WebauthnCredential) Update(ctx context.Context, exec boil.ContextExecutor, columns boil.Columns) (int64, error)

Update uses an executor to update the WebauthnCredential. See boil.Columns.UpdateColumnSet documentation to understand column list inference for updates. Update does not automatically update the record in case of default values. Use .Reload() to refresh the records.

func (*WebauthnCredential) Upsert

func (o *WebauthnCredential) Upsert(ctx context.Context, exec boil.ContextExecutor, updateOnConflict bool, conflictColumns []string, updateColumns, insertColumns boil.Columns) error

Upsert attempts an insert using an executor, and does an update or ignore on conflict. See boil.Columns documentation for how to properly use updateColumns and insertColumns.

type WebauthnCredentialSlice

type WebauthnCredentialSlice []*WebauthnCredential

WebauthnCredentialSlice is an alias for a slice of pointers to WebauthnCredential. This should generally be used opposed to []WebauthnCredential.

func (WebauthnCredentialSlice) DeleteAll

DeleteAll deletes all rows in the slice, using an executor.

func (*WebauthnCredentialSlice) ReloadAll

ReloadAll refetches every row with matching primary key column values and overwrites the original object slice with the newly updated slice.

func (WebauthnCredentialSlice) UpdateAll

func (o WebauthnCredentialSlice) UpdateAll(ctx context.Context, exec boil.ContextExecutor, cols M) (int64, error)

UpdateAll updates all rows with the specified column values, using an executor.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL