Documentation
¶
Index ¶
- Constants
- Variables
- func AccessToken(v string) predicate.OAuthAccount
- func AccessTokenContains(v string) predicate.OAuthAccount
- func AccessTokenContainsFold(v string) predicate.OAuthAccount
- func AccessTokenEQ(v string) predicate.OAuthAccount
- func AccessTokenEqualFold(v string) predicate.OAuthAccount
- func AccessTokenGT(v string) predicate.OAuthAccount
- func AccessTokenGTE(v string) predicate.OAuthAccount
- func AccessTokenHasPrefix(v string) predicate.OAuthAccount
- func AccessTokenHasSuffix(v string) predicate.OAuthAccount
- func AccessTokenIn(vs ...string) predicate.OAuthAccount
- func AccessTokenIsNil() predicate.OAuthAccount
- func AccessTokenLT(v string) predicate.OAuthAccount
- func AccessTokenLTE(v string) predicate.OAuthAccount
- func AccessTokenNEQ(v string) predicate.OAuthAccount
- func AccessTokenNotIn(vs ...string) predicate.OAuthAccount
- func AccessTokenNotNil() predicate.OAuthAccount
- func And(predicates ...predicate.OAuthAccount) predicate.OAuthAccount
- func CreatedAt(v time.Time) predicate.OAuthAccount
- func CreatedAtEQ(v time.Time) predicate.OAuthAccount
- func CreatedAtGT(v time.Time) predicate.OAuthAccount
- func CreatedAtGTE(v time.Time) predicate.OAuthAccount
- func CreatedAtIn(vs ...time.Time) predicate.OAuthAccount
- func CreatedAtLT(v time.Time) predicate.OAuthAccount
- func CreatedAtLTE(v time.Time) predicate.OAuthAccount
- func CreatedAtNEQ(v time.Time) predicate.OAuthAccount
- func CreatedAtNotIn(vs ...time.Time) predicate.OAuthAccount
- func HasUser() predicate.OAuthAccount
- func HasUserWith(preds ...predicate.User) predicate.OAuthAccount
- func ID(id uuid.UUID) predicate.OAuthAccount
- func IDEQ(id uuid.UUID) predicate.OAuthAccount
- func IDGT(id uuid.UUID) predicate.OAuthAccount
- func IDGTE(id uuid.UUID) predicate.OAuthAccount
- func IDIn(ids ...uuid.UUID) predicate.OAuthAccount
- func IDLT(id uuid.UUID) predicate.OAuthAccount
- func IDLTE(id uuid.UUID) predicate.OAuthAccount
- func IDNEQ(id uuid.UUID) predicate.OAuthAccount
- func IDNotIn(ids ...uuid.UUID) predicate.OAuthAccount
- func Not(p predicate.OAuthAccount) predicate.OAuthAccount
- func Or(predicates ...predicate.OAuthAccount) predicate.OAuthAccount
- func Provider(v string) predicate.OAuthAccount
- func ProviderContains(v string) predicate.OAuthAccount
- func ProviderContainsFold(v string) predicate.OAuthAccount
- func ProviderEQ(v string) predicate.OAuthAccount
- func ProviderEqualFold(v string) predicate.OAuthAccount
- func ProviderGT(v string) predicate.OAuthAccount
- func ProviderGTE(v string) predicate.OAuthAccount
- func ProviderHasPrefix(v string) predicate.OAuthAccount
- func ProviderHasSuffix(v string) predicate.OAuthAccount
- func ProviderIn(vs ...string) predicate.OAuthAccount
- func ProviderLT(v string) predicate.OAuthAccount
- func ProviderLTE(v string) predicate.OAuthAccount
- func ProviderNEQ(v string) predicate.OAuthAccount
- func ProviderNotIn(vs ...string) predicate.OAuthAccount
- func ProviderUserID(v string) predicate.OAuthAccount
- func ProviderUserIDContains(v string) predicate.OAuthAccount
- func ProviderUserIDContainsFold(v string) predicate.OAuthAccount
- func ProviderUserIDEQ(v string) predicate.OAuthAccount
- func ProviderUserIDEqualFold(v string) predicate.OAuthAccount
- func ProviderUserIDGT(v string) predicate.OAuthAccount
- func ProviderUserIDGTE(v string) predicate.OAuthAccount
- func ProviderUserIDHasPrefix(v string) predicate.OAuthAccount
- func ProviderUserIDHasSuffix(v string) predicate.OAuthAccount
- func ProviderUserIDIn(vs ...string) predicate.OAuthAccount
- func ProviderUserIDLT(v string) predicate.OAuthAccount
- func ProviderUserIDLTE(v string) predicate.OAuthAccount
- func ProviderUserIDNEQ(v string) predicate.OAuthAccount
- func ProviderUserIDNotIn(vs ...string) predicate.OAuthAccount
- func RefreshToken(v string) predicate.OAuthAccount
- func RefreshTokenContains(v string) predicate.OAuthAccount
- func RefreshTokenContainsFold(v string) predicate.OAuthAccount
- func RefreshTokenEQ(v string) predicate.OAuthAccount
- func RefreshTokenEqualFold(v string) predicate.OAuthAccount
- func RefreshTokenGT(v string) predicate.OAuthAccount
- func RefreshTokenGTE(v string) predicate.OAuthAccount
- func RefreshTokenHasPrefix(v string) predicate.OAuthAccount
- func RefreshTokenHasSuffix(v string) predicate.OAuthAccount
- func RefreshTokenIn(vs ...string) predicate.OAuthAccount
- func RefreshTokenIsNil() predicate.OAuthAccount
- func RefreshTokenLT(v string) predicate.OAuthAccount
- func RefreshTokenLTE(v string) predicate.OAuthAccount
- func RefreshTokenNEQ(v string) predicate.OAuthAccount
- func RefreshTokenNotIn(vs ...string) predicate.OAuthAccount
- func RefreshTokenNotNil() predicate.OAuthAccount
- func TokenExpiresAt(v time.Time) predicate.OAuthAccount
- func TokenExpiresAtEQ(v time.Time) predicate.OAuthAccount
- func TokenExpiresAtGT(v time.Time) predicate.OAuthAccount
- func TokenExpiresAtGTE(v time.Time) predicate.OAuthAccount
- func TokenExpiresAtIn(vs ...time.Time) predicate.OAuthAccount
- func TokenExpiresAtIsNil() predicate.OAuthAccount
- func TokenExpiresAtLT(v time.Time) predicate.OAuthAccount
- func TokenExpiresAtLTE(v time.Time) predicate.OAuthAccount
- func TokenExpiresAtNEQ(v time.Time) predicate.OAuthAccount
- func TokenExpiresAtNotIn(vs ...time.Time) predicate.OAuthAccount
- func TokenExpiresAtNotNil() predicate.OAuthAccount
- func UpdatedAt(v time.Time) predicate.OAuthAccount
- func UpdatedAtEQ(v time.Time) predicate.OAuthAccount
- func UpdatedAtGT(v time.Time) predicate.OAuthAccount
- func UpdatedAtGTE(v time.Time) predicate.OAuthAccount
- func UpdatedAtIn(vs ...time.Time) predicate.OAuthAccount
- func UpdatedAtLT(v time.Time) predicate.OAuthAccount
- func UpdatedAtLTE(v time.Time) predicate.OAuthAccount
- func UpdatedAtNEQ(v time.Time) predicate.OAuthAccount
- func UpdatedAtNotIn(vs ...time.Time) predicate.OAuthAccount
- func UserID(v uuid.UUID) predicate.OAuthAccount
- func UserIDEQ(v uuid.UUID) predicate.OAuthAccount
- func UserIDIn(vs ...uuid.UUID) predicate.OAuthAccount
- func UserIDNEQ(v uuid.UUID) predicate.OAuthAccount
- func UserIDNotIn(vs ...uuid.UUID) predicate.OAuthAccount
- func ValidColumn(column string) bool
- type OrderOption
- func ByAccessToken(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByProvider(opts ...sql.OrderTermOption) OrderOption
- func ByProviderUserID(opts ...sql.OrderTermOption) OrderOption
- func ByRefreshToken(opts ...sql.OrderTermOption) OrderOption
- func ByTokenExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the oauthaccount type in the database. Label = "oauth_account" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldProvider holds the string denoting the provider field in the database. FieldProvider = "provider" // FieldProviderUserID holds the string denoting the provider_user_id field in the database. FieldProviderUserID = "provider_user_id" // 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" // FieldTokenExpiresAt holds the string denoting the token_expires_at field in the database. FieldTokenExpiresAt = "token_expires_at" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the oauthaccount in the database. Table = "cf_oauth_accounts" // UserTable is the table that holds the user relation/edge. UserTable = "cf_oauth_accounts" // 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 = "cf_users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_id" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // ProviderValidator is a validator for the "provider" field. It is called by the builders before save. ProviderValidator func(string) error // ProviderUserIDValidator is a validator for the "provider_user_id" field. It is called by the builders before save. ProviderUserIDValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldUserID, FieldProvider, FieldProviderUserID, FieldAccessToken, FieldRefreshToken, FieldTokenExpiresAt, }
Columns holds all SQL columns for oauthaccount fields.
Functions ¶
func AccessToken ¶
func AccessToken(v string) predicate.OAuthAccount
AccessToken applies equality check predicate on the "access_token" field. It's identical to AccessTokenEQ.
func AccessTokenContains ¶
func AccessTokenContains(v string) predicate.OAuthAccount
AccessTokenContains applies the Contains predicate on the "access_token" field.
func AccessTokenContainsFold ¶
func AccessTokenContainsFold(v string) predicate.OAuthAccount
AccessTokenContainsFold applies the ContainsFold predicate on the "access_token" field.
func AccessTokenEQ ¶
func AccessTokenEQ(v string) predicate.OAuthAccount
AccessTokenEQ applies the EQ predicate on the "access_token" field.
func AccessTokenEqualFold ¶
func AccessTokenEqualFold(v string) predicate.OAuthAccount
AccessTokenEqualFold applies the EqualFold predicate on the "access_token" field.
func AccessTokenGT ¶
func AccessTokenGT(v string) predicate.OAuthAccount
AccessTokenGT applies the GT predicate on the "access_token" field.
func AccessTokenGTE ¶
func AccessTokenGTE(v string) predicate.OAuthAccount
AccessTokenGTE applies the GTE predicate on the "access_token" field.
func AccessTokenHasPrefix ¶
func AccessTokenHasPrefix(v string) predicate.OAuthAccount
AccessTokenHasPrefix applies the HasPrefix predicate on the "access_token" field.
func AccessTokenHasSuffix ¶
func AccessTokenHasSuffix(v string) predicate.OAuthAccount
AccessTokenHasSuffix applies the HasSuffix predicate on the "access_token" field.
func AccessTokenIn ¶
func AccessTokenIn(vs ...string) predicate.OAuthAccount
AccessTokenIn applies the In predicate on the "access_token" field.
func AccessTokenIsNil ¶
func AccessTokenIsNil() predicate.OAuthAccount
AccessTokenIsNil applies the IsNil predicate on the "access_token" field.
func AccessTokenLT ¶
func AccessTokenLT(v string) predicate.OAuthAccount
AccessTokenLT applies the LT predicate on the "access_token" field.
func AccessTokenLTE ¶
func AccessTokenLTE(v string) predicate.OAuthAccount
AccessTokenLTE applies the LTE predicate on the "access_token" field.
func AccessTokenNEQ ¶
func AccessTokenNEQ(v string) predicate.OAuthAccount
AccessTokenNEQ applies the NEQ predicate on the "access_token" field.
func AccessTokenNotIn ¶
func AccessTokenNotIn(vs ...string) predicate.OAuthAccount
AccessTokenNotIn applies the NotIn predicate on the "access_token" field.
func AccessTokenNotNil ¶
func AccessTokenNotNil() predicate.OAuthAccount
AccessTokenNotNil applies the NotNil predicate on the "access_token" field.
func And ¶
func And(predicates ...predicate.OAuthAccount) predicate.OAuthAccount
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.OAuthAccount
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.OAuthAccount
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.OAuthAccount
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.OAuthAccount
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.OAuthAccount
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.OAuthAccount
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.OAuthAccount
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.OAuthAccount
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.OAuthAccount
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasUser ¶
func HasUser() predicate.OAuthAccount
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.OAuthAccount
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.OAuthAccount
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.OAuthAccount
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.OAuthAccount
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.OAuthAccount
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.OAuthAccount
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.OAuthAccount
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.OAuthAccount
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.OAuthAccount
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.OAuthAccount) predicate.OAuthAccount
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.OAuthAccount) predicate.OAuthAccount
Or groups predicates with the OR operator between them.
func Provider ¶
func Provider(v string) predicate.OAuthAccount
Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.
func ProviderContains ¶
func ProviderContains(v string) predicate.OAuthAccount
ProviderContains applies the Contains predicate on the "provider" field.
func ProviderContainsFold ¶
func ProviderContainsFold(v string) predicate.OAuthAccount
ProviderContainsFold applies the ContainsFold predicate on the "provider" field.
func ProviderEQ ¶
func ProviderEQ(v string) predicate.OAuthAccount
ProviderEQ applies the EQ predicate on the "provider" field.
func ProviderEqualFold ¶
func ProviderEqualFold(v string) predicate.OAuthAccount
ProviderEqualFold applies the EqualFold predicate on the "provider" field.
func ProviderGT ¶
func ProviderGT(v string) predicate.OAuthAccount
ProviderGT applies the GT predicate on the "provider" field.
func ProviderGTE ¶
func ProviderGTE(v string) predicate.OAuthAccount
ProviderGTE applies the GTE predicate on the "provider" field.
func ProviderHasPrefix ¶
func ProviderHasPrefix(v string) predicate.OAuthAccount
ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.
func ProviderHasSuffix ¶
func ProviderHasSuffix(v string) predicate.OAuthAccount
ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.
func ProviderIn ¶
func ProviderIn(vs ...string) predicate.OAuthAccount
ProviderIn applies the In predicate on the "provider" field.
func ProviderLT ¶
func ProviderLT(v string) predicate.OAuthAccount
ProviderLT applies the LT predicate on the "provider" field.
func ProviderLTE ¶
func ProviderLTE(v string) predicate.OAuthAccount
ProviderLTE applies the LTE predicate on the "provider" field.
func ProviderNEQ ¶
func ProviderNEQ(v string) predicate.OAuthAccount
ProviderNEQ applies the NEQ predicate on the "provider" field.
func ProviderNotIn ¶
func ProviderNotIn(vs ...string) predicate.OAuthAccount
ProviderNotIn applies the NotIn predicate on the "provider" field.
func ProviderUserID ¶
func ProviderUserID(v string) predicate.OAuthAccount
ProviderUserID applies equality check predicate on the "provider_user_id" field. It's identical to ProviderUserIDEQ.
func ProviderUserIDContains ¶
func ProviderUserIDContains(v string) predicate.OAuthAccount
ProviderUserIDContains applies the Contains predicate on the "provider_user_id" field.
func ProviderUserIDContainsFold ¶
func ProviderUserIDContainsFold(v string) predicate.OAuthAccount
ProviderUserIDContainsFold applies the ContainsFold predicate on the "provider_user_id" field.
func ProviderUserIDEQ ¶
func ProviderUserIDEQ(v string) predicate.OAuthAccount
ProviderUserIDEQ applies the EQ predicate on the "provider_user_id" field.
func ProviderUserIDEqualFold ¶
func ProviderUserIDEqualFold(v string) predicate.OAuthAccount
ProviderUserIDEqualFold applies the EqualFold predicate on the "provider_user_id" field.
func ProviderUserIDGT ¶
func ProviderUserIDGT(v string) predicate.OAuthAccount
ProviderUserIDGT applies the GT predicate on the "provider_user_id" field.
func ProviderUserIDGTE ¶
func ProviderUserIDGTE(v string) predicate.OAuthAccount
ProviderUserIDGTE applies the GTE predicate on the "provider_user_id" field.
func ProviderUserIDHasPrefix ¶
func ProviderUserIDHasPrefix(v string) predicate.OAuthAccount
ProviderUserIDHasPrefix applies the HasPrefix predicate on the "provider_user_id" field.
func ProviderUserIDHasSuffix ¶
func ProviderUserIDHasSuffix(v string) predicate.OAuthAccount
ProviderUserIDHasSuffix applies the HasSuffix predicate on the "provider_user_id" field.
func ProviderUserIDIn ¶
func ProviderUserIDIn(vs ...string) predicate.OAuthAccount
ProviderUserIDIn applies the In predicate on the "provider_user_id" field.
func ProviderUserIDLT ¶
func ProviderUserIDLT(v string) predicate.OAuthAccount
ProviderUserIDLT applies the LT predicate on the "provider_user_id" field.
func ProviderUserIDLTE ¶
func ProviderUserIDLTE(v string) predicate.OAuthAccount
ProviderUserIDLTE applies the LTE predicate on the "provider_user_id" field.
func ProviderUserIDNEQ ¶
func ProviderUserIDNEQ(v string) predicate.OAuthAccount
ProviderUserIDNEQ applies the NEQ predicate on the "provider_user_id" field.
func ProviderUserIDNotIn ¶
func ProviderUserIDNotIn(vs ...string) predicate.OAuthAccount
ProviderUserIDNotIn applies the NotIn predicate on the "provider_user_id" field.
func RefreshToken ¶
func RefreshToken(v string) predicate.OAuthAccount
RefreshToken applies equality check predicate on the "refresh_token" field. It's identical to RefreshTokenEQ.
func RefreshTokenContains ¶
func RefreshTokenContains(v string) predicate.OAuthAccount
RefreshTokenContains applies the Contains predicate on the "refresh_token" field.
func RefreshTokenContainsFold ¶
func RefreshTokenContainsFold(v string) predicate.OAuthAccount
RefreshTokenContainsFold applies the ContainsFold predicate on the "refresh_token" field.
func RefreshTokenEQ ¶
func RefreshTokenEQ(v string) predicate.OAuthAccount
RefreshTokenEQ applies the EQ predicate on the "refresh_token" field.
func RefreshTokenEqualFold ¶
func RefreshTokenEqualFold(v string) predicate.OAuthAccount
RefreshTokenEqualFold applies the EqualFold predicate on the "refresh_token" field.
func RefreshTokenGT ¶
func RefreshTokenGT(v string) predicate.OAuthAccount
RefreshTokenGT applies the GT predicate on the "refresh_token" field.
func RefreshTokenGTE ¶
func RefreshTokenGTE(v string) predicate.OAuthAccount
RefreshTokenGTE applies the GTE predicate on the "refresh_token" field.
func RefreshTokenHasPrefix ¶
func RefreshTokenHasPrefix(v string) predicate.OAuthAccount
RefreshTokenHasPrefix applies the HasPrefix predicate on the "refresh_token" field.
func RefreshTokenHasSuffix ¶
func RefreshTokenHasSuffix(v string) predicate.OAuthAccount
RefreshTokenHasSuffix applies the HasSuffix predicate on the "refresh_token" field.
func RefreshTokenIn ¶
func RefreshTokenIn(vs ...string) predicate.OAuthAccount
RefreshTokenIn applies the In predicate on the "refresh_token" field.
func RefreshTokenIsNil ¶
func RefreshTokenIsNil() predicate.OAuthAccount
RefreshTokenIsNil applies the IsNil predicate on the "refresh_token" field.
func RefreshTokenLT ¶
func RefreshTokenLT(v string) predicate.OAuthAccount
RefreshTokenLT applies the LT predicate on the "refresh_token" field.
func RefreshTokenLTE ¶
func RefreshTokenLTE(v string) predicate.OAuthAccount
RefreshTokenLTE applies the LTE predicate on the "refresh_token" field.
func RefreshTokenNEQ ¶
func RefreshTokenNEQ(v string) predicate.OAuthAccount
RefreshTokenNEQ applies the NEQ predicate on the "refresh_token" field.
func RefreshTokenNotIn ¶
func RefreshTokenNotIn(vs ...string) predicate.OAuthAccount
RefreshTokenNotIn applies the NotIn predicate on the "refresh_token" field.
func RefreshTokenNotNil ¶
func RefreshTokenNotNil() predicate.OAuthAccount
RefreshTokenNotNil applies the NotNil predicate on the "refresh_token" field.
func TokenExpiresAt ¶
func TokenExpiresAt(v time.Time) predicate.OAuthAccount
TokenExpiresAt applies equality check predicate on the "token_expires_at" field. It's identical to TokenExpiresAtEQ.
func TokenExpiresAtEQ ¶
func TokenExpiresAtEQ(v time.Time) predicate.OAuthAccount
TokenExpiresAtEQ applies the EQ predicate on the "token_expires_at" field.
func TokenExpiresAtGT ¶
func TokenExpiresAtGT(v time.Time) predicate.OAuthAccount
TokenExpiresAtGT applies the GT predicate on the "token_expires_at" field.
func TokenExpiresAtGTE ¶
func TokenExpiresAtGTE(v time.Time) predicate.OAuthAccount
TokenExpiresAtGTE applies the GTE predicate on the "token_expires_at" field.
func TokenExpiresAtIn ¶
func TokenExpiresAtIn(vs ...time.Time) predicate.OAuthAccount
TokenExpiresAtIn applies the In predicate on the "token_expires_at" field.
func TokenExpiresAtIsNil ¶
func TokenExpiresAtIsNil() predicate.OAuthAccount
TokenExpiresAtIsNil applies the IsNil predicate on the "token_expires_at" field.
func TokenExpiresAtLT ¶
func TokenExpiresAtLT(v time.Time) predicate.OAuthAccount
TokenExpiresAtLT applies the LT predicate on the "token_expires_at" field.
func TokenExpiresAtLTE ¶
func TokenExpiresAtLTE(v time.Time) predicate.OAuthAccount
TokenExpiresAtLTE applies the LTE predicate on the "token_expires_at" field.
func TokenExpiresAtNEQ ¶
func TokenExpiresAtNEQ(v time.Time) predicate.OAuthAccount
TokenExpiresAtNEQ applies the NEQ predicate on the "token_expires_at" field.
func TokenExpiresAtNotIn ¶
func TokenExpiresAtNotIn(vs ...time.Time) predicate.OAuthAccount
TokenExpiresAtNotIn applies the NotIn predicate on the "token_expires_at" field.
func TokenExpiresAtNotNil ¶
func TokenExpiresAtNotNil() predicate.OAuthAccount
TokenExpiresAtNotNil applies the NotNil predicate on the "token_expires_at" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.OAuthAccount
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.OAuthAccount
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.OAuthAccount
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.OAuthAccount
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.OAuthAccount
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.OAuthAccount
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.OAuthAccount
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.OAuthAccount
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.OAuthAccount
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v uuid.UUID) predicate.OAuthAccount
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v uuid.UUID) predicate.OAuthAccount
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...uuid.UUID) predicate.OAuthAccount
UserIDIn applies the In predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v uuid.UUID) predicate.OAuthAccount
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...uuid.UUID) predicate.OAuthAccount
UserIDNotIn applies the NotIn predicate on the "user_id" 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 OAuthAccount queries.
func ByAccessToken ¶
func ByAccessToken(opts ...sql.OrderTermOption) OrderOption
ByAccessToken orders the results by the access_token field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByProvider ¶
func ByProvider(opts ...sql.OrderTermOption) OrderOption
ByProvider orders the results by the provider field.
func ByProviderUserID ¶
func ByProviderUserID(opts ...sql.OrderTermOption) OrderOption
ByProviderUserID orders the results by the provider_user_id field.
func ByRefreshToken ¶
func ByRefreshToken(opts ...sql.OrderTermOption) OrderOption
ByRefreshToken orders the results by the refresh_token field.
func ByTokenExpiresAt ¶
func ByTokenExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByTokenExpiresAt orders the results by the token_expires_at 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.