webauthn

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the webauthn type in the database.
	Label = "webauthn"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldMappingID holds the string denoting the mapping_id field in the database.
	FieldMappingID = "mapping_id"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldCredentialID holds the string denoting the credential_id field in the database.
	FieldCredentialID = "credential_id"
	// FieldPublicKey holds the string denoting the public_key field in the database.
	FieldPublicKey = "public_key"
	// FieldAttestationType holds the string denoting the attestation_type field in the database.
	FieldAttestationType = "attestation_type"
	// FieldAaguid holds the string denoting the aaguid field in the database.
	FieldAaguid = "aaguid"
	// FieldSignCount holds the string denoting the sign_count field in the database.
	FieldSignCount = "sign_count"
	// FieldTransports holds the string denoting the transports field in the database.
	FieldTransports = "transports"
	// FieldBackupEligible holds the string denoting the backup_eligible field in the database.
	FieldBackupEligible = "backup_eligible"
	// FieldBackupState holds the string denoting the backup_state field in the database.
	FieldBackupState = "backup_state"
	// FieldUserPresent holds the string denoting the user_present field in the database.
	FieldUserPresent = "user_present"
	// FieldUserVerified holds the string denoting the user_verified field in the database.
	FieldUserVerified = "user_verified"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// Table holds the table name of the webauthn in the database.
	Table = "webauthns"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "webauthns"
	// OwnerInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	OwnerInverseTable = "users"
	// OwnerColumn is the table column denoting the owner relation/edge.
	OwnerColumn = "owner_id"
)

Variables

View Source
var (
	Hooks        [1]ent.Hook
	Interceptors [1]ent.Interceptor
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// DefaultMappingID holds the default value on creation for the "mapping_id" field.
	DefaultMappingID func() string
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// DefaultBackupEligible holds the default value on creation for the "backup_eligible" field.
	DefaultBackupEligible bool
	// DefaultBackupState holds the default value on creation for the "backup_state" field.
	DefaultBackupState bool
	// DefaultUserPresent holds the default value on creation for the "user_present" field.
	DefaultUserPresent bool
	// DefaultUserVerified holds the default value on creation for the "user_verified" field.
	DefaultUserVerified bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/datumforge/datum/internal/ent/generated/runtime"

Columns holds all SQL columns for webauthn fields.

Functions

func Aaguid

func Aaguid(v []byte) predicate.Webauthn

Aaguid applies equality check predicate on the "aaguid" field. It's identical to AaguidEQ.

func AaguidEQ

func AaguidEQ(v []byte) predicate.Webauthn

AaguidEQ applies the EQ predicate on the "aaguid" field.

func AaguidGT

func AaguidGT(v []byte) predicate.Webauthn

AaguidGT applies the GT predicate on the "aaguid" field.

func AaguidGTE

func AaguidGTE(v []byte) predicate.Webauthn

AaguidGTE applies the GTE predicate on the "aaguid" field.

func AaguidIn

func AaguidIn(vs ...[]byte) predicate.Webauthn

AaguidIn applies the In predicate on the "aaguid" field.

func AaguidLT

func AaguidLT(v []byte) predicate.Webauthn

AaguidLT applies the LT predicate on the "aaguid" field.

func AaguidLTE

func AaguidLTE(v []byte) predicate.Webauthn

AaguidLTE applies the LTE predicate on the "aaguid" field.

func AaguidNEQ

func AaguidNEQ(v []byte) predicate.Webauthn

AaguidNEQ applies the NEQ predicate on the "aaguid" field.

func AaguidNotIn

func AaguidNotIn(vs ...[]byte) predicate.Webauthn

AaguidNotIn applies the NotIn predicate on the "aaguid" field.

func And

func And(predicates ...predicate.Webauthn) predicate.Webauthn

And groups predicates with the AND operator between them.

func AttestationType

func AttestationType(v string) predicate.Webauthn

AttestationType applies equality check predicate on the "attestation_type" field. It's identical to AttestationTypeEQ.

func AttestationTypeContains

func AttestationTypeContains(v string) predicate.Webauthn

AttestationTypeContains applies the Contains predicate on the "attestation_type" field.

func AttestationTypeContainsFold

func AttestationTypeContainsFold(v string) predicate.Webauthn

AttestationTypeContainsFold applies the ContainsFold predicate on the "attestation_type" field.

func AttestationTypeEQ

func AttestationTypeEQ(v string) predicate.Webauthn

AttestationTypeEQ applies the EQ predicate on the "attestation_type" field.

func AttestationTypeEqualFold

func AttestationTypeEqualFold(v string) predicate.Webauthn

AttestationTypeEqualFold applies the EqualFold predicate on the "attestation_type" field.

func AttestationTypeGT

func AttestationTypeGT(v string) predicate.Webauthn

AttestationTypeGT applies the GT predicate on the "attestation_type" field.

func AttestationTypeGTE

func AttestationTypeGTE(v string) predicate.Webauthn

AttestationTypeGTE applies the GTE predicate on the "attestation_type" field.

func AttestationTypeHasPrefix

func AttestationTypeHasPrefix(v string) predicate.Webauthn

AttestationTypeHasPrefix applies the HasPrefix predicate on the "attestation_type" field.

func AttestationTypeHasSuffix

func AttestationTypeHasSuffix(v string) predicate.Webauthn

AttestationTypeHasSuffix applies the HasSuffix predicate on the "attestation_type" field.

func AttestationTypeIn

func AttestationTypeIn(vs ...string) predicate.Webauthn

AttestationTypeIn applies the In predicate on the "attestation_type" field.

func AttestationTypeIsNil

func AttestationTypeIsNil() predicate.Webauthn

AttestationTypeIsNil applies the IsNil predicate on the "attestation_type" field.

func AttestationTypeLT

func AttestationTypeLT(v string) predicate.Webauthn

AttestationTypeLT applies the LT predicate on the "attestation_type" field.

func AttestationTypeLTE

func AttestationTypeLTE(v string) predicate.Webauthn

AttestationTypeLTE applies the LTE predicate on the "attestation_type" field.

func AttestationTypeNEQ

func AttestationTypeNEQ(v string) predicate.Webauthn

AttestationTypeNEQ applies the NEQ predicate on the "attestation_type" field.

func AttestationTypeNotIn

func AttestationTypeNotIn(vs ...string) predicate.Webauthn

AttestationTypeNotIn applies the NotIn predicate on the "attestation_type" field.

func AttestationTypeNotNil

func AttestationTypeNotNil() predicate.Webauthn

AttestationTypeNotNil applies the NotNil predicate on the "attestation_type" field.

func BackupEligible

func BackupEligible(v bool) predicate.Webauthn

BackupEligible applies equality check predicate on the "backup_eligible" field. It's identical to BackupEligibleEQ.

func BackupEligibleEQ

func BackupEligibleEQ(v bool) predicate.Webauthn

BackupEligibleEQ applies the EQ predicate on the "backup_eligible" field.

func BackupEligibleNEQ

func BackupEligibleNEQ(v bool) predicate.Webauthn

BackupEligibleNEQ applies the NEQ predicate on the "backup_eligible" field.

func BackupState

func BackupState(v bool) predicate.Webauthn

BackupState applies equality check predicate on the "backup_state" field. It's identical to BackupStateEQ.

func BackupStateEQ

func BackupStateEQ(v bool) predicate.Webauthn

BackupStateEQ applies the EQ predicate on the "backup_state" field.

func BackupStateNEQ

func BackupStateNEQ(v bool) predicate.Webauthn

BackupStateNEQ applies the NEQ predicate on the "backup_state" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Webauthn

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Webauthn

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Webauthn

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Webauthn

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Webauthn

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil added in v0.3.4

func CreatedAtIsNil() predicate.Webauthn

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Webauthn

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Webauthn

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Webauthn

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Webauthn

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil added in v0.3.4

func CreatedAtNotNil() predicate.Webauthn

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.Webauthn

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.Webauthn

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Webauthn

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.Webauthn

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Webauthn

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.Webauthn

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.Webauthn

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Webauthn

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Webauthn

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.Webauthn

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.Webauthn

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.Webauthn

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.Webauthn

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Webauthn

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.Webauthn

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.Webauthn

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func CredentialID

func CredentialID(v []byte) predicate.Webauthn

CredentialID applies equality check predicate on the "credential_id" field. It's identical to CredentialIDEQ.

func CredentialIDEQ

func CredentialIDEQ(v []byte) predicate.Webauthn

CredentialIDEQ applies the EQ predicate on the "credential_id" field.

func CredentialIDGT

func CredentialIDGT(v []byte) predicate.Webauthn

CredentialIDGT applies the GT predicate on the "credential_id" field.

func CredentialIDGTE

func CredentialIDGTE(v []byte) predicate.Webauthn

CredentialIDGTE applies the GTE predicate on the "credential_id" field.

func CredentialIDIn

func CredentialIDIn(vs ...[]byte) predicate.Webauthn

CredentialIDIn applies the In predicate on the "credential_id" field.

func CredentialIDIsNil

func CredentialIDIsNil() predicate.Webauthn

CredentialIDIsNil applies the IsNil predicate on the "credential_id" field.

func CredentialIDLT

func CredentialIDLT(v []byte) predicate.Webauthn

CredentialIDLT applies the LT predicate on the "credential_id" field.

func CredentialIDLTE

func CredentialIDLTE(v []byte) predicate.Webauthn

CredentialIDLTE applies the LTE predicate on the "credential_id" field.

func CredentialIDNEQ

func CredentialIDNEQ(v []byte) predicate.Webauthn

CredentialIDNEQ applies the NEQ predicate on the "credential_id" field.

func CredentialIDNotIn

func CredentialIDNotIn(vs ...[]byte) predicate.Webauthn

CredentialIDNotIn applies the NotIn predicate on the "credential_id" field.

func CredentialIDNotNil

func CredentialIDNotNil() predicate.Webauthn

CredentialIDNotNil applies the NotNil predicate on the "credential_id" field.

func HasOwner

func HasOwner() predicate.Webauthn

HasOwner applies the HasEdge predicate on the "owner" edge.

func HasOwnerWith

func HasOwnerWith(preds ...predicate.User) predicate.Webauthn

HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).

func ID

func ID(id string) predicate.Webauthn

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Webauthn

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Webauthn

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Webauthn

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Webauthn

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Webauthn

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.Webauthn

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Webauthn

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Webauthn

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Webauthn

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.Webauthn

IDNotIn applies the NotIn predicate on the ID field.

func MappingID added in v0.5.0

func MappingID(v string) predicate.Webauthn

MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.

func MappingIDContains added in v0.5.0

func MappingIDContains(v string) predicate.Webauthn

MappingIDContains applies the Contains predicate on the "mapping_id" field.

func MappingIDContainsFold added in v0.5.0

func MappingIDContainsFold(v string) predicate.Webauthn

MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.

func MappingIDEQ added in v0.5.0

func MappingIDEQ(v string) predicate.Webauthn

MappingIDEQ applies the EQ predicate on the "mapping_id" field.

func MappingIDEqualFold added in v0.5.0

func MappingIDEqualFold(v string) predicate.Webauthn

MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.

func MappingIDGT added in v0.5.0

func MappingIDGT(v string) predicate.Webauthn

MappingIDGT applies the GT predicate on the "mapping_id" field.

func MappingIDGTE added in v0.5.0

func MappingIDGTE(v string) predicate.Webauthn

MappingIDGTE applies the GTE predicate on the "mapping_id" field.

func MappingIDHasPrefix added in v0.5.0

func MappingIDHasPrefix(v string) predicate.Webauthn

MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.

func MappingIDHasSuffix added in v0.5.0

func MappingIDHasSuffix(v string) predicate.Webauthn

MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.

func MappingIDIn added in v0.5.0

func MappingIDIn(vs ...string) predicate.Webauthn

MappingIDIn applies the In predicate on the "mapping_id" field.

func MappingIDLT added in v0.5.0

func MappingIDLT(v string) predicate.Webauthn

MappingIDLT applies the LT predicate on the "mapping_id" field.

func MappingIDLTE added in v0.5.0

func MappingIDLTE(v string) predicate.Webauthn

MappingIDLTE applies the LTE predicate on the "mapping_id" field.

func MappingIDNEQ added in v0.5.0

func MappingIDNEQ(v string) predicate.Webauthn

MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.

func MappingIDNotIn added in v0.5.0

func MappingIDNotIn(vs ...string) predicate.Webauthn

MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Webauthn) predicate.Webauthn

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.Webauthn

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains

func OwnerIDContains(v string) predicate.Webauthn

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.Webauthn

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.Webauthn

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.Webauthn

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT

func OwnerIDGT(v string) predicate.Webauthn

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.Webauthn

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.Webauthn

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.Webauthn

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn

func OwnerIDIn(vs ...string) predicate.Webauthn

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDLT

func OwnerIDLT(v string) predicate.Webauthn

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.Webauthn

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.Webauthn

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn

func OwnerIDNotIn(vs ...string) predicate.Webauthn

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func PublicKey

func PublicKey(v []byte) predicate.Webauthn

PublicKey applies equality check predicate on the "public_key" field. It's identical to PublicKeyEQ.

func PublicKeyEQ

func PublicKeyEQ(v []byte) predicate.Webauthn

PublicKeyEQ applies the EQ predicate on the "public_key" field.

func PublicKeyGT

func PublicKeyGT(v []byte) predicate.Webauthn

PublicKeyGT applies the GT predicate on the "public_key" field.

func PublicKeyGTE

func PublicKeyGTE(v []byte) predicate.Webauthn

PublicKeyGTE applies the GTE predicate on the "public_key" field.

func PublicKeyIn

func PublicKeyIn(vs ...[]byte) predicate.Webauthn

PublicKeyIn applies the In predicate on the "public_key" field.

func PublicKeyIsNil

func PublicKeyIsNil() predicate.Webauthn

PublicKeyIsNil applies the IsNil predicate on the "public_key" field.

func PublicKeyLT

func PublicKeyLT(v []byte) predicate.Webauthn

PublicKeyLT applies the LT predicate on the "public_key" field.

func PublicKeyLTE

func PublicKeyLTE(v []byte) predicate.Webauthn

PublicKeyLTE applies the LTE predicate on the "public_key" field.

func PublicKeyNEQ

func PublicKeyNEQ(v []byte) predicate.Webauthn

PublicKeyNEQ applies the NEQ predicate on the "public_key" field.

func PublicKeyNotIn

func PublicKeyNotIn(vs ...[]byte) predicate.Webauthn

PublicKeyNotIn applies the NotIn predicate on the "public_key" field.

func PublicKeyNotNil

func PublicKeyNotNil() predicate.Webauthn

PublicKeyNotNil applies the NotNil predicate on the "public_key" field.

func SignCount

func SignCount(v int32) predicate.Webauthn

SignCount applies equality check predicate on the "sign_count" field. It's identical to SignCountEQ.

func SignCountEQ

func SignCountEQ(v int32) predicate.Webauthn

SignCountEQ applies the EQ predicate on the "sign_count" field.

func SignCountGT

func SignCountGT(v int32) predicate.Webauthn

SignCountGT applies the GT predicate on the "sign_count" field.

func SignCountGTE

func SignCountGTE(v int32) predicate.Webauthn

SignCountGTE applies the GTE predicate on the "sign_count" field.

func SignCountIn

func SignCountIn(vs ...int32) predicate.Webauthn

SignCountIn applies the In predicate on the "sign_count" field.

func SignCountLT

func SignCountLT(v int32) predicate.Webauthn

SignCountLT applies the LT predicate on the "sign_count" field.

func SignCountLTE

func SignCountLTE(v int32) predicate.Webauthn

SignCountLTE applies the LTE predicate on the "sign_count" field.

func SignCountNEQ

func SignCountNEQ(v int32) predicate.Webauthn

SignCountNEQ applies the NEQ predicate on the "sign_count" field.

func SignCountNotIn

func SignCountNotIn(vs ...int32) predicate.Webauthn

SignCountNotIn applies the NotIn predicate on the "sign_count" field.

func TagsIsNil added in v0.5.2

func TagsIsNil() predicate.Webauthn

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil added in v0.5.2

func TagsNotNil() predicate.Webauthn

TagsNotNil applies the NotNil predicate on the "tags" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Webauthn

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Webauthn

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Webauthn

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Webauthn

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Webauthn

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil added in v0.3.4

func UpdatedAtIsNil() predicate.Webauthn

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Webauthn

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Webauthn

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Webauthn

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Webauthn

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil added in v0.3.4

func UpdatedAtNotNil() predicate.Webauthn

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.Webauthn

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.Webauthn

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Webauthn

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Webauthn

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Webauthn

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.Webauthn

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Webauthn

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Webauthn

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Webauthn

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.Webauthn

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Webauthn

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.Webauthn

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Webauthn

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Webauthn

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.Webauthn

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Webauthn

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func UserPresent added in v0.3.5

func UserPresent(v bool) predicate.Webauthn

UserPresent applies equality check predicate on the "user_present" field. It's identical to UserPresentEQ.

func UserPresentEQ added in v0.3.5

func UserPresentEQ(v bool) predicate.Webauthn

UserPresentEQ applies the EQ predicate on the "user_present" field.

func UserPresentNEQ added in v0.3.5

func UserPresentNEQ(v bool) predicate.Webauthn

UserPresentNEQ applies the NEQ predicate on the "user_present" field.

func UserVerified added in v0.3.5

func UserVerified(v bool) predicate.Webauthn

UserVerified applies equality check predicate on the "user_verified" field. It's identical to UserVerifiedEQ.

func UserVerifiedEQ added in v0.3.5

func UserVerifiedEQ(v bool) predicate.Webauthn

UserVerifiedEQ applies the EQ predicate on the "user_verified" field.

func UserVerifiedNEQ added in v0.3.5

func UserVerifiedNEQ(v bool) predicate.Webauthn

UserVerifiedNEQ applies the NEQ predicate on the "user_verified" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Webauthn queries.

func ByAttestationType

func ByAttestationType(opts ...sql.OrderTermOption) OrderOption

ByAttestationType orders the results by the attestation_type field.

func ByBackupEligible

func ByBackupEligible(opts ...sql.OrderTermOption) OrderOption

ByBackupEligible orders the results by the backup_eligible field.

func ByBackupState

func ByBackupState(opts ...sql.OrderTermOption) OrderOption

ByBackupState orders the results by the backup_state field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption

ByCreatedBy orders the results by the created_by field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByMappingID added in v0.5.0

func ByMappingID(opts ...sql.OrderTermOption) OrderOption

ByMappingID orders the results by the mapping_id field.

func ByOwnerField

func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption

ByOwnerField orders the results by owner field.

func ByOwnerID

func ByOwnerID(opts ...sql.OrderTermOption) OrderOption

ByOwnerID orders the results by the owner_id field.

func BySignCount

func BySignCount(opts ...sql.OrderTermOption) OrderOption

BySignCount orders the results by the sign_count field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption

ByUpdatedBy orders the results by the updated_by field.

func ByUserPresent added in v0.3.5

func ByUserPresent(opts ...sql.OrderTermOption) OrderOption

ByUserPresent orders the results by the user_present field.

func ByUserVerified added in v0.3.5

func ByUserVerified(opts ...sql.OrderTermOption) OrderOption

ByUserVerified orders the results by the user_verified field.

Jump to

Keyboard shortcuts

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