Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EpidemiologicResults) predicate.EpidemiologicResults
- func FromInfectedPlace(v int) predicate.EpidemiologicResults
- func FromInfectedPlaceEQ(v int) predicate.EpidemiologicResults
- func FromInfectedPlaceGT(v int) predicate.EpidemiologicResults
- func FromInfectedPlaceGTE(v int) predicate.EpidemiologicResults
- func FromInfectedPlaceIn(vs ...int) predicate.EpidemiologicResults
- func FromInfectedPlaceIsNil() predicate.EpidemiologicResults
- func FromInfectedPlaceLT(v int) predicate.EpidemiologicResults
- func FromInfectedPlaceLTE(v int) predicate.EpidemiologicResults
- func FromInfectedPlaceNEQ(v int) predicate.EpidemiologicResults
- func FromInfectedPlaceNotIn(vs ...int) predicate.EpidemiologicResults
- func FromInfectedPlaceNotNil() predicate.EpidemiologicResults
- func HasTest() predicate.EpidemiologicResults
- func HasTestWith(preds ...predicate.Test) predicate.EpidemiologicResults
- func ID(id uuid.UUID) predicate.EpidemiologicResults
- func IDEQ(id uuid.UUID) predicate.EpidemiologicResults
- func IDGT(id uuid.UUID) predicate.EpidemiologicResults
- func IDGTE(id uuid.UUID) predicate.EpidemiologicResults
- func IDIn(ids ...uuid.UUID) predicate.EpidemiologicResults
- func IDLT(id uuid.UUID) predicate.EpidemiologicResults
- func IDLTE(id uuid.UUID) predicate.EpidemiologicResults
- func IDNEQ(id uuid.UUID) predicate.EpidemiologicResults
- func IDNotIn(ids ...uuid.UUID) predicate.EpidemiologicResults
- func InfectedFamily(v bool) predicate.EpidemiologicResults
- func InfectedFamilyEQ(v bool) predicate.EpidemiologicResults
- func InfectedFamilyIsNil() predicate.EpidemiologicResults
- func InfectedFamilyNEQ(v bool) predicate.EpidemiologicResults
- func InfectedFamilyNotNil() predicate.EpidemiologicResults
- func Not(p predicate.EpidemiologicResults) predicate.EpidemiologicResults
- func Or(predicates ...predicate.EpidemiologicResults) predicate.EpidemiologicResults
- func ToInfectedPlace(v int) predicate.EpidemiologicResults
- func ToInfectedPlaceEQ(v int) predicate.EpidemiologicResults
- func ToInfectedPlaceGT(v int) predicate.EpidemiologicResults
- func ToInfectedPlaceGTE(v int) predicate.EpidemiologicResults
- func ToInfectedPlaceIn(vs ...int) predicate.EpidemiologicResults
- func ToInfectedPlaceIsNil() predicate.EpidemiologicResults
- func ToInfectedPlaceLT(v int) predicate.EpidemiologicResults
- func ToInfectedPlaceLTE(v int) predicate.EpidemiologicResults
- func ToInfectedPlaceNEQ(v int) predicate.EpidemiologicResults
- func ToInfectedPlaceNotIn(vs ...int) predicate.EpidemiologicResults
- func ToInfectedPlaceNotNil() predicate.EpidemiologicResults
- func VisitedPlacesIsNil() predicate.EpidemiologicResults
- func VisitedPlacesNotNil() predicate.EpidemiologicResults
Constants ¶
const ( // Label holds the string label denoting the epidemiologicresults type in the database. Label = "epidemiologic_results" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldVisitedPlaces holds the string denoting the visitedplaces vertex property in the database. FieldVisitedPlaces = "visited_places" // FieldInfectedFamily holds the string denoting the infectedfamily vertex property in the database. FieldInfectedFamily = "infected_family" // FieldFromInfectedPlace holds the string denoting the frominfectedplace vertex property in the database. FieldFromInfectedPlace = "from_infected_place" // FieldToInfectedPlace holds the string denoting the toinfectedplace vertex property in the database. FieldToInfectedPlace = "to_infected_place" // Table holds the table name of the epidemiologicresults in the database. Table = "epidemiologic_results" // TestTable is the table the holds the test relation/edge. TestTable = "epidemiologic_results" // TestInverseTable is the table name for the Test entity. // It exists in this package in order to avoid circular dependency with the "test" package. TestInverseTable = "tests" // TestColumn is the table column denoting the test relation/edge. TestColumn = "test_epidemiologic" )
Variables ¶
var ( // FromInfectedPlaceValidator is a validator for the "fromInfectedPlace" field. It is called by the builders before save. FromInfectedPlaceValidator = func() func(int) error { validators := descFromInfectedPlace.Validators fns := [...]func(int) error{ validators[0].(func(int) error), validators[1].(func(int) error), } return func(fromInfectedPlace int) error { for _, fn := range fns { if err := fn(fromInfectedPlace); err != nil { return err } } return nil } }() // ToInfectedPlaceValidator is a validator for the "toInfectedPlace" field. It is called by the builders before save. ToInfectedPlaceValidator = func() func(int) error { validators := descToInfectedPlace.Validators fns := [...]func(int) error{ validators[0].(func(int) error), validators[1].(func(int) error), } return func(toInfectedPlace int) error { for _, fn := range fns { if err := fn(toInfectedPlace); err != nil { return err } } return nil } }() )
var Columns = []string{ FieldID, FieldVisitedPlaces, FieldInfectedFamily, FieldFromInfectedPlace, FieldToInfectedPlace, }
Columns holds all SQL columns for epidemiologicresults fields.
var ForeignKeys = []string{
"test_epidemiologic",
}
ForeignKeys holds the SQL foreign-keys that are owned by the EpidemiologicResults type.
Functions ¶
func And ¶
func And(predicates ...predicate.EpidemiologicResults) predicate.EpidemiologicResults
And groups list of predicates with the AND operator between them.
func FromInfectedPlace ¶
func FromInfectedPlace(v int) predicate.EpidemiologicResults
FromInfectedPlace applies equality check predicate on the "fromInfectedPlace" field. It's identical to FromInfectedPlaceEQ.
func FromInfectedPlaceEQ ¶
func FromInfectedPlaceEQ(v int) predicate.EpidemiologicResults
FromInfectedPlaceEQ applies the EQ predicate on the "fromInfectedPlace" field.
func FromInfectedPlaceGT ¶
func FromInfectedPlaceGT(v int) predicate.EpidemiologicResults
FromInfectedPlaceGT applies the GT predicate on the "fromInfectedPlace" field.
func FromInfectedPlaceGTE ¶
func FromInfectedPlaceGTE(v int) predicate.EpidemiologicResults
FromInfectedPlaceGTE applies the GTE predicate on the "fromInfectedPlace" field.
func FromInfectedPlaceIn ¶
func FromInfectedPlaceIn(vs ...int) predicate.EpidemiologicResults
FromInfectedPlaceIn applies the In predicate on the "fromInfectedPlace" field.
func FromInfectedPlaceIsNil ¶
func FromInfectedPlaceIsNil() predicate.EpidemiologicResults
FromInfectedPlaceIsNil applies the IsNil predicate on the "fromInfectedPlace" field.
func FromInfectedPlaceLT ¶
func FromInfectedPlaceLT(v int) predicate.EpidemiologicResults
FromInfectedPlaceLT applies the LT predicate on the "fromInfectedPlace" field.
func FromInfectedPlaceLTE ¶
func FromInfectedPlaceLTE(v int) predicate.EpidemiologicResults
FromInfectedPlaceLTE applies the LTE predicate on the "fromInfectedPlace" field.
func FromInfectedPlaceNEQ ¶
func FromInfectedPlaceNEQ(v int) predicate.EpidemiologicResults
FromInfectedPlaceNEQ applies the NEQ predicate on the "fromInfectedPlace" field.
func FromInfectedPlaceNotIn ¶
func FromInfectedPlaceNotIn(vs ...int) predicate.EpidemiologicResults
FromInfectedPlaceNotIn applies the NotIn predicate on the "fromInfectedPlace" field.
func FromInfectedPlaceNotNil ¶
func FromInfectedPlaceNotNil() predicate.EpidemiologicResults
FromInfectedPlaceNotNil applies the NotNil predicate on the "fromInfectedPlace" field.
func HasTest ¶
func HasTest() predicate.EpidemiologicResults
HasTest applies the HasEdge predicate on the "test" edge.
func HasTestWith ¶
func HasTestWith(preds ...predicate.Test) predicate.EpidemiologicResults
HasTestWith applies the HasEdge predicate on the "test" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.EpidemiologicResults
ID filters vertices based on their identifier.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.EpidemiologicResults
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.EpidemiologicResults
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.EpidemiologicResults
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.EpidemiologicResults
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.EpidemiologicResults
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.EpidemiologicResults
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.EpidemiologicResults
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.EpidemiologicResults
IDNotIn applies the NotIn predicate on the ID field.
func InfectedFamily ¶
func InfectedFamily(v bool) predicate.EpidemiologicResults
InfectedFamily applies equality check predicate on the "infectedFamily" field. It's identical to InfectedFamilyEQ.
func InfectedFamilyEQ ¶
func InfectedFamilyEQ(v bool) predicate.EpidemiologicResults
InfectedFamilyEQ applies the EQ predicate on the "infectedFamily" field.
func InfectedFamilyIsNil ¶
func InfectedFamilyIsNil() predicate.EpidemiologicResults
InfectedFamilyIsNil applies the IsNil predicate on the "infectedFamily" field.
func InfectedFamilyNEQ ¶
func InfectedFamilyNEQ(v bool) predicate.EpidemiologicResults
InfectedFamilyNEQ applies the NEQ predicate on the "infectedFamily" field.
func InfectedFamilyNotNil ¶
func InfectedFamilyNotNil() predicate.EpidemiologicResults
InfectedFamilyNotNil applies the NotNil predicate on the "infectedFamily" field.
func Not ¶
func Not(p predicate.EpidemiologicResults) predicate.EpidemiologicResults
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.EpidemiologicResults) predicate.EpidemiologicResults
Or groups list of predicates with the OR operator between them.
func ToInfectedPlace ¶
func ToInfectedPlace(v int) predicate.EpidemiologicResults
ToInfectedPlace applies equality check predicate on the "toInfectedPlace" field. It's identical to ToInfectedPlaceEQ.
func ToInfectedPlaceEQ ¶
func ToInfectedPlaceEQ(v int) predicate.EpidemiologicResults
ToInfectedPlaceEQ applies the EQ predicate on the "toInfectedPlace" field.
func ToInfectedPlaceGT ¶
func ToInfectedPlaceGT(v int) predicate.EpidemiologicResults
ToInfectedPlaceGT applies the GT predicate on the "toInfectedPlace" field.
func ToInfectedPlaceGTE ¶
func ToInfectedPlaceGTE(v int) predicate.EpidemiologicResults
ToInfectedPlaceGTE applies the GTE predicate on the "toInfectedPlace" field.
func ToInfectedPlaceIn ¶
func ToInfectedPlaceIn(vs ...int) predicate.EpidemiologicResults
ToInfectedPlaceIn applies the In predicate on the "toInfectedPlace" field.
func ToInfectedPlaceIsNil ¶
func ToInfectedPlaceIsNil() predicate.EpidemiologicResults
ToInfectedPlaceIsNil applies the IsNil predicate on the "toInfectedPlace" field.
func ToInfectedPlaceLT ¶
func ToInfectedPlaceLT(v int) predicate.EpidemiologicResults
ToInfectedPlaceLT applies the LT predicate on the "toInfectedPlace" field.
func ToInfectedPlaceLTE ¶
func ToInfectedPlaceLTE(v int) predicate.EpidemiologicResults
ToInfectedPlaceLTE applies the LTE predicate on the "toInfectedPlace" field.
func ToInfectedPlaceNEQ ¶
func ToInfectedPlaceNEQ(v int) predicate.EpidemiologicResults
ToInfectedPlaceNEQ applies the NEQ predicate on the "toInfectedPlace" field.
func ToInfectedPlaceNotIn ¶
func ToInfectedPlaceNotIn(vs ...int) predicate.EpidemiologicResults
ToInfectedPlaceNotIn applies the NotIn predicate on the "toInfectedPlace" field.
func ToInfectedPlaceNotNil ¶
func ToInfectedPlaceNotNil() predicate.EpidemiologicResults
ToInfectedPlaceNotNil applies the NotNil predicate on the "toInfectedPlace" field.
func VisitedPlacesIsNil ¶
func VisitedPlacesIsNil() predicate.EpidemiologicResults
VisitedPlacesIsNil applies the IsNil predicate on the "visitedPlaces" field.
func VisitedPlacesNotNil ¶
func VisitedPlacesNotNil() predicate.EpidemiologicResults
VisitedPlacesNotNil applies the NotNil predicate on the "visitedPlaces" field.
Types ¶
This section is empty.