Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.PasswordResetToken) predicate.PasswordResetToken
- func CreatedAt(v time.Time) predicate.PasswordResetToken
- func CreatedAtEQ(v time.Time) predicate.PasswordResetToken
- func CreatedAtGT(v time.Time) predicate.PasswordResetToken
- func CreatedAtGTE(v time.Time) predicate.PasswordResetToken
- func CreatedAtIn(vs ...time.Time) predicate.PasswordResetToken
- func CreatedAtIsNil() predicate.PasswordResetToken
- func CreatedAtLT(v time.Time) predicate.PasswordResetToken
- func CreatedAtLTE(v time.Time) predicate.PasswordResetToken
- func CreatedAtNEQ(v time.Time) predicate.PasswordResetToken
- func CreatedAtNotIn(vs ...time.Time) predicate.PasswordResetToken
- func CreatedAtNotNil() predicate.PasswordResetToken
- func CreatedBy(v string) predicate.PasswordResetToken
- func CreatedByContains(v string) predicate.PasswordResetToken
- func CreatedByContainsFold(v string) predicate.PasswordResetToken
- func CreatedByEQ(v string) predicate.PasswordResetToken
- func CreatedByEqualFold(v string) predicate.PasswordResetToken
- func CreatedByGT(v string) predicate.PasswordResetToken
- func CreatedByGTE(v string) predicate.PasswordResetToken
- func CreatedByHasPrefix(v string) predicate.PasswordResetToken
- func CreatedByHasSuffix(v string) predicate.PasswordResetToken
- func CreatedByIn(vs ...string) predicate.PasswordResetToken
- func CreatedByIsNil() predicate.PasswordResetToken
- func CreatedByLT(v string) predicate.PasswordResetToken
- func CreatedByLTE(v string) predicate.PasswordResetToken
- func CreatedByNEQ(v string) predicate.PasswordResetToken
- func CreatedByNotIn(vs ...string) predicate.PasswordResetToken
- func CreatedByNotNil() predicate.PasswordResetToken
- func DeletedAt(v time.Time) predicate.PasswordResetToken
- func DeletedAtEQ(v time.Time) predicate.PasswordResetToken
- func DeletedAtGT(v time.Time) predicate.PasswordResetToken
- func DeletedAtGTE(v time.Time) predicate.PasswordResetToken
- func DeletedAtIn(vs ...time.Time) predicate.PasswordResetToken
- func DeletedAtIsNil() predicate.PasswordResetToken
- func DeletedAtLT(v time.Time) predicate.PasswordResetToken
- func DeletedAtLTE(v time.Time) predicate.PasswordResetToken
- func DeletedAtNEQ(v time.Time) predicate.PasswordResetToken
- func DeletedAtNotIn(vs ...time.Time) predicate.PasswordResetToken
- func DeletedAtNotNil() predicate.PasswordResetToken
- func DeletedBy(v string) predicate.PasswordResetToken
- func DeletedByContains(v string) predicate.PasswordResetToken
- func DeletedByContainsFold(v string) predicate.PasswordResetToken
- func DeletedByEQ(v string) predicate.PasswordResetToken
- func DeletedByEqualFold(v string) predicate.PasswordResetToken
- func DeletedByGT(v string) predicate.PasswordResetToken
- func DeletedByGTE(v string) predicate.PasswordResetToken
- func DeletedByHasPrefix(v string) predicate.PasswordResetToken
- func DeletedByHasSuffix(v string) predicate.PasswordResetToken
- func DeletedByIn(vs ...string) predicate.PasswordResetToken
- func DeletedByIsNil() predicate.PasswordResetToken
- func DeletedByLT(v string) predicate.PasswordResetToken
- func DeletedByLTE(v string) predicate.PasswordResetToken
- func DeletedByNEQ(v string) predicate.PasswordResetToken
- func DeletedByNotIn(vs ...string) predicate.PasswordResetToken
- func DeletedByNotNil() predicate.PasswordResetToken
- func Email(v string) predicate.PasswordResetToken
- func EmailContains(v string) predicate.PasswordResetToken
- func EmailContainsFold(v string) predicate.PasswordResetToken
- func EmailEQ(v string) predicate.PasswordResetToken
- func EmailEqualFold(v string) predicate.PasswordResetToken
- func EmailGT(v string) predicate.PasswordResetToken
- func EmailGTE(v string) predicate.PasswordResetToken
- func EmailHasPrefix(v string) predicate.PasswordResetToken
- func EmailHasSuffix(v string) predicate.PasswordResetToken
- func EmailIn(vs ...string) predicate.PasswordResetToken
- func EmailLT(v string) predicate.PasswordResetToken
- func EmailLTE(v string) predicate.PasswordResetToken
- func EmailNEQ(v string) predicate.PasswordResetToken
- func EmailNotIn(vs ...string) predicate.PasswordResetToken
- func HasOwner() predicate.PasswordResetToken
- func HasOwnerWith(preds ...predicate.User) predicate.PasswordResetToken
- func ID(id string) predicate.PasswordResetToken
- func IDContainsFold(id string) predicate.PasswordResetToken
- func IDEQ(id string) predicate.PasswordResetToken
- func IDEqualFold(id string) predicate.PasswordResetToken
- func IDGT(id string) predicate.PasswordResetToken
- func IDGTE(id string) predicate.PasswordResetToken
- func IDIn(ids ...string) predicate.PasswordResetToken
- func IDLT(id string) predicate.PasswordResetToken
- func IDLTE(id string) predicate.PasswordResetToken
- func IDNEQ(id string) predicate.PasswordResetToken
- func IDNotIn(ids ...string) predicate.PasswordResetToken
- func MappingID(v string) predicate.PasswordResetToken
- func MappingIDContains(v string) predicate.PasswordResetToken
- func MappingIDContainsFold(v string) predicate.PasswordResetToken
- func MappingIDEQ(v string) predicate.PasswordResetToken
- func MappingIDEqualFold(v string) predicate.PasswordResetToken
- func MappingIDGT(v string) predicate.PasswordResetToken
- func MappingIDGTE(v string) predicate.PasswordResetToken
- func MappingIDHasPrefix(v string) predicate.PasswordResetToken
- func MappingIDHasSuffix(v string) predicate.PasswordResetToken
- func MappingIDIn(vs ...string) predicate.PasswordResetToken
- func MappingIDLT(v string) predicate.PasswordResetToken
- func MappingIDLTE(v string) predicate.PasswordResetToken
- func MappingIDNEQ(v string) predicate.PasswordResetToken
- func MappingIDNotIn(vs ...string) predicate.PasswordResetToken
- func Not(p predicate.PasswordResetToken) predicate.PasswordResetToken
- func Or(predicates ...predicate.PasswordResetToken) predicate.PasswordResetToken
- func OwnerID(v string) predicate.PasswordResetToken
- func OwnerIDContains(v string) predicate.PasswordResetToken
- func OwnerIDContainsFold(v string) predicate.PasswordResetToken
- func OwnerIDEQ(v string) predicate.PasswordResetToken
- func OwnerIDEqualFold(v string) predicate.PasswordResetToken
- func OwnerIDGT(v string) predicate.PasswordResetToken
- func OwnerIDGTE(v string) predicate.PasswordResetToken
- func OwnerIDHasPrefix(v string) predicate.PasswordResetToken
- func OwnerIDHasSuffix(v string) predicate.PasswordResetToken
- func OwnerIDIn(vs ...string) predicate.PasswordResetToken
- func OwnerIDLT(v string) predicate.PasswordResetToken
- func OwnerIDLTE(v string) predicate.PasswordResetToken
- func OwnerIDNEQ(v string) predicate.PasswordResetToken
- func OwnerIDNotIn(vs ...string) predicate.PasswordResetToken
- func Secret(v []byte) predicate.PasswordResetToken
- func SecretEQ(v []byte) predicate.PasswordResetToken
- func SecretGT(v []byte) predicate.PasswordResetToken
- func SecretGTE(v []byte) predicate.PasswordResetToken
- func SecretIn(vs ...[]byte) predicate.PasswordResetToken
- func SecretLT(v []byte) predicate.PasswordResetToken
- func SecretLTE(v []byte) predicate.PasswordResetToken
- func SecretNEQ(v []byte) predicate.PasswordResetToken
- func SecretNotIn(vs ...[]byte) predicate.PasswordResetToken
- func TTL(v time.Time) predicate.PasswordResetToken
- func TTLEQ(v time.Time) predicate.PasswordResetToken
- func TTLGT(v time.Time) predicate.PasswordResetToken
- func TTLGTE(v time.Time) predicate.PasswordResetToken
- func TTLIn(vs ...time.Time) predicate.PasswordResetToken
- func TTLLT(v time.Time) predicate.PasswordResetToken
- func TTLLTE(v time.Time) predicate.PasswordResetToken
- func TTLNEQ(v time.Time) predicate.PasswordResetToken
- func TTLNotIn(vs ...time.Time) predicate.PasswordResetToken
- func Token(v string) predicate.PasswordResetToken
- func TokenContains(v string) predicate.PasswordResetToken
- func TokenContainsFold(v string) predicate.PasswordResetToken
- func TokenEQ(v string) predicate.PasswordResetToken
- func TokenEqualFold(v string) predicate.PasswordResetToken
- func TokenGT(v string) predicate.PasswordResetToken
- func TokenGTE(v string) predicate.PasswordResetToken
- func TokenHasPrefix(v string) predicate.PasswordResetToken
- func TokenHasSuffix(v string) predicate.PasswordResetToken
- func TokenIn(vs ...string) predicate.PasswordResetToken
- func TokenLT(v string) predicate.PasswordResetToken
- func TokenLTE(v string) predicate.PasswordResetToken
- func TokenNEQ(v string) predicate.PasswordResetToken
- func TokenNotIn(vs ...string) predicate.PasswordResetToken
- func UpdatedAt(v time.Time) predicate.PasswordResetToken
- func UpdatedAtEQ(v time.Time) predicate.PasswordResetToken
- func UpdatedAtGT(v time.Time) predicate.PasswordResetToken
- func UpdatedAtGTE(v time.Time) predicate.PasswordResetToken
- func UpdatedAtIn(vs ...time.Time) predicate.PasswordResetToken
- func UpdatedAtIsNil() predicate.PasswordResetToken
- func UpdatedAtLT(v time.Time) predicate.PasswordResetToken
- func UpdatedAtLTE(v time.Time) predicate.PasswordResetToken
- func UpdatedAtNEQ(v time.Time) predicate.PasswordResetToken
- func UpdatedAtNotIn(vs ...time.Time) predicate.PasswordResetToken
- func UpdatedAtNotNil() predicate.PasswordResetToken
- func UpdatedBy(v string) predicate.PasswordResetToken
- func UpdatedByContains(v string) predicate.PasswordResetToken
- func UpdatedByContainsFold(v string) predicate.PasswordResetToken
- func UpdatedByEQ(v string) predicate.PasswordResetToken
- func UpdatedByEqualFold(v string) predicate.PasswordResetToken
- func UpdatedByGT(v string) predicate.PasswordResetToken
- func UpdatedByGTE(v string) predicate.PasswordResetToken
- func UpdatedByHasPrefix(v string) predicate.PasswordResetToken
- func UpdatedByHasSuffix(v string) predicate.PasswordResetToken
- func UpdatedByIn(vs ...string) predicate.PasswordResetToken
- func UpdatedByIsNil() predicate.PasswordResetToken
- func UpdatedByLT(v string) predicate.PasswordResetToken
- func UpdatedByLTE(v string) predicate.PasswordResetToken
- func UpdatedByNEQ(v string) predicate.PasswordResetToken
- func UpdatedByNotIn(vs ...string) predicate.PasswordResetToken
- func UpdatedByNotNil() predicate.PasswordResetToken
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(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 ByTTL(opts ...sql.OrderTermOption) OrderOption
- func ByToken(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the passwordresettoken type in the database. Label = "password_reset_token" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // FieldTTL holds the string denoting the ttl field in the database. FieldTTL = "ttl" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldSecret holds the string denoting the secret field in the database. FieldSecret = "secret" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the passwordresettoken in the database. Table = "password_reset_tokens" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "password_reset_tokens" // 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 [5]ent.Hook Interceptors [2]ent.Interceptor Policy ent.Policy // 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 // TokenValidator is a validator for the "token" field. It is called by the builders before save. TokenValidator func(string) error // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator func(string) error // SecretValidator is a validator for the "secret" field. It is called by the builders before save. SecretValidator func([]byte) error // 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/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldMappingID, FieldDeletedAt, FieldDeletedBy, FieldOwnerID, FieldToken, FieldTTL, FieldEmail, FieldSecret, }
Columns holds all SQL columns for passwordresettoken fields.
Functions ¶
func And ¶
func And(predicates ...predicate.PasswordResetToken) predicate.PasswordResetToken
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.PasswordResetToken
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.PasswordResetToken
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.PasswordResetToken
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.PasswordResetToken
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.PasswordResetToken
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.PasswordResetToken
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.PasswordResetToken
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.PasswordResetToken
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.PasswordResetToken
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.PasswordResetToken
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.PasswordResetToken
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.PasswordResetToken
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.PasswordResetToken
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.PasswordResetToken
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.PasswordResetToken
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.PasswordResetToken
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.PasswordResetToken
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.PasswordResetToken
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.PasswordResetToken
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.PasswordResetToken
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.PasswordResetToken
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.PasswordResetToken
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.PasswordResetToken
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.PasswordResetToken
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.PasswordResetToken
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.PasswordResetToken
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.PasswordResetToken
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.PasswordResetToken
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.PasswordResetToken
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.PasswordResetToken
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.PasswordResetToken
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.PasswordResetToken
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.PasswordResetToken
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.PasswordResetToken
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.PasswordResetToken
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.PasswordResetToken
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.PasswordResetToken
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.PasswordResetToken
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.PasswordResetToken
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.PasswordResetToken
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.PasswordResetToken
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.PasswordResetToken
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.PasswordResetToken
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.PasswordResetToken
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.PasswordResetToken
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.PasswordResetToken
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.PasswordResetToken
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.PasswordResetToken
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.PasswordResetToken
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.PasswordResetToken
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.PasswordResetToken
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.PasswordResetToken
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.PasswordResetToken
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.PasswordResetToken
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Email ¶
func Email(v string) predicate.PasswordResetToken
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
func EmailContains(v string) predicate.PasswordResetToken
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
func EmailContainsFold(v string) predicate.PasswordResetToken
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEQ ¶
func EmailEQ(v string) predicate.PasswordResetToken
EmailEQ applies the EQ predicate on the "email" field.
func EmailEqualFold ¶
func EmailEqualFold(v string) predicate.PasswordResetToken
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailGT ¶
func EmailGT(v string) predicate.PasswordResetToken
EmailGT applies the GT predicate on the "email" field.
func EmailGTE ¶
func EmailGTE(v string) predicate.PasswordResetToken
EmailGTE applies the GTE predicate on the "email" field.
func EmailHasPrefix ¶
func EmailHasPrefix(v string) predicate.PasswordResetToken
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
func EmailHasSuffix(v string) predicate.PasswordResetToken
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIn ¶
func EmailIn(vs ...string) predicate.PasswordResetToken
EmailIn applies the In predicate on the "email" field.
func EmailLT ¶
func EmailLT(v string) predicate.PasswordResetToken
EmailLT applies the LT predicate on the "email" field.
func EmailLTE ¶
func EmailLTE(v string) predicate.PasswordResetToken
EmailLTE applies the LTE predicate on the "email" field.
func EmailNEQ ¶
func EmailNEQ(v string) predicate.PasswordResetToken
EmailNEQ applies the NEQ predicate on the "email" field.
func EmailNotIn ¶
func EmailNotIn(vs ...string) predicate.PasswordResetToken
EmailNotIn applies the NotIn predicate on the "email" field.
func HasOwner ¶
func HasOwner() predicate.PasswordResetToken
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.User) predicate.PasswordResetToken
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func ID ¶
func ID(id string) predicate.PasswordResetToken
ID filters vertices based on their ID field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.PasswordResetToken
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.PasswordResetToken
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.PasswordResetToken
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.PasswordResetToken
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.PasswordResetToken
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.PasswordResetToken
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.PasswordResetToken
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.PasswordResetToken
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.PasswordResetToken
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.PasswordResetToken
IDNotIn applies the NotIn predicate on the ID field.
func MappingID ¶
func MappingID(v string) predicate.PasswordResetToken
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
func MappingIDContains(v string) predicate.PasswordResetToken
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
func MappingIDContainsFold(v string) predicate.PasswordResetToken
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
func MappingIDEQ(v string) predicate.PasswordResetToken
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
func MappingIDEqualFold(v string) predicate.PasswordResetToken
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
func MappingIDGT(v string) predicate.PasswordResetToken
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
func MappingIDGTE(v string) predicate.PasswordResetToken
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
func MappingIDHasPrefix(v string) predicate.PasswordResetToken
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
func MappingIDHasSuffix(v string) predicate.PasswordResetToken
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
func MappingIDIn(vs ...string) predicate.PasswordResetToken
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
func MappingIDLT(v string) predicate.PasswordResetToken
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
func MappingIDLTE(v string) predicate.PasswordResetToken
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
func MappingIDNEQ(v string) predicate.PasswordResetToken
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
func MappingIDNotIn(vs ...string) predicate.PasswordResetToken
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Not ¶
func Not(p predicate.PasswordResetToken) predicate.PasswordResetToken
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.PasswordResetToken) predicate.PasswordResetToken
Or groups predicates with the OR operator between them.
func OwnerID ¶
func OwnerID(v string) predicate.PasswordResetToken
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
func OwnerIDContains(v string) predicate.PasswordResetToken
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
func OwnerIDContainsFold(v string) predicate.PasswordResetToken
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEQ ¶
func OwnerIDEQ(v string) predicate.PasswordResetToken
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
func OwnerIDEqualFold(v string) predicate.PasswordResetToken
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGT ¶
func OwnerIDGT(v string) predicate.PasswordResetToken
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶
func OwnerIDGTE(v string) predicate.PasswordResetToken
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
func OwnerIDHasPrefix(v string) predicate.PasswordResetToken
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
func OwnerIDHasSuffix(v string) predicate.PasswordResetToken
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIn ¶
func OwnerIDIn(vs ...string) predicate.PasswordResetToken
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDLT ¶
func OwnerIDLT(v string) predicate.PasswordResetToken
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶
func OwnerIDLTE(v string) predicate.PasswordResetToken
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
func OwnerIDNEQ(v string) predicate.PasswordResetToken
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
func OwnerIDNotIn(vs ...string) predicate.PasswordResetToken
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func Secret ¶
func Secret(v []byte) predicate.PasswordResetToken
Secret applies equality check predicate on the "secret" field. It's identical to SecretEQ.
func SecretEQ ¶
func SecretEQ(v []byte) predicate.PasswordResetToken
SecretEQ applies the EQ predicate on the "secret" field.
func SecretGT ¶
func SecretGT(v []byte) predicate.PasswordResetToken
SecretGT applies the GT predicate on the "secret" field.
func SecretGTE ¶
func SecretGTE(v []byte) predicate.PasswordResetToken
SecretGTE applies the GTE predicate on the "secret" field.
func SecretIn ¶
func SecretIn(vs ...[]byte) predicate.PasswordResetToken
SecretIn applies the In predicate on the "secret" field.
func SecretLT ¶
func SecretLT(v []byte) predicate.PasswordResetToken
SecretLT applies the LT predicate on the "secret" field.
func SecretLTE ¶
func SecretLTE(v []byte) predicate.PasswordResetToken
SecretLTE applies the LTE predicate on the "secret" field.
func SecretNEQ ¶
func SecretNEQ(v []byte) predicate.PasswordResetToken
SecretNEQ applies the NEQ predicate on the "secret" field.
func SecretNotIn ¶
func SecretNotIn(vs ...[]byte) predicate.PasswordResetToken
SecretNotIn applies the NotIn predicate on the "secret" field.
func TTL ¶
func TTL(v time.Time) predicate.PasswordResetToken
TTL applies equality check predicate on the "ttl" field. It's identical to TTLEQ.
func TTLEQ ¶
func TTLEQ(v time.Time) predicate.PasswordResetToken
TTLEQ applies the EQ predicate on the "ttl" field.
func TTLGT ¶
func TTLGT(v time.Time) predicate.PasswordResetToken
TTLGT applies the GT predicate on the "ttl" field.
func TTLGTE ¶
func TTLGTE(v time.Time) predicate.PasswordResetToken
TTLGTE applies the GTE predicate on the "ttl" field.
func TTLIn ¶
func TTLIn(vs ...time.Time) predicate.PasswordResetToken
TTLIn applies the In predicate on the "ttl" field.
func TTLLT ¶
func TTLLT(v time.Time) predicate.PasswordResetToken
TTLLT applies the LT predicate on the "ttl" field.
func TTLLTE ¶
func TTLLTE(v time.Time) predicate.PasswordResetToken
TTLLTE applies the LTE predicate on the "ttl" field.
func TTLNEQ ¶
func TTLNEQ(v time.Time) predicate.PasswordResetToken
TTLNEQ applies the NEQ predicate on the "ttl" field.
func TTLNotIn ¶
func TTLNotIn(vs ...time.Time) predicate.PasswordResetToken
TTLNotIn applies the NotIn predicate on the "ttl" field.
func Token ¶
func Token(v string) predicate.PasswordResetToken
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
func TokenContains(v string) predicate.PasswordResetToken
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
func TokenContainsFold(v string) predicate.PasswordResetToken
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEQ ¶
func TokenEQ(v string) predicate.PasswordResetToken
TokenEQ applies the EQ predicate on the "token" field.
func TokenEqualFold ¶
func TokenEqualFold(v string) predicate.PasswordResetToken
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenGT ¶
func TokenGT(v string) predicate.PasswordResetToken
TokenGT applies the GT predicate on the "token" field.
func TokenGTE ¶
func TokenGTE(v string) predicate.PasswordResetToken
TokenGTE applies the GTE predicate on the "token" field.
func TokenHasPrefix ¶
func TokenHasPrefix(v string) predicate.PasswordResetToken
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
func TokenHasSuffix(v string) predicate.PasswordResetToken
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenIn ¶
func TokenIn(vs ...string) predicate.PasswordResetToken
TokenIn applies the In predicate on the "token" field.
func TokenLT ¶
func TokenLT(v string) predicate.PasswordResetToken
TokenLT applies the LT predicate on the "token" field.
func TokenLTE ¶
func TokenLTE(v string) predicate.PasswordResetToken
TokenLTE applies the LTE predicate on the "token" field.
func TokenNEQ ¶
func TokenNEQ(v string) predicate.PasswordResetToken
TokenNEQ applies the NEQ predicate on the "token" field.
func TokenNotIn ¶
func TokenNotIn(vs ...string) predicate.PasswordResetToken
TokenNotIn applies the NotIn predicate on the "token" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.PasswordResetToken
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.PasswordResetToken
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.PasswordResetToken
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.PasswordResetToken
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.PasswordResetToken
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.PasswordResetToken
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.PasswordResetToken
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.PasswordResetToken
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.PasswordResetToken
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.PasswordResetToken
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.PasswordResetToken
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.PasswordResetToken
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.PasswordResetToken
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.PasswordResetToken
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.PasswordResetToken
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.PasswordResetToken
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.PasswordResetToken
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.PasswordResetToken
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.PasswordResetToken
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.PasswordResetToken
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.PasswordResetToken
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.PasswordResetToken
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.PasswordResetToken
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.PasswordResetToken
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.PasswordResetToken
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.PasswordResetToken
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.PasswordResetToken
UpdatedByNotNil applies the NotNil predicate on the "updated_by" 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 PasswordResetToken queries.
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 ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMappingID ¶
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 ByTTL ¶
func ByTTL(opts ...sql.OrderTermOption) OrderOption
ByTTL orders the results by the ttl field.
func ByToken ¶
func ByToken(opts ...sql.OrderTermOption) OrderOption
ByToken orders the results by the token 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.