Documentation
¶
Index ¶
- Constants
- Variables
- func AccessToken(v string) predicate.User
- func AccessTokenContains(v string) predicate.User
- func AccessTokenContainsFold(v string) predicate.User
- func AccessTokenEQ(v string) predicate.User
- func AccessTokenEqualFold(v string) predicate.User
- func AccessTokenGT(v string) predicate.User
- func AccessTokenGTE(v string) predicate.User
- func AccessTokenHasPrefix(v string) predicate.User
- func AccessTokenHasSuffix(v string) predicate.User
- func AccessTokenIn(vs ...string) predicate.User
- func AccessTokenIsNil() predicate.User
- func AccessTokenLT(v string) predicate.User
- func AccessTokenLTE(v string) predicate.User
- func AccessTokenNEQ(v string) predicate.User
- func AccessTokenNotIn(vs ...string) predicate.User
- func AccessTokenNotNil() predicate.User
- func And(predicates ...predicate.User) predicate.User
- func CertClearPassword(v string) predicate.User
- func CertClearPasswordContains(v string) predicate.User
- func CertClearPasswordContainsFold(v string) predicate.User
- func CertClearPasswordEQ(v string) predicate.User
- func CertClearPasswordEqualFold(v string) predicate.User
- func CertClearPasswordGT(v string) predicate.User
- func CertClearPasswordGTE(v string) predicate.User
- func CertClearPasswordHasPrefix(v string) predicate.User
- func CertClearPasswordHasSuffix(v string) predicate.User
- func CertClearPasswordIn(vs ...string) predicate.User
- func CertClearPasswordIsNil() predicate.User
- func CertClearPasswordLT(v string) predicate.User
- func CertClearPasswordLTE(v string) predicate.User
- func CertClearPasswordNEQ(v string) predicate.User
- func CertClearPasswordNotIn(vs ...string) predicate.User
- func CertClearPasswordNotNil() predicate.User
- func Country(v string) predicate.User
- func CountryContains(v string) predicate.User
- func CountryContainsFold(v string) predicate.User
- func CountryEQ(v string) predicate.User
- func CountryEqualFold(v string) predicate.User
- func CountryGT(v string) predicate.User
- func CountryGTE(v string) predicate.User
- func CountryHasPrefix(v string) predicate.User
- func CountryHasSuffix(v string) predicate.User
- func CountryIn(vs ...string) predicate.User
- func CountryIsNil() predicate.User
- func CountryLT(v string) predicate.User
- func CountryLTE(v string) predicate.User
- func CountryNEQ(v string) predicate.User
- func CountryNotIn(vs ...string) predicate.User
- func CountryNotNil() predicate.User
- func Created(v time.Time) predicate.User
- func CreatedEQ(v time.Time) predicate.User
- func CreatedGT(v time.Time) predicate.User
- func CreatedGTE(v time.Time) predicate.User
- func CreatedIn(vs ...time.Time) predicate.User
- func CreatedIsNil() predicate.User
- func CreatedLT(v time.Time) predicate.User
- func CreatedLTE(v time.Time) predicate.User
- func CreatedNEQ(v time.Time) predicate.User
- func CreatedNotIn(vs ...time.Time) predicate.User
- func CreatedNotNil() predicate.User
- func Email(v string) predicate.User
- func EmailContains(v string) predicate.User
- func EmailContainsFold(v string) predicate.User
- func EmailEQ(v string) predicate.User
- func EmailEqualFold(v string) predicate.User
- func EmailGT(v string) predicate.User
- func EmailGTE(v string) predicate.User
- func EmailHasPrefix(v string) predicate.User
- func EmailHasSuffix(v string) predicate.User
- func EmailIn(vs ...string) predicate.User
- func EmailIsNil() predicate.User
- func EmailLT(v string) predicate.User
- func EmailLTE(v string) predicate.User
- func EmailNEQ(v string) predicate.User
- func EmailNotIn(vs ...string) predicate.User
- func EmailNotNil() predicate.User
- func EmailVerified(v bool) predicate.User
- func EmailVerifiedEQ(v bool) predicate.User
- func EmailVerifiedNEQ(v bool) predicate.User
- func Expiry(v time.Time) predicate.User
- func ExpiryEQ(v time.Time) predicate.User
- func ExpiryGT(v time.Time) predicate.User
- func ExpiryGTE(v time.Time) predicate.User
- func ExpiryIn(vs ...time.Time) predicate.User
- func ExpiryIsNil() predicate.User
- func ExpiryLT(v time.Time) predicate.User
- func ExpiryLTE(v time.Time) predicate.User
- func ExpiryNEQ(v time.Time) predicate.User
- func ExpiryNotIn(vs ...time.Time) predicate.User
- func ExpiryNotNil() predicate.User
- func HasSessions() predicate.User
- func HasSessionsWith(preds ...predicate.Sessions) predicate.User
- func ID(id string) predicate.User
- func IDContainsFold(id string) predicate.User
- func IDEQ(id string) predicate.User
- func IDEqualFold(id string) predicate.User
- func IDGT(id string) predicate.User
- func IDGTE(id string) predicate.User
- func IDIn(ids ...string) predicate.User
- func IDLT(id string) predicate.User
- func IDLTE(id string) predicate.User
- func IDNEQ(id string) predicate.User
- func IDNotIn(ids ...string) predicate.User
- func IDToken(v string) predicate.User
- func IDTokenContains(v string) predicate.User
- func IDTokenContainsFold(v string) predicate.User
- func IDTokenEQ(v string) predicate.User
- func IDTokenEqualFold(v string) predicate.User
- func IDTokenGT(v string) predicate.User
- func IDTokenGTE(v string) predicate.User
- func IDTokenHasPrefix(v string) predicate.User
- func IDTokenHasSuffix(v string) predicate.User
- func IDTokenIn(vs ...string) predicate.User
- func IDTokenIsNil() predicate.User
- func IDTokenLT(v string) predicate.User
- func IDTokenLTE(v string) predicate.User
- func IDTokenNEQ(v string) predicate.User
- func IDTokenNotIn(vs ...string) predicate.User
- func IDTokenNotNil() predicate.User
- func Modified(v time.Time) predicate.User
- func ModifiedEQ(v time.Time) predicate.User
- func ModifiedGT(v time.Time) predicate.User
- func ModifiedGTE(v time.Time) predicate.User
- func ModifiedIn(vs ...time.Time) predicate.User
- func ModifiedIsNil() predicate.User
- func ModifiedLT(v time.Time) predicate.User
- func ModifiedLTE(v time.Time) predicate.User
- func ModifiedNEQ(v time.Time) predicate.User
- func ModifiedNotIn(vs ...time.Time) predicate.User
- func ModifiedNotNil() predicate.User
- func Name(v string) predicate.User
- func NameContains(v string) predicate.User
- func NameContainsFold(v string) predicate.User
- func NameEQ(v string) predicate.User
- func NameEqualFold(v string) predicate.User
- func NameGT(v string) predicate.User
- func NameGTE(v string) predicate.User
- func NameHasPrefix(v string) predicate.User
- func NameHasSuffix(v string) predicate.User
- func NameIn(vs ...string) predicate.User
- func NameLT(v string) predicate.User
- func NameLTE(v string) predicate.User
- func NameNEQ(v string) predicate.User
- func NameNotIn(vs ...string) predicate.User
- func Not(p predicate.User) predicate.User
- func Openid(v bool) predicate.User
- func OpenidEQ(v bool) predicate.User
- func OpenidIsNil() predicate.User
- func OpenidNEQ(v bool) predicate.User
- func OpenidNotNil() predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func Phone(v string) predicate.User
- func PhoneContains(v string) predicate.User
- func PhoneContainsFold(v string) predicate.User
- func PhoneEQ(v string) predicate.User
- func PhoneEqualFold(v string) predicate.User
- func PhoneGT(v string) predicate.User
- func PhoneGTE(v string) predicate.User
- func PhoneHasPrefix(v string) predicate.User
- func PhoneHasSuffix(v string) predicate.User
- func PhoneIn(vs ...string) predicate.User
- func PhoneIsNil() predicate.User
- func PhoneLT(v string) predicate.User
- func PhoneLTE(v string) predicate.User
- func PhoneNEQ(v string) predicate.User
- func PhoneNotIn(vs ...string) predicate.User
- func PhoneNotNil() predicate.User
- func RefreshToken(v string) predicate.User
- func RefreshTokenContains(v string) predicate.User
- func RefreshTokenContainsFold(v string) predicate.User
- func RefreshTokenEQ(v string) predicate.User
- func RefreshTokenEqualFold(v string) predicate.User
- func RefreshTokenGT(v string) predicate.User
- func RefreshTokenGTE(v string) predicate.User
- func RefreshTokenHasPrefix(v string) predicate.User
- func RefreshTokenHasSuffix(v string) predicate.User
- func RefreshTokenIn(vs ...string) predicate.User
- func RefreshTokenIsNil() predicate.User
- func RefreshTokenLT(v string) predicate.User
- func RefreshTokenLTE(v string) predicate.User
- func RefreshTokenNEQ(v string) predicate.User
- func RefreshTokenNotIn(vs ...string) predicate.User
- func RefreshTokenNotNil() predicate.User
- func Register(v string) predicate.User
- func RegisterContains(v string) predicate.User
- func RegisterContainsFold(v string) predicate.User
- func RegisterEQ(v string) predicate.User
- func RegisterEqualFold(v string) predicate.User
- func RegisterGT(v string) predicate.User
- func RegisterGTE(v string) predicate.User
- func RegisterHasPrefix(v string) predicate.User
- func RegisterHasSuffix(v string) predicate.User
- func RegisterIn(vs ...string) predicate.User
- func RegisterLT(v string) predicate.User
- func RegisterLTE(v string) predicate.User
- func RegisterNEQ(v string) predicate.User
- func RegisterNotIn(vs ...string) predicate.User
- func TokenExpiry(v int) predicate.User
- func TokenExpiryEQ(v int) predicate.User
- func TokenExpiryGT(v int) predicate.User
- func TokenExpiryGTE(v int) predicate.User
- func TokenExpiryIn(vs ...int) predicate.User
- func TokenExpiryIsNil() predicate.User
- func TokenExpiryLT(v int) predicate.User
- func TokenExpiryLTE(v int) predicate.User
- func TokenExpiryNEQ(v int) predicate.User
- func TokenExpiryNotIn(vs ...int) predicate.User
- func TokenExpiryNotNil() predicate.User
- func TokenType(v string) predicate.User
- func TokenTypeContains(v string) predicate.User
- func TokenTypeContainsFold(v string) predicate.User
- func TokenTypeEQ(v string) predicate.User
- func TokenTypeEqualFold(v string) predicate.User
- func TokenTypeGT(v string) predicate.User
- func TokenTypeGTE(v string) predicate.User
- func TokenTypeHasPrefix(v string) predicate.User
- func TokenTypeHasSuffix(v string) predicate.User
- func TokenTypeIn(vs ...string) predicate.User
- func TokenTypeIsNil() predicate.User
- func TokenTypeLT(v string) predicate.User
- func TokenTypeLTE(v string) predicate.User
- func TokenTypeNEQ(v string) predicate.User
- func TokenTypeNotIn(vs ...string) predicate.User
- func TokenTypeNotNil() predicate.User
- func ValidColumn(column string) bool
- type OrderOption
- func ByAccessToken(opts ...sql.OrderTermOption) OrderOption
- func ByCertClearPassword(opts ...sql.OrderTermOption) OrderOption
- func ByCountry(opts ...sql.OrderTermOption) OrderOption
- func ByCreated(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByEmailVerified(opts ...sql.OrderTermOption) OrderOption
- func ByExpiry(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIDToken(opts ...sql.OrderTermOption) OrderOption
- func ByModified(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOpenid(opts ...sql.OrderTermOption) OrderOption
- func ByPhone(opts ...sql.OrderTermOption) OrderOption
- func ByRefreshToken(opts ...sql.OrderTermOption) OrderOption
- func ByRegister(opts ...sql.OrderTermOption) OrderOption
- func BySessions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySessionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByTokenExpiry(opts ...sql.OrderTermOption) OrderOption
- func ByTokenType(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the user type in the database. Label = "user" // FieldID holds the string denoting the id field in the database. FieldID = "uid" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldPhone holds the string denoting the phone field in the database. FieldPhone = "phone" // FieldCountry holds the string denoting the country field in the database. FieldCountry = "country" // FieldEmailVerified holds the string denoting the email_verified field in the database. FieldEmailVerified = "email_verified" // FieldRegister holds the string denoting the register field in the database. FieldRegister = "register" // FieldCertClearPassword holds the string denoting the cert_clear_password field in the database. FieldCertClearPassword = "cert_clear_password" // FieldExpiry holds the string denoting the expiry field in the database. FieldExpiry = "expiry" // FieldOpenid holds the string denoting the openid field in the database. FieldOpenid = "openid" // FieldCreated holds the string denoting the created field in the database. FieldCreated = "created" // FieldModified holds the string denoting the modified field in the database. FieldModified = "modified" // FieldAccessToken holds the string denoting the access_token field in the database. FieldAccessToken = "access_token" // FieldRefreshToken holds the string denoting the refresh_token field in the database. FieldRefreshToken = "refresh_token" // FieldIDToken holds the string denoting the id_token field in the database. FieldIDToken = "id_token" // FieldTokenType holds the string denoting the token_type field in the database. FieldTokenType = "token_type" // FieldTokenExpiry holds the string denoting the token_expiry field in the database. FieldTokenExpiry = "token_expiry" // EdgeSessions holds the string denoting the sessions edge name in mutations. EdgeSessions = "sessions" // SessionsFieldID holds the string denoting the ID field of the Sessions. SessionsFieldID = "token" // Table holds the table name of the user in the database. Table = "users" // SessionsTable is the table that holds the sessions relation/edge. SessionsTable = "sessions" // SessionsInverseTable is the table name for the Sessions entity. // It exists in this package in order to avoid circular dependency with the "sessions" package. SessionsInverseTable = "sessions" // SessionsColumn is the table column denoting the sessions relation/edge. SessionsColumn = "user_sessions" )
Variables ¶
var ( // DefaultEmailVerified holds the default value on creation for the "email_verified" field. DefaultEmailVerified bool // DefaultRegister holds the default value on creation for the "register" field. DefaultRegister string // DefaultOpenid holds the default value on creation for the "openid" field. DefaultOpenid bool // DefaultCreated holds the default value on creation for the "created" field. DefaultCreated func() time.Time // DefaultModified holds the default value on creation for the "modified" field. DefaultModified func() time.Time // UpdateDefaultModified holds the default value on update for the "modified" field. UpdateDefaultModified func() time.Time // DefaultAccessToken holds the default value on creation for the "access_token" field. DefaultAccessToken string // DefaultRefreshToken holds the default value on creation for the "refresh_token" field. DefaultRefreshToken string // DefaultIDToken holds the default value on creation for the "id_token" field. DefaultIDToken string // DefaultTokenType holds the default value on creation for the "token_type" field. DefaultTokenType string // DefaultTokenExpiry holds the default value on creation for the "token_expiry" field. DefaultTokenExpiry int // IDValidator is a validator for the "id" field. It is called by the builders before save. IDValidator func(string) error )
var Columns = []string{ FieldID, FieldName, FieldEmail, FieldPhone, FieldCountry, FieldEmailVerified, FieldRegister, FieldCertClearPassword, FieldExpiry, FieldOpenid, FieldCreated, FieldModified, FieldAccessToken, FieldRefreshToken, FieldIDToken, FieldTokenType, FieldTokenExpiry, }
Columns holds all SQL columns for user fields.
Functions ¶
func AccessToken ¶
AccessToken applies equality check predicate on the "access_token" field. It's identical to AccessTokenEQ.
func AccessTokenContains ¶
AccessTokenContains applies the Contains predicate on the "access_token" field.
func AccessTokenContainsFold ¶
AccessTokenContainsFold applies the ContainsFold predicate on the "access_token" field.
func AccessTokenEQ ¶
AccessTokenEQ applies the EQ predicate on the "access_token" field.
func AccessTokenEqualFold ¶
AccessTokenEqualFold applies the EqualFold predicate on the "access_token" field.
func AccessTokenGT ¶
AccessTokenGT applies the GT predicate on the "access_token" field.
func AccessTokenGTE ¶
AccessTokenGTE applies the GTE predicate on the "access_token" field.
func AccessTokenHasPrefix ¶
AccessTokenHasPrefix applies the HasPrefix predicate on the "access_token" field.
func AccessTokenHasSuffix ¶
AccessTokenHasSuffix applies the HasSuffix predicate on the "access_token" field.
func AccessTokenIn ¶
AccessTokenIn applies the In predicate on the "access_token" field.
func AccessTokenIsNil ¶
AccessTokenIsNil applies the IsNil predicate on the "access_token" field.
func AccessTokenLT ¶
AccessTokenLT applies the LT predicate on the "access_token" field.
func AccessTokenLTE ¶
AccessTokenLTE applies the LTE predicate on the "access_token" field.
func AccessTokenNEQ ¶
AccessTokenNEQ applies the NEQ predicate on the "access_token" field.
func AccessTokenNotIn ¶
AccessTokenNotIn applies the NotIn predicate on the "access_token" field.
func AccessTokenNotNil ¶
AccessTokenNotNil applies the NotNil predicate on the "access_token" field.
func CertClearPassword ¶
CertClearPassword applies equality check predicate on the "cert_clear_password" field. It's identical to CertClearPasswordEQ.
func CertClearPasswordContains ¶
CertClearPasswordContains applies the Contains predicate on the "cert_clear_password" field.
func CertClearPasswordContainsFold ¶
CertClearPasswordContainsFold applies the ContainsFold predicate on the "cert_clear_password" field.
func CertClearPasswordEQ ¶
CertClearPasswordEQ applies the EQ predicate on the "cert_clear_password" field.
func CertClearPasswordEqualFold ¶
CertClearPasswordEqualFold applies the EqualFold predicate on the "cert_clear_password" field.
func CertClearPasswordGT ¶
CertClearPasswordGT applies the GT predicate on the "cert_clear_password" field.
func CertClearPasswordGTE ¶
CertClearPasswordGTE applies the GTE predicate on the "cert_clear_password" field.
func CertClearPasswordHasPrefix ¶
CertClearPasswordHasPrefix applies the HasPrefix predicate on the "cert_clear_password" field.
func CertClearPasswordHasSuffix ¶
CertClearPasswordHasSuffix applies the HasSuffix predicate on the "cert_clear_password" field.
func CertClearPasswordIn ¶
CertClearPasswordIn applies the In predicate on the "cert_clear_password" field.
func CertClearPasswordIsNil ¶
CertClearPasswordIsNil applies the IsNil predicate on the "cert_clear_password" field.
func CertClearPasswordLT ¶
CertClearPasswordLT applies the LT predicate on the "cert_clear_password" field.
func CertClearPasswordLTE ¶
CertClearPasswordLTE applies the LTE predicate on the "cert_clear_password" field.
func CertClearPasswordNEQ ¶
CertClearPasswordNEQ applies the NEQ predicate on the "cert_clear_password" field.
func CertClearPasswordNotIn ¶
CertClearPasswordNotIn applies the NotIn predicate on the "cert_clear_password" field.
func CertClearPasswordNotNil ¶
CertClearPasswordNotNil applies the NotNil predicate on the "cert_clear_password" field.
func Country ¶
Country applies equality check predicate on the "country" field. It's identical to CountryEQ.
func CountryContains ¶
CountryContains applies the Contains predicate on the "country" field.
func CountryContainsFold ¶
CountryContainsFold applies the ContainsFold predicate on the "country" field.
func CountryEqualFold ¶
CountryEqualFold applies the EqualFold predicate on the "country" field.
func CountryGTE ¶
CountryGTE applies the GTE predicate on the "country" field.
func CountryHasPrefix ¶
CountryHasPrefix applies the HasPrefix predicate on the "country" field.
func CountryHasSuffix ¶
CountryHasSuffix applies the HasSuffix predicate on the "country" field.
func CountryIsNil ¶
CountryIsNil applies the IsNil predicate on the "country" field.
func CountryLTE ¶
CountryLTE applies the LTE predicate on the "country" field.
func CountryNEQ ¶
CountryNEQ applies the NEQ predicate on the "country" field.
func CountryNotIn ¶
CountryNotIn applies the NotIn predicate on the "country" field.
func CountryNotNil ¶
CountryNotNil applies the NotNil predicate on the "country" field.
func Created ¶
Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.
func CreatedGTE ¶
CreatedGTE applies the GTE predicate on the "created" field.
func CreatedIsNil ¶
CreatedIsNil applies the IsNil predicate on the "created" field.
func CreatedLTE ¶
CreatedLTE applies the LTE predicate on the "created" field.
func CreatedNEQ ¶
CreatedNEQ applies the NEQ predicate on the "created" field.
func CreatedNotIn ¶
CreatedNotIn applies the NotIn predicate on the "created" field.
func CreatedNotNil ¶
CreatedNotNil applies the NotNil predicate on the "created" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func EmailVerified ¶
EmailVerified applies equality check predicate on the "email_verified" field. It's identical to EmailVerifiedEQ.
func EmailVerifiedEQ ¶
EmailVerifiedEQ applies the EQ predicate on the "email_verified" field.
func EmailVerifiedNEQ ¶
EmailVerifiedNEQ applies the NEQ predicate on the "email_verified" field.
func Expiry ¶
Expiry applies equality check predicate on the "expiry" field. It's identical to ExpiryEQ.
func ExpiryIsNil ¶
ExpiryIsNil applies the IsNil predicate on the "expiry" field.
func ExpiryNotIn ¶
ExpiryNotIn applies the NotIn predicate on the "expiry" field.
func ExpiryNotNil ¶
ExpiryNotNil applies the NotNil predicate on the "expiry" field.
func HasSessions ¶
HasSessions applies the HasEdge predicate on the "sessions" edge.
func HasSessionsWith ¶
HasSessionsWith applies the HasEdge predicate on the "sessions" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func IDToken ¶
IDToken applies equality check predicate on the "id_token" field. It's identical to IDTokenEQ.
func IDTokenContains ¶
IDTokenContains applies the Contains predicate on the "id_token" field.
func IDTokenContainsFold ¶
IDTokenContainsFold applies the ContainsFold predicate on the "id_token" field.
func IDTokenEqualFold ¶
IDTokenEqualFold applies the EqualFold predicate on the "id_token" field.
func IDTokenGTE ¶
IDTokenGTE applies the GTE predicate on the "id_token" field.
func IDTokenHasPrefix ¶
IDTokenHasPrefix applies the HasPrefix predicate on the "id_token" field.
func IDTokenHasSuffix ¶
IDTokenHasSuffix applies the HasSuffix predicate on the "id_token" field.
func IDTokenIsNil ¶
IDTokenIsNil applies the IsNil predicate on the "id_token" field.
func IDTokenLTE ¶
IDTokenLTE applies the LTE predicate on the "id_token" field.
func IDTokenNEQ ¶
IDTokenNEQ applies the NEQ predicate on the "id_token" field.
func IDTokenNotIn ¶
IDTokenNotIn applies the NotIn predicate on the "id_token" field.
func IDTokenNotNil ¶
IDTokenNotNil applies the NotNil predicate on the "id_token" field.
func Modified ¶
Modified applies equality check predicate on the "modified" field. It's identical to ModifiedEQ.
func ModifiedEQ ¶
ModifiedEQ applies the EQ predicate on the "modified" field.
func ModifiedGT ¶
ModifiedGT applies the GT predicate on the "modified" field.
func ModifiedGTE ¶
ModifiedGTE applies the GTE predicate on the "modified" field.
func ModifiedIn ¶
ModifiedIn applies the In predicate on the "modified" field.
func ModifiedIsNil ¶
ModifiedIsNil applies the IsNil predicate on the "modified" field.
func ModifiedLT ¶
ModifiedLT applies the LT predicate on the "modified" field.
func ModifiedLTE ¶
ModifiedLTE applies the LTE predicate on the "modified" field.
func ModifiedNEQ ¶
ModifiedNEQ applies the NEQ predicate on the "modified" field.
func ModifiedNotIn ¶
ModifiedNotIn applies the NotIn predicate on the "modified" field.
func ModifiedNotNil ¶
ModifiedNotNil applies the NotNil predicate on the "modified" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Openid ¶
Openid applies equality check predicate on the "openid" field. It's identical to OpenidEQ.
func OpenidIsNil ¶
OpenidIsNil applies the IsNil predicate on the "openid" field.
func OpenidNotNil ¶
OpenidNotNil applies the NotNil predicate on the "openid" field.
func Phone ¶
Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
func PhoneContains ¶
PhoneContains applies the Contains predicate on the "phone" field.
func PhoneContainsFold ¶
PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
func PhoneEqualFold ¶
PhoneEqualFold applies the EqualFold predicate on the "phone" field.
func PhoneHasPrefix ¶
PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
func PhoneHasSuffix ¶
PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
func PhoneIsNil ¶
PhoneIsNil applies the IsNil predicate on the "phone" field.
func PhoneNotIn ¶
PhoneNotIn applies the NotIn predicate on the "phone" field.
func PhoneNotNil ¶
PhoneNotNil applies the NotNil predicate on the "phone" field.
func RefreshToken ¶
RefreshToken applies equality check predicate on the "refresh_token" field. It's identical to RefreshTokenEQ.
func RefreshTokenContains ¶
RefreshTokenContains applies the Contains predicate on the "refresh_token" field.
func RefreshTokenContainsFold ¶
RefreshTokenContainsFold applies the ContainsFold predicate on the "refresh_token" field.
func RefreshTokenEQ ¶
RefreshTokenEQ applies the EQ predicate on the "refresh_token" field.
func RefreshTokenEqualFold ¶
RefreshTokenEqualFold applies the EqualFold predicate on the "refresh_token" field.
func RefreshTokenGT ¶
RefreshTokenGT applies the GT predicate on the "refresh_token" field.
func RefreshTokenGTE ¶
RefreshTokenGTE applies the GTE predicate on the "refresh_token" field.
func RefreshTokenHasPrefix ¶
RefreshTokenHasPrefix applies the HasPrefix predicate on the "refresh_token" field.
func RefreshTokenHasSuffix ¶
RefreshTokenHasSuffix applies the HasSuffix predicate on the "refresh_token" field.
func RefreshTokenIn ¶
RefreshTokenIn applies the In predicate on the "refresh_token" field.
func RefreshTokenIsNil ¶
RefreshTokenIsNil applies the IsNil predicate on the "refresh_token" field.
func RefreshTokenLT ¶
RefreshTokenLT applies the LT predicate on the "refresh_token" field.
func RefreshTokenLTE ¶
RefreshTokenLTE applies the LTE predicate on the "refresh_token" field.
func RefreshTokenNEQ ¶
RefreshTokenNEQ applies the NEQ predicate on the "refresh_token" field.
func RefreshTokenNotIn ¶
RefreshTokenNotIn applies the NotIn predicate on the "refresh_token" field.
func RefreshTokenNotNil ¶
RefreshTokenNotNil applies the NotNil predicate on the "refresh_token" field.
func Register ¶
Register applies equality check predicate on the "register" field. It's identical to RegisterEQ.
func RegisterContains ¶
RegisterContains applies the Contains predicate on the "register" field.
func RegisterContainsFold ¶
RegisterContainsFold applies the ContainsFold predicate on the "register" field.
func RegisterEQ ¶
RegisterEQ applies the EQ predicate on the "register" field.
func RegisterEqualFold ¶
RegisterEqualFold applies the EqualFold predicate on the "register" field.
func RegisterGT ¶
RegisterGT applies the GT predicate on the "register" field.
func RegisterGTE ¶
RegisterGTE applies the GTE predicate on the "register" field.
func RegisterHasPrefix ¶
RegisterHasPrefix applies the HasPrefix predicate on the "register" field.
func RegisterHasSuffix ¶
RegisterHasSuffix applies the HasSuffix predicate on the "register" field.
func RegisterIn ¶
RegisterIn applies the In predicate on the "register" field.
func RegisterLT ¶
RegisterLT applies the LT predicate on the "register" field.
func RegisterLTE ¶
RegisterLTE applies the LTE predicate on the "register" field.
func RegisterNEQ ¶
RegisterNEQ applies the NEQ predicate on the "register" field.
func RegisterNotIn ¶
RegisterNotIn applies the NotIn predicate on the "register" field.
func TokenExpiry ¶
TokenExpiry applies equality check predicate on the "token_expiry" field. It's identical to TokenExpiryEQ.
func TokenExpiryEQ ¶
TokenExpiryEQ applies the EQ predicate on the "token_expiry" field.
func TokenExpiryGT ¶
TokenExpiryGT applies the GT predicate on the "token_expiry" field.
func TokenExpiryGTE ¶
TokenExpiryGTE applies the GTE predicate on the "token_expiry" field.
func TokenExpiryIn ¶
TokenExpiryIn applies the In predicate on the "token_expiry" field.
func TokenExpiryIsNil ¶
TokenExpiryIsNil applies the IsNil predicate on the "token_expiry" field.
func TokenExpiryLT ¶
TokenExpiryLT applies the LT predicate on the "token_expiry" field.
func TokenExpiryLTE ¶
TokenExpiryLTE applies the LTE predicate on the "token_expiry" field.
func TokenExpiryNEQ ¶
TokenExpiryNEQ applies the NEQ predicate on the "token_expiry" field.
func TokenExpiryNotIn ¶
TokenExpiryNotIn applies the NotIn predicate on the "token_expiry" field.
func TokenExpiryNotNil ¶
TokenExpiryNotNil applies the NotNil predicate on the "token_expiry" field.
func TokenType ¶
TokenType applies equality check predicate on the "token_type" field. It's identical to TokenTypeEQ.
func TokenTypeContains ¶
TokenTypeContains applies the Contains predicate on the "token_type" field.
func TokenTypeContainsFold ¶
TokenTypeContainsFold applies the ContainsFold predicate on the "token_type" field.
func TokenTypeEQ ¶
TokenTypeEQ applies the EQ predicate on the "token_type" field.
func TokenTypeEqualFold ¶
TokenTypeEqualFold applies the EqualFold predicate on the "token_type" field.
func TokenTypeGT ¶
TokenTypeGT applies the GT predicate on the "token_type" field.
func TokenTypeGTE ¶
TokenTypeGTE applies the GTE predicate on the "token_type" field.
func TokenTypeHasPrefix ¶
TokenTypeHasPrefix applies the HasPrefix predicate on the "token_type" field.
func TokenTypeHasSuffix ¶
TokenTypeHasSuffix applies the HasSuffix predicate on the "token_type" field.
func TokenTypeIn ¶
TokenTypeIn applies the In predicate on the "token_type" field.
func TokenTypeIsNil ¶
TokenTypeIsNil applies the IsNil predicate on the "token_type" field.
func TokenTypeLT ¶
TokenTypeLT applies the LT predicate on the "token_type" field.
func TokenTypeLTE ¶
TokenTypeLTE applies the LTE predicate on the "token_type" field.
func TokenTypeNEQ ¶
TokenTypeNEQ applies the NEQ predicate on the "token_type" field.
func TokenTypeNotIn ¶
TokenTypeNotIn applies the NotIn predicate on the "token_type" field.
func TokenTypeNotNil ¶
TokenTypeNotNil applies the NotNil predicate on the "token_type" 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 User queries.
func ByAccessToken ¶
func ByAccessToken(opts ...sql.OrderTermOption) OrderOption
ByAccessToken orders the results by the access_token field.
func ByCertClearPassword ¶
func ByCertClearPassword(opts ...sql.OrderTermOption) OrderOption
ByCertClearPassword orders the results by the cert_clear_password field.
func ByCountry ¶
func ByCountry(opts ...sql.OrderTermOption) OrderOption
ByCountry orders the results by the country field.
func ByCreated ¶
func ByCreated(opts ...sql.OrderTermOption) OrderOption
ByCreated orders the results by the created field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByEmailVerified ¶
func ByEmailVerified(opts ...sql.OrderTermOption) OrderOption
ByEmailVerified orders the results by the email_verified field.
func ByExpiry ¶
func ByExpiry(opts ...sql.OrderTermOption) OrderOption
ByExpiry orders the results by the expiry field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIDToken ¶
func ByIDToken(opts ...sql.OrderTermOption) OrderOption
ByIDToken orders the results by the id_token field.
func ByModified ¶
func ByModified(opts ...sql.OrderTermOption) OrderOption
ByModified orders the results by the modified field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOpenid ¶
func ByOpenid(opts ...sql.OrderTermOption) OrderOption
ByOpenid orders the results by the openid field.
func ByPhone ¶
func ByPhone(opts ...sql.OrderTermOption) OrderOption
ByPhone orders the results by the phone field.
func ByRefreshToken ¶
func ByRefreshToken(opts ...sql.OrderTermOption) OrderOption
ByRefreshToken orders the results by the refresh_token field.
func ByRegister ¶
func ByRegister(opts ...sql.OrderTermOption) OrderOption
ByRegister orders the results by the register field.
func BySessions ¶
func BySessions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySessions orders the results by sessions terms.
func BySessionsCount ¶
func BySessionsCount(opts ...sql.OrderTermOption) OrderOption
BySessionsCount orders the results by sessions count.
func ByTokenExpiry ¶
func ByTokenExpiry(opts ...sql.OrderTermOption) OrderOption
ByTokenExpiry orders the results by the token_expiry field.
func ByTokenType ¶
func ByTokenType(opts ...sql.OrderTermOption) OrderOption
ByTokenType orders the results by the token_type field.