Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OAuth2Codes) predicate.OAuth2Codes
- func ClientID(v string) predicate.OAuth2Codes
- func ClientIDContains(v string) predicate.OAuth2Codes
- func ClientIDContainsFold(v string) predicate.OAuth2Codes
- func ClientIDEQ(v string) predicate.OAuth2Codes
- func ClientIDEqualFold(v string) predicate.OAuth2Codes
- func ClientIDGT(v string) predicate.OAuth2Codes
- func ClientIDGTE(v string) predicate.OAuth2Codes
- func ClientIDHasPrefix(v string) predicate.OAuth2Codes
- func ClientIDHasSuffix(v string) predicate.OAuth2Codes
- func ClientIDIn(vs ...string) predicate.OAuth2Codes
- func ClientIDLT(v string) predicate.OAuth2Codes
- func ClientIDLTE(v string) predicate.OAuth2Codes
- func ClientIDNEQ(v string) predicate.OAuth2Codes
- func ClientIDNotIn(vs ...string) predicate.OAuth2Codes
- func CodeChallenge(v string) predicate.OAuth2Codes
- func CodeChallengeContains(v string) predicate.OAuth2Codes
- func CodeChallengeContainsFold(v string) predicate.OAuth2Codes
- func CodeChallengeEQ(v string) predicate.OAuth2Codes
- func CodeChallengeEqualFold(v string) predicate.OAuth2Codes
- func CodeChallengeGT(v string) predicate.OAuth2Codes
- func CodeChallengeGTE(v string) predicate.OAuth2Codes
- func CodeChallengeHasPrefix(v string) predicate.OAuth2Codes
- func CodeChallengeHasSuffix(v string) predicate.OAuth2Codes
- func CodeChallengeIn(vs ...string) predicate.OAuth2Codes
- func CodeChallengeLT(v string) predicate.OAuth2Codes
- func CodeChallengeLTE(v string) predicate.OAuth2Codes
- func CodeChallengeMethod(v string) predicate.OAuth2Codes
- func CodeChallengeMethodContains(v string) predicate.OAuth2Codes
- func CodeChallengeMethodContainsFold(v string) predicate.OAuth2Codes
- func CodeChallengeMethodEQ(v string) predicate.OAuth2Codes
- func CodeChallengeMethodEqualFold(v string) predicate.OAuth2Codes
- func CodeChallengeMethodGT(v string) predicate.OAuth2Codes
- func CodeChallengeMethodGTE(v string) predicate.OAuth2Codes
- func CodeChallengeMethodHasPrefix(v string) predicate.OAuth2Codes
- func CodeChallengeMethodHasSuffix(v string) predicate.OAuth2Codes
- func CodeChallengeMethodIn(vs ...string) predicate.OAuth2Codes
- func CodeChallengeMethodLT(v string) predicate.OAuth2Codes
- func CodeChallengeMethodLTE(v string) predicate.OAuth2Codes
- func CodeChallengeMethodNEQ(v string) predicate.OAuth2Codes
- func CodeChallengeMethodNotIn(vs ...string) predicate.OAuth2Codes
- func CodeChallengeNEQ(v string) predicate.OAuth2Codes
- func CodeChallengeNotIn(vs ...string) predicate.OAuth2Codes
- func CodeHash(v string) predicate.OAuth2Codes
- func CodeHashContains(v string) predicate.OAuth2Codes
- func CodeHashContainsFold(v string) predicate.OAuth2Codes
- func CodeHashEQ(v string) predicate.OAuth2Codes
- func CodeHashEqualFold(v string) predicate.OAuth2Codes
- func CodeHashGT(v string) predicate.OAuth2Codes
- func CodeHashGTE(v string) predicate.OAuth2Codes
- func CodeHashHasPrefix(v string) predicate.OAuth2Codes
- func CodeHashHasSuffix(v string) predicate.OAuth2Codes
- func CodeHashIn(vs ...string) predicate.OAuth2Codes
- func CodeHashLT(v string) predicate.OAuth2Codes
- func CodeHashLTE(v string) predicate.OAuth2Codes
- func CodeHashNEQ(v string) predicate.OAuth2Codes
- func CodeHashNotIn(vs ...string) predicate.OAuth2Codes
- func ConsumedAt(v time.Time) predicate.OAuth2Codes
- func ConsumedAtEQ(v time.Time) predicate.OAuth2Codes
- func ConsumedAtGT(v time.Time) predicate.OAuth2Codes
- func ConsumedAtGTE(v time.Time) predicate.OAuth2Codes
- func ConsumedAtIn(vs ...time.Time) predicate.OAuth2Codes
- func ConsumedAtIsNil() predicate.OAuth2Codes
- func ConsumedAtLT(v time.Time) predicate.OAuth2Codes
- func ConsumedAtLTE(v time.Time) predicate.OAuth2Codes
- func ConsumedAtNEQ(v time.Time) predicate.OAuth2Codes
- func ConsumedAtNotIn(vs ...time.Time) predicate.OAuth2Codes
- func ConsumedAtNotNil() predicate.OAuth2Codes
- func CreatedAt(v time.Time) predicate.OAuth2Codes
- func CreatedAtEQ(v time.Time) predicate.OAuth2Codes
- func CreatedAtGT(v time.Time) predicate.OAuth2Codes
- func CreatedAtGTE(v time.Time) predicate.OAuth2Codes
- func CreatedAtIn(vs ...time.Time) predicate.OAuth2Codes
- func CreatedAtLT(v time.Time) predicate.OAuth2Codes
- func CreatedAtLTE(v time.Time) predicate.OAuth2Codes
- func CreatedAtNEQ(v time.Time) predicate.OAuth2Codes
- func CreatedAtNotIn(vs ...time.Time) predicate.OAuth2Codes
- func ExpiresAt(v time.Time) predicate.OAuth2Codes
- func ExpiresAtEQ(v time.Time) predicate.OAuth2Codes
- func ExpiresAtGT(v time.Time) predicate.OAuth2Codes
- func ExpiresAtGTE(v time.Time) predicate.OAuth2Codes
- func ExpiresAtIn(vs ...time.Time) predicate.OAuth2Codes
- func ExpiresAtLT(v time.Time) predicate.OAuth2Codes
- func ExpiresAtLTE(v time.Time) predicate.OAuth2Codes
- func ExpiresAtNEQ(v time.Time) predicate.OAuth2Codes
- func ExpiresAtNotIn(vs ...time.Time) predicate.OAuth2Codes
- func ID(id int) predicate.OAuth2Codes
- func IDEQ(id int) predicate.OAuth2Codes
- func IDGT(id int) predicate.OAuth2Codes
- func IDGTE(id int) predicate.OAuth2Codes
- func IDIn(ids ...int) predicate.OAuth2Codes
- func IDLT(id int) predicate.OAuth2Codes
- func IDLTE(id int) predicate.OAuth2Codes
- func IDNEQ(id int) predicate.OAuth2Codes
- func IDNotIn(ids ...int) predicate.OAuth2Codes
- func Nonce(v string) predicate.OAuth2Codes
- func NonceContains(v string) predicate.OAuth2Codes
- func NonceContainsFold(v string) predicate.OAuth2Codes
- func NonceEQ(v string) predicate.OAuth2Codes
- func NonceEqualFold(v string) predicate.OAuth2Codes
- func NonceGT(v string) predicate.OAuth2Codes
- func NonceGTE(v string) predicate.OAuth2Codes
- func NonceHasPrefix(v string) predicate.OAuth2Codes
- func NonceHasSuffix(v string) predicate.OAuth2Codes
- func NonceIn(vs ...string) predicate.OAuth2Codes
- func NonceLT(v string) predicate.OAuth2Codes
- func NonceLTE(v string) predicate.OAuth2Codes
- func NonceNEQ(v string) predicate.OAuth2Codes
- func NonceNotIn(vs ...string) predicate.OAuth2Codes
- func Not(p predicate.OAuth2Codes) predicate.OAuth2Codes
- func Or(predicates ...predicate.OAuth2Codes) predicate.OAuth2Codes
- func RedirectURI(v string) predicate.OAuth2Codes
- func RedirectURIContains(v string) predicate.OAuth2Codes
- func RedirectURIContainsFold(v string) predicate.OAuth2Codes
- func RedirectURIEQ(v string) predicate.OAuth2Codes
- func RedirectURIEqualFold(v string) predicate.OAuth2Codes
- func RedirectURIGT(v string) predicate.OAuth2Codes
- func RedirectURIGTE(v string) predicate.OAuth2Codes
- func RedirectURIHasPrefix(v string) predicate.OAuth2Codes
- func RedirectURIHasSuffix(v string) predicate.OAuth2Codes
- func RedirectURIIn(vs ...string) predicate.OAuth2Codes
- func RedirectURILT(v string) predicate.OAuth2Codes
- func RedirectURILTE(v string) predicate.OAuth2Codes
- func RedirectURINEQ(v string) predicate.OAuth2Codes
- func RedirectURINotIn(vs ...string) predicate.OAuth2Codes
- func ScopesIsNil() predicate.OAuth2Codes
- func ScopesNotNil() predicate.OAuth2Codes
- func State(v string) predicate.OAuth2Codes
- func StateContains(v string) predicate.OAuth2Codes
- func StateContainsFold(v string) predicate.OAuth2Codes
- func StateEQ(v string) predicate.OAuth2Codes
- func StateEqualFold(v string) predicate.OAuth2Codes
- func StateGT(v string) predicate.OAuth2Codes
- func StateGTE(v string) predicate.OAuth2Codes
- func StateHasPrefix(v string) predicate.OAuth2Codes
- func StateHasSuffix(v string) predicate.OAuth2Codes
- func StateIn(vs ...string) predicate.OAuth2Codes
- func StateLT(v string) predicate.OAuth2Codes
- func StateLTE(v string) predicate.OAuth2Codes
- func StateNEQ(v string) predicate.OAuth2Codes
- func StateNotIn(vs ...string) predicate.OAuth2Codes
- func UpdatedAt(v time.Time) predicate.OAuth2Codes
- func UpdatedAtEQ(v time.Time) predicate.OAuth2Codes
- func UpdatedAtGT(v time.Time) predicate.OAuth2Codes
- func UpdatedAtGTE(v time.Time) predicate.OAuth2Codes
- func UpdatedAtIn(vs ...time.Time) predicate.OAuth2Codes
- func UpdatedAtLT(v time.Time) predicate.OAuth2Codes
- func UpdatedAtLTE(v time.Time) predicate.OAuth2Codes
- func UpdatedAtNEQ(v time.Time) predicate.OAuth2Codes
- func UpdatedAtNotIn(vs ...time.Time) predicate.OAuth2Codes
- func UserID(v int) predicate.OAuth2Codes
- func UserIDEQ(v int) predicate.OAuth2Codes
- func UserIDGT(v int) predicate.OAuth2Codes
- func UserIDGTE(v int) predicate.OAuth2Codes
- func UserIDIn(vs ...int) predicate.OAuth2Codes
- func UserIDLT(v int) predicate.OAuth2Codes
- func UserIDLTE(v int) predicate.OAuth2Codes
- func UserIDNEQ(v int) predicate.OAuth2Codes
- func UserIDNotIn(vs ...int) predicate.OAuth2Codes
- func Username(v string) predicate.OAuth2Codes
- func UsernameContains(v string) predicate.OAuth2Codes
- func UsernameContainsFold(v string) predicate.OAuth2Codes
- func UsernameEQ(v string) predicate.OAuth2Codes
- func UsernameEqualFold(v string) predicate.OAuth2Codes
- func UsernameGT(v string) predicate.OAuth2Codes
- func UsernameGTE(v string) predicate.OAuth2Codes
- func UsernameHasPrefix(v string) predicate.OAuth2Codes
- func UsernameHasSuffix(v string) predicate.OAuth2Codes
- func UsernameIn(vs ...string) predicate.OAuth2Codes
- func UsernameLT(v string) predicate.OAuth2Codes
- func UsernameLTE(v string) predicate.OAuth2Codes
- func UsernameNEQ(v string) predicate.OAuth2Codes
- func UsernameNotIn(vs ...string) predicate.OAuth2Codes
- func ValidColumn(column string) bool
- type OrderOption
- func ByClientID(opts ...sql.OrderTermOption) OrderOption
- func ByCodeChallenge(opts ...sql.OrderTermOption) OrderOption
- func ByCodeChallengeMethod(opts ...sql.OrderTermOption) OrderOption
- func ByCodeHash(opts ...sql.OrderTermOption) OrderOption
- func ByConsumedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByNonce(opts ...sql.OrderTermOption) OrderOption
- func ByRedirectURI(opts ...sql.OrderTermOption) OrderOption
- func ByState(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByUsername(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the oauth2codes type in the database. Label = "oauth2codes" // 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" // FieldCodeHash holds the string denoting the code_hash field in the database. FieldCodeHash = "code_hash" // FieldClientID holds the string denoting the client_id field in the database. FieldClientID = "client_id" // FieldRedirectURI holds the string denoting the redirect_uri field in the database. FieldRedirectURI = "redirect_uri" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldScopes holds the string denoting the scopes field in the database. FieldScopes = "scopes" // FieldState holds the string denoting the state field in the database. FieldState = "state" // FieldNonce holds the string denoting the nonce field in the database. FieldNonce = "nonce" // FieldCodeChallenge holds the string denoting the code_challenge field in the database. FieldCodeChallenge = "code_challenge" // FieldCodeChallengeMethod holds the string denoting the code_challenge_method field in the database. FieldCodeChallengeMethod = "code_challenge_method" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldConsumedAt holds the string denoting the consumed_at field in the database. FieldConsumedAt = "consumed_at" // Table holds the table name of the oauth2codes in the database. Table = "lion_oauth2_codes" )
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 // CodeHashValidator is a validator for the "code_hash" field. It is called by the builders before save. CodeHashValidator func(string) error // ClientIDValidator is a validator for the "client_id" field. It is called by the builders before save. ClientIDValidator func(string) error // RedirectURIValidator is a validator for the "redirect_uri" field. It is called by the builders before save. RedirectURIValidator func(string) error // DefaultUserID holds the default value on creation for the "user_id" field. DefaultUserID int // DefaultUsername holds the default value on creation for the "username" field. DefaultUsername string // UsernameValidator is a validator for the "username" field. It is called by the builders before save. UsernameValidator func(string) error // DefaultState holds the default value on creation for the "state" field. DefaultState string // StateValidator is a validator for the "state" field. It is called by the builders before save. StateValidator func(string) error // DefaultNonce holds the default value on creation for the "nonce" field. DefaultNonce string // NonceValidator is a validator for the "nonce" field. It is called by the builders before save. NonceValidator func(string) error // DefaultCodeChallenge holds the default value on creation for the "code_challenge" field. DefaultCodeChallenge string // CodeChallengeValidator is a validator for the "code_challenge" field. It is called by the builders before save. CodeChallengeValidator func(string) error // DefaultCodeChallengeMethod holds the default value on creation for the "code_challenge_method" field. DefaultCodeChallengeMethod string // CodeChallengeMethodValidator is a validator for the "code_challenge_method" field. It is called by the builders before save. CodeChallengeMethodValidator func(string) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCodeHash, FieldClientID, FieldRedirectURI, FieldUserID, FieldUsername, FieldScopes, FieldState, FieldNonce, FieldCodeChallenge, FieldCodeChallengeMethod, FieldExpiresAt, FieldConsumedAt, }
Columns holds all SQL columns for oauth2codes fields.
Functions ¶
func And ¶
func And(predicates ...predicate.OAuth2Codes) predicate.OAuth2Codes
And groups predicates with the AND operator between them.
func ClientID ¶
func ClientID(v string) predicate.OAuth2Codes
ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.
func ClientIDContains ¶
func ClientIDContains(v string) predicate.OAuth2Codes
ClientIDContains applies the Contains predicate on the "client_id" field.
func ClientIDContainsFold ¶
func ClientIDContainsFold(v string) predicate.OAuth2Codes
ClientIDContainsFold applies the ContainsFold predicate on the "client_id" field.
func ClientIDEQ ¶
func ClientIDEQ(v string) predicate.OAuth2Codes
ClientIDEQ applies the EQ predicate on the "client_id" field.
func ClientIDEqualFold ¶
func ClientIDEqualFold(v string) predicate.OAuth2Codes
ClientIDEqualFold applies the EqualFold predicate on the "client_id" field.
func ClientIDGT ¶
func ClientIDGT(v string) predicate.OAuth2Codes
ClientIDGT applies the GT predicate on the "client_id" field.
func ClientIDGTE ¶
func ClientIDGTE(v string) predicate.OAuth2Codes
ClientIDGTE applies the GTE predicate on the "client_id" field.
func ClientIDHasPrefix ¶
func ClientIDHasPrefix(v string) predicate.OAuth2Codes
ClientIDHasPrefix applies the HasPrefix predicate on the "client_id" field.
func ClientIDHasSuffix ¶
func ClientIDHasSuffix(v string) predicate.OAuth2Codes
ClientIDHasSuffix applies the HasSuffix predicate on the "client_id" field.
func ClientIDIn ¶
func ClientIDIn(vs ...string) predicate.OAuth2Codes
ClientIDIn applies the In predicate on the "client_id" field.
func ClientIDLT ¶
func ClientIDLT(v string) predicate.OAuth2Codes
ClientIDLT applies the LT predicate on the "client_id" field.
func ClientIDLTE ¶
func ClientIDLTE(v string) predicate.OAuth2Codes
ClientIDLTE applies the LTE predicate on the "client_id" field.
func ClientIDNEQ ¶
func ClientIDNEQ(v string) predicate.OAuth2Codes
ClientIDNEQ applies the NEQ predicate on the "client_id" field.
func ClientIDNotIn ¶
func ClientIDNotIn(vs ...string) predicate.OAuth2Codes
ClientIDNotIn applies the NotIn predicate on the "client_id" field.
func CodeChallenge ¶
func CodeChallenge(v string) predicate.OAuth2Codes
CodeChallenge applies equality check predicate on the "code_challenge" field. It's identical to CodeChallengeEQ.
func CodeChallengeContains ¶
func CodeChallengeContains(v string) predicate.OAuth2Codes
CodeChallengeContains applies the Contains predicate on the "code_challenge" field.
func CodeChallengeContainsFold ¶
func CodeChallengeContainsFold(v string) predicate.OAuth2Codes
CodeChallengeContainsFold applies the ContainsFold predicate on the "code_challenge" field.
func CodeChallengeEQ ¶
func CodeChallengeEQ(v string) predicate.OAuth2Codes
CodeChallengeEQ applies the EQ predicate on the "code_challenge" field.
func CodeChallengeEqualFold ¶
func CodeChallengeEqualFold(v string) predicate.OAuth2Codes
CodeChallengeEqualFold applies the EqualFold predicate on the "code_challenge" field.
func CodeChallengeGT ¶
func CodeChallengeGT(v string) predicate.OAuth2Codes
CodeChallengeGT applies the GT predicate on the "code_challenge" field.
func CodeChallengeGTE ¶
func CodeChallengeGTE(v string) predicate.OAuth2Codes
CodeChallengeGTE applies the GTE predicate on the "code_challenge" field.
func CodeChallengeHasPrefix ¶
func CodeChallengeHasPrefix(v string) predicate.OAuth2Codes
CodeChallengeHasPrefix applies the HasPrefix predicate on the "code_challenge" field.
func CodeChallengeHasSuffix ¶
func CodeChallengeHasSuffix(v string) predicate.OAuth2Codes
CodeChallengeHasSuffix applies the HasSuffix predicate on the "code_challenge" field.
func CodeChallengeIn ¶
func CodeChallengeIn(vs ...string) predicate.OAuth2Codes
CodeChallengeIn applies the In predicate on the "code_challenge" field.
func CodeChallengeLT ¶
func CodeChallengeLT(v string) predicate.OAuth2Codes
CodeChallengeLT applies the LT predicate on the "code_challenge" field.
func CodeChallengeLTE ¶
func CodeChallengeLTE(v string) predicate.OAuth2Codes
CodeChallengeLTE applies the LTE predicate on the "code_challenge" field.
func CodeChallengeMethod ¶
func CodeChallengeMethod(v string) predicate.OAuth2Codes
CodeChallengeMethod applies equality check predicate on the "code_challenge_method" field. It's identical to CodeChallengeMethodEQ.
func CodeChallengeMethodContains ¶
func CodeChallengeMethodContains(v string) predicate.OAuth2Codes
CodeChallengeMethodContains applies the Contains predicate on the "code_challenge_method" field.
func CodeChallengeMethodContainsFold ¶
func CodeChallengeMethodContainsFold(v string) predicate.OAuth2Codes
CodeChallengeMethodContainsFold applies the ContainsFold predicate on the "code_challenge_method" field.
func CodeChallengeMethodEQ ¶
func CodeChallengeMethodEQ(v string) predicate.OAuth2Codes
CodeChallengeMethodEQ applies the EQ predicate on the "code_challenge_method" field.
func CodeChallengeMethodEqualFold ¶
func CodeChallengeMethodEqualFold(v string) predicate.OAuth2Codes
CodeChallengeMethodEqualFold applies the EqualFold predicate on the "code_challenge_method" field.
func CodeChallengeMethodGT ¶
func CodeChallengeMethodGT(v string) predicate.OAuth2Codes
CodeChallengeMethodGT applies the GT predicate on the "code_challenge_method" field.
func CodeChallengeMethodGTE ¶
func CodeChallengeMethodGTE(v string) predicate.OAuth2Codes
CodeChallengeMethodGTE applies the GTE predicate on the "code_challenge_method" field.
func CodeChallengeMethodHasPrefix ¶
func CodeChallengeMethodHasPrefix(v string) predicate.OAuth2Codes
CodeChallengeMethodHasPrefix applies the HasPrefix predicate on the "code_challenge_method" field.
func CodeChallengeMethodHasSuffix ¶
func CodeChallengeMethodHasSuffix(v string) predicate.OAuth2Codes
CodeChallengeMethodHasSuffix applies the HasSuffix predicate on the "code_challenge_method" field.
func CodeChallengeMethodIn ¶
func CodeChallengeMethodIn(vs ...string) predicate.OAuth2Codes
CodeChallengeMethodIn applies the In predicate on the "code_challenge_method" field.
func CodeChallengeMethodLT ¶
func CodeChallengeMethodLT(v string) predicate.OAuth2Codes
CodeChallengeMethodLT applies the LT predicate on the "code_challenge_method" field.
func CodeChallengeMethodLTE ¶
func CodeChallengeMethodLTE(v string) predicate.OAuth2Codes
CodeChallengeMethodLTE applies the LTE predicate on the "code_challenge_method" field.
func CodeChallengeMethodNEQ ¶
func CodeChallengeMethodNEQ(v string) predicate.OAuth2Codes
CodeChallengeMethodNEQ applies the NEQ predicate on the "code_challenge_method" field.
func CodeChallengeMethodNotIn ¶
func CodeChallengeMethodNotIn(vs ...string) predicate.OAuth2Codes
CodeChallengeMethodNotIn applies the NotIn predicate on the "code_challenge_method" field.
func CodeChallengeNEQ ¶
func CodeChallengeNEQ(v string) predicate.OAuth2Codes
CodeChallengeNEQ applies the NEQ predicate on the "code_challenge" field.
func CodeChallengeNotIn ¶
func CodeChallengeNotIn(vs ...string) predicate.OAuth2Codes
CodeChallengeNotIn applies the NotIn predicate on the "code_challenge" field.
func CodeHash ¶
func CodeHash(v string) predicate.OAuth2Codes
CodeHash applies equality check predicate on the "code_hash" field. It's identical to CodeHashEQ.
func CodeHashContains ¶
func CodeHashContains(v string) predicate.OAuth2Codes
CodeHashContains applies the Contains predicate on the "code_hash" field.
func CodeHashContainsFold ¶
func CodeHashContainsFold(v string) predicate.OAuth2Codes
CodeHashContainsFold applies the ContainsFold predicate on the "code_hash" field.
func CodeHashEQ ¶
func CodeHashEQ(v string) predicate.OAuth2Codes
CodeHashEQ applies the EQ predicate on the "code_hash" field.
func CodeHashEqualFold ¶
func CodeHashEqualFold(v string) predicate.OAuth2Codes
CodeHashEqualFold applies the EqualFold predicate on the "code_hash" field.
func CodeHashGT ¶
func CodeHashGT(v string) predicate.OAuth2Codes
CodeHashGT applies the GT predicate on the "code_hash" field.
func CodeHashGTE ¶
func CodeHashGTE(v string) predicate.OAuth2Codes
CodeHashGTE applies the GTE predicate on the "code_hash" field.
func CodeHashHasPrefix ¶
func CodeHashHasPrefix(v string) predicate.OAuth2Codes
CodeHashHasPrefix applies the HasPrefix predicate on the "code_hash" field.
func CodeHashHasSuffix ¶
func CodeHashHasSuffix(v string) predicate.OAuth2Codes
CodeHashHasSuffix applies the HasSuffix predicate on the "code_hash" field.
func CodeHashIn ¶
func CodeHashIn(vs ...string) predicate.OAuth2Codes
CodeHashIn applies the In predicate on the "code_hash" field.
func CodeHashLT ¶
func CodeHashLT(v string) predicate.OAuth2Codes
CodeHashLT applies the LT predicate on the "code_hash" field.
func CodeHashLTE ¶
func CodeHashLTE(v string) predicate.OAuth2Codes
CodeHashLTE applies the LTE predicate on the "code_hash" field.
func CodeHashNEQ ¶
func CodeHashNEQ(v string) predicate.OAuth2Codes
CodeHashNEQ applies the NEQ predicate on the "code_hash" field.
func CodeHashNotIn ¶
func CodeHashNotIn(vs ...string) predicate.OAuth2Codes
CodeHashNotIn applies the NotIn predicate on the "code_hash" field.
func ConsumedAt ¶
func ConsumedAt(v time.Time) predicate.OAuth2Codes
ConsumedAt applies equality check predicate on the "consumed_at" field. It's identical to ConsumedAtEQ.
func ConsumedAtEQ ¶
func ConsumedAtEQ(v time.Time) predicate.OAuth2Codes
ConsumedAtEQ applies the EQ predicate on the "consumed_at" field.
func ConsumedAtGT ¶
func ConsumedAtGT(v time.Time) predicate.OAuth2Codes
ConsumedAtGT applies the GT predicate on the "consumed_at" field.
func ConsumedAtGTE ¶
func ConsumedAtGTE(v time.Time) predicate.OAuth2Codes
ConsumedAtGTE applies the GTE predicate on the "consumed_at" field.
func ConsumedAtIn ¶
func ConsumedAtIn(vs ...time.Time) predicate.OAuth2Codes
ConsumedAtIn applies the In predicate on the "consumed_at" field.
func ConsumedAtIsNil ¶
func ConsumedAtIsNil() predicate.OAuth2Codes
ConsumedAtIsNil applies the IsNil predicate on the "consumed_at" field.
func ConsumedAtLT ¶
func ConsumedAtLT(v time.Time) predicate.OAuth2Codes
ConsumedAtLT applies the LT predicate on the "consumed_at" field.
func ConsumedAtLTE ¶
func ConsumedAtLTE(v time.Time) predicate.OAuth2Codes
ConsumedAtLTE applies the LTE predicate on the "consumed_at" field.
func ConsumedAtNEQ ¶
func ConsumedAtNEQ(v time.Time) predicate.OAuth2Codes
ConsumedAtNEQ applies the NEQ predicate on the "consumed_at" field.
func ConsumedAtNotIn ¶
func ConsumedAtNotIn(vs ...time.Time) predicate.OAuth2Codes
ConsumedAtNotIn applies the NotIn predicate on the "consumed_at" field.
func ConsumedAtNotNil ¶
func ConsumedAtNotNil() predicate.OAuth2Codes
ConsumedAtNotNil applies the NotNil predicate on the "consumed_at" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.OAuth2Codes
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.OAuth2Codes
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.OAuth2Codes
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.OAuth2Codes
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.OAuth2Codes
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.OAuth2Codes
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.OAuth2Codes
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.OAuth2Codes
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.OAuth2Codes
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func ExpiresAt ¶
func ExpiresAt(v time.Time) predicate.OAuth2Codes
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v time.Time) predicate.OAuth2Codes
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v time.Time) predicate.OAuth2Codes
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v time.Time) predicate.OAuth2Codes
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...time.Time) predicate.OAuth2Codes
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v time.Time) predicate.OAuth2Codes
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v time.Time) predicate.OAuth2Codes
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v time.Time) predicate.OAuth2Codes
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...time.Time) predicate.OAuth2Codes
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func IDGTE ¶
func IDGTE(id int) predicate.OAuth2Codes
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.OAuth2Codes
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.OAuth2Codes
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.OAuth2Codes
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.OAuth2Codes
IDNotIn applies the NotIn predicate on the ID field.
func Nonce ¶
func Nonce(v string) predicate.OAuth2Codes
Nonce applies equality check predicate on the "nonce" field. It's identical to NonceEQ.
func NonceContains ¶
func NonceContains(v string) predicate.OAuth2Codes
NonceContains applies the Contains predicate on the "nonce" field.
func NonceContainsFold ¶
func NonceContainsFold(v string) predicate.OAuth2Codes
NonceContainsFold applies the ContainsFold predicate on the "nonce" field.
func NonceEQ ¶
func NonceEQ(v string) predicate.OAuth2Codes
NonceEQ applies the EQ predicate on the "nonce" field.
func NonceEqualFold ¶
func NonceEqualFold(v string) predicate.OAuth2Codes
NonceEqualFold applies the EqualFold predicate on the "nonce" field.
func NonceGT ¶
func NonceGT(v string) predicate.OAuth2Codes
NonceGT applies the GT predicate on the "nonce" field.
func NonceGTE ¶
func NonceGTE(v string) predicate.OAuth2Codes
NonceGTE applies the GTE predicate on the "nonce" field.
func NonceHasPrefix ¶
func NonceHasPrefix(v string) predicate.OAuth2Codes
NonceHasPrefix applies the HasPrefix predicate on the "nonce" field.
func NonceHasSuffix ¶
func NonceHasSuffix(v string) predicate.OAuth2Codes
NonceHasSuffix applies the HasSuffix predicate on the "nonce" field.
func NonceIn ¶
func NonceIn(vs ...string) predicate.OAuth2Codes
NonceIn applies the In predicate on the "nonce" field.
func NonceLT ¶
func NonceLT(v string) predicate.OAuth2Codes
NonceLT applies the LT predicate on the "nonce" field.
func NonceLTE ¶
func NonceLTE(v string) predicate.OAuth2Codes
NonceLTE applies the LTE predicate on the "nonce" field.
func NonceNEQ ¶
func NonceNEQ(v string) predicate.OAuth2Codes
NonceNEQ applies the NEQ predicate on the "nonce" field.
func NonceNotIn ¶
func NonceNotIn(vs ...string) predicate.OAuth2Codes
NonceNotIn applies the NotIn predicate on the "nonce" field.
func Not ¶
func Not(p predicate.OAuth2Codes) predicate.OAuth2Codes
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.OAuth2Codes) predicate.OAuth2Codes
Or groups predicates with the OR operator between them.
func RedirectURI ¶
func RedirectURI(v string) predicate.OAuth2Codes
RedirectURI applies equality check predicate on the "redirect_uri" field. It's identical to RedirectURIEQ.
func RedirectURIContains ¶
func RedirectURIContains(v string) predicate.OAuth2Codes
RedirectURIContains applies the Contains predicate on the "redirect_uri" field.
func RedirectURIContainsFold ¶
func RedirectURIContainsFold(v string) predicate.OAuth2Codes
RedirectURIContainsFold applies the ContainsFold predicate on the "redirect_uri" field.
func RedirectURIEQ ¶
func RedirectURIEQ(v string) predicate.OAuth2Codes
RedirectURIEQ applies the EQ predicate on the "redirect_uri" field.
func RedirectURIEqualFold ¶
func RedirectURIEqualFold(v string) predicate.OAuth2Codes
RedirectURIEqualFold applies the EqualFold predicate on the "redirect_uri" field.
func RedirectURIGT ¶
func RedirectURIGT(v string) predicate.OAuth2Codes
RedirectURIGT applies the GT predicate on the "redirect_uri" field.
func RedirectURIGTE ¶
func RedirectURIGTE(v string) predicate.OAuth2Codes
RedirectURIGTE applies the GTE predicate on the "redirect_uri" field.
func RedirectURIHasPrefix ¶
func RedirectURIHasPrefix(v string) predicate.OAuth2Codes
RedirectURIHasPrefix applies the HasPrefix predicate on the "redirect_uri" field.
func RedirectURIHasSuffix ¶
func RedirectURIHasSuffix(v string) predicate.OAuth2Codes
RedirectURIHasSuffix applies the HasSuffix predicate on the "redirect_uri" field.
func RedirectURIIn ¶
func RedirectURIIn(vs ...string) predicate.OAuth2Codes
RedirectURIIn applies the In predicate on the "redirect_uri" field.
func RedirectURILT ¶
func RedirectURILT(v string) predicate.OAuth2Codes
RedirectURILT applies the LT predicate on the "redirect_uri" field.
func RedirectURILTE ¶
func RedirectURILTE(v string) predicate.OAuth2Codes
RedirectURILTE applies the LTE predicate on the "redirect_uri" field.
func RedirectURINEQ ¶
func RedirectURINEQ(v string) predicate.OAuth2Codes
RedirectURINEQ applies the NEQ predicate on the "redirect_uri" field.
func RedirectURINotIn ¶
func RedirectURINotIn(vs ...string) predicate.OAuth2Codes
RedirectURINotIn applies the NotIn predicate on the "redirect_uri" field.
func ScopesIsNil ¶
func ScopesIsNil() predicate.OAuth2Codes
ScopesIsNil applies the IsNil predicate on the "scopes" field.
func ScopesNotNil ¶
func ScopesNotNil() predicate.OAuth2Codes
ScopesNotNil applies the NotNil predicate on the "scopes" field.
func State ¶
func State(v string) predicate.OAuth2Codes
State applies equality check predicate on the "state" field. It's identical to StateEQ.
func StateContains ¶
func StateContains(v string) predicate.OAuth2Codes
StateContains applies the Contains predicate on the "state" field.
func StateContainsFold ¶
func StateContainsFold(v string) predicate.OAuth2Codes
StateContainsFold applies the ContainsFold predicate on the "state" field.
func StateEQ ¶
func StateEQ(v string) predicate.OAuth2Codes
StateEQ applies the EQ predicate on the "state" field.
func StateEqualFold ¶
func StateEqualFold(v string) predicate.OAuth2Codes
StateEqualFold applies the EqualFold predicate on the "state" field.
func StateGT ¶
func StateGT(v string) predicate.OAuth2Codes
StateGT applies the GT predicate on the "state" field.
func StateGTE ¶
func StateGTE(v string) predicate.OAuth2Codes
StateGTE applies the GTE predicate on the "state" field.
func StateHasPrefix ¶
func StateHasPrefix(v string) predicate.OAuth2Codes
StateHasPrefix applies the HasPrefix predicate on the "state" field.
func StateHasSuffix ¶
func StateHasSuffix(v string) predicate.OAuth2Codes
StateHasSuffix applies the HasSuffix predicate on the "state" field.
func StateIn ¶
func StateIn(vs ...string) predicate.OAuth2Codes
StateIn applies the In predicate on the "state" field.
func StateLT ¶
func StateLT(v string) predicate.OAuth2Codes
StateLT applies the LT predicate on the "state" field.
func StateLTE ¶
func StateLTE(v string) predicate.OAuth2Codes
StateLTE applies the LTE predicate on the "state" field.
func StateNEQ ¶
func StateNEQ(v string) predicate.OAuth2Codes
StateNEQ applies the NEQ predicate on the "state" field.
func StateNotIn ¶
func StateNotIn(vs ...string) predicate.OAuth2Codes
StateNotIn applies the NotIn predicate on the "state" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.OAuth2Codes
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.OAuth2Codes
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.OAuth2Codes
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.OAuth2Codes
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.OAuth2Codes
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.OAuth2Codes
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.OAuth2Codes
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.OAuth2Codes
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.OAuth2Codes
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserID ¶
func UserID(v int) predicate.OAuth2Codes
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int) predicate.OAuth2Codes
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v int) predicate.OAuth2Codes
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v int) predicate.OAuth2Codes
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int) predicate.OAuth2Codes
UserIDIn applies the In predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v int) predicate.OAuth2Codes
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v int) predicate.OAuth2Codes
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int) predicate.OAuth2Codes
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int) predicate.OAuth2Codes
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func Username ¶
func Username(v string) predicate.OAuth2Codes
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶
func UsernameContains(v string) predicate.OAuth2Codes
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
func UsernameContainsFold(v string) predicate.OAuth2Codes
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
func UsernameEQ(v string) predicate.OAuth2Codes
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
func UsernameEqualFold(v string) predicate.OAuth2Codes
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
func UsernameGT(v string) predicate.OAuth2Codes
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
func UsernameGTE(v string) predicate.OAuth2Codes
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
func UsernameHasPrefix(v string) predicate.OAuth2Codes
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
func UsernameHasSuffix(v string) predicate.OAuth2Codes
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
func UsernameIn(vs ...string) predicate.OAuth2Codes
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
func UsernameLT(v string) predicate.OAuth2Codes
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
func UsernameLTE(v string) predicate.OAuth2Codes
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
func UsernameNEQ(v string) predicate.OAuth2Codes
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
func UsernameNotIn(vs ...string) predicate.OAuth2Codes
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the OAuth2Codes queries.
func ByClientID ¶
func ByClientID(opts ...sql.OrderTermOption) OrderOption
ByClientID orders the results by the client_id field.
func ByCodeChallenge ¶
func ByCodeChallenge(opts ...sql.OrderTermOption) OrderOption
ByCodeChallenge orders the results by the code_challenge field.
func ByCodeChallengeMethod ¶
func ByCodeChallengeMethod(opts ...sql.OrderTermOption) OrderOption
ByCodeChallengeMethod orders the results by the code_challenge_method field.
func ByCodeHash ¶
func ByCodeHash(opts ...sql.OrderTermOption) OrderOption
ByCodeHash orders the results by the code_hash field.
func ByConsumedAt ¶
func ByConsumedAt(opts ...sql.OrderTermOption) OrderOption
ByConsumedAt orders the results by the consumed_at field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByExpiresAt ¶
func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
ByExpiresAt orders the results by the expires_at field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByNonce ¶
func ByNonce(opts ...sql.OrderTermOption) OrderOption
ByNonce orders the results by the nonce field.
func ByRedirectURI ¶
func ByRedirectURI(opts ...sql.OrderTermOption) OrderOption
ByRedirectURI orders the results by the redirect_uri field.
func ByState ¶
func ByState(opts ...sql.OrderTermOption) OrderOption
ByState orders the results by the state field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.
func ByUsername ¶
func ByUsername(opts ...sql.OrderTermOption) OrderOption
ByUsername orders the results by the username field.