epidemiologicresults

package
v0.0.0-...-009ff64 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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
		}
	}()
)

Columns holds all SQL columns for epidemiologicresults fields.

View Source
var ForeignKeys = []string{
	"test_epidemiologic",
}

ForeignKeys holds the SQL foreign-keys that are owned by the EpidemiologicResults type.

Functions

func And

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

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

ID filters vertices based on their identifier.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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

Not applies the not operator on the given predicate.

func Or

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL