mingyang-admin-iot-app/rpc/ent/userthirdauth/where.go

1206 lines
46 KiB
Go

// Code generated by ent, DO NOT EDIT.
package userthirdauth
import (
"mingyang-admin-app-rpc/ent/predicate"
"time"
"entgo.io/ent/dialect/sql"
)
// ID filters vertices based on their ID field.
func ID(id uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldID, id))
}
// IDEQ applies the EQ predicate on the ID field.
func IDEQ(id uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldID, id))
}
// IDNEQ applies the NEQ predicate on the ID field.
func IDNEQ(id uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldID, id))
}
// IDIn applies the In predicate on the ID field.
func IDIn(ids ...uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldID, ids...))
}
// IDNotIn applies the NotIn predicate on the ID field.
func IDNotIn(ids ...uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldID, ids...))
}
// IDGT applies the GT predicate on the ID field.
func IDGT(id uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldID, id))
}
// IDGTE applies the GTE predicate on the ID field.
func IDGTE(id uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldID, id))
}
// IDLT applies the LT predicate on the ID field.
func IDLT(id uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldID, id))
}
// IDLTE applies the LTE predicate on the ID field.
func IDLTE(id uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldID, id))
}
// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAt(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldCreatedAt, v))
}
// UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAt(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldUpdatedAt, v))
}
// Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func Status(v uint8) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldStatus, v))
}
// TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantID(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldTenantID, v))
}
// DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAt(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldDeletedAt, v))
}
// UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserID(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldUserID, v))
}
// Openid applies equality check predicate on the "openid" field. It's identical to OpenidEQ.
func Openid(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldOpenid, v))
}
// Unionid applies equality check predicate on the "unionid" field. It's identical to UnionidEQ.
func Unionid(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldUnionid, v))
}
// AccessToken applies equality check predicate on the "access_token" field. It's identical to AccessTokenEQ.
func AccessToken(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldAccessToken, v))
}
// RefreshToken applies equality check predicate on the "refresh_token" field. It's identical to RefreshTokenEQ.
func RefreshToken(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldRefreshToken, v))
}
// AccessTokenExpiry applies equality check predicate on the "access_token_expiry" field. It's identical to AccessTokenExpiryEQ.
func AccessTokenExpiry(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldAccessTokenExpiry, v))
}
// PlatformUserID applies equality check predicate on the "platform_user_id" field. It's identical to PlatformUserIDEQ.
func PlatformUserID(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldPlatformUserID, v))
}
// Nickname applies equality check predicate on the "nickname" field. It's identical to NicknameEQ.
func Nickname(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldNickname, v))
}
// Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.
func Avatar(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldAvatar, v))
}
// Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func Email(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldEmail, v))
}
// Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
func Phone(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldPhone, v))
}
// IsBound applies equality check predicate on the "is_bound" field. It's identical to IsBoundEQ.
func IsBound(v bool) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldIsBound, v))
}
// BoundAt applies equality check predicate on the "bound_at" field. It's identical to BoundAtEQ.
func BoundAt(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldBoundAt, v))
}
// CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtEQ(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldCreatedAt, v))
}
// CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNEQ(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldCreatedAt, v))
}
// CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIn(vs ...time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldCreatedAt, vs...))
}
// CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotIn(vs ...time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldCreatedAt, vs...))
}
// CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGT(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldCreatedAt, v))
}
// CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtGTE(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldCreatedAt, v))
}
// CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLT(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldCreatedAt, v))
}
// CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtLTE(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldCreatedAt, v))
}
// UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtEQ(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldUpdatedAt, v))
}
// UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNEQ(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldUpdatedAt, v))
}
// UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIn(vs ...time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldUpdatedAt, vs...))
}
// UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotIn(vs ...time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldUpdatedAt, vs...))
}
// UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGT(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldUpdatedAt, v))
}
// UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtGTE(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldUpdatedAt, v))
}
// UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLT(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldUpdatedAt, v))
}
// UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtLTE(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldUpdatedAt, v))
}
// StatusEQ applies the EQ predicate on the "status" field.
func StatusEQ(v uint8) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldStatus, v))
}
// StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNEQ(v uint8) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldStatus, v))
}
// StatusIn applies the In predicate on the "status" field.
func StatusIn(vs ...uint8) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldStatus, vs...))
}
// StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotIn(vs ...uint8) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldStatus, vs...))
}
// StatusGT applies the GT predicate on the "status" field.
func StatusGT(v uint8) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldStatus, v))
}
// StatusGTE applies the GTE predicate on the "status" field.
func StatusGTE(v uint8) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldStatus, v))
}
// StatusLT applies the LT predicate on the "status" field.
func StatusLT(v uint8) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldStatus, v))
}
// StatusLTE applies the LTE predicate on the "status" field.
func StatusLTE(v uint8) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldStatus, v))
}
// StatusIsNil applies the IsNil predicate on the "status" field.
func StatusIsNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIsNull(FieldStatus))
}
// StatusNotNil applies the NotNil predicate on the "status" field.
func StatusNotNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotNull(FieldStatus))
}
// TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDEQ(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldTenantID, v))
}
// TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNEQ(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldTenantID, v))
}
// TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDIn(vs ...uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldTenantID, vs...))
}
// TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func TenantIDNotIn(vs ...uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldTenantID, vs...))
}
// TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGT(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldTenantID, v))
}
// TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDGTE(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldTenantID, v))
}
// TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLT(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldTenantID, v))
}
// TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDLTE(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldTenantID, v))
}
// DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtEQ(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldDeletedAt, v))
}
// DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNEQ(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldDeletedAt, v))
}
// DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIn(vs ...time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldDeletedAt, vs...))
}
// DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotIn(vs ...time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldDeletedAt, vs...))
}
// DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGT(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldDeletedAt, v))
}
// DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtGTE(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldDeletedAt, v))
}
// DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLT(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldDeletedAt, v))
}
// DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtLTE(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldDeletedAt, v))
}
// DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtIsNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIsNull(FieldDeletedAt))
}
// DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedAtNotNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotNull(FieldDeletedAt))
}
// UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDEQ(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldUserID, v))
}
// UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNEQ(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldUserID, v))
}
// UserIDIn applies the In predicate on the "user_id" field.
func UserIDIn(vs ...uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldUserID, vs...))
}
// UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotIn(vs ...uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldUserID, vs...))
}
// UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGT(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldUserID, v))
}
// UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDGTE(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldUserID, v))
}
// UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLT(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldUserID, v))
}
// UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDLTE(v uint64) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldUserID, v))
}
// OpenidEQ applies the EQ predicate on the "openid" field.
func OpenidEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldOpenid, v))
}
// OpenidNEQ applies the NEQ predicate on the "openid" field.
func OpenidNEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldOpenid, v))
}
// OpenidIn applies the In predicate on the "openid" field.
func OpenidIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldOpenid, vs...))
}
// OpenidNotIn applies the NotIn predicate on the "openid" field.
func OpenidNotIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldOpenid, vs...))
}
// OpenidGT applies the GT predicate on the "openid" field.
func OpenidGT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldOpenid, v))
}
// OpenidGTE applies the GTE predicate on the "openid" field.
func OpenidGTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldOpenid, v))
}
// OpenidLT applies the LT predicate on the "openid" field.
func OpenidLT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldOpenid, v))
}
// OpenidLTE applies the LTE predicate on the "openid" field.
func OpenidLTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldOpenid, v))
}
// OpenidContains applies the Contains predicate on the "openid" field.
func OpenidContains(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContains(FieldOpenid, v))
}
// OpenidHasPrefix applies the HasPrefix predicate on the "openid" field.
func OpenidHasPrefix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasPrefix(FieldOpenid, v))
}
// OpenidHasSuffix applies the HasSuffix predicate on the "openid" field.
func OpenidHasSuffix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasSuffix(FieldOpenid, v))
}
// OpenidEqualFold applies the EqualFold predicate on the "openid" field.
func OpenidEqualFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEqualFold(FieldOpenid, v))
}
// OpenidContainsFold applies the ContainsFold predicate on the "openid" field.
func OpenidContainsFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContainsFold(FieldOpenid, v))
}
// UnionidEQ applies the EQ predicate on the "unionid" field.
func UnionidEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldUnionid, v))
}
// UnionidNEQ applies the NEQ predicate on the "unionid" field.
func UnionidNEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldUnionid, v))
}
// UnionidIn applies the In predicate on the "unionid" field.
func UnionidIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldUnionid, vs...))
}
// UnionidNotIn applies the NotIn predicate on the "unionid" field.
func UnionidNotIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldUnionid, vs...))
}
// UnionidGT applies the GT predicate on the "unionid" field.
func UnionidGT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldUnionid, v))
}
// UnionidGTE applies the GTE predicate on the "unionid" field.
func UnionidGTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldUnionid, v))
}
// UnionidLT applies the LT predicate on the "unionid" field.
func UnionidLT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldUnionid, v))
}
// UnionidLTE applies the LTE predicate on the "unionid" field.
func UnionidLTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldUnionid, v))
}
// UnionidContains applies the Contains predicate on the "unionid" field.
func UnionidContains(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContains(FieldUnionid, v))
}
// UnionidHasPrefix applies the HasPrefix predicate on the "unionid" field.
func UnionidHasPrefix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasPrefix(FieldUnionid, v))
}
// UnionidHasSuffix applies the HasSuffix predicate on the "unionid" field.
func UnionidHasSuffix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasSuffix(FieldUnionid, v))
}
// UnionidIsNil applies the IsNil predicate on the "unionid" field.
func UnionidIsNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIsNull(FieldUnionid))
}
// UnionidNotNil applies the NotNil predicate on the "unionid" field.
func UnionidNotNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotNull(FieldUnionid))
}
// UnionidEqualFold applies the EqualFold predicate on the "unionid" field.
func UnionidEqualFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEqualFold(FieldUnionid, v))
}
// UnionidContainsFold applies the ContainsFold predicate on the "unionid" field.
func UnionidContainsFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContainsFold(FieldUnionid, v))
}
// AccessTokenEQ applies the EQ predicate on the "access_token" field.
func AccessTokenEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldAccessToken, v))
}
// AccessTokenNEQ applies the NEQ predicate on the "access_token" field.
func AccessTokenNEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldAccessToken, v))
}
// AccessTokenIn applies the In predicate on the "access_token" field.
func AccessTokenIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldAccessToken, vs...))
}
// AccessTokenNotIn applies the NotIn predicate on the "access_token" field.
func AccessTokenNotIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldAccessToken, vs...))
}
// AccessTokenGT applies the GT predicate on the "access_token" field.
func AccessTokenGT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldAccessToken, v))
}
// AccessTokenGTE applies the GTE predicate on the "access_token" field.
func AccessTokenGTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldAccessToken, v))
}
// AccessTokenLT applies the LT predicate on the "access_token" field.
func AccessTokenLT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldAccessToken, v))
}
// AccessTokenLTE applies the LTE predicate on the "access_token" field.
func AccessTokenLTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldAccessToken, v))
}
// AccessTokenContains applies the Contains predicate on the "access_token" field.
func AccessTokenContains(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContains(FieldAccessToken, v))
}
// AccessTokenHasPrefix applies the HasPrefix predicate on the "access_token" field.
func AccessTokenHasPrefix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasPrefix(FieldAccessToken, v))
}
// AccessTokenHasSuffix applies the HasSuffix predicate on the "access_token" field.
func AccessTokenHasSuffix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasSuffix(FieldAccessToken, v))
}
// AccessTokenIsNil applies the IsNil predicate on the "access_token" field.
func AccessTokenIsNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIsNull(FieldAccessToken))
}
// AccessTokenNotNil applies the NotNil predicate on the "access_token" field.
func AccessTokenNotNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotNull(FieldAccessToken))
}
// AccessTokenEqualFold applies the EqualFold predicate on the "access_token" field.
func AccessTokenEqualFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEqualFold(FieldAccessToken, v))
}
// AccessTokenContainsFold applies the ContainsFold predicate on the "access_token" field.
func AccessTokenContainsFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContainsFold(FieldAccessToken, v))
}
// RefreshTokenEQ applies the EQ predicate on the "refresh_token" field.
func RefreshTokenEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldRefreshToken, v))
}
// RefreshTokenNEQ applies the NEQ predicate on the "refresh_token" field.
func RefreshTokenNEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldRefreshToken, v))
}
// RefreshTokenIn applies the In predicate on the "refresh_token" field.
func RefreshTokenIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldRefreshToken, vs...))
}
// RefreshTokenNotIn applies the NotIn predicate on the "refresh_token" field.
func RefreshTokenNotIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldRefreshToken, vs...))
}
// RefreshTokenGT applies the GT predicate on the "refresh_token" field.
func RefreshTokenGT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldRefreshToken, v))
}
// RefreshTokenGTE applies the GTE predicate on the "refresh_token" field.
func RefreshTokenGTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldRefreshToken, v))
}
// RefreshTokenLT applies the LT predicate on the "refresh_token" field.
func RefreshTokenLT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldRefreshToken, v))
}
// RefreshTokenLTE applies the LTE predicate on the "refresh_token" field.
func RefreshTokenLTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldRefreshToken, v))
}
// RefreshTokenContains applies the Contains predicate on the "refresh_token" field.
func RefreshTokenContains(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContains(FieldRefreshToken, v))
}
// RefreshTokenHasPrefix applies the HasPrefix predicate on the "refresh_token" field.
func RefreshTokenHasPrefix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasPrefix(FieldRefreshToken, v))
}
// RefreshTokenHasSuffix applies the HasSuffix predicate on the "refresh_token" field.
func RefreshTokenHasSuffix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasSuffix(FieldRefreshToken, v))
}
// RefreshTokenIsNil applies the IsNil predicate on the "refresh_token" field.
func RefreshTokenIsNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIsNull(FieldRefreshToken))
}
// RefreshTokenNotNil applies the NotNil predicate on the "refresh_token" field.
func RefreshTokenNotNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotNull(FieldRefreshToken))
}
// RefreshTokenEqualFold applies the EqualFold predicate on the "refresh_token" field.
func RefreshTokenEqualFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEqualFold(FieldRefreshToken, v))
}
// RefreshTokenContainsFold applies the ContainsFold predicate on the "refresh_token" field.
func RefreshTokenContainsFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContainsFold(FieldRefreshToken, v))
}
// AccessTokenExpiryEQ applies the EQ predicate on the "access_token_expiry" field.
func AccessTokenExpiryEQ(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldAccessTokenExpiry, v))
}
// AccessTokenExpiryNEQ applies the NEQ predicate on the "access_token_expiry" field.
func AccessTokenExpiryNEQ(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldAccessTokenExpiry, v))
}
// AccessTokenExpiryIn applies the In predicate on the "access_token_expiry" field.
func AccessTokenExpiryIn(vs ...time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldAccessTokenExpiry, vs...))
}
// AccessTokenExpiryNotIn applies the NotIn predicate on the "access_token_expiry" field.
func AccessTokenExpiryNotIn(vs ...time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldAccessTokenExpiry, vs...))
}
// AccessTokenExpiryGT applies the GT predicate on the "access_token_expiry" field.
func AccessTokenExpiryGT(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldAccessTokenExpiry, v))
}
// AccessTokenExpiryGTE applies the GTE predicate on the "access_token_expiry" field.
func AccessTokenExpiryGTE(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldAccessTokenExpiry, v))
}
// AccessTokenExpiryLT applies the LT predicate on the "access_token_expiry" field.
func AccessTokenExpiryLT(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldAccessTokenExpiry, v))
}
// AccessTokenExpiryLTE applies the LTE predicate on the "access_token_expiry" field.
func AccessTokenExpiryLTE(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldAccessTokenExpiry, v))
}
// AccessTokenExpiryIsNil applies the IsNil predicate on the "access_token_expiry" field.
func AccessTokenExpiryIsNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIsNull(FieldAccessTokenExpiry))
}
// AccessTokenExpiryNotNil applies the NotNil predicate on the "access_token_expiry" field.
func AccessTokenExpiryNotNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotNull(FieldAccessTokenExpiry))
}
// UserInfoIsNil applies the IsNil predicate on the "user_info" field.
func UserInfoIsNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIsNull(FieldUserInfo))
}
// UserInfoNotNil applies the NotNil predicate on the "user_info" field.
func UserInfoNotNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotNull(FieldUserInfo))
}
// PlatformUserIDEQ applies the EQ predicate on the "platform_user_id" field.
func PlatformUserIDEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldPlatformUserID, v))
}
// PlatformUserIDNEQ applies the NEQ predicate on the "platform_user_id" field.
func PlatformUserIDNEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldPlatformUserID, v))
}
// PlatformUserIDIn applies the In predicate on the "platform_user_id" field.
func PlatformUserIDIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldPlatformUserID, vs...))
}
// PlatformUserIDNotIn applies the NotIn predicate on the "platform_user_id" field.
func PlatformUserIDNotIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldPlatformUserID, vs...))
}
// PlatformUserIDGT applies the GT predicate on the "platform_user_id" field.
func PlatformUserIDGT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldPlatformUserID, v))
}
// PlatformUserIDGTE applies the GTE predicate on the "platform_user_id" field.
func PlatformUserIDGTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldPlatformUserID, v))
}
// PlatformUserIDLT applies the LT predicate on the "platform_user_id" field.
func PlatformUserIDLT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldPlatformUserID, v))
}
// PlatformUserIDLTE applies the LTE predicate on the "platform_user_id" field.
func PlatformUserIDLTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldPlatformUserID, v))
}
// PlatformUserIDContains applies the Contains predicate on the "platform_user_id" field.
func PlatformUserIDContains(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContains(FieldPlatformUserID, v))
}
// PlatformUserIDHasPrefix applies the HasPrefix predicate on the "platform_user_id" field.
func PlatformUserIDHasPrefix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasPrefix(FieldPlatformUserID, v))
}
// PlatformUserIDHasSuffix applies the HasSuffix predicate on the "platform_user_id" field.
func PlatformUserIDHasSuffix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasSuffix(FieldPlatformUserID, v))
}
// PlatformUserIDIsNil applies the IsNil predicate on the "platform_user_id" field.
func PlatformUserIDIsNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIsNull(FieldPlatformUserID))
}
// PlatformUserIDNotNil applies the NotNil predicate on the "platform_user_id" field.
func PlatformUserIDNotNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotNull(FieldPlatformUserID))
}
// PlatformUserIDEqualFold applies the EqualFold predicate on the "platform_user_id" field.
func PlatformUserIDEqualFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEqualFold(FieldPlatformUserID, v))
}
// PlatformUserIDContainsFold applies the ContainsFold predicate on the "platform_user_id" field.
func PlatformUserIDContainsFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContainsFold(FieldPlatformUserID, v))
}
// NicknameEQ applies the EQ predicate on the "nickname" field.
func NicknameEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldNickname, v))
}
// NicknameNEQ applies the NEQ predicate on the "nickname" field.
func NicknameNEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldNickname, v))
}
// NicknameIn applies the In predicate on the "nickname" field.
func NicknameIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldNickname, vs...))
}
// NicknameNotIn applies the NotIn predicate on the "nickname" field.
func NicknameNotIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldNickname, vs...))
}
// NicknameGT applies the GT predicate on the "nickname" field.
func NicknameGT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldNickname, v))
}
// NicknameGTE applies the GTE predicate on the "nickname" field.
func NicknameGTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldNickname, v))
}
// NicknameLT applies the LT predicate on the "nickname" field.
func NicknameLT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldNickname, v))
}
// NicknameLTE applies the LTE predicate on the "nickname" field.
func NicknameLTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldNickname, v))
}
// NicknameContains applies the Contains predicate on the "nickname" field.
func NicknameContains(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContains(FieldNickname, v))
}
// NicknameHasPrefix applies the HasPrefix predicate on the "nickname" field.
func NicknameHasPrefix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasPrefix(FieldNickname, v))
}
// NicknameHasSuffix applies the HasSuffix predicate on the "nickname" field.
func NicknameHasSuffix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasSuffix(FieldNickname, v))
}
// NicknameIsNil applies the IsNil predicate on the "nickname" field.
func NicknameIsNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIsNull(FieldNickname))
}
// NicknameNotNil applies the NotNil predicate on the "nickname" field.
func NicknameNotNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotNull(FieldNickname))
}
// NicknameEqualFold applies the EqualFold predicate on the "nickname" field.
func NicknameEqualFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEqualFold(FieldNickname, v))
}
// NicknameContainsFold applies the ContainsFold predicate on the "nickname" field.
func NicknameContainsFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContainsFold(FieldNickname, v))
}
// AvatarEQ applies the EQ predicate on the "avatar" field.
func AvatarEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldAvatar, v))
}
// AvatarNEQ applies the NEQ predicate on the "avatar" field.
func AvatarNEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldAvatar, v))
}
// AvatarIn applies the In predicate on the "avatar" field.
func AvatarIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldAvatar, vs...))
}
// AvatarNotIn applies the NotIn predicate on the "avatar" field.
func AvatarNotIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldAvatar, vs...))
}
// AvatarGT applies the GT predicate on the "avatar" field.
func AvatarGT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldAvatar, v))
}
// AvatarGTE applies the GTE predicate on the "avatar" field.
func AvatarGTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldAvatar, v))
}
// AvatarLT applies the LT predicate on the "avatar" field.
func AvatarLT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldAvatar, v))
}
// AvatarLTE applies the LTE predicate on the "avatar" field.
func AvatarLTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldAvatar, v))
}
// AvatarContains applies the Contains predicate on the "avatar" field.
func AvatarContains(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContains(FieldAvatar, v))
}
// AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.
func AvatarHasPrefix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasPrefix(FieldAvatar, v))
}
// AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.
func AvatarHasSuffix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasSuffix(FieldAvatar, v))
}
// AvatarIsNil applies the IsNil predicate on the "avatar" field.
func AvatarIsNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIsNull(FieldAvatar))
}
// AvatarNotNil applies the NotNil predicate on the "avatar" field.
func AvatarNotNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotNull(FieldAvatar))
}
// AvatarEqualFold applies the EqualFold predicate on the "avatar" field.
func AvatarEqualFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEqualFold(FieldAvatar, v))
}
// AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.
func AvatarContainsFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContainsFold(FieldAvatar, v))
}
// EmailEQ applies the EQ predicate on the "email" field.
func EmailEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldEmail, v))
}
// EmailNEQ applies the NEQ predicate on the "email" field.
func EmailNEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldEmail, v))
}
// EmailIn applies the In predicate on the "email" field.
func EmailIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldEmail, vs...))
}
// EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldEmail, vs...))
}
// EmailGT applies the GT predicate on the "email" field.
func EmailGT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldEmail, v))
}
// EmailGTE applies the GTE predicate on the "email" field.
func EmailGTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldEmail, v))
}
// EmailLT applies the LT predicate on the "email" field.
func EmailLT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldEmail, v))
}
// EmailLTE applies the LTE predicate on the "email" field.
func EmailLTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldEmail, v))
}
// EmailContains applies the Contains predicate on the "email" field.
func EmailContains(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContains(FieldEmail, v))
}
// EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasPrefix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasPrefix(FieldEmail, v))
}
// EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailHasSuffix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasSuffix(FieldEmail, v))
}
// EmailIsNil applies the IsNil predicate on the "email" field.
func EmailIsNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIsNull(FieldEmail))
}
// EmailNotNil applies the NotNil predicate on the "email" field.
func EmailNotNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotNull(FieldEmail))
}
// EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailEqualFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEqualFold(FieldEmail, v))
}
// EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailContainsFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContainsFold(FieldEmail, v))
}
// PhoneEQ applies the EQ predicate on the "phone" field.
func PhoneEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldPhone, v))
}
// PhoneNEQ applies the NEQ predicate on the "phone" field.
func PhoneNEQ(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldPhone, v))
}
// PhoneIn applies the In predicate on the "phone" field.
func PhoneIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldPhone, vs...))
}
// PhoneNotIn applies the NotIn predicate on the "phone" field.
func PhoneNotIn(vs ...string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldPhone, vs...))
}
// PhoneGT applies the GT predicate on the "phone" field.
func PhoneGT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldPhone, v))
}
// PhoneGTE applies the GTE predicate on the "phone" field.
func PhoneGTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldPhone, v))
}
// PhoneLT applies the LT predicate on the "phone" field.
func PhoneLT(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldPhone, v))
}
// PhoneLTE applies the LTE predicate on the "phone" field.
func PhoneLTE(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldPhone, v))
}
// PhoneContains applies the Contains predicate on the "phone" field.
func PhoneContains(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContains(FieldPhone, v))
}
// PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
func PhoneHasPrefix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasPrefix(FieldPhone, v))
}
// PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
func PhoneHasSuffix(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldHasSuffix(FieldPhone, v))
}
// PhoneIsNil applies the IsNil predicate on the "phone" field.
func PhoneIsNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIsNull(FieldPhone))
}
// PhoneNotNil applies the NotNil predicate on the "phone" field.
func PhoneNotNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotNull(FieldPhone))
}
// PhoneEqualFold applies the EqualFold predicate on the "phone" field.
func PhoneEqualFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEqualFold(FieldPhone, v))
}
// PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
func PhoneContainsFold(v string) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldContainsFold(FieldPhone, v))
}
// IsBoundEQ applies the EQ predicate on the "is_bound" field.
func IsBoundEQ(v bool) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldIsBound, v))
}
// IsBoundNEQ applies the NEQ predicate on the "is_bound" field.
func IsBoundNEQ(v bool) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldIsBound, v))
}
// BoundAtEQ applies the EQ predicate on the "bound_at" field.
func BoundAtEQ(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldEQ(FieldBoundAt, v))
}
// BoundAtNEQ applies the NEQ predicate on the "bound_at" field.
func BoundAtNEQ(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNEQ(FieldBoundAt, v))
}
// BoundAtIn applies the In predicate on the "bound_at" field.
func BoundAtIn(vs ...time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIn(FieldBoundAt, vs...))
}
// BoundAtNotIn applies the NotIn predicate on the "bound_at" field.
func BoundAtNotIn(vs ...time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotIn(FieldBoundAt, vs...))
}
// BoundAtGT applies the GT predicate on the "bound_at" field.
func BoundAtGT(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGT(FieldBoundAt, v))
}
// BoundAtGTE applies the GTE predicate on the "bound_at" field.
func BoundAtGTE(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldGTE(FieldBoundAt, v))
}
// BoundAtLT applies the LT predicate on the "bound_at" field.
func BoundAtLT(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLT(FieldBoundAt, v))
}
// BoundAtLTE applies the LTE predicate on the "bound_at" field.
func BoundAtLTE(v time.Time) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldLTE(FieldBoundAt, v))
}
// ExtraDataIsNil applies the IsNil predicate on the "extra_data" field.
func ExtraDataIsNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldIsNull(FieldExtraData))
}
// ExtraDataNotNil applies the NotNil predicate on the "extra_data" field.
func ExtraDataNotNil() predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.FieldNotNull(FieldExtraData))
}
// And groups predicates with the AND operator between them.
func And(predicates ...predicate.UserThirdAuth) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.AndPredicates(predicates...))
}
// Or groups predicates with the OR operator between them.
func Or(predicates ...predicate.UserThirdAuth) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.OrPredicates(predicates...))
}
// Not applies the not operator on the given predicate.
func Not(p predicate.UserThirdAuth) predicate.UserThirdAuth {
return predicate.UserThirdAuth(sql.NotPredicates(p))
}