Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.AuthorizationCode) predicate.AuthorizationCode
- func HasOwner() predicate.AuthorizationCode
- func HasOwnerWith(preds ...predicate.ServiceProvider) predicate.AuthorizationCode
- func ID(id int) predicate.AuthorizationCode
- func IDEQ(id int) predicate.AuthorizationCode
- func IDGT(id int) predicate.AuthorizationCode
- func IDGTE(id int) predicate.AuthorizationCode
- func IDIn(ids ...int) predicate.AuthorizationCode
- func IDLT(id int) predicate.AuthorizationCode
- func IDLTE(id int) predicate.AuthorizationCode
- func IDNEQ(id int) predicate.AuthorizationCode
- func IDNotIn(ids ...int) predicate.AuthorizationCode
- func Not(p predicate.AuthorizationCode) predicate.AuthorizationCode
- func Or(predicates ...predicate.AuthorizationCode) predicate.AuthorizationCode
- func Token(v string) predicate.AuthorizationCode
- func TokenContains(v string) predicate.AuthorizationCode
- func TokenContainsFold(v string) predicate.AuthorizationCode
- func TokenEQ(v string) predicate.AuthorizationCode
- func TokenEqualFold(v string) predicate.AuthorizationCode
- func TokenGT(v string) predicate.AuthorizationCode
- func TokenGTE(v string) predicate.AuthorizationCode
- func TokenHasPrefix(v string) predicate.AuthorizationCode
- func TokenHasSuffix(v string) predicate.AuthorizationCode
- func TokenIn(vs ...string) predicate.AuthorizationCode
- func TokenLT(v string) predicate.AuthorizationCode
- func TokenLTE(v string) predicate.AuthorizationCode
- func TokenNEQ(v string) predicate.AuthorizationCode
- func TokenNotIn(vs ...string) predicate.AuthorizationCode
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the authorizationcode type in the database. Label = "authorization_code" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldToken holds the string denoting the token field in the database. FieldToken = "token" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the authorizationcode in the database. Table = "authorization_codes" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "authorization_codes" // OwnerInverseTable is the table name for the ServiceProvider entity. // It exists in this package in order to avoid circular dependency with the "serviceprovider" package. OwnerInverseTable = "service_providers" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "service_provider_authorization_codes" )
Variables ¶
var Columns = []string{ FieldID, FieldToken, }
Columns holds all SQL columns for authorizationcode fields.
var ForeignKeys = []string{
"service_provider_authorization_codes",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "authorization_codes" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.AuthorizationCode) predicate.AuthorizationCode
And groups predicates with the AND operator between them.
func HasOwner ¶
func HasOwner() predicate.AuthorizationCode
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.ServiceProvider) predicate.AuthorizationCode
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.AuthorizationCode
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.AuthorizationCode
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.AuthorizationCode
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.AuthorizationCode
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.AuthorizationCode
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.AuthorizationCode
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.AuthorizationCode
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.AuthorizationCode
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.AuthorizationCode) predicate.AuthorizationCode
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.AuthorizationCode) predicate.AuthorizationCode
Or groups predicates with the OR operator between them.
func Token ¶
func Token(v string) predicate.AuthorizationCode
Token applies equality check predicate on the "token" field. It's identical to TokenEQ.
func TokenContains ¶
func TokenContains(v string) predicate.AuthorizationCode
TokenContains applies the Contains predicate on the "token" field.
func TokenContainsFold ¶
func TokenContainsFold(v string) predicate.AuthorizationCode
TokenContainsFold applies the ContainsFold predicate on the "token" field.
func TokenEQ ¶
func TokenEQ(v string) predicate.AuthorizationCode
TokenEQ applies the EQ predicate on the "token" field.
func TokenEqualFold ¶
func TokenEqualFold(v string) predicate.AuthorizationCode
TokenEqualFold applies the EqualFold predicate on the "token" field.
func TokenGT ¶
func TokenGT(v string) predicate.AuthorizationCode
TokenGT applies the GT predicate on the "token" field.
func TokenGTE ¶
func TokenGTE(v string) predicate.AuthorizationCode
TokenGTE applies the GTE predicate on the "token" field.
func TokenHasPrefix ¶
func TokenHasPrefix(v string) predicate.AuthorizationCode
TokenHasPrefix applies the HasPrefix predicate on the "token" field.
func TokenHasSuffix ¶
func TokenHasSuffix(v string) predicate.AuthorizationCode
TokenHasSuffix applies the HasSuffix predicate on the "token" field.
func TokenIn ¶
func TokenIn(vs ...string) predicate.AuthorizationCode
TokenIn applies the In predicate on the "token" field.
func TokenLT ¶
func TokenLT(v string) predicate.AuthorizationCode
TokenLT applies the LT predicate on the "token" field.
func TokenLTE ¶
func TokenLTE(v string) predicate.AuthorizationCode
TokenLTE applies the LTE predicate on the "token" field.
func TokenNEQ ¶
func TokenNEQ(v string) predicate.AuthorizationCode
TokenNEQ applies the NEQ predicate on the "token" field.
func TokenNotIn ¶
func TokenNotIn(vs ...string) predicate.AuthorizationCode
TokenNotIn applies the NotIn predicate on the "token" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.