Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.UserIdentity) predicate.UserIdentity
- func AvatarURL(v string) predicate.UserIdentity
- func AvatarURLContains(v string) predicate.UserIdentity
- func AvatarURLContainsFold(v string) predicate.UserIdentity
- func AvatarURLEQ(v string) predicate.UserIdentity
- func AvatarURLEqualFold(v string) predicate.UserIdentity
- func AvatarURLGT(v string) predicate.UserIdentity
- func AvatarURLGTE(v string) predicate.UserIdentity
- func AvatarURLHasPrefix(v string) predicate.UserIdentity
- func AvatarURLHasSuffix(v string) predicate.UserIdentity
- func AvatarURLIn(vs ...string) predicate.UserIdentity
- func AvatarURLIsNil() predicate.UserIdentity
- func AvatarURLLT(v string) predicate.UserIdentity
- func AvatarURLLTE(v string) predicate.UserIdentity
- func AvatarURLNEQ(v string) predicate.UserIdentity
- func AvatarURLNotIn(vs ...string) predicate.UserIdentity
- func AvatarURLNotNil() predicate.UserIdentity
- func CreatedAt(v time.Time) predicate.UserIdentity
- func CreatedAtEQ(v time.Time) predicate.UserIdentity
- func CreatedAtGT(v time.Time) predicate.UserIdentity
- func CreatedAtGTE(v time.Time) predicate.UserIdentity
- func CreatedAtIn(vs ...time.Time) predicate.UserIdentity
- func CreatedAtLT(v time.Time) predicate.UserIdentity
- func CreatedAtLTE(v time.Time) predicate.UserIdentity
- func CreatedAtNEQ(v time.Time) predicate.UserIdentity
- func CreatedAtNotIn(vs ...time.Time) predicate.UserIdentity
- func DeletedAt(v time.Time) predicate.UserIdentity
- func DeletedAtEQ(v time.Time) predicate.UserIdentity
- func DeletedAtGT(v time.Time) predicate.UserIdentity
- func DeletedAtGTE(v time.Time) predicate.UserIdentity
- func DeletedAtIn(vs ...time.Time) predicate.UserIdentity
- func DeletedAtIsNil() predicate.UserIdentity
- func DeletedAtLT(v time.Time) predicate.UserIdentity
- func DeletedAtLTE(v time.Time) predicate.UserIdentity
- func DeletedAtNEQ(v time.Time) predicate.UserIdentity
- func DeletedAtNotIn(vs ...time.Time) predicate.UserIdentity
- func DeletedAtNotNil() predicate.UserIdentity
- func Email(v string) predicate.UserIdentity
- func EmailContains(v string) predicate.UserIdentity
- func EmailContainsFold(v string) predicate.UserIdentity
- func EmailEQ(v string) predicate.UserIdentity
- func EmailEqualFold(v string) predicate.UserIdentity
- func EmailGT(v string) predicate.UserIdentity
- func EmailGTE(v string) predicate.UserIdentity
- func EmailHasPrefix(v string) predicate.UserIdentity
- func EmailHasSuffix(v string) predicate.UserIdentity
- func EmailIn(vs ...string) predicate.UserIdentity
- func EmailIsNil() predicate.UserIdentity
- func EmailLT(v string) predicate.UserIdentity
- func EmailLTE(v string) predicate.UserIdentity
- func EmailNEQ(v string) predicate.UserIdentity
- func EmailNotIn(vs ...string) predicate.UserIdentity
- func EmailNotNil() predicate.UserIdentity
- func HasUser() predicate.UserIdentity
- func HasUserWith(preds ...predicate.User) predicate.UserIdentity
- func ID(id uuid.UUID) predicate.UserIdentity
- func IDEQ(id uuid.UUID) predicate.UserIdentity
- func IDGT(id uuid.UUID) predicate.UserIdentity
- func IDGTE(id uuid.UUID) predicate.UserIdentity
- func IDIn(ids ...uuid.UUID) predicate.UserIdentity
- func IDLT(id uuid.UUID) predicate.UserIdentity
- func IDLTE(id uuid.UUID) predicate.UserIdentity
- func IDNEQ(id uuid.UUID) predicate.UserIdentity
- func IDNotIn(ids ...uuid.UUID) predicate.UserIdentity
- func IdentityID(v string) predicate.UserIdentity
- func IdentityIDContains(v string) predicate.UserIdentity
- func IdentityIDContainsFold(v string) predicate.UserIdentity
- func IdentityIDEQ(v string) predicate.UserIdentity
- func IdentityIDEqualFold(v string) predicate.UserIdentity
- func IdentityIDGT(v string) predicate.UserIdentity
- func IdentityIDGTE(v string) predicate.UserIdentity
- func IdentityIDHasPrefix(v string) predicate.UserIdentity
- func IdentityIDHasSuffix(v string) predicate.UserIdentity
- func IdentityIDIn(vs ...string) predicate.UserIdentity
- func IdentityIDLT(v string) predicate.UserIdentity
- func IdentityIDLTE(v string) predicate.UserIdentity
- func IdentityIDNEQ(v string) predicate.UserIdentity
- func IdentityIDNotIn(vs ...string) predicate.UserIdentity
- func Not(p predicate.UserIdentity) predicate.UserIdentity
- func Or(predicates ...predicate.UserIdentity) predicate.UserIdentity
- func Platform(v consts.UserPlatform) predicate.UserIdentity
- func PlatformContains(v consts.UserPlatform) predicate.UserIdentity
- func PlatformContainsFold(v consts.UserPlatform) predicate.UserIdentity
- func PlatformEQ(v consts.UserPlatform) predicate.UserIdentity
- func PlatformEqualFold(v consts.UserPlatform) predicate.UserIdentity
- func PlatformGT(v consts.UserPlatform) predicate.UserIdentity
- func PlatformGTE(v consts.UserPlatform) predicate.UserIdentity
- func PlatformHasPrefix(v consts.UserPlatform) predicate.UserIdentity
- func PlatformHasSuffix(v consts.UserPlatform) predicate.UserIdentity
- func PlatformIn(vs ...consts.UserPlatform) predicate.UserIdentity
- func PlatformLT(v consts.UserPlatform) predicate.UserIdentity
- func PlatformLTE(v consts.UserPlatform) predicate.UserIdentity
- func PlatformNEQ(v consts.UserPlatform) predicate.UserIdentity
- func PlatformNotIn(vs ...consts.UserPlatform) predicate.UserIdentity
- func UpdatedAt(v time.Time) predicate.UserIdentity
- func UpdatedAtEQ(v time.Time) predicate.UserIdentity
- func UpdatedAtGT(v time.Time) predicate.UserIdentity
- func UpdatedAtGTE(v time.Time) predicate.UserIdentity
- func UpdatedAtIn(vs ...time.Time) predicate.UserIdentity
- func UpdatedAtIsNil() predicate.UserIdentity
- func UpdatedAtLT(v time.Time) predicate.UserIdentity
- func UpdatedAtLTE(v time.Time) predicate.UserIdentity
- func UpdatedAtNEQ(v time.Time) predicate.UserIdentity
- func UpdatedAtNotIn(vs ...time.Time) predicate.UserIdentity
- func UpdatedAtNotNil() predicate.UserIdentity
- func UserID(v uuid.UUID) predicate.UserIdentity
- func UserIDEQ(v uuid.UUID) predicate.UserIdentity
- func UserIDIn(vs ...uuid.UUID) predicate.UserIdentity
- func UserIDNEQ(v uuid.UUID) predicate.UserIdentity
- func UserIDNotIn(vs ...uuid.UUID) predicate.UserIdentity
- func Username(v string) predicate.UserIdentity
- func UsernameContains(v string) predicate.UserIdentity
- func UsernameContainsFold(v string) predicate.UserIdentity
- func UsernameEQ(v string) predicate.UserIdentity
- func UsernameEqualFold(v string) predicate.UserIdentity
- func UsernameGT(v string) predicate.UserIdentity
- func UsernameGTE(v string) predicate.UserIdentity
- func UsernameHasPrefix(v string) predicate.UserIdentity
- func UsernameHasSuffix(v string) predicate.UserIdentity
- func UsernameIn(vs ...string) predicate.UserIdentity
- func UsernameLT(v string) predicate.UserIdentity
- func UsernameLTE(v string) predicate.UserIdentity
- func UsernameNEQ(v string) predicate.UserIdentity
- func UsernameNotIn(vs ...string) predicate.UserIdentity
- func ValidColumn(column string) bool
- type OrderOption
- func ByAvatarURL(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIdentityID(opts ...sql.OrderTermOption) OrderOption
- func ByPlatform(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByUsername(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the useridentity type in the database. Label = "user_identity" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldPlatform holds the string denoting the platform field in the database. FieldPlatform = "platform" // FieldIdentityID holds the string denoting the identity_id field in the database. FieldIdentityID = "identity_id" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldAvatarURL holds the string denoting the avatar_url field in the database. FieldAvatarURL = "avatar_url" // 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" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the useridentity in the database. Table = "user_identities" // UserTable is the table that holds the user relation/edge. UserTable = "user_identities" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // PlatformValidator is a validator for the "platform" field. It is called by the builders before save. PlatformValidator func(string) error // IdentityIDValidator is a validator for the "identity_id" field. It is called by the builders before save. IdentityIDValidator func(string) error // UsernameValidator is a validator for the "username" field. It is called by the builders before save. UsernameValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time )
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/chaitin/MonkeyCode/backend/db/runtime"
var Columns = []string{ FieldID, FieldDeletedAt, FieldUserID, FieldPlatform, FieldIdentityID, FieldUsername, FieldEmail, FieldAvatarURL, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for useridentity fields.
Functions ¶
func And ¶
func And(predicates ...predicate.UserIdentity) predicate.UserIdentity
And groups predicates with the AND operator between them.
func AvatarURL ¶
func AvatarURL(v string) predicate.UserIdentity
AvatarURL applies equality check predicate on the "avatar_url" field. It's identical to AvatarURLEQ.
func AvatarURLContains ¶
func AvatarURLContains(v string) predicate.UserIdentity
AvatarURLContains applies the Contains predicate on the "avatar_url" field.
func AvatarURLContainsFold ¶
func AvatarURLContainsFold(v string) predicate.UserIdentity
AvatarURLContainsFold applies the ContainsFold predicate on the "avatar_url" field.
func AvatarURLEQ ¶
func AvatarURLEQ(v string) predicate.UserIdentity
AvatarURLEQ applies the EQ predicate on the "avatar_url" field.
func AvatarURLEqualFold ¶
func AvatarURLEqualFold(v string) predicate.UserIdentity
AvatarURLEqualFold applies the EqualFold predicate on the "avatar_url" field.
func AvatarURLGT ¶
func AvatarURLGT(v string) predicate.UserIdentity
AvatarURLGT applies the GT predicate on the "avatar_url" field.
func AvatarURLGTE ¶
func AvatarURLGTE(v string) predicate.UserIdentity
AvatarURLGTE applies the GTE predicate on the "avatar_url" field.
func AvatarURLHasPrefix ¶
func AvatarURLHasPrefix(v string) predicate.UserIdentity
AvatarURLHasPrefix applies the HasPrefix predicate on the "avatar_url" field.
func AvatarURLHasSuffix ¶
func AvatarURLHasSuffix(v string) predicate.UserIdentity
AvatarURLHasSuffix applies the HasSuffix predicate on the "avatar_url" field.
func AvatarURLIn ¶
func AvatarURLIn(vs ...string) predicate.UserIdentity
AvatarURLIn applies the In predicate on the "avatar_url" field.
func AvatarURLIsNil ¶
func AvatarURLIsNil() predicate.UserIdentity
AvatarURLIsNil applies the IsNil predicate on the "avatar_url" field.
func AvatarURLLT ¶
func AvatarURLLT(v string) predicate.UserIdentity
AvatarURLLT applies the LT predicate on the "avatar_url" field.
func AvatarURLLTE ¶
func AvatarURLLTE(v string) predicate.UserIdentity
AvatarURLLTE applies the LTE predicate on the "avatar_url" field.
func AvatarURLNEQ ¶
func AvatarURLNEQ(v string) predicate.UserIdentity
AvatarURLNEQ applies the NEQ predicate on the "avatar_url" field.
func AvatarURLNotIn ¶
func AvatarURLNotIn(vs ...string) predicate.UserIdentity
AvatarURLNotIn applies the NotIn predicate on the "avatar_url" field.
func AvatarURLNotNil ¶
func AvatarURLNotNil() predicate.UserIdentity
AvatarURLNotNil applies the NotNil predicate on the "avatar_url" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.UserIdentity
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.UserIdentity
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.UserIdentity
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.UserIdentity
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.UserIdentity
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.UserIdentity
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.UserIdentity
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.UserIdentity
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.UserIdentity
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.UserIdentity
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.UserIdentity
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.UserIdentity
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.UserIdentity
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.UserIdentity
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.UserIdentity
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.UserIdentity
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.UserIdentity
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.UserIdentity
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.UserIdentity
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.UserIdentity
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Email ¶
func Email(v string) predicate.UserIdentity
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
func EmailContains(v string) predicate.UserIdentity
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
func EmailContainsFold(v string) predicate.UserIdentity
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEQ ¶
func EmailEQ(v string) predicate.UserIdentity
EmailEQ applies the EQ predicate on the "email" field.
func EmailEqualFold ¶
func EmailEqualFold(v string) predicate.UserIdentity
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailGT ¶
func EmailGT(v string) predicate.UserIdentity
EmailGT applies the GT predicate on the "email" field.
func EmailGTE ¶
func EmailGTE(v string) predicate.UserIdentity
EmailGTE applies the GTE predicate on the "email" field.
func EmailHasPrefix ¶
func EmailHasPrefix(v string) predicate.UserIdentity
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
func EmailHasSuffix(v string) predicate.UserIdentity
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIn ¶
func EmailIn(vs ...string) predicate.UserIdentity
EmailIn applies the In predicate on the "email" field.
func EmailIsNil ¶
func EmailIsNil() predicate.UserIdentity
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailLT ¶
func EmailLT(v string) predicate.UserIdentity
EmailLT applies the LT predicate on the "email" field.
func EmailLTE ¶
func EmailLTE(v string) predicate.UserIdentity
EmailLTE applies the LTE predicate on the "email" field.
func EmailNEQ ¶
func EmailNEQ(v string) predicate.UserIdentity
EmailNEQ applies the NEQ predicate on the "email" field.
func EmailNotIn ¶
func EmailNotIn(vs ...string) predicate.UserIdentity
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
func EmailNotNil() predicate.UserIdentity
EmailNotNil applies the NotNil predicate on the "email" field.
func HasUser ¶
func HasUser() predicate.UserIdentity
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.UserIdentity
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.UserIdentity
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.UserIdentity
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.UserIdentity
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.UserIdentity
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.UserIdentity
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.UserIdentity
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.UserIdentity
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.UserIdentity
IDNotIn applies the NotIn predicate on the ID field.
func IdentityID ¶
func IdentityID(v string) predicate.UserIdentity
IdentityID applies equality check predicate on the "identity_id" field. It's identical to IdentityIDEQ.
func IdentityIDContains ¶
func IdentityIDContains(v string) predicate.UserIdentity
IdentityIDContains applies the Contains predicate on the "identity_id" field.
func IdentityIDContainsFold ¶
func IdentityIDContainsFold(v string) predicate.UserIdentity
IdentityIDContainsFold applies the ContainsFold predicate on the "identity_id" field.
func IdentityIDEQ ¶
func IdentityIDEQ(v string) predicate.UserIdentity
IdentityIDEQ applies the EQ predicate on the "identity_id" field.
func IdentityIDEqualFold ¶
func IdentityIDEqualFold(v string) predicate.UserIdentity
IdentityIDEqualFold applies the EqualFold predicate on the "identity_id" field.
func IdentityIDGT ¶
func IdentityIDGT(v string) predicate.UserIdentity
IdentityIDGT applies the GT predicate on the "identity_id" field.
func IdentityIDGTE ¶
func IdentityIDGTE(v string) predicate.UserIdentity
IdentityIDGTE applies the GTE predicate on the "identity_id" field.
func IdentityIDHasPrefix ¶
func IdentityIDHasPrefix(v string) predicate.UserIdentity
IdentityIDHasPrefix applies the HasPrefix predicate on the "identity_id" field.
func IdentityIDHasSuffix ¶
func IdentityIDHasSuffix(v string) predicate.UserIdentity
IdentityIDHasSuffix applies the HasSuffix predicate on the "identity_id" field.
func IdentityIDIn ¶
func IdentityIDIn(vs ...string) predicate.UserIdentity
IdentityIDIn applies the In predicate on the "identity_id" field.
func IdentityIDLT ¶
func IdentityIDLT(v string) predicate.UserIdentity
IdentityIDLT applies the LT predicate on the "identity_id" field.
func IdentityIDLTE ¶
func IdentityIDLTE(v string) predicate.UserIdentity
IdentityIDLTE applies the LTE predicate on the "identity_id" field.
func IdentityIDNEQ ¶
func IdentityIDNEQ(v string) predicate.UserIdentity
IdentityIDNEQ applies the NEQ predicate on the "identity_id" field.
func IdentityIDNotIn ¶
func IdentityIDNotIn(vs ...string) predicate.UserIdentity
IdentityIDNotIn applies the NotIn predicate on the "identity_id" field.
func Not ¶
func Not(p predicate.UserIdentity) predicate.UserIdentity
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.UserIdentity) predicate.UserIdentity
Or groups predicates with the OR operator between them.
func Platform ¶
func Platform(v consts.UserPlatform) predicate.UserIdentity
Platform applies equality check predicate on the "platform" field. It's identical to PlatformEQ.
func PlatformContains ¶
func PlatformContains(v consts.UserPlatform) predicate.UserIdentity
PlatformContains applies the Contains predicate on the "platform" field.
func PlatformContainsFold ¶
func PlatformContainsFold(v consts.UserPlatform) predicate.UserIdentity
PlatformContainsFold applies the ContainsFold predicate on the "platform" field.
func PlatformEQ ¶
func PlatformEQ(v consts.UserPlatform) predicate.UserIdentity
PlatformEQ applies the EQ predicate on the "platform" field.
func PlatformEqualFold ¶
func PlatformEqualFold(v consts.UserPlatform) predicate.UserIdentity
PlatformEqualFold applies the EqualFold predicate on the "platform" field.
func PlatformGT ¶
func PlatformGT(v consts.UserPlatform) predicate.UserIdentity
PlatformGT applies the GT predicate on the "platform" field.
func PlatformGTE ¶
func PlatformGTE(v consts.UserPlatform) predicate.UserIdentity
PlatformGTE applies the GTE predicate on the "platform" field.
func PlatformHasPrefix ¶
func PlatformHasPrefix(v consts.UserPlatform) predicate.UserIdentity
PlatformHasPrefix applies the HasPrefix predicate on the "platform" field.
func PlatformHasSuffix ¶
func PlatformHasSuffix(v consts.UserPlatform) predicate.UserIdentity
PlatformHasSuffix applies the HasSuffix predicate on the "platform" field.
func PlatformIn ¶
func PlatformIn(vs ...consts.UserPlatform) predicate.UserIdentity
PlatformIn applies the In predicate on the "platform" field.
func PlatformLT ¶
func PlatformLT(v consts.UserPlatform) predicate.UserIdentity
PlatformLT applies the LT predicate on the "platform" field.
func PlatformLTE ¶
func PlatformLTE(v consts.UserPlatform) predicate.UserIdentity
PlatformLTE applies the LTE predicate on the "platform" field.
func PlatformNEQ ¶
func PlatformNEQ(v consts.UserPlatform) predicate.UserIdentity
PlatformNEQ applies the NEQ predicate on the "platform" field.
func PlatformNotIn ¶
func PlatformNotIn(vs ...consts.UserPlatform) predicate.UserIdentity
PlatformNotIn applies the NotIn predicate on the "platform" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.UserIdentity
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.UserIdentity
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.UserIdentity
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.UserIdentity
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.UserIdentity
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.UserIdentity
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.UserIdentity
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.UserIdentity
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.UserIdentity
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.UserIdentity
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.UserIdentity
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UserID ¶
func UserID(v uuid.UUID) predicate.UserIdentity
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.UserIdentity
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.UserIdentity
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.UserIdentity
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.UserIdentity
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func Username ¶
func Username(v string) predicate.UserIdentity
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶
func UsernameContains(v string) predicate.UserIdentity
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
func UsernameContainsFold(v string) predicate.UserIdentity
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
func UsernameEQ(v string) predicate.UserIdentity
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
func UsernameEqualFold(v string) predicate.UserIdentity
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
func UsernameGT(v string) predicate.UserIdentity
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
func UsernameGTE(v string) predicate.UserIdentity
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
func UsernameHasPrefix(v string) predicate.UserIdentity
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
func UsernameHasSuffix(v string) predicate.UserIdentity
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
func UsernameIn(vs ...string) predicate.UserIdentity
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
func UsernameLT(v string) predicate.UserIdentity
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
func UsernameLTE(v string) predicate.UserIdentity
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
func UsernameNEQ(v string) predicate.UserIdentity
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
func UsernameNotIn(vs ...string) predicate.UserIdentity
UsernameNotIn applies the NotIn predicate on the "username" 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 UserIdentity queries.
func ByAvatarURL ¶
func ByAvatarURL(opts ...sql.OrderTermOption) OrderOption
ByAvatarURL orders the results by the avatar_url field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at 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 ByIdentityID ¶
func ByIdentityID(opts ...sql.OrderTermOption) OrderOption
ByIdentityID orders the results by the identity_id field.
func ByPlatform ¶
func ByPlatform(opts ...sql.OrderTermOption) OrderOption
ByPlatform orders the results by the platform field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.
func ByUsername ¶
func ByUsername(opts ...sql.OrderTermOption) OrderOption
ByUsername orders the results by the username field.