Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.OAuthAppSecret) predicate.OAuthAppSecret
- func AppID(v uuid.UUID) predicate.OAuthAppSecret
- func AppIDEQ(v uuid.UUID) predicate.OAuthAppSecret
- func AppIDIn(vs ...uuid.UUID) predicate.OAuthAppSecret
- func AppIDNEQ(v uuid.UUID) predicate.OAuthAppSecret
- func AppIDNotIn(vs ...uuid.UUID) predicate.OAuthAppSecret
- func CreatedAt(v time.Time) predicate.OAuthAppSecret
- func CreatedAtEQ(v time.Time) predicate.OAuthAppSecret
- func CreatedAtGT(v time.Time) predicate.OAuthAppSecret
- func CreatedAtGTE(v time.Time) predicate.OAuthAppSecret
- func CreatedAtIn(vs ...time.Time) predicate.OAuthAppSecret
- func CreatedAtLT(v time.Time) predicate.OAuthAppSecret
- func CreatedAtLTE(v time.Time) predicate.OAuthAppSecret
- func CreatedAtNEQ(v time.Time) predicate.OAuthAppSecret
- func CreatedAtNotIn(vs ...time.Time) predicate.OAuthAppSecret
- func ExpiresAt(v time.Time) predicate.OAuthAppSecret
- func ExpiresAtEQ(v time.Time) predicate.OAuthAppSecret
- func ExpiresAtGT(v time.Time) predicate.OAuthAppSecret
- func ExpiresAtGTE(v time.Time) predicate.OAuthAppSecret
- func ExpiresAtIn(vs ...time.Time) predicate.OAuthAppSecret
- func ExpiresAtIsNil() predicate.OAuthAppSecret
- func ExpiresAtLT(v time.Time) predicate.OAuthAppSecret
- func ExpiresAtLTE(v time.Time) predicate.OAuthAppSecret
- func ExpiresAtNEQ(v time.Time) predicate.OAuthAppSecret
- func ExpiresAtNotIn(vs ...time.Time) predicate.OAuthAppSecret
- func ExpiresAtNotNil() predicate.OAuthAppSecret
- func HasApp() predicate.OAuthAppSecret
- func HasAppWith(preds ...predicate.OAuthApp) predicate.OAuthAppSecret
- func ID(id uuid.UUID) predicate.OAuthAppSecret
- func IDEQ(id uuid.UUID) predicate.OAuthAppSecret
- func IDGT(id uuid.UUID) predicate.OAuthAppSecret
- func IDGTE(id uuid.UUID) predicate.OAuthAppSecret
- func IDIn(ids ...uuid.UUID) predicate.OAuthAppSecret
- func IDLT(id uuid.UUID) predicate.OAuthAppSecret
- func IDLTE(id uuid.UUID) predicate.OAuthAppSecret
- func IDNEQ(id uuid.UUID) predicate.OAuthAppSecret
- func IDNotIn(ids ...uuid.UUID) predicate.OAuthAppSecret
- func LastUsedAt(v time.Time) predicate.OAuthAppSecret
- func LastUsedAtEQ(v time.Time) predicate.OAuthAppSecret
- func LastUsedAtGT(v time.Time) predicate.OAuthAppSecret
- func LastUsedAtGTE(v time.Time) predicate.OAuthAppSecret
- func LastUsedAtIn(vs ...time.Time) predicate.OAuthAppSecret
- func LastUsedAtIsNil() predicate.OAuthAppSecret
- func LastUsedAtLT(v time.Time) predicate.OAuthAppSecret
- func LastUsedAtLTE(v time.Time) predicate.OAuthAppSecret
- func LastUsedAtNEQ(v time.Time) predicate.OAuthAppSecret
- func LastUsedAtNotIn(vs ...time.Time) predicate.OAuthAppSecret
- func LastUsedAtNotNil() predicate.OAuthAppSecret
- func Not(p predicate.OAuthAppSecret) predicate.OAuthAppSecret
- func Or(predicates ...predicate.OAuthAppSecret) predicate.OAuthAppSecret
- func Revoked(v bool) predicate.OAuthAppSecret
- func RevokedAt(v time.Time) predicate.OAuthAppSecret
- func RevokedAtEQ(v time.Time) predicate.OAuthAppSecret
- func RevokedAtGT(v time.Time) predicate.OAuthAppSecret
- func RevokedAtGTE(v time.Time) predicate.OAuthAppSecret
- func RevokedAtIn(vs ...time.Time) predicate.OAuthAppSecret
- func RevokedAtIsNil() predicate.OAuthAppSecret
- func RevokedAtLT(v time.Time) predicate.OAuthAppSecret
- func RevokedAtLTE(v time.Time) predicate.OAuthAppSecret
- func RevokedAtNEQ(v time.Time) predicate.OAuthAppSecret
- func RevokedAtNotIn(vs ...time.Time) predicate.OAuthAppSecret
- func RevokedAtNotNil() predicate.OAuthAppSecret
- func RevokedEQ(v bool) predicate.OAuthAppSecret
- func RevokedNEQ(v bool) predicate.OAuthAppSecret
- func SecretHash(v string) predicate.OAuthAppSecret
- func SecretHashContains(v string) predicate.OAuthAppSecret
- func SecretHashContainsFold(v string) predicate.OAuthAppSecret
- func SecretHashEQ(v string) predicate.OAuthAppSecret
- func SecretHashEqualFold(v string) predicate.OAuthAppSecret
- func SecretHashGT(v string) predicate.OAuthAppSecret
- func SecretHashGTE(v string) predicate.OAuthAppSecret
- func SecretHashHasPrefix(v string) predicate.OAuthAppSecret
- func SecretHashHasSuffix(v string) predicate.OAuthAppSecret
- func SecretHashIn(vs ...string) predicate.OAuthAppSecret
- func SecretHashLT(v string) predicate.OAuthAppSecret
- func SecretHashLTE(v string) predicate.OAuthAppSecret
- func SecretHashNEQ(v string) predicate.OAuthAppSecret
- func SecretHashNotIn(vs ...string) predicate.OAuthAppSecret
- func SecretPrefix(v string) predicate.OAuthAppSecret
- func SecretPrefixContains(v string) predicate.OAuthAppSecret
- func SecretPrefixContainsFold(v string) predicate.OAuthAppSecret
- func SecretPrefixEQ(v string) predicate.OAuthAppSecret
- func SecretPrefixEqualFold(v string) predicate.OAuthAppSecret
- func SecretPrefixGT(v string) predicate.OAuthAppSecret
- func SecretPrefixGTE(v string) predicate.OAuthAppSecret
- func SecretPrefixHasPrefix(v string) predicate.OAuthAppSecret
- func SecretPrefixHasSuffix(v string) predicate.OAuthAppSecret
- func SecretPrefixIn(vs ...string) predicate.OAuthAppSecret
- func SecretPrefixLT(v string) predicate.OAuthAppSecret
- func SecretPrefixLTE(v string) predicate.OAuthAppSecret
- func SecretPrefixNEQ(v string) predicate.OAuthAppSecret
- func SecretPrefixNotIn(vs ...string) predicate.OAuthAppSecret
- func ValidColumn(column string) bool
- type OrderOption
- func ByAppField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByAppID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
- func ByRevoked(opts ...sql.OrderTermOption) OrderOption
- func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
- func BySecretHash(opts ...sql.OrderTermOption) OrderOption
- func BySecretPrefix(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the oauthappsecret type in the database. Label = "oauth_app_secret" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAppID holds the string denoting the app_id field in the database. FieldAppID = "app_id" // FieldSecretHash holds the string denoting the secret_hash field in the database. FieldSecretHash = "secret_hash" // FieldSecretPrefix holds the string denoting the secret_prefix field in the database. FieldSecretPrefix = "secret_prefix" // FieldExpiresAt holds the string denoting the expires_at field in the database. FieldExpiresAt = "expires_at" // FieldLastUsedAt holds the string denoting the last_used_at field in the database. FieldLastUsedAt = "last_used_at" // FieldRevoked holds the string denoting the revoked field in the database. FieldRevoked = "revoked" // FieldRevokedAt holds the string denoting the revoked_at field in the database. FieldRevokedAt = "revoked_at" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeApp holds the string denoting the app edge name in mutations. EdgeApp = "app" // Table holds the table name of the oauthappsecret in the database. Table = "cf_oauth_app_secrets" // AppTable is the table that holds the app relation/edge. AppTable = "cf_oauth_app_secrets" // AppInverseTable is the table name for the OAuthApp entity. // It exists in this package in order to avoid circular dependency with the "oauthapp" package. AppInverseTable = "cf_oauth_apps" // AppColumn is the table column denoting the app relation/edge. AppColumn = "app_id" )
Variables ¶
var ( // SecretHashValidator is a validator for the "secret_hash" field. It is called by the builders before save. SecretHashValidator func(string) error // SecretPrefixValidator is a validator for the "secret_prefix" field. It is called by the builders before save. SecretPrefixValidator func(string) error // DefaultRevoked holds the default value on creation for the "revoked" field. DefaultRevoked bool // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldAppID, FieldSecretHash, FieldSecretPrefix, FieldExpiresAt, FieldLastUsedAt, FieldRevoked, FieldRevokedAt, FieldCreatedAt, }
Columns holds all SQL columns for oauthappsecret fields.
Functions ¶
func And ¶
func And(predicates ...predicate.OAuthAppSecret) predicate.OAuthAppSecret
And groups predicates with the AND operator between them.
func AppID ¶
func AppID(v uuid.UUID) predicate.OAuthAppSecret
AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.
func AppIDEQ ¶
func AppIDEQ(v uuid.UUID) predicate.OAuthAppSecret
AppIDEQ applies the EQ predicate on the "app_id" field.
func AppIDIn ¶
func AppIDIn(vs ...uuid.UUID) predicate.OAuthAppSecret
AppIDIn applies the In predicate on the "app_id" field.
func AppIDNEQ ¶
func AppIDNEQ(v uuid.UUID) predicate.OAuthAppSecret
AppIDNEQ applies the NEQ predicate on the "app_id" field.
func AppIDNotIn ¶
func AppIDNotIn(vs ...uuid.UUID) predicate.OAuthAppSecret
AppIDNotIn applies the NotIn predicate on the "app_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.OAuthAppSecret
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.OAuthAppSecret
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.OAuthAppSecret
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.OAuthAppSecret
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.OAuthAppSecret
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.OAuthAppSecret
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.OAuthAppSecret
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.OAuthAppSecret
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.OAuthAppSecret
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func ExpiresAt ¶
func ExpiresAt(v time.Time) predicate.OAuthAppSecret
ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.
func ExpiresAtEQ ¶
func ExpiresAtEQ(v time.Time) predicate.OAuthAppSecret
ExpiresAtEQ applies the EQ predicate on the "expires_at" field.
func ExpiresAtGT ¶
func ExpiresAtGT(v time.Time) predicate.OAuthAppSecret
ExpiresAtGT applies the GT predicate on the "expires_at" field.
func ExpiresAtGTE ¶
func ExpiresAtGTE(v time.Time) predicate.OAuthAppSecret
ExpiresAtGTE applies the GTE predicate on the "expires_at" field.
func ExpiresAtIn ¶
func ExpiresAtIn(vs ...time.Time) predicate.OAuthAppSecret
ExpiresAtIn applies the In predicate on the "expires_at" field.
func ExpiresAtIsNil ¶
func ExpiresAtIsNil() predicate.OAuthAppSecret
ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.
func ExpiresAtLT ¶
func ExpiresAtLT(v time.Time) predicate.OAuthAppSecret
ExpiresAtLT applies the LT predicate on the "expires_at" field.
func ExpiresAtLTE ¶
func ExpiresAtLTE(v time.Time) predicate.OAuthAppSecret
ExpiresAtLTE applies the LTE predicate on the "expires_at" field.
func ExpiresAtNEQ ¶
func ExpiresAtNEQ(v time.Time) predicate.OAuthAppSecret
ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.
func ExpiresAtNotIn ¶
func ExpiresAtNotIn(vs ...time.Time) predicate.OAuthAppSecret
ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.
func ExpiresAtNotNil ¶
func ExpiresAtNotNil() predicate.OAuthAppSecret
ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.
func HasApp ¶
func HasApp() predicate.OAuthAppSecret
HasApp applies the HasEdge predicate on the "app" edge.
func HasAppWith ¶
func HasAppWith(preds ...predicate.OAuthApp) predicate.OAuthAppSecret
HasAppWith applies the HasEdge predicate on the "app" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.OAuthAppSecret
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.OAuthAppSecret
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.OAuthAppSecret
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.OAuthAppSecret
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.OAuthAppSecret
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.OAuthAppSecret
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.OAuthAppSecret
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.OAuthAppSecret
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.OAuthAppSecret
IDNotIn applies the NotIn predicate on the ID field.
func LastUsedAt ¶
func LastUsedAt(v time.Time) predicate.OAuthAppSecret
LastUsedAt applies equality check predicate on the "last_used_at" field. It's identical to LastUsedAtEQ.
func LastUsedAtEQ ¶
func LastUsedAtEQ(v time.Time) predicate.OAuthAppSecret
LastUsedAtEQ applies the EQ predicate on the "last_used_at" field.
func LastUsedAtGT ¶
func LastUsedAtGT(v time.Time) predicate.OAuthAppSecret
LastUsedAtGT applies the GT predicate on the "last_used_at" field.
func LastUsedAtGTE ¶
func LastUsedAtGTE(v time.Time) predicate.OAuthAppSecret
LastUsedAtGTE applies the GTE predicate on the "last_used_at" field.
func LastUsedAtIn ¶
func LastUsedAtIn(vs ...time.Time) predicate.OAuthAppSecret
LastUsedAtIn applies the In predicate on the "last_used_at" field.
func LastUsedAtIsNil ¶
func LastUsedAtIsNil() predicate.OAuthAppSecret
LastUsedAtIsNil applies the IsNil predicate on the "last_used_at" field.
func LastUsedAtLT ¶
func LastUsedAtLT(v time.Time) predicate.OAuthAppSecret
LastUsedAtLT applies the LT predicate on the "last_used_at" field.
func LastUsedAtLTE ¶
func LastUsedAtLTE(v time.Time) predicate.OAuthAppSecret
LastUsedAtLTE applies the LTE predicate on the "last_used_at" field.
func LastUsedAtNEQ ¶
func LastUsedAtNEQ(v time.Time) predicate.OAuthAppSecret
LastUsedAtNEQ applies the NEQ predicate on the "last_used_at" field.
func LastUsedAtNotIn ¶
func LastUsedAtNotIn(vs ...time.Time) predicate.OAuthAppSecret
LastUsedAtNotIn applies the NotIn predicate on the "last_used_at" field.
func LastUsedAtNotNil ¶
func LastUsedAtNotNil() predicate.OAuthAppSecret
LastUsedAtNotNil applies the NotNil predicate on the "last_used_at" field.
func Not ¶
func Not(p predicate.OAuthAppSecret) predicate.OAuthAppSecret
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.OAuthAppSecret) predicate.OAuthAppSecret
Or groups predicates with the OR operator between them.
func Revoked ¶
func Revoked(v bool) predicate.OAuthAppSecret
Revoked applies equality check predicate on the "revoked" field. It's identical to RevokedEQ.
func RevokedAt ¶
func RevokedAt(v time.Time) predicate.OAuthAppSecret
RevokedAt applies equality check predicate on the "revoked_at" field. It's identical to RevokedAtEQ.
func RevokedAtEQ ¶
func RevokedAtEQ(v time.Time) predicate.OAuthAppSecret
RevokedAtEQ applies the EQ predicate on the "revoked_at" field.
func RevokedAtGT ¶
func RevokedAtGT(v time.Time) predicate.OAuthAppSecret
RevokedAtGT applies the GT predicate on the "revoked_at" field.
func RevokedAtGTE ¶
func RevokedAtGTE(v time.Time) predicate.OAuthAppSecret
RevokedAtGTE applies the GTE predicate on the "revoked_at" field.
func RevokedAtIn ¶
func RevokedAtIn(vs ...time.Time) predicate.OAuthAppSecret
RevokedAtIn applies the In predicate on the "revoked_at" field.
func RevokedAtIsNil ¶
func RevokedAtIsNil() predicate.OAuthAppSecret
RevokedAtIsNil applies the IsNil predicate on the "revoked_at" field.
func RevokedAtLT ¶
func RevokedAtLT(v time.Time) predicate.OAuthAppSecret
RevokedAtLT applies the LT predicate on the "revoked_at" field.
func RevokedAtLTE ¶
func RevokedAtLTE(v time.Time) predicate.OAuthAppSecret
RevokedAtLTE applies the LTE predicate on the "revoked_at" field.
func RevokedAtNEQ ¶
func RevokedAtNEQ(v time.Time) predicate.OAuthAppSecret
RevokedAtNEQ applies the NEQ predicate on the "revoked_at" field.
func RevokedAtNotIn ¶
func RevokedAtNotIn(vs ...time.Time) predicate.OAuthAppSecret
RevokedAtNotIn applies the NotIn predicate on the "revoked_at" field.
func RevokedAtNotNil ¶
func RevokedAtNotNil() predicate.OAuthAppSecret
RevokedAtNotNil applies the NotNil predicate on the "revoked_at" field.
func RevokedEQ ¶
func RevokedEQ(v bool) predicate.OAuthAppSecret
RevokedEQ applies the EQ predicate on the "revoked" field.
func RevokedNEQ ¶
func RevokedNEQ(v bool) predicate.OAuthAppSecret
RevokedNEQ applies the NEQ predicate on the "revoked" field.
func SecretHash ¶
func SecretHash(v string) predicate.OAuthAppSecret
SecretHash applies equality check predicate on the "secret_hash" field. It's identical to SecretHashEQ.
func SecretHashContains ¶
func SecretHashContains(v string) predicate.OAuthAppSecret
SecretHashContains applies the Contains predicate on the "secret_hash" field.
func SecretHashContainsFold ¶
func SecretHashContainsFold(v string) predicate.OAuthAppSecret
SecretHashContainsFold applies the ContainsFold predicate on the "secret_hash" field.
func SecretHashEQ ¶
func SecretHashEQ(v string) predicate.OAuthAppSecret
SecretHashEQ applies the EQ predicate on the "secret_hash" field.
func SecretHashEqualFold ¶
func SecretHashEqualFold(v string) predicate.OAuthAppSecret
SecretHashEqualFold applies the EqualFold predicate on the "secret_hash" field.
func SecretHashGT ¶
func SecretHashGT(v string) predicate.OAuthAppSecret
SecretHashGT applies the GT predicate on the "secret_hash" field.
func SecretHashGTE ¶
func SecretHashGTE(v string) predicate.OAuthAppSecret
SecretHashGTE applies the GTE predicate on the "secret_hash" field.
func SecretHashHasPrefix ¶
func SecretHashHasPrefix(v string) predicate.OAuthAppSecret
SecretHashHasPrefix applies the HasPrefix predicate on the "secret_hash" field.
func SecretHashHasSuffix ¶
func SecretHashHasSuffix(v string) predicate.OAuthAppSecret
SecretHashHasSuffix applies the HasSuffix predicate on the "secret_hash" field.
func SecretHashIn ¶
func SecretHashIn(vs ...string) predicate.OAuthAppSecret
SecretHashIn applies the In predicate on the "secret_hash" field.
func SecretHashLT ¶
func SecretHashLT(v string) predicate.OAuthAppSecret
SecretHashLT applies the LT predicate on the "secret_hash" field.
func SecretHashLTE ¶
func SecretHashLTE(v string) predicate.OAuthAppSecret
SecretHashLTE applies the LTE predicate on the "secret_hash" field.
func SecretHashNEQ ¶
func SecretHashNEQ(v string) predicate.OAuthAppSecret
SecretHashNEQ applies the NEQ predicate on the "secret_hash" field.
func SecretHashNotIn ¶
func SecretHashNotIn(vs ...string) predicate.OAuthAppSecret
SecretHashNotIn applies the NotIn predicate on the "secret_hash" field.
func SecretPrefix ¶
func SecretPrefix(v string) predicate.OAuthAppSecret
SecretPrefix applies equality check predicate on the "secret_prefix" field. It's identical to SecretPrefixEQ.
func SecretPrefixContains ¶
func SecretPrefixContains(v string) predicate.OAuthAppSecret
SecretPrefixContains applies the Contains predicate on the "secret_prefix" field.
func SecretPrefixContainsFold ¶
func SecretPrefixContainsFold(v string) predicate.OAuthAppSecret
SecretPrefixContainsFold applies the ContainsFold predicate on the "secret_prefix" field.
func SecretPrefixEQ ¶
func SecretPrefixEQ(v string) predicate.OAuthAppSecret
SecretPrefixEQ applies the EQ predicate on the "secret_prefix" field.
func SecretPrefixEqualFold ¶
func SecretPrefixEqualFold(v string) predicate.OAuthAppSecret
SecretPrefixEqualFold applies the EqualFold predicate on the "secret_prefix" field.
func SecretPrefixGT ¶
func SecretPrefixGT(v string) predicate.OAuthAppSecret
SecretPrefixGT applies the GT predicate on the "secret_prefix" field.
func SecretPrefixGTE ¶
func SecretPrefixGTE(v string) predicate.OAuthAppSecret
SecretPrefixGTE applies the GTE predicate on the "secret_prefix" field.
func SecretPrefixHasPrefix ¶
func SecretPrefixHasPrefix(v string) predicate.OAuthAppSecret
SecretPrefixHasPrefix applies the HasPrefix predicate on the "secret_prefix" field.
func SecretPrefixHasSuffix ¶
func SecretPrefixHasSuffix(v string) predicate.OAuthAppSecret
SecretPrefixHasSuffix applies the HasSuffix predicate on the "secret_prefix" field.
func SecretPrefixIn ¶
func SecretPrefixIn(vs ...string) predicate.OAuthAppSecret
SecretPrefixIn applies the In predicate on the "secret_prefix" field.
func SecretPrefixLT ¶
func SecretPrefixLT(v string) predicate.OAuthAppSecret
SecretPrefixLT applies the LT predicate on the "secret_prefix" field.
func SecretPrefixLTE ¶
func SecretPrefixLTE(v string) predicate.OAuthAppSecret
SecretPrefixLTE applies the LTE predicate on the "secret_prefix" field.
func SecretPrefixNEQ ¶
func SecretPrefixNEQ(v string) predicate.OAuthAppSecret
SecretPrefixNEQ applies the NEQ predicate on the "secret_prefix" field.
func SecretPrefixNotIn ¶
func SecretPrefixNotIn(vs ...string) predicate.OAuthAppSecret
SecretPrefixNotIn applies the NotIn predicate on the "secret_prefix" 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 OAuthAppSecret queries.
func ByAppField ¶
func ByAppField(field string, opts ...sql.OrderTermOption) OrderOption
ByAppField orders the results by app field.
func ByAppID ¶
func ByAppID(opts ...sql.OrderTermOption) OrderOption
ByAppID orders the results by the app_id 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 ByLastUsedAt ¶
func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
ByLastUsedAt orders the results by the last_used_at field.
func ByRevoked ¶
func ByRevoked(opts ...sql.OrderTermOption) OrderOption
ByRevoked orders the results by the revoked field.
func ByRevokedAt ¶
func ByRevokedAt(opts ...sql.OrderTermOption) OrderOption
ByRevokedAt orders the results by the revoked_at field.
func BySecretHash ¶
func BySecretHash(opts ...sql.OrderTermOption) OrderOption
BySecretHash orders the results by the secret_hash field.
func BySecretPrefix ¶
func BySecretPrefix(opts ...sql.OrderTermOption) OrderOption
BySecretPrefix orders the results by the secret_prefix field.