Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Provider) predicate.Provider
- func Config(v string) predicate.Provider
- func ConfigContains(v string) predicate.Provider
- func ConfigContainsFold(v string) predicate.Provider
- func ConfigEQ(v string) predicate.Provider
- func ConfigEqualFold(v string) predicate.Provider
- func ConfigGT(v string) predicate.Provider
- func ConfigGTE(v string) predicate.Provider
- func ConfigHasPrefix(v string) predicate.Provider
- func ConfigHasSuffix(v string) predicate.Provider
- func ConfigIn(vs ...string) predicate.Provider
- func ConfigLT(v string) predicate.Provider
- func ConfigLTE(v string) predicate.Provider
- func ConfigNEQ(v string) predicate.Provider
- func ConfigNotIn(vs ...string) predicate.Provider
- func HasProviderToCompetitions() predicate.Provider
- func HasProviderToCompetitionsWith(preds ...predicate.Competition) predicate.Provider
- func ID(id uuid.UUID) predicate.Provider
- func IDEQ(id uuid.UUID) predicate.Provider
- func IDGT(id uuid.UUID) predicate.Provider
- func IDGTE(id uuid.UUID) predicate.Provider
- func IDIn(ids ...uuid.UUID) predicate.Provider
- func IDLT(id uuid.UUID) predicate.Provider
- func IDLTE(id uuid.UUID) predicate.Provider
- func IDNEQ(id uuid.UUID) predicate.Provider
- func IDNotIn(ids ...uuid.UUID) predicate.Provider
- func Name(v string) predicate.Provider
- func NameContains(v string) predicate.Provider
- func NameContainsFold(v string) predicate.Provider
- func NameEQ(v string) predicate.Provider
- func NameEqualFold(v string) predicate.Provider
- func NameGT(v string) predicate.Provider
- func NameGTE(v string) predicate.Provider
- func NameHasPrefix(v string) predicate.Provider
- func NameHasSuffix(v string) predicate.Provider
- func NameIn(vs ...string) predicate.Provider
- func NameLT(v string) predicate.Provider
- func NameLTE(v string) predicate.Provider
- func NameNEQ(v string) predicate.Provider
- func NameNotIn(vs ...string) predicate.Provider
- func Not(p predicate.Provider) predicate.Provider
- func Or(predicates ...predicate.Provider) predicate.Provider
- func Type(v string) predicate.Provider
- func TypeContains(v string) predicate.Provider
- func TypeContainsFold(v string) predicate.Provider
- func TypeEQ(v string) predicate.Provider
- func TypeEqualFold(v string) predicate.Provider
- func TypeGT(v string) predicate.Provider
- func TypeGTE(v string) predicate.Provider
- func TypeHasPrefix(v string) predicate.Provider
- func TypeHasSuffix(v string) predicate.Provider
- func TypeIn(vs ...string) predicate.Provider
- func TypeLT(v string) predicate.Provider
- func TypeLTE(v string) predicate.Provider
- func TypeNEQ(v string) predicate.Provider
- func TypeNotIn(vs ...string) predicate.Provider
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the provider type in the database. Label = "provider" // FieldID holds the string denoting the id field in the database. FieldID = "oid" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldConfig holds the string denoting the config field in the database. FieldConfig = "config" // EdgeProviderToCompetitions holds the string denoting the providertocompetitions edge name in mutations. EdgeProviderToCompetitions = "ProviderToCompetitions" // Table holds the table name of the provider in the database. Table = "providers" // ProviderToCompetitionsTable is the table that holds the ProviderToCompetitions relation/edge. ProviderToCompetitionsTable = "competitions" // ProviderToCompetitionsInverseTable is the table name for the Competition entity. // It exists in this package in order to avoid circular dependency with the "competition" package. ProviderToCompetitionsInverseTable = "competitions" // ProviderToCompetitionsColumn is the table column denoting the ProviderToCompetitions relation/edge. ProviderToCompetitionsColumn = "competition_competition_to_provider" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldType, FieldConfig, }
Columns holds all SQL columns for provider fields.
var ( // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
Functions ¶
func Config ¶
Config applies equality check predicate on the "config" field. It's identical to ConfigEQ.
func ConfigContains ¶
ConfigContains applies the Contains predicate on the "config" field.
func ConfigContainsFold ¶
ConfigContainsFold applies the ContainsFold predicate on the "config" field.
func ConfigEqualFold ¶
ConfigEqualFold applies the EqualFold predicate on the "config" field.
func ConfigHasPrefix ¶
ConfigHasPrefix applies the HasPrefix predicate on the "config" field.
func ConfigHasSuffix ¶
ConfigHasSuffix applies the HasSuffix predicate on the "config" field.
func ConfigNotIn ¶
ConfigNotIn applies the NotIn predicate on the "config" field.
func HasProviderToCompetitions ¶
HasProviderToCompetitions applies the HasEdge predicate on the "ProviderToCompetitions" edge.
func HasProviderToCompetitionsWith ¶
func HasProviderToCompetitionsWith(preds ...predicate.Competition) predicate.Provider
HasProviderToCompetitionsWith applies the HasEdge predicate on the "ProviderToCompetitions" edge with a given conditions (other predicates).
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func TypeContains ¶
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEqualFold ¶
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeHasPrefix ¶
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.