Documentation
¶
Index ¶
- Constants
- Variables
- func Active(v bool) predicate.OAuthAuthorizationCode
- func ActiveEQ(v bool) predicate.OAuthAuthorizationCode
- func ActiveNEQ(v bool) predicate.OAuthAuthorizationCode
- func And(predicates ...predicate.OAuthAuthorizationCode) predicate.OAuthAuthorizationCode
- func ClientID(v string) predicate.OAuthAuthorizationCode
- func ClientIDContains(v string) predicate.OAuthAuthorizationCode
- func ClientIDContainsFold(v string) predicate.OAuthAuthorizationCode
- func ClientIDEQ(v string) predicate.OAuthAuthorizationCode
- func ClientIDEqualFold(v string) predicate.OAuthAuthorizationCode
- func ClientIDGT(v string) predicate.OAuthAuthorizationCode
- func ClientIDGTE(v string) predicate.OAuthAuthorizationCode
- func ClientIDHasPrefix(v string) predicate.OAuthAuthorizationCode
- func ClientIDHasSuffix(v string) predicate.OAuthAuthorizationCode
- func ClientIDIn(vs ...string) predicate.OAuthAuthorizationCode
- func ClientIDLT(v string) predicate.OAuthAuthorizationCode
- func ClientIDLTE(v string) predicate.OAuthAuthorizationCode
- func ClientIDNEQ(v string) predicate.OAuthAuthorizationCode
- func ClientIDNotIn(vs ...string) predicate.OAuthAuthorizationCode
- func ExpiresAt(v time.Time) predicate.OAuthAuthorizationCode
- func ExpiresAtEQ(v time.Time) predicate.OAuthAuthorizationCode
- func ExpiresAtGT(v time.Time) predicate.OAuthAuthorizationCode
- func ExpiresAtGTE(v time.Time) predicate.OAuthAuthorizationCode
- func ExpiresAtIn(vs ...time.Time) predicate.OAuthAuthorizationCode
- func ExpiresAtIsNil() predicate.OAuthAuthorizationCode
- func ExpiresAtLT(v time.Time) predicate.OAuthAuthorizationCode
- func ExpiresAtLTE(v time.Time) predicate.OAuthAuthorizationCode
- func ExpiresAtNEQ(v time.Time) predicate.OAuthAuthorizationCode
- func ExpiresAtNotIn(vs ...time.Time) predicate.OAuthAuthorizationCode
- func ExpiresAtNotNil() predicate.OAuthAuthorizationCode
- func ID(id int) predicate.OAuthAuthorizationCode
- func IDEQ(id int) predicate.OAuthAuthorizationCode
- func IDGT(id int) predicate.OAuthAuthorizationCode
- func IDGTE(id int) predicate.OAuthAuthorizationCode
- func IDIn(ids ...int) predicate.OAuthAuthorizationCode
- func IDLT(id int) predicate.OAuthAuthorizationCode
- func IDLTE(id int) predicate.OAuthAuthorizationCode
- func IDNEQ(id int) predicate.OAuthAuthorizationCode
- func IDNotIn(ids ...int) predicate.OAuthAuthorizationCode
- func Not(p predicate.OAuthAuthorizationCode) predicate.OAuthAuthorizationCode
- func Or(predicates ...predicate.OAuthAuthorizationCode) predicate.OAuthAuthorizationCode
- func RequestID(v string) predicate.OAuthAuthorizationCode
- func RequestIDContains(v string) predicate.OAuthAuthorizationCode
- func RequestIDContainsFold(v string) predicate.OAuthAuthorizationCode
- func RequestIDEQ(v string) predicate.OAuthAuthorizationCode
- func RequestIDEqualFold(v string) predicate.OAuthAuthorizationCode
- func RequestIDGT(v string) predicate.OAuthAuthorizationCode
- func RequestIDGTE(v string) predicate.OAuthAuthorizationCode
- func RequestIDHasPrefix(v string) predicate.OAuthAuthorizationCode
- func RequestIDHasSuffix(v string) predicate.OAuthAuthorizationCode
- func RequestIDIn(vs ...string) predicate.OAuthAuthorizationCode
- func RequestIDLT(v string) predicate.OAuthAuthorizationCode
- func RequestIDLTE(v string) predicate.OAuthAuthorizationCode
- func RequestIDNEQ(v string) predicate.OAuthAuthorizationCode
- func RequestIDNotIn(vs ...string) predicate.OAuthAuthorizationCode
- func RequestedAt(v time.Time) predicate.OAuthAuthorizationCode
- func RequestedAtEQ(v time.Time) predicate.OAuthAuthorizationCode
- func RequestedAtGT(v time.Time) predicate.OAuthAuthorizationCode
- func RequestedAtGTE(v time.Time) predicate.OAuthAuthorizationCode
- func RequestedAtIn(vs ...time.Time) predicate.OAuthAuthorizationCode
- func RequestedAtIsNil() predicate.OAuthAuthorizationCode
- func RequestedAtLT(v time.Time) predicate.OAuthAuthorizationCode
- func RequestedAtLTE(v time.Time) predicate.OAuthAuthorizationCode
- func RequestedAtNEQ(v time.Time) predicate.OAuthAuthorizationCode
- func RequestedAtNotIn(vs ...time.Time) predicate.OAuthAuthorizationCode
- func RequestedAtNotNil() predicate.OAuthAuthorizationCode
- func Scopes(v string) predicate.OAuthAuthorizationCode
- func ScopesContains(v string) predicate.OAuthAuthorizationCode
- func ScopesContainsFold(v string) predicate.OAuthAuthorizationCode
- func ScopesEQ(v string) predicate.OAuthAuthorizationCode
- func ScopesEqualFold(v string) predicate.OAuthAuthorizationCode
- func ScopesGT(v string) predicate.OAuthAuthorizationCode
- func ScopesGTE(v string) predicate.OAuthAuthorizationCode
- func ScopesHasPrefix(v string) predicate.OAuthAuthorizationCode
- func ScopesHasSuffix(v string) predicate.OAuthAuthorizationCode
- func ScopesIn(vs ...string) predicate.OAuthAuthorizationCode
- func ScopesLT(v string) predicate.OAuthAuthorizationCode
- func ScopesLTE(v string) predicate.OAuthAuthorizationCode
- func ScopesNEQ(v string) predicate.OAuthAuthorizationCode
- func ScopesNotIn(vs ...string) predicate.OAuthAuthorizationCode
- func SessionType(v string) predicate.OAuthAuthorizationCode
- func SessionTypeContains(v string) predicate.OAuthAuthorizationCode
- func SessionTypeContainsFold(v string) predicate.OAuthAuthorizationCode
- func SessionTypeEQ(v string) predicate.OAuthAuthorizationCode
- func SessionTypeEqualFold(v string) predicate.OAuthAuthorizationCode
- func SessionTypeGT(v string) predicate.OAuthAuthorizationCode
- func SessionTypeGTE(v string) predicate.OAuthAuthorizationCode
- func SessionTypeHasPrefix(v string) predicate.OAuthAuthorizationCode
- func SessionTypeHasSuffix(v string) predicate.OAuthAuthorizationCode
- func SessionTypeIn(vs ...string) predicate.OAuthAuthorizationCode
- func SessionTypeLT(v string) predicate.OAuthAuthorizationCode
- func SessionTypeLTE(v string) predicate.OAuthAuthorizationCode
- func SessionTypeNEQ(v string) predicate.OAuthAuthorizationCode
- func SessionTypeNotIn(vs ...string) predicate.OAuthAuthorizationCode
- func Signature(v string) predicate.OAuthAuthorizationCode
- func SignatureContains(v string) predicate.OAuthAuthorizationCode
- func SignatureContainsFold(v string) predicate.OAuthAuthorizationCode
- func SignatureEQ(v string) predicate.OAuthAuthorizationCode
- func SignatureEqualFold(v string) predicate.OAuthAuthorizationCode
- func SignatureGT(v string) predicate.OAuthAuthorizationCode
- func SignatureGTE(v string) predicate.OAuthAuthorizationCode
- func SignatureHasPrefix(v string) predicate.OAuthAuthorizationCode
- func SignatureHasSuffix(v string) predicate.OAuthAuthorizationCode
- func SignatureIn(vs ...string) predicate.OAuthAuthorizationCode
- func SignatureLT(v string) predicate.OAuthAuthorizationCode
- func SignatureLTE(v string) predicate.OAuthAuthorizationCode
- func SignatureNEQ(v string) predicate.OAuthAuthorizationCode
- func SignatureNotIn(vs ...string) predicate.OAuthAuthorizationCode
- func UserID(v int) predicate.OAuthAuthorizationCode
- func UserIDEQ(v int) predicate.OAuthAuthorizationCode
- func UserIDGT(v int) predicate.OAuthAuthorizationCode
- func UserIDGTE(v int) predicate.OAuthAuthorizationCode
- func UserIDIn(vs ...int) predicate.OAuthAuthorizationCode
- func UserIDIsNil() predicate.OAuthAuthorizationCode
- func UserIDLT(v int) predicate.OAuthAuthorizationCode
- func UserIDLTE(v int) predicate.OAuthAuthorizationCode
- func UserIDNEQ(v int) predicate.OAuthAuthorizationCode
- func UserIDNotIn(vs ...int) predicate.OAuthAuthorizationCode
- func UserIDNotNil() predicate.OAuthAuthorizationCode
- func ValidColumn(column string) bool
- type OrderOption
- func ByActive(opts ...sql.OrderTermOption) OrderOption
- func ByClientID(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByRequestID(opts ...sql.OrderTermOption) OrderOption
- func ByRequestedAt(opts ...sql.OrderTermOption) OrderOption
- func ByScopes(opts ...sql.OrderTermOption) OrderOption
- func BySessionType(opts ...sql.OrderTermOption) OrderOption
- func BySignature(opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the oauthauthorizationcode type in the database. Label = "oauth_authorization_code" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSessionType holds the string denoting the session_type field in the database. FieldSessionType = "session_type" // FieldSignature holds the string denoting the signature field in the database. FieldSignature = "signature" // FieldClientID holds the string denoting the client_id field in the database. FieldClientID = "client_id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldRequestID holds the string denoting the request_id field in the database. FieldRequestID = "request_id" // FieldScopes holds the string denoting the scopes field in the database. FieldScopes = "scopes" // FieldSessionData holds the string denoting the session_data field in the database. FieldSessionData = "session_data" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldRequestedAt holds the string denoting the requested_at field in the database. FieldRequestedAt = "requested_at" // Table holds the table name of the oauthauthorizationcode in the database. Table = "oauth_authorization_codes" )
Variables ¶
var ( // SessionTypeValidator is a validator for the "session_type" field. It is called by the builders before save. SessionTypeValidator func(string) error // SignatureValidator is a validator for the "signature" field. It is called by the builders before save. SignatureValidator func(string) error // ClientIDValidator is a validator for the "client_id" field. It is called by the builders before save. ClientIDValidator func(string) error // DefaultRequestID holds the default value on creation for the "request_id" field. DefaultRequestID string // RequestIDValidator is a validator for the "request_id" field. It is called by the builders before save. RequestIDValidator func(string) error // DefaultScopes holds the default value on creation for the "scopes" field. DefaultScopes string // ScopesValidator is a validator for the "scopes" field. It is called by the builders before save. ScopesValidator func(string) error // DefaultSessionData holds the default value on creation for the "session_data" field. DefaultSessionData map[string]interface{} // DefaultActive holds the default value on creation for the "active" field. DefaultActive bool )
var Columns = []string{ FieldID, FieldSessionType, FieldSignature, FieldClientID, FieldUserID, FieldRequestID, FieldScopes, FieldSessionData, FieldActive, FieldExpiresAt, FieldRequestedAt, }
Columns holds all SQL columns for oauthauthorizationcode fields.
Functions ¶
func Active ¶
func Active(v bool) predicate.OAuthAuthorizationCode
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
func ActiveEQ ¶
func ActiveEQ(v bool) predicate.OAuthAuthorizationCode
ActiveEQ applies the EQ predicate on the "active" field.
func ActiveNEQ ¶
func ActiveNEQ(v bool) predicate.OAuthAuthorizationCode
ActiveNEQ applies the NEQ predicate on the "active" field.
func And ¶
func And(predicates ...predicate.OAuthAuthorizationCode) predicate.OAuthAuthorizationCode
And groups predicates with the AND operator between them.
func ClientID ¶
func ClientID(v string) predicate.OAuthAuthorizationCode
ClientID applies equality check predicate on the "client_id" field. It's identical to ClientIDEQ.
func ClientIDContains ¶
func ClientIDContains(v string) predicate.OAuthAuthorizationCode
ClientIDContains applies the Contains predicate on the "client_id" field.
func ClientIDContainsFold ¶
func ClientIDContainsFold(v string) predicate.OAuthAuthorizationCode
ClientIDContainsFold applies the ContainsFold predicate on the "client_id" field.
func ClientIDEQ ¶
func ClientIDEQ(v string) predicate.OAuthAuthorizationCode
ClientIDEQ applies the EQ predicate on the "client_id" field.
func ClientIDEqualFold ¶
func ClientIDEqualFold(v string) predicate.OAuthAuthorizationCode
ClientIDEqualFold applies the EqualFold predicate on the "client_id" field.
func ClientIDGT ¶
func ClientIDGT(v string) predicate.OAuthAuthorizationCode
ClientIDGT applies the GT predicate on the "client_id" field.
func ClientIDGTE ¶
func ClientIDGTE(v string) predicate.OAuthAuthorizationCode
ClientIDGTE applies the GTE predicate on the "client_id" field.
func ClientIDHasPrefix ¶
func ClientIDHasPrefix(v string) predicate.OAuthAuthorizationCode
ClientIDHasPrefix applies the HasPrefix predicate on the "client_id" field.
func ClientIDHasSuffix ¶
func ClientIDHasSuffix(v string) predicate.OAuthAuthorizationCode
ClientIDHasSuffix applies the HasSuffix predicate on the "client_id" field.
func ClientIDIn ¶
func ClientIDIn(vs ...string) predicate.OAuthAuthorizationCode
ClientIDIn applies the In predicate on the "client_id" field.
func ClientIDLT ¶
func ClientIDLT(v string) predicate.OAuthAuthorizationCode
ClientIDLT applies the LT predicate on the "client_id" field.
func ClientIDLTE ¶
func ClientIDLTE(v string) predicate.OAuthAuthorizationCode
ClientIDLTE applies the LTE predicate on the "client_id" field.
func ClientIDNEQ ¶
func ClientIDNEQ(v string) predicate.OAuthAuthorizationCode
ClientIDNEQ applies the NEQ predicate on the "client_id" field.
func ClientIDNotIn ¶
func ClientIDNotIn(vs ...string) predicate.OAuthAuthorizationCode
ClientIDNotIn applies the NotIn predicate on the "client_id" field.
func ExpiresAt ¶
func ExpiresAt(v time.Time) predicate.OAuthAuthorizationCode
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v time.Time) predicate.OAuthAuthorizationCode
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v time.Time) predicate.OAuthAuthorizationCode
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v time.Time) predicate.OAuthAuthorizationCode
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...time.Time) predicate.OAuthAuthorizationCode
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtIsNil ¶
func ExpiresAtIsNil() predicate.OAuthAuthorizationCode
ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v time.Time) predicate.OAuthAuthorizationCode
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v time.Time) predicate.OAuthAuthorizationCode
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v time.Time) predicate.OAuthAuthorizationCode
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...time.Time) predicate.OAuthAuthorizationCode
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ExpiresAtNotNil ¶
func ExpiresAtNotNil() predicate.OAuthAuthorizationCode
ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.
func ID ¶
func ID(id int) predicate.OAuthAuthorizationCode
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.OAuthAuthorizationCode
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.OAuthAuthorizationCode
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.OAuthAuthorizationCode
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.OAuthAuthorizationCode
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.OAuthAuthorizationCode
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.OAuthAuthorizationCode
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.OAuthAuthorizationCode
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.OAuthAuthorizationCode
IDNotIn applies the NotIn predicate on the ID field.
func Or ¶
func Or(predicates ...predicate.OAuthAuthorizationCode) predicate.OAuthAuthorizationCode
Or groups predicates with the OR operator between them.
func RequestID ¶
func RequestID(v string) predicate.OAuthAuthorizationCode
RequestID applies equality check predicate on the "request_id" field. It's identical to RequestIDEQ.
func RequestIDContains ¶
func RequestIDContains(v string) predicate.OAuthAuthorizationCode
RequestIDContains applies the Contains predicate on the "request_id" field.
func RequestIDContainsFold ¶
func RequestIDContainsFold(v string) predicate.OAuthAuthorizationCode
RequestIDContainsFold applies the ContainsFold predicate on the "request_id" field.
func RequestIDEQ ¶
func RequestIDEQ(v string) predicate.OAuthAuthorizationCode
RequestIDEQ applies the EQ predicate on the "request_id" field.
func RequestIDEqualFold ¶
func RequestIDEqualFold(v string) predicate.OAuthAuthorizationCode
RequestIDEqualFold applies the EqualFold predicate on the "request_id" field.
func RequestIDGT ¶
func RequestIDGT(v string) predicate.OAuthAuthorizationCode
RequestIDGT applies the GT predicate on the "request_id" field.
func RequestIDGTE ¶
func RequestIDGTE(v string) predicate.OAuthAuthorizationCode
RequestIDGTE applies the GTE predicate on the "request_id" field.
func RequestIDHasPrefix ¶
func RequestIDHasPrefix(v string) predicate.OAuthAuthorizationCode
RequestIDHasPrefix applies the HasPrefix predicate on the "request_id" field.
func RequestIDHasSuffix ¶
func RequestIDHasSuffix(v string) predicate.OAuthAuthorizationCode
RequestIDHasSuffix applies the HasSuffix predicate on the "request_id" field.
func RequestIDIn ¶
func RequestIDIn(vs ...string) predicate.OAuthAuthorizationCode
RequestIDIn applies the In predicate on the "request_id" field.
func RequestIDLT ¶
func RequestIDLT(v string) predicate.OAuthAuthorizationCode
RequestIDLT applies the LT predicate on the "request_id" field.
func RequestIDLTE ¶
func RequestIDLTE(v string) predicate.OAuthAuthorizationCode
RequestIDLTE applies the LTE predicate on the "request_id" field.
func RequestIDNEQ ¶
func RequestIDNEQ(v string) predicate.OAuthAuthorizationCode
RequestIDNEQ applies the NEQ predicate on the "request_id" field.
func RequestIDNotIn ¶
func RequestIDNotIn(vs ...string) predicate.OAuthAuthorizationCode
RequestIDNotIn applies the NotIn predicate on the "request_id" field.
func RequestedAt ¶
func RequestedAt(v time.Time) predicate.OAuthAuthorizationCode
RequestedAt applies equality check predicate on the "requested_at" field. It's identical to RequestedAtEQ.
func RequestedAtEQ ¶
func RequestedAtEQ(v time.Time) predicate.OAuthAuthorizationCode
RequestedAtEQ applies the EQ predicate on the "requested_at" field.
func RequestedAtGT ¶
func RequestedAtGT(v time.Time) predicate.OAuthAuthorizationCode
RequestedAtGT applies the GT predicate on the "requested_at" field.
func RequestedAtGTE ¶
func RequestedAtGTE(v time.Time) predicate.OAuthAuthorizationCode
RequestedAtGTE applies the GTE predicate on the "requested_at" field.
func RequestedAtIn ¶
func RequestedAtIn(vs ...time.Time) predicate.OAuthAuthorizationCode
RequestedAtIn applies the In predicate on the "requested_at" field.
func RequestedAtIsNil ¶
func RequestedAtIsNil() predicate.OAuthAuthorizationCode
RequestedAtIsNil applies the IsNil predicate on the "requested_at" field.
func RequestedAtLT ¶
func RequestedAtLT(v time.Time) predicate.OAuthAuthorizationCode
RequestedAtLT applies the LT predicate on the "requested_at" field.
func RequestedAtLTE ¶
func RequestedAtLTE(v time.Time) predicate.OAuthAuthorizationCode
RequestedAtLTE applies the LTE predicate on the "requested_at" field.
func RequestedAtNEQ ¶
func RequestedAtNEQ(v time.Time) predicate.OAuthAuthorizationCode
RequestedAtNEQ applies the NEQ predicate on the "requested_at" field.
func RequestedAtNotIn ¶
func RequestedAtNotIn(vs ...time.Time) predicate.OAuthAuthorizationCode
RequestedAtNotIn applies the NotIn predicate on the "requested_at" field.
func RequestedAtNotNil ¶
func RequestedAtNotNil() predicate.OAuthAuthorizationCode
RequestedAtNotNil applies the NotNil predicate on the "requested_at" field.
func Scopes ¶
func Scopes(v string) predicate.OAuthAuthorizationCode
Scopes applies equality check predicate on the "scopes" field. It's identical to ScopesEQ.
func ScopesContains ¶
func ScopesContains(v string) predicate.OAuthAuthorizationCode
ScopesContains applies the Contains predicate on the "scopes" field.
func ScopesContainsFold ¶
func ScopesContainsFold(v string) predicate.OAuthAuthorizationCode
ScopesContainsFold applies the ContainsFold predicate on the "scopes" field.
func ScopesEQ ¶
func ScopesEQ(v string) predicate.OAuthAuthorizationCode
ScopesEQ applies the EQ predicate on the "scopes" field.
func ScopesEqualFold ¶
func ScopesEqualFold(v string) predicate.OAuthAuthorizationCode
ScopesEqualFold applies the EqualFold predicate on the "scopes" field.
func ScopesGT ¶
func ScopesGT(v string) predicate.OAuthAuthorizationCode
ScopesGT applies the GT predicate on the "scopes" field.
func ScopesGTE ¶
func ScopesGTE(v string) predicate.OAuthAuthorizationCode
ScopesGTE applies the GTE predicate on the "scopes" field.
func ScopesHasPrefix ¶
func ScopesHasPrefix(v string) predicate.OAuthAuthorizationCode
ScopesHasPrefix applies the HasPrefix predicate on the "scopes" field.
func ScopesHasSuffix ¶
func ScopesHasSuffix(v string) predicate.OAuthAuthorizationCode
ScopesHasSuffix applies the HasSuffix predicate on the "scopes" field.
func ScopesIn ¶
func ScopesIn(vs ...string) predicate.OAuthAuthorizationCode
ScopesIn applies the In predicate on the "scopes" field.
func ScopesLT ¶
func ScopesLT(v string) predicate.OAuthAuthorizationCode
ScopesLT applies the LT predicate on the "scopes" field.
func ScopesLTE ¶
func ScopesLTE(v string) predicate.OAuthAuthorizationCode
ScopesLTE applies the LTE predicate on the "scopes" field.
func ScopesNEQ ¶
func ScopesNEQ(v string) predicate.OAuthAuthorizationCode
ScopesNEQ applies the NEQ predicate on the "scopes" field.
func ScopesNotIn ¶
func ScopesNotIn(vs ...string) predicate.OAuthAuthorizationCode
ScopesNotIn applies the NotIn predicate on the "scopes" field.
func SessionType ¶
func SessionType(v string) predicate.OAuthAuthorizationCode
SessionType applies equality check predicate on the "session_type" field. It's identical to SessionTypeEQ.
func SessionTypeContains ¶
func SessionTypeContains(v string) predicate.OAuthAuthorizationCode
SessionTypeContains applies the Contains predicate on the "session_type" field.
func SessionTypeContainsFold ¶
func SessionTypeContainsFold(v string) predicate.OAuthAuthorizationCode
SessionTypeContainsFold applies the ContainsFold predicate on the "session_type" field.
func SessionTypeEQ ¶
func SessionTypeEQ(v string) predicate.OAuthAuthorizationCode
SessionTypeEQ applies the EQ predicate on the "session_type" field.
func SessionTypeEqualFold ¶
func SessionTypeEqualFold(v string) predicate.OAuthAuthorizationCode
SessionTypeEqualFold applies the EqualFold predicate on the "session_type" field.
func SessionTypeGT ¶
func SessionTypeGT(v string) predicate.OAuthAuthorizationCode
SessionTypeGT applies the GT predicate on the "session_type" field.
func SessionTypeGTE ¶
func SessionTypeGTE(v string) predicate.OAuthAuthorizationCode
SessionTypeGTE applies the GTE predicate on the "session_type" field.
func SessionTypeHasPrefix ¶
func SessionTypeHasPrefix(v string) predicate.OAuthAuthorizationCode
SessionTypeHasPrefix applies the HasPrefix predicate on the "session_type" field.
func SessionTypeHasSuffix ¶
func SessionTypeHasSuffix(v string) predicate.OAuthAuthorizationCode
SessionTypeHasSuffix applies the HasSuffix predicate on the "session_type" field.
func SessionTypeIn ¶
func SessionTypeIn(vs ...string) predicate.OAuthAuthorizationCode
SessionTypeIn applies the In predicate on the "session_type" field.
func SessionTypeLT ¶
func SessionTypeLT(v string) predicate.OAuthAuthorizationCode
SessionTypeLT applies the LT predicate on the "session_type" field.
func SessionTypeLTE ¶
func SessionTypeLTE(v string) predicate.OAuthAuthorizationCode
SessionTypeLTE applies the LTE predicate on the "session_type" field.
func SessionTypeNEQ ¶
func SessionTypeNEQ(v string) predicate.OAuthAuthorizationCode
SessionTypeNEQ applies the NEQ predicate on the "session_type" field.
func SessionTypeNotIn ¶
func SessionTypeNotIn(vs ...string) predicate.OAuthAuthorizationCode
SessionTypeNotIn applies the NotIn predicate on the "session_type" field.
func Signature ¶
func Signature(v string) predicate.OAuthAuthorizationCode
Signature applies equality check predicate on the "signature" field. It's identical to SignatureEQ.
func SignatureContains ¶
func SignatureContains(v string) predicate.OAuthAuthorizationCode
SignatureContains applies the Contains predicate on the "signature" field.
func SignatureContainsFold ¶
func SignatureContainsFold(v string) predicate.OAuthAuthorizationCode
SignatureContainsFold applies the ContainsFold predicate on the "signature" field.
func SignatureEQ ¶
func SignatureEQ(v string) predicate.OAuthAuthorizationCode
SignatureEQ applies the EQ predicate on the "signature" field.
func SignatureEqualFold ¶
func SignatureEqualFold(v string) predicate.OAuthAuthorizationCode
SignatureEqualFold applies the EqualFold predicate on the "signature" field.
func SignatureGT ¶
func SignatureGT(v string) predicate.OAuthAuthorizationCode
SignatureGT applies the GT predicate on the "signature" field.
func SignatureGTE ¶
func SignatureGTE(v string) predicate.OAuthAuthorizationCode
SignatureGTE applies the GTE predicate on the "signature" field.
func SignatureHasPrefix ¶
func SignatureHasPrefix(v string) predicate.OAuthAuthorizationCode
SignatureHasPrefix applies the HasPrefix predicate on the "signature" field.
func SignatureHasSuffix ¶
func SignatureHasSuffix(v string) predicate.OAuthAuthorizationCode
SignatureHasSuffix applies the HasSuffix predicate on the "signature" field.
func SignatureIn ¶
func SignatureIn(vs ...string) predicate.OAuthAuthorizationCode
SignatureIn applies the In predicate on the "signature" field.
func SignatureLT ¶
func SignatureLT(v string) predicate.OAuthAuthorizationCode
SignatureLT applies the LT predicate on the "signature" field.
func SignatureLTE ¶
func SignatureLTE(v string) predicate.OAuthAuthorizationCode
SignatureLTE applies the LTE predicate on the "signature" field.
func SignatureNEQ ¶
func SignatureNEQ(v string) predicate.OAuthAuthorizationCode
SignatureNEQ applies the NEQ predicate on the "signature" field.
func SignatureNotIn ¶
func SignatureNotIn(vs ...string) predicate.OAuthAuthorizationCode
SignatureNotIn applies the NotIn predicate on the "signature" field.
func UserID ¶
func UserID(v int) predicate.OAuthAuthorizationCode
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDEQ ¶
func UserIDEQ(v int) predicate.OAuthAuthorizationCode
UserIDEQ applies the EQ predicate on the "user_id" field.
func UserIDGT ¶
func UserIDGT(v int) predicate.OAuthAuthorizationCode
UserIDGT applies the GT predicate on the "user_id" field.
func UserIDGTE ¶
func UserIDGTE(v int) predicate.OAuthAuthorizationCode
UserIDGTE applies the GTE predicate on the "user_id" field.
func UserIDIn ¶
func UserIDIn(vs ...int) predicate.OAuthAuthorizationCode
UserIDIn applies the In predicate on the "user_id" field.
func UserIDIsNil ¶
func UserIDIsNil() predicate.OAuthAuthorizationCode
UserIDIsNil applies the IsNil predicate on the "user_id" field.
func UserIDLT ¶
func UserIDLT(v int) predicate.OAuthAuthorizationCode
UserIDLT applies the LT predicate on the "user_id" field.
func UserIDLTE ¶
func UserIDLTE(v int) predicate.OAuthAuthorizationCode
UserIDLTE applies the LTE predicate on the "user_id" field.
func UserIDNEQ ¶
func UserIDNEQ(v int) predicate.OAuthAuthorizationCode
UserIDNEQ applies the NEQ predicate on the "user_id" field.
func UserIDNotIn ¶
func UserIDNotIn(vs ...int) predicate.OAuthAuthorizationCode
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotNil ¶
func UserIDNotNil() predicate.OAuthAuthorizationCode
UserIDNotNil applies the NotNil 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 OAuthAuthorizationCode queries.
func ByActive ¶
func ByActive(opts ...sql.OrderTermOption) OrderOption
ByActive orders the results by the active field.
func ByClientID ¶
func ByClientID(opts ...sql.OrderTermOption) OrderOption
ByClientID orders the results by the client_id 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 ByRequestID ¶
func ByRequestID(opts ...sql.OrderTermOption) OrderOption
ByRequestID orders the results by the request_id field.
func ByRequestedAt ¶
func ByRequestedAt(opts ...sql.OrderTermOption) OrderOption
ByRequestedAt orders the results by the requested_at field.
func ByScopes ¶
func ByScopes(opts ...sql.OrderTermOption) OrderOption
ByScopes orders the results by the scopes field.
func BySessionType ¶
func BySessionType(opts ...sql.OrderTermOption) OrderOption
BySessionType orders the results by the session_type field.
func BySignature ¶
func BySignature(opts ...sql.OrderTermOption) OrderOption
BySignature orders the results by the signature field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.