Documentation ¶
Index ¶
- Constants
- Variables
- func Aaguid(v []byte) predicate.Webauthn
- func AaguidEQ(v []byte) predicate.Webauthn
- func AaguidGT(v []byte) predicate.Webauthn
- func AaguidGTE(v []byte) predicate.Webauthn
- func AaguidIn(vs ...[]byte) predicate.Webauthn
- func AaguidLT(v []byte) predicate.Webauthn
- func AaguidLTE(v []byte) predicate.Webauthn
- func AaguidNEQ(v []byte) predicate.Webauthn
- func AaguidNotIn(vs ...[]byte) predicate.Webauthn
- func And(predicates ...predicate.Webauthn) predicate.Webauthn
- func AttestationType(v string) predicate.Webauthn
- func AttestationTypeContains(v string) predicate.Webauthn
- func AttestationTypeContainsFold(v string) predicate.Webauthn
- func AttestationTypeEQ(v string) predicate.Webauthn
- func AttestationTypeEqualFold(v string) predicate.Webauthn
- func AttestationTypeGT(v string) predicate.Webauthn
- func AttestationTypeGTE(v string) predicate.Webauthn
- func AttestationTypeHasPrefix(v string) predicate.Webauthn
- func AttestationTypeHasSuffix(v string) predicate.Webauthn
- func AttestationTypeIn(vs ...string) predicate.Webauthn
- func AttestationTypeIsNil() predicate.Webauthn
- func AttestationTypeLT(v string) predicate.Webauthn
- func AttestationTypeLTE(v string) predicate.Webauthn
- func AttestationTypeNEQ(v string) predicate.Webauthn
- func AttestationTypeNotIn(vs ...string) predicate.Webauthn
- func AttestationTypeNotNil() predicate.Webauthn
- func BackupEligible(v bool) predicate.Webauthn
- func BackupEligibleEQ(v bool) predicate.Webauthn
- func BackupEligibleNEQ(v bool) predicate.Webauthn
- func BackupState(v bool) predicate.Webauthn
- func BackupStateEQ(v bool) predicate.Webauthn
- func BackupStateNEQ(v bool) predicate.Webauthn
- func CreatedAt(v time.Time) predicate.Webauthn
- func CreatedAtEQ(v time.Time) predicate.Webauthn
- func CreatedAtGT(v time.Time) predicate.Webauthn
- func CreatedAtGTE(v time.Time) predicate.Webauthn
- func CreatedAtIn(vs ...time.Time) predicate.Webauthn
- func CreatedAtIsNil() predicate.Webauthn
- func CreatedAtLT(v time.Time) predicate.Webauthn
- func CreatedAtLTE(v time.Time) predicate.Webauthn
- func CreatedAtNEQ(v time.Time) predicate.Webauthn
- func CreatedAtNotIn(vs ...time.Time) predicate.Webauthn
- func CreatedAtNotNil() predicate.Webauthn
- func CreatedBy(v string) predicate.Webauthn
- func CreatedByContains(v string) predicate.Webauthn
- func CreatedByContainsFold(v string) predicate.Webauthn
- func CreatedByEQ(v string) predicate.Webauthn
- func CreatedByEqualFold(v string) predicate.Webauthn
- func CreatedByGT(v string) predicate.Webauthn
- func CreatedByGTE(v string) predicate.Webauthn
- func CreatedByHasPrefix(v string) predicate.Webauthn
- func CreatedByHasSuffix(v string) predicate.Webauthn
- func CreatedByIn(vs ...string) predicate.Webauthn
- func CreatedByIsNil() predicate.Webauthn
- func CreatedByLT(v string) predicate.Webauthn
- func CreatedByLTE(v string) predicate.Webauthn
- func CreatedByNEQ(v string) predicate.Webauthn
- func CreatedByNotIn(vs ...string) predicate.Webauthn
- func CreatedByNotNil() predicate.Webauthn
- func CredentialID(v []byte) predicate.Webauthn
- func CredentialIDEQ(v []byte) predicate.Webauthn
- func CredentialIDGT(v []byte) predicate.Webauthn
- func CredentialIDGTE(v []byte) predicate.Webauthn
- func CredentialIDIn(vs ...[]byte) predicate.Webauthn
- func CredentialIDIsNil() predicate.Webauthn
- func CredentialIDLT(v []byte) predicate.Webauthn
- func CredentialIDLTE(v []byte) predicate.Webauthn
- func CredentialIDNEQ(v []byte) predicate.Webauthn
- func CredentialIDNotIn(vs ...[]byte) predicate.Webauthn
- func CredentialIDNotNil() predicate.Webauthn
- func HasOwner() predicate.Webauthn
- func HasOwnerWith(preds ...predicate.User) predicate.Webauthn
- func ID(id string) predicate.Webauthn
- func IDContainsFold(id string) predicate.Webauthn
- func IDEQ(id string) predicate.Webauthn
- func IDEqualFold(id string) predicate.Webauthn
- func IDGT(id string) predicate.Webauthn
- func IDGTE(id string) predicate.Webauthn
- func IDIn(ids ...string) predicate.Webauthn
- func IDLT(id string) predicate.Webauthn
- func IDLTE(id string) predicate.Webauthn
- func IDNEQ(id string) predicate.Webauthn
- func IDNotIn(ids ...string) predicate.Webauthn
- func MappingID(v string) predicate.Webauthn
- func MappingIDContains(v string) predicate.Webauthn
- func MappingIDContainsFold(v string) predicate.Webauthn
- func MappingIDEQ(v string) predicate.Webauthn
- func MappingIDEqualFold(v string) predicate.Webauthn
- func MappingIDGT(v string) predicate.Webauthn
- func MappingIDGTE(v string) predicate.Webauthn
- func MappingIDHasPrefix(v string) predicate.Webauthn
- func MappingIDHasSuffix(v string) predicate.Webauthn
- func MappingIDIn(vs ...string) predicate.Webauthn
- func MappingIDLT(v string) predicate.Webauthn
- func MappingIDLTE(v string) predicate.Webauthn
- func MappingIDNEQ(v string) predicate.Webauthn
- func MappingIDNotIn(vs ...string) predicate.Webauthn
- func Not(p predicate.Webauthn) predicate.Webauthn
- func Or(predicates ...predicate.Webauthn) predicate.Webauthn
- func OwnerID(v string) predicate.Webauthn
- func OwnerIDContains(v string) predicate.Webauthn
- func OwnerIDContainsFold(v string) predicate.Webauthn
- func OwnerIDEQ(v string) predicate.Webauthn
- func OwnerIDEqualFold(v string) predicate.Webauthn
- func OwnerIDGT(v string) predicate.Webauthn
- func OwnerIDGTE(v string) predicate.Webauthn
- func OwnerIDHasPrefix(v string) predicate.Webauthn
- func OwnerIDHasSuffix(v string) predicate.Webauthn
- func OwnerIDIn(vs ...string) predicate.Webauthn
- func OwnerIDLT(v string) predicate.Webauthn
- func OwnerIDLTE(v string) predicate.Webauthn
- func OwnerIDNEQ(v string) predicate.Webauthn
- func OwnerIDNotIn(vs ...string) predicate.Webauthn
- func PublicKey(v []byte) predicate.Webauthn
- func PublicKeyEQ(v []byte) predicate.Webauthn
- func PublicKeyGT(v []byte) predicate.Webauthn
- func PublicKeyGTE(v []byte) predicate.Webauthn
- func PublicKeyIn(vs ...[]byte) predicate.Webauthn
- func PublicKeyIsNil() predicate.Webauthn
- func PublicKeyLT(v []byte) predicate.Webauthn
- func PublicKeyLTE(v []byte) predicate.Webauthn
- func PublicKeyNEQ(v []byte) predicate.Webauthn
- func PublicKeyNotIn(vs ...[]byte) predicate.Webauthn
- func PublicKeyNotNil() predicate.Webauthn
- func SignCount(v int32) predicate.Webauthn
- func SignCountEQ(v int32) predicate.Webauthn
- func SignCountGT(v int32) predicate.Webauthn
- func SignCountGTE(v int32) predicate.Webauthn
- func SignCountIn(vs ...int32) predicate.Webauthn
- func SignCountLT(v int32) predicate.Webauthn
- func SignCountLTE(v int32) predicate.Webauthn
- func SignCountNEQ(v int32) predicate.Webauthn
- func SignCountNotIn(vs ...int32) predicate.Webauthn
- func TagsIsNil() predicate.Webauthn
- func TagsNotNil() predicate.Webauthn
- func UpdatedAt(v time.Time) predicate.Webauthn
- func UpdatedAtEQ(v time.Time) predicate.Webauthn
- func UpdatedAtGT(v time.Time) predicate.Webauthn
- func UpdatedAtGTE(v time.Time) predicate.Webauthn
- func UpdatedAtIn(vs ...time.Time) predicate.Webauthn
- func UpdatedAtIsNil() predicate.Webauthn
- func UpdatedAtLT(v time.Time) predicate.Webauthn
- func UpdatedAtLTE(v time.Time) predicate.Webauthn
- func UpdatedAtNEQ(v time.Time) predicate.Webauthn
- func UpdatedAtNotIn(vs ...time.Time) predicate.Webauthn
- func UpdatedAtNotNil() predicate.Webauthn
- func UpdatedBy(v string) predicate.Webauthn
- func UpdatedByContains(v string) predicate.Webauthn
- func UpdatedByContainsFold(v string) predicate.Webauthn
- func UpdatedByEQ(v string) predicate.Webauthn
- func UpdatedByEqualFold(v string) predicate.Webauthn
- func UpdatedByGT(v string) predicate.Webauthn
- func UpdatedByGTE(v string) predicate.Webauthn
- func UpdatedByHasPrefix(v string) predicate.Webauthn
- func UpdatedByHasSuffix(v string) predicate.Webauthn
- func UpdatedByIn(vs ...string) predicate.Webauthn
- func UpdatedByIsNil() predicate.Webauthn
- func UpdatedByLT(v string) predicate.Webauthn
- func UpdatedByLTE(v string) predicate.Webauthn
- func UpdatedByNEQ(v string) predicate.Webauthn
- func UpdatedByNotIn(vs ...string) predicate.Webauthn
- func UpdatedByNotNil() predicate.Webauthn
- func UserPresent(v bool) predicate.Webauthn
- func UserPresentEQ(v bool) predicate.Webauthn
- func UserPresentNEQ(v bool) predicate.Webauthn
- func UserVerified(v bool) predicate.Webauthn
- func UserVerifiedEQ(v bool) predicate.Webauthn
- func UserVerifiedNEQ(v bool) predicate.Webauthn
- func ValidColumn(column string) bool
- type OrderOption
- func ByAttestationType(opts ...sql.OrderTermOption) OrderOption
- func ByBackupEligible(opts ...sql.OrderTermOption) OrderOption
- func ByBackupState(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func BySignCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUserPresent(opts ...sql.OrderTermOption) OrderOption
- func ByUserVerified(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldMappingID, FieldTags, FieldOwnerID, FieldCredentialID, FieldPublicKey, FieldAttestationType, FieldAaguid, FieldSignCount, FieldTransports, FieldBackupEligible, FieldBackupState, FieldUserPresent, FieldUserVerified, }
Columns holds all SQL columns for webauthn fields.
Functions ¶
func Aaguid ¶
Aaguid applies equality check predicate on the "aaguid" field. It's identical to AaguidEQ.
func AaguidNotIn ¶
AaguidNotIn applies the NotIn predicate on the "aaguid" field.
func AttestationType ¶
AttestationType applies equality check predicate on the "attestation_type" field. It's identical to AttestationTypeEQ.
func AttestationTypeContains ¶
AttestationTypeContains applies the Contains predicate on the "attestation_type" field.
func AttestationTypeContainsFold ¶
AttestationTypeContainsFold applies the ContainsFold predicate on the "attestation_type" field.
func AttestationTypeEQ ¶
AttestationTypeEQ applies the EQ predicate on the "attestation_type" field.
func AttestationTypeEqualFold ¶
AttestationTypeEqualFold applies the EqualFold predicate on the "attestation_type" field.
func AttestationTypeGT ¶
AttestationTypeGT applies the GT predicate on the "attestation_type" field.
func AttestationTypeGTE ¶
AttestationTypeGTE applies the GTE predicate on the "attestation_type" field.
func AttestationTypeHasPrefix ¶
AttestationTypeHasPrefix applies the HasPrefix predicate on the "attestation_type" field.
func AttestationTypeHasSuffix ¶
AttestationTypeHasSuffix applies the HasSuffix predicate on the "attestation_type" field.
func AttestationTypeIn ¶
AttestationTypeIn applies the In predicate on the "attestation_type" field.
func AttestationTypeIsNil ¶
AttestationTypeIsNil applies the IsNil predicate on the "attestation_type" field.
func AttestationTypeLT ¶
AttestationTypeLT applies the LT predicate on the "attestation_type" field.
func AttestationTypeLTE ¶
AttestationTypeLTE applies the LTE predicate on the "attestation_type" field.
func AttestationTypeNEQ ¶
AttestationTypeNEQ applies the NEQ predicate on the "attestation_type" field.
func AttestationTypeNotIn ¶
AttestationTypeNotIn applies the NotIn predicate on the "attestation_type" field.
func AttestationTypeNotNil ¶
AttestationTypeNotNil applies the NotNil predicate on the "attestation_type" field.
func BackupEligible ¶
BackupEligible applies equality check predicate on the "backup_eligible" field. It's identical to BackupEligibleEQ.
func BackupEligibleEQ ¶
BackupEligibleEQ applies the EQ predicate on the "backup_eligible" field.
func BackupEligibleNEQ ¶
BackupEligibleNEQ applies the NEQ predicate on the "backup_eligible" field.
func BackupState ¶
BackupState applies equality check predicate on the "backup_state" field. It's identical to BackupStateEQ.
func BackupStateEQ ¶
BackupStateEQ applies the EQ predicate on the "backup_state" field.
func BackupStateNEQ ¶
BackupStateNEQ applies the NEQ predicate on the "backup_state" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶ added in v0.3.4
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶ added in v0.3.4
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func CredentialID ¶
CredentialID applies equality check predicate on the "credential_id" field. It's identical to CredentialIDEQ.
func CredentialIDEQ ¶
CredentialIDEQ applies the EQ predicate on the "credential_id" field.
func CredentialIDGT ¶
CredentialIDGT applies the GT predicate on the "credential_id" field.
func CredentialIDGTE ¶
CredentialIDGTE applies the GTE predicate on the "credential_id" field.
func CredentialIDIn ¶
CredentialIDIn applies the In predicate on the "credential_id" field.
func CredentialIDIsNil ¶
CredentialIDIsNil applies the IsNil predicate on the "credential_id" field.
func CredentialIDLT ¶
CredentialIDLT applies the LT predicate on the "credential_id" field.
func CredentialIDLTE ¶
CredentialIDLTE applies the LTE predicate on the "credential_id" field.
func CredentialIDNEQ ¶
CredentialIDNEQ applies the NEQ predicate on the "credential_id" field.
func CredentialIDNotIn ¶
CredentialIDNotIn applies the NotIn predicate on the "credential_id" field.
func CredentialIDNotNil ¶
CredentialIDNotNil applies the NotNil predicate on the "credential_id" field.
func HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func MappingID ¶ added in v0.5.0
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶ added in v0.5.0
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶ added in v0.5.0
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶ added in v0.5.0
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶ added in v0.5.0
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶ added in v0.5.0
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶ added in v0.5.0
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶ added in v0.5.0
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶ added in v0.5.0
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶ added in v0.5.0
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶ added in v0.5.0
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶ added in v0.5.0
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶ added in v0.5.0
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶ added in v0.5.0
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func PublicKey ¶
PublicKey applies equality check predicate on the "public_key" field. It's identical to PublicKeyEQ.
func PublicKeyEQ ¶
PublicKeyEQ applies the EQ predicate on the "public_key" field.
func PublicKeyGT ¶
PublicKeyGT applies the GT predicate on the "public_key" field.
func PublicKeyGTE ¶
PublicKeyGTE applies the GTE predicate on the "public_key" field.
func PublicKeyIn ¶
PublicKeyIn applies the In predicate on the "public_key" field.
func PublicKeyIsNil ¶
PublicKeyIsNil applies the IsNil predicate on the "public_key" field.
func PublicKeyLT ¶
PublicKeyLT applies the LT predicate on the "public_key" field.
func PublicKeyLTE ¶
PublicKeyLTE applies the LTE predicate on the "public_key" field.
func PublicKeyNEQ ¶
PublicKeyNEQ applies the NEQ predicate on the "public_key" field.
func PublicKeyNotIn ¶
PublicKeyNotIn applies the NotIn predicate on the "public_key" field.
func PublicKeyNotNil ¶
PublicKeyNotNil applies the NotNil predicate on the "public_key" field.
func SignCount ¶
SignCount applies equality check predicate on the "sign_count" field. It's identical to SignCountEQ.
func SignCountEQ ¶
SignCountEQ applies the EQ predicate on the "sign_count" field.
func SignCountGT ¶
SignCountGT applies the GT predicate on the "sign_count" field.
func SignCountGTE ¶
SignCountGTE applies the GTE predicate on the "sign_count" field.
func SignCountIn ¶
SignCountIn applies the In predicate on the "sign_count" field.
func SignCountLT ¶
SignCountLT applies the LT predicate on the "sign_count" field.
func SignCountLTE ¶
SignCountLTE applies the LTE predicate on the "sign_count" field.
func SignCountNEQ ¶
SignCountNEQ applies the NEQ predicate on the "sign_count" field.
func SignCountNotIn ¶
SignCountNotIn applies the NotIn predicate on the "sign_count" field.
func TagsNotNil ¶ added in v0.5.2
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶ added in v0.3.4
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶ added in v0.3.4
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func UserPresent ¶ added in v0.3.5
UserPresent applies equality check predicate on the "user_present" field. It's identical to UserPresentEQ.
func UserPresentEQ ¶ added in v0.3.5
UserPresentEQ applies the EQ predicate on the "user_present" field.
func UserPresentNEQ ¶ added in v0.3.5
UserPresentNEQ applies the NEQ predicate on the "user_present" field.
func UserVerified ¶ added in v0.3.5
UserVerified applies equality check predicate on the "user_verified" field. It's identical to UserVerifiedEQ.
func UserVerifiedEQ ¶ added in v0.3.5
UserVerifiedEQ applies the EQ predicate on the "user_verified" field.
func UserVerifiedNEQ ¶ added in v0.3.5
UserVerifiedNEQ applies the NEQ predicate on the "user_verified" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.