patient

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: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the patient type in the database.
	Label = "patient"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name vertex property in the database.
	FieldName = "name"
	// FieldPhone holds the string denoting the phone vertex property in the database.
	FieldPhone = "phone"
	// FieldAge holds the string denoting the age vertex property in the database.
	FieldAge = "age"
	// FieldEmail holds the string denoting the email vertex property in the database.
	FieldEmail = "email"
	// FieldPassword holds the string denoting the password vertex property in the database.
	FieldPassword = "password"
	// FieldFacebookID holds the string denoting the facebookid vertex property in the database.
	FieldFacebookID = "facebook_id"
	// FieldWatsonID holds the string denoting the watsonid vertex property in the database.
	FieldWatsonID = "watson_id"
	// FieldFirstContact holds the string denoting the first_contact vertex property in the database.
	FieldFirstContact = "first_contact"
	// FieldConditions holds the string denoting the conditions vertex property in the database.
	FieldConditions = "conditions"

	// Table holds the table name of the patient in the database.
	Table = "patients"
	// HistoryTable is the table the holds the history relation/edge.
	HistoryTable = "histories"
	// HistoryInverseTable is the table name for the History entity.
	// It exists in this package in order to avoid circular dependency with the "history" package.
	HistoryInverseTable = "histories"
	// HistoryColumn is the table column denoting the history relation/edge.
	HistoryColumn = "patient_history"
	// ScheduleTable is the table the holds the schedule relation/edge.
	ScheduleTable = "schedules"
	// ScheduleInverseTable is the table name for the Schedule entity.
	// It exists in this package in order to avoid circular dependency with the "schedule" package.
	ScheduleInverseTable = "schedules"
	// ScheduleColumn is the table column denoting the schedule relation/edge.
	ScheduleColumn = "patient_schedule"
)

Variables

View Source
var (

	// AgeValidator is a validator for the "age" field. It is called by the builders before save.
	AgeValidator = descAge.Validators[0].(func(int) error)

	// PasswordValidator is a validator for the "password" field. It is called by the builders before save.
	PasswordValidator = descPassword.Validators[0].(func(string) error)

	// DefaultFirstContact holds the default value on creation for the first_contact field.
	DefaultFirstContact = descFirstContact.Default.(func() time.Time)
)

Columns holds all SQL columns for patient fields.

Functions

func Age

func Age(v int) predicate.Patient

Age applies equality check predicate on the "age" field. It's identical to AgeEQ.

func AgeEQ

func AgeEQ(v int) predicate.Patient

AgeEQ applies the EQ predicate on the "age" field.

func AgeGT

func AgeGT(v int) predicate.Patient

AgeGT applies the GT predicate on the "age" field.

func AgeGTE

func AgeGTE(v int) predicate.Patient

AgeGTE applies the GTE predicate on the "age" field.

func AgeIn

func AgeIn(vs ...int) predicate.Patient

AgeIn applies the In predicate on the "age" field.

func AgeIsNil

func AgeIsNil() predicate.Patient

AgeIsNil applies the IsNil predicate on the "age" field.

func AgeLT

func AgeLT(v int) predicate.Patient

AgeLT applies the LT predicate on the "age" field.

func AgeLTE

func AgeLTE(v int) predicate.Patient

AgeLTE applies the LTE predicate on the "age" field.

func AgeNEQ

func AgeNEQ(v int) predicate.Patient

AgeNEQ applies the NEQ predicate on the "age" field.

func AgeNotIn

func AgeNotIn(vs ...int) predicate.Patient

AgeNotIn applies the NotIn predicate on the "age" field.

func AgeNotNil

func AgeNotNil() predicate.Patient

AgeNotNil applies the NotNil predicate on the "age" field.

func And

func And(predicates ...predicate.Patient) predicate.Patient

And groups list of predicates with the AND operator between them.

func ConditionsIsNil

func ConditionsIsNil() predicate.Patient

ConditionsIsNil applies the IsNil predicate on the "conditions" field.

func ConditionsNotNil

func ConditionsNotNil() predicate.Patient

ConditionsNotNil applies the NotNil predicate on the "conditions" field.

func Email

func Email(v string) predicate.Patient

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.Patient

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.Patient

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.Patient

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.Patient

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.Patient

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.Patient

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.Patient

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.Patient

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.Patient

EmailIn applies the In predicate on the "email" field.

func EmailIsNil

func EmailIsNil() predicate.Patient

EmailIsNil applies the IsNil predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.Patient

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.Patient

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.Patient

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.Patient

EmailNotIn applies the NotIn predicate on the "email" field.

func EmailNotNil

func EmailNotNil() predicate.Patient

EmailNotNil applies the NotNil predicate on the "email" field.

func FacebookID

func FacebookID(v string) predicate.Patient

FacebookID applies equality check predicate on the "facebookID" field. It's identical to FacebookIDEQ.

func FacebookIDContains

func FacebookIDContains(v string) predicate.Patient

FacebookIDContains applies the Contains predicate on the "facebookID" field.

func FacebookIDContainsFold

func FacebookIDContainsFold(v string) predicate.Patient

FacebookIDContainsFold applies the ContainsFold predicate on the "facebookID" field.

func FacebookIDEQ

func FacebookIDEQ(v string) predicate.Patient

FacebookIDEQ applies the EQ predicate on the "facebookID" field.

func FacebookIDEqualFold

func FacebookIDEqualFold(v string) predicate.Patient

FacebookIDEqualFold applies the EqualFold predicate on the "facebookID" field.

func FacebookIDGT

func FacebookIDGT(v string) predicate.Patient

FacebookIDGT applies the GT predicate on the "facebookID" field.

func FacebookIDGTE

func FacebookIDGTE(v string) predicate.Patient

FacebookIDGTE applies the GTE predicate on the "facebookID" field.

func FacebookIDHasPrefix

func FacebookIDHasPrefix(v string) predicate.Patient

FacebookIDHasPrefix applies the HasPrefix predicate on the "facebookID" field.

func FacebookIDHasSuffix

func FacebookIDHasSuffix(v string) predicate.Patient

FacebookIDHasSuffix applies the HasSuffix predicate on the "facebookID" field.

func FacebookIDIn

func FacebookIDIn(vs ...string) predicate.Patient

FacebookIDIn applies the In predicate on the "facebookID" field.

func FacebookIDIsNil

func FacebookIDIsNil() predicate.Patient

FacebookIDIsNil applies the IsNil predicate on the "facebookID" field.

func FacebookIDLT

func FacebookIDLT(v string) predicate.Patient

FacebookIDLT applies the LT predicate on the "facebookID" field.

func FacebookIDLTE

func FacebookIDLTE(v string) predicate.Patient

FacebookIDLTE applies the LTE predicate on the "facebookID" field.

func FacebookIDNEQ

func FacebookIDNEQ(v string) predicate.Patient

FacebookIDNEQ applies the NEQ predicate on the "facebookID" field.

func FacebookIDNotIn

func FacebookIDNotIn(vs ...string) predicate.Patient

FacebookIDNotIn applies the NotIn predicate on the "facebookID" field.

func FacebookIDNotNil

func FacebookIDNotNil() predicate.Patient

FacebookIDNotNil applies the NotNil predicate on the "facebookID" field.

func FirstContact

func FirstContact(v time.Time) predicate.Patient

FirstContact applies equality check predicate on the "first_contact" field. It's identical to FirstContactEQ.

func FirstContactEQ

func FirstContactEQ(v time.Time) predicate.Patient

FirstContactEQ applies the EQ predicate on the "first_contact" field.

func FirstContactGT

func FirstContactGT(v time.Time) predicate.Patient

FirstContactGT applies the GT predicate on the "first_contact" field.

func FirstContactGTE

func FirstContactGTE(v time.Time) predicate.Patient

FirstContactGTE applies the GTE predicate on the "first_contact" field.

func FirstContactIn

func FirstContactIn(vs ...time.Time) predicate.Patient

FirstContactIn applies the In predicate on the "first_contact" field.

func FirstContactLT

func FirstContactLT(v time.Time) predicate.Patient

FirstContactLT applies the LT predicate on the "first_contact" field.

func FirstContactLTE

func FirstContactLTE(v time.Time) predicate.Patient

FirstContactLTE applies the LTE predicate on the "first_contact" field.

func FirstContactNEQ

func FirstContactNEQ(v time.Time) predicate.Patient

FirstContactNEQ applies the NEQ predicate on the "first_contact" field.

func FirstContactNotIn

func FirstContactNotIn(vs ...time.Time) predicate.Patient

FirstContactNotIn applies the NotIn predicate on the "first_contact" field.

func HasHistory

func HasHistory() predicate.Patient

HasHistory applies the HasEdge predicate on the "history" edge.

func HasHistoryWith

func HasHistoryWith(preds ...predicate.History) predicate.Patient

HasHistoryWith applies the HasEdge predicate on the "history" edge with a given conditions (other predicates).

func HasSchedule

func HasSchedule() predicate.Patient

HasSchedule applies the HasEdge predicate on the "schedule" edge.

func HasScheduleWith

func HasScheduleWith(preds ...predicate.Schedule) predicate.Patient

HasScheduleWith applies the HasEdge predicate on the "schedule" edge with a given conditions (other predicates).

func ID

func ID(id uuid.UUID) predicate.Patient

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Patient

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Patient

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Patient

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Patient

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Patient

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Patient

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Patient

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Patient

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Patient

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Patient

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Patient

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Patient

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Patient

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Patient

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Patient

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Patient

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Patient

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Patient

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Patient

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Patient

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Patient

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Patient

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Patient) predicate.Patient

Or groups list of predicates with the OR operator between them.

func Password

func Password(v string) predicate.Patient

Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.

func PasswordContains

func PasswordContains(v string) predicate.Patient

PasswordContains applies the Contains predicate on the "password" field.

func PasswordContainsFold

func PasswordContainsFold(v string) predicate.Patient

PasswordContainsFold applies the ContainsFold predicate on the "password" field.

func PasswordEQ

func PasswordEQ(v string) predicate.Patient

PasswordEQ applies the EQ predicate on the "password" field.

func PasswordEqualFold

func PasswordEqualFold(v string) predicate.Patient

PasswordEqualFold applies the EqualFold predicate on the "password" field.

func PasswordGT

func PasswordGT(v string) predicate.Patient

PasswordGT applies the GT predicate on the "password" field.

func PasswordGTE

func PasswordGTE(v string) predicate.Patient

PasswordGTE applies the GTE predicate on the "password" field.

func PasswordHasPrefix

func PasswordHasPrefix(v string) predicate.Patient

PasswordHasPrefix applies the HasPrefix predicate on the "password" field.

func PasswordHasSuffix

func PasswordHasSuffix(v string) predicate.Patient

PasswordHasSuffix applies the HasSuffix predicate on the "password" field.

func PasswordIn

func PasswordIn(vs ...string) predicate.Patient

PasswordIn applies the In predicate on the "password" field.

func PasswordIsNil

func PasswordIsNil() predicate.Patient

PasswordIsNil applies the IsNil predicate on the "password" field.

func PasswordLT

func PasswordLT(v string) predicate.Patient

PasswordLT applies the LT predicate on the "password" field.

func PasswordLTE

func PasswordLTE(v string) predicate.Patient

PasswordLTE applies the LTE predicate on the "password" field.

func PasswordNEQ

func PasswordNEQ(v string) predicate.Patient

PasswordNEQ applies the NEQ predicate on the "password" field.

func PasswordNotIn

func PasswordNotIn(vs ...string) predicate.Patient

PasswordNotIn applies the NotIn predicate on the "password" field.

func PasswordNotNil

func PasswordNotNil() predicate.Patient

PasswordNotNil applies the NotNil predicate on the "password" field.

func Phone

func Phone(v string) predicate.Patient

Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.

func PhoneContains

func PhoneContains(v string) predicate.Patient

PhoneContains applies the Contains predicate on the "phone" field.

func PhoneContainsFold

func PhoneContainsFold(v string) predicate.Patient

PhoneContainsFold applies the ContainsFold predicate on the "phone" field.

func PhoneEQ

func PhoneEQ(v string) predicate.Patient

PhoneEQ applies the EQ predicate on the "phone" field.

func PhoneEqualFold

func PhoneEqualFold(v string) predicate.Patient

PhoneEqualFold applies the EqualFold predicate on the "phone" field.

func PhoneGT

func PhoneGT(v string) predicate.Patient

PhoneGT applies the GT predicate on the "phone" field.

func PhoneGTE

func PhoneGTE(v string) predicate.Patient

PhoneGTE applies the GTE predicate on the "phone" field.

func PhoneHasPrefix

func PhoneHasPrefix(v string) predicate.Patient

PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.

func PhoneHasSuffix

func PhoneHasSuffix(v string) predicate.Patient

PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.

func PhoneIn

func PhoneIn(vs ...string) predicate.Patient

PhoneIn applies the In predicate on the "phone" field.

func PhoneLT

func PhoneLT(v string) predicate.Patient

PhoneLT applies the LT predicate on the "phone" field.

func PhoneLTE

func PhoneLTE(v string) predicate.Patient

PhoneLTE applies the LTE predicate on the "phone" field.

func PhoneNEQ

func PhoneNEQ(v string) predicate.Patient

PhoneNEQ applies the NEQ predicate on the "phone" field.

func PhoneNotIn

func PhoneNotIn(vs ...string) predicate.Patient

PhoneNotIn applies the NotIn predicate on the "phone" field.

func WatsonID

func WatsonID(v string) predicate.Patient

WatsonID applies equality check predicate on the "watsonID" field. It's identical to WatsonIDEQ.

func WatsonIDContains

func WatsonIDContains(v string) predicate.Patient

WatsonIDContains applies the Contains predicate on the "watsonID" field.

func WatsonIDContainsFold

func WatsonIDContainsFold(v string) predicate.Patient

WatsonIDContainsFold applies the ContainsFold predicate on the "watsonID" field.

func WatsonIDEQ

func WatsonIDEQ(v string) predicate.Patient

WatsonIDEQ applies the EQ predicate on the "watsonID" field.

func WatsonIDEqualFold

func WatsonIDEqualFold(v string) predicate.Patient

WatsonIDEqualFold applies the EqualFold predicate on the "watsonID" field.

func WatsonIDGT

func WatsonIDGT(v string) predicate.Patient

WatsonIDGT applies the GT predicate on the "watsonID" field.

func WatsonIDGTE

func WatsonIDGTE(v string) predicate.Patient

WatsonIDGTE applies the GTE predicate on the "watsonID" field.

func WatsonIDHasPrefix

func WatsonIDHasPrefix(v string) predicate.Patient

WatsonIDHasPrefix applies the HasPrefix predicate on the "watsonID" field.

func WatsonIDHasSuffix

func WatsonIDHasSuffix(v string) predicate.Patient

WatsonIDHasSuffix applies the HasSuffix predicate on the "watsonID" field.

func WatsonIDIn

func WatsonIDIn(vs ...string) predicate.Patient

WatsonIDIn applies the In predicate on the "watsonID" field.

func WatsonIDIsNil

func WatsonIDIsNil() predicate.Patient

WatsonIDIsNil applies the IsNil predicate on the "watsonID" field.

func WatsonIDLT

func WatsonIDLT(v string) predicate.Patient

WatsonIDLT applies the LT predicate on the "watsonID" field.

func WatsonIDLTE

func WatsonIDLTE(v string) predicate.Patient

WatsonIDLTE applies the LTE predicate on the "watsonID" field.

func WatsonIDNEQ

func WatsonIDNEQ(v string) predicate.Patient

WatsonIDNEQ applies the NEQ predicate on the "watsonID" field.

func WatsonIDNotIn

func WatsonIDNotIn(vs ...string) predicate.Patient

WatsonIDNotIn applies the NotIn predicate on the "watsonID" field.

func WatsonIDNotNil

func WatsonIDNotNil() predicate.Patient

WatsonIDNotNil applies the NotNil predicate on the "watsonID" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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