Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Oauth2Client) predicate.Oauth2Client
- func Domain(v string) predicate.Oauth2Client
- func DomainContains(v string) predicate.Oauth2Client
- func DomainContainsFold(v string) predicate.Oauth2Client
- func DomainEQ(v string) predicate.Oauth2Client
- func DomainEqualFold(v string) predicate.Oauth2Client
- func DomainGT(v string) predicate.Oauth2Client
- func DomainGTE(v string) predicate.Oauth2Client
- func DomainHasPrefix(v string) predicate.Oauth2Client
- func DomainHasSuffix(v string) predicate.Oauth2Client
- func DomainIn(vs ...string) predicate.Oauth2Client
- func DomainLT(v string) predicate.Oauth2Client
- func DomainLTE(v string) predicate.Oauth2Client
- func DomainNEQ(v string) predicate.Oauth2Client
- func DomainNotIn(vs ...string) predicate.Oauth2Client
- func ID(id uuid.UUID) predicate.Oauth2Client
- func IDEQ(id uuid.UUID) predicate.Oauth2Client
- func IDGT(id uuid.UUID) predicate.Oauth2Client
- func IDGTE(id uuid.UUID) predicate.Oauth2Client
- func IDIn(ids ...uuid.UUID) predicate.Oauth2Client
- func IDLT(id uuid.UUID) predicate.Oauth2Client
- func IDLTE(id uuid.UUID) predicate.Oauth2Client
- func IDNEQ(id uuid.UUID) predicate.Oauth2Client
- func IDNotIn(ids ...uuid.UUID) predicate.Oauth2Client
- func Not(p predicate.Oauth2Client) predicate.Oauth2Client
- func Or(predicates ...predicate.Oauth2Client) predicate.Oauth2Client
- func Secret(v string) predicate.Oauth2Client
- func SecretContains(v string) predicate.Oauth2Client
- func SecretContainsFold(v string) predicate.Oauth2Client
- func SecretEQ(v string) predicate.Oauth2Client
- func SecretEqualFold(v string) predicate.Oauth2Client
- func SecretGT(v string) predicate.Oauth2Client
- func SecretGTE(v string) predicate.Oauth2Client
- func SecretHasPrefix(v string) predicate.Oauth2Client
- func SecretHasSuffix(v string) predicate.Oauth2Client
- func SecretIn(vs ...string) predicate.Oauth2Client
- func SecretLT(v string) predicate.Oauth2Client
- func SecretLTE(v string) predicate.Oauth2Client
- func SecretNEQ(v string) predicate.Oauth2Client
- func SecretNotIn(vs ...string) predicate.Oauth2Client
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the oauth2client type in the database. Label = "oauth2client" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSecret holds the string denoting the secret field in the database. FieldSecret = "secret" // FieldDomain holds the string denoting the domain field in the database. FieldDomain = "domain" // Table holds the table name of the oauth2client in the database. Table = "oauth2clients" )
Variables ¶
var ( // SecretValidator is a validator for the "secret" field. It is called by the builders before save. SecretValidator func(string) error // DomainValidator is a validator for the "domain" field. It is called by the builders before save. DomainValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldSecret, FieldDomain, }
Columns holds all SQL columns for oauth2client fields.
Functions ¶
func And ¶
func And(predicates ...predicate.Oauth2Client) predicate.Oauth2Client
And groups predicates with the AND operator between them.
func Domain ¶
func Domain(v string) predicate.Oauth2Client
Domain applies equality check predicate on the "domain" field. It's identical to DomainEQ.
func DomainContains ¶
func DomainContains(v string) predicate.Oauth2Client
DomainContains applies the Contains predicate on the "domain" field.
func DomainContainsFold ¶
func DomainContainsFold(v string) predicate.Oauth2Client
DomainContainsFold applies the ContainsFold predicate on the "domain" field.
func DomainEQ ¶
func DomainEQ(v string) predicate.Oauth2Client
DomainEQ applies the EQ predicate on the "domain" field.
func DomainEqualFold ¶
func DomainEqualFold(v string) predicate.Oauth2Client
DomainEqualFold applies the EqualFold predicate on the "domain" field.
func DomainGT ¶
func DomainGT(v string) predicate.Oauth2Client
DomainGT applies the GT predicate on the "domain" field.
func DomainGTE ¶
func DomainGTE(v string) predicate.Oauth2Client
DomainGTE applies the GTE predicate on the "domain" field.
func DomainHasPrefix ¶
func DomainHasPrefix(v string) predicate.Oauth2Client
DomainHasPrefix applies the HasPrefix predicate on the "domain" field.
func DomainHasSuffix ¶
func DomainHasSuffix(v string) predicate.Oauth2Client
DomainHasSuffix applies the HasSuffix predicate on the "domain" field.
func DomainIn ¶
func DomainIn(vs ...string) predicate.Oauth2Client
DomainIn applies the In predicate on the "domain" field.
func DomainLT ¶
func DomainLT(v string) predicate.Oauth2Client
DomainLT applies the LT predicate on the "domain" field.
func DomainLTE ¶
func DomainLTE(v string) predicate.Oauth2Client
DomainLTE applies the LTE predicate on the "domain" field.
func DomainNEQ ¶
func DomainNEQ(v string) predicate.Oauth2Client
DomainNEQ applies the NEQ predicate on the "domain" field.
func DomainNotIn ¶
func DomainNotIn(vs ...string) predicate.Oauth2Client
DomainNotIn applies the NotIn predicate on the "domain" field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.Oauth2Client
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.Oauth2Client
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.Oauth2Client
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.Oauth2Client
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.Oauth2Client
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.Oauth2Client
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.Oauth2Client
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.Oauth2Client
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.Oauth2Client) predicate.Oauth2Client
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Oauth2Client) predicate.Oauth2Client
Or groups predicates with the OR operator between them.
func Secret ¶
func Secret(v string) predicate.Oauth2Client
Secret applies equality check predicate on the "secret" field. It's identical to SecretEQ.
func SecretContains ¶
func SecretContains(v string) predicate.Oauth2Client
SecretContains applies the Contains predicate on the "secret" field.
func SecretContainsFold ¶
func SecretContainsFold(v string) predicate.Oauth2Client
SecretContainsFold applies the ContainsFold predicate on the "secret" field.
func SecretEQ ¶
func SecretEQ(v string) predicate.Oauth2Client
SecretEQ applies the EQ predicate on the "secret" field.
func SecretEqualFold ¶
func SecretEqualFold(v string) predicate.Oauth2Client
SecretEqualFold applies the EqualFold predicate on the "secret" field.
func SecretGT ¶
func SecretGT(v string) predicate.Oauth2Client
SecretGT applies the GT predicate on the "secret" field.
func SecretGTE ¶
func SecretGTE(v string) predicate.Oauth2Client
SecretGTE applies the GTE predicate on the "secret" field.
func SecretHasPrefix ¶
func SecretHasPrefix(v string) predicate.Oauth2Client
SecretHasPrefix applies the HasPrefix predicate on the "secret" field.
func SecretHasSuffix ¶
func SecretHasSuffix(v string) predicate.Oauth2Client
SecretHasSuffix applies the HasSuffix predicate on the "secret" field.
func SecretIn ¶
func SecretIn(vs ...string) predicate.Oauth2Client
SecretIn applies the In predicate on the "secret" field.
func SecretLT ¶
func SecretLT(v string) predicate.Oauth2Client
SecretLT applies the LT predicate on the "secret" field.
func SecretLTE ¶
func SecretLTE(v string) predicate.Oauth2Client
SecretLTE applies the LTE predicate on the "secret" field.
func SecretNEQ ¶
func SecretNEQ(v string) predicate.Oauth2Client
SecretNEQ applies the NEQ predicate on the "secret" field.
func SecretNotIn ¶
func SecretNotIn(vs ...string) predicate.Oauth2Client
SecretNotIn applies the NotIn predicate on the "secret" 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 Oauth2Client queries.
func ByDomain ¶
func ByDomain(opts ...sql.OrderTermOption) OrderOption
ByDomain orders the results by the domain field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func BySecret ¶
func BySecret(opts ...sql.OrderTermOption) OrderOption
BySecret orders the results by the secret field.