Documentation
¶
Index ¶
- Constants
- Variables
- func Age(v int) predicate.Patient
- func AgeEQ(v int) predicate.Patient
- func AgeGT(v int) predicate.Patient
- func AgeGTE(v int) predicate.Patient
- func AgeIn(vs ...int) predicate.Patient
- func AgeIsNil() predicate.Patient
- func AgeLT(v int) predicate.Patient
- func AgeLTE(v int) predicate.Patient
- func AgeNEQ(v int) predicate.Patient
- func AgeNotIn(vs ...int) predicate.Patient
- func AgeNotNil() predicate.Patient
- func And(predicates ...predicate.Patient) predicate.Patient
- func ConditionsIsNil() predicate.Patient
- func ConditionsNotNil() predicate.Patient
- func Email(v string) predicate.Patient
- func EmailContains(v string) predicate.Patient
- func EmailContainsFold(v string) predicate.Patient
- func EmailEQ(v string) predicate.Patient
- func EmailEqualFold(v string) predicate.Patient
- func EmailGT(v string) predicate.Patient
- func EmailGTE(v string) predicate.Patient
- func EmailHasPrefix(v string) predicate.Patient
- func EmailHasSuffix(v string) predicate.Patient
- func EmailIn(vs ...string) predicate.Patient
- func EmailIsNil() predicate.Patient
- func EmailLT(v string) predicate.Patient
- func EmailLTE(v string) predicate.Patient
- func EmailNEQ(v string) predicate.Patient
- func EmailNotIn(vs ...string) predicate.Patient
- func EmailNotNil() predicate.Patient
- func FacebookID(v string) predicate.Patient
- func FacebookIDContains(v string) predicate.Patient
- func FacebookIDContainsFold(v string) predicate.Patient
- func FacebookIDEQ(v string) predicate.Patient
- func FacebookIDEqualFold(v string) predicate.Patient
- func FacebookIDGT(v string) predicate.Patient
- func FacebookIDGTE(v string) predicate.Patient
- func FacebookIDHasPrefix(v string) predicate.Patient
- func FacebookIDHasSuffix(v string) predicate.Patient
- func FacebookIDIn(vs ...string) predicate.Patient
- func FacebookIDIsNil() predicate.Patient
- func FacebookIDLT(v string) predicate.Patient
- func FacebookIDLTE(v string) predicate.Patient
- func FacebookIDNEQ(v string) predicate.Patient
- func FacebookIDNotIn(vs ...string) predicate.Patient
- func FacebookIDNotNil() predicate.Patient
- func FirstContact(v time.Time) predicate.Patient
- func FirstContactEQ(v time.Time) predicate.Patient
- func FirstContactGT(v time.Time) predicate.Patient
- func FirstContactGTE(v time.Time) predicate.Patient
- func FirstContactIn(vs ...time.Time) predicate.Patient
- func FirstContactLT(v time.Time) predicate.Patient
- func FirstContactLTE(v time.Time) predicate.Patient
- func FirstContactNEQ(v time.Time) predicate.Patient
- func FirstContactNotIn(vs ...time.Time) predicate.Patient
- func HasHistory() predicate.Patient
- func HasHistoryWith(preds ...predicate.History) predicate.Patient
- func HasSchedule() predicate.Patient
- func HasScheduleWith(preds ...predicate.Schedule) predicate.Patient
- func ID(id uuid.UUID) predicate.Patient
- func IDEQ(id uuid.UUID) predicate.Patient
- func IDGT(id uuid.UUID) predicate.Patient
- func IDGTE(id uuid.UUID) predicate.Patient
- func IDIn(ids ...uuid.UUID) predicate.Patient
- func IDLT(id uuid.UUID) predicate.Patient
- func IDLTE(id uuid.UUID) predicate.Patient
- func IDNEQ(id uuid.UUID) predicate.Patient
- func IDNotIn(ids ...uuid.UUID) predicate.Patient
- func Name(v string) predicate.Patient
- func NameContains(v string) predicate.Patient
- func NameContainsFold(v string) predicate.Patient
- func NameEQ(v string) predicate.Patient
- func NameEqualFold(v string) predicate.Patient
- func NameGT(v string) predicate.Patient
- func NameGTE(v string) predicate.Patient
- func NameHasPrefix(v string) predicate.Patient
- func NameHasSuffix(v string) predicate.Patient
- func NameIn(vs ...string) predicate.Patient
- func NameLT(v string) predicate.Patient
- func NameLTE(v string) predicate.Patient
- func NameNEQ(v string) predicate.Patient
- func NameNotIn(vs ...string) predicate.Patient
- func Not(p predicate.Patient) predicate.Patient
- func Or(predicates ...predicate.Patient) predicate.Patient
- func Password(v string) predicate.Patient
- func PasswordContains(v string) predicate.Patient
- func PasswordContainsFold(v string) predicate.Patient
- func PasswordEQ(v string) predicate.Patient
- func PasswordEqualFold(v string) predicate.Patient
- func PasswordGT(v string) predicate.Patient
- func PasswordGTE(v string) predicate.Patient
- func PasswordHasPrefix(v string) predicate.Patient
- func PasswordHasSuffix(v string) predicate.Patient
- func PasswordIn(vs ...string) predicate.Patient
- func PasswordIsNil() predicate.Patient
- func PasswordLT(v string) predicate.Patient
- func PasswordLTE(v string) predicate.Patient
- func PasswordNEQ(v string) predicate.Patient
- func PasswordNotIn(vs ...string) predicate.Patient
- func PasswordNotNil() predicate.Patient
- func Phone(v string) predicate.Patient
- func PhoneContains(v string) predicate.Patient
- func PhoneContainsFold(v string) predicate.Patient
- func PhoneEQ(v string) predicate.Patient
- func PhoneEqualFold(v string) predicate.Patient
- func PhoneGT(v string) predicate.Patient
- func PhoneGTE(v string) predicate.Patient
- func PhoneHasPrefix(v string) predicate.Patient
- func PhoneHasSuffix(v string) predicate.Patient
- func PhoneIn(vs ...string) predicate.Patient
- func PhoneLT(v string) predicate.Patient
- func PhoneLTE(v string) predicate.Patient
- func PhoneNEQ(v string) predicate.Patient
- func PhoneNotIn(vs ...string) predicate.Patient
- func WatsonID(v string) predicate.Patient
- func WatsonIDContains(v string) predicate.Patient
- func WatsonIDContainsFold(v string) predicate.Patient
- func WatsonIDEQ(v string) predicate.Patient
- func WatsonIDEqualFold(v string) predicate.Patient
- func WatsonIDGT(v string) predicate.Patient
- func WatsonIDGTE(v string) predicate.Patient
- func WatsonIDHasPrefix(v string) predicate.Patient
- func WatsonIDHasSuffix(v string) predicate.Patient
- func WatsonIDIn(vs ...string) predicate.Patient
- func WatsonIDIsNil() predicate.Patient
- func WatsonIDLT(v string) predicate.Patient
- func WatsonIDLTE(v string) predicate.Patient
- func WatsonIDNEQ(v string) predicate.Patient
- func WatsonIDNotIn(vs ...string) predicate.Patient
- func WatsonIDNotNil() predicate.Patient
Constants ¶
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 ¶
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) )
var Columns = []string{ FieldID, FieldName, FieldPhone, FieldAge, FieldEmail, FieldPassword, FieldFacebookID, FieldWatsonID, FieldFirstContact, FieldConditions, }
Columns holds all SQL columns for patient fields.
Functions ¶
func ConditionsIsNil ¶
ConditionsIsNil applies the IsNil predicate on the "conditions" field.
func ConditionsNotNil ¶
ConditionsNotNil applies the NotNil predicate on the "conditions" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func FacebookID ¶
FacebookID applies equality check predicate on the "facebookID" field. It's identical to FacebookIDEQ.
func FacebookIDContains ¶
FacebookIDContains applies the Contains predicate on the "facebookID" field.
func FacebookIDContainsFold ¶
FacebookIDContainsFold applies the ContainsFold predicate on the "facebookID" field.
func FacebookIDEQ ¶
FacebookIDEQ applies the EQ predicate on the "facebookID" field.
func FacebookIDEqualFold ¶
FacebookIDEqualFold applies the EqualFold predicate on the "facebookID" field.
func FacebookIDGT ¶
FacebookIDGT applies the GT predicate on the "facebookID" field.
func FacebookIDGTE ¶
FacebookIDGTE applies the GTE predicate on the "facebookID" field.
func FacebookIDHasPrefix ¶
FacebookIDHasPrefix applies the HasPrefix predicate on the "facebookID" field.
func FacebookIDHasSuffix ¶
FacebookIDHasSuffix applies the HasSuffix predicate on the "facebookID" field.
func FacebookIDIn ¶
FacebookIDIn applies the In predicate on the "facebookID" field.
func FacebookIDIsNil ¶
FacebookIDIsNil applies the IsNil predicate on the "facebookID" field.
func FacebookIDLT ¶
FacebookIDLT applies the LT predicate on the "facebookID" field.
func FacebookIDLTE ¶
FacebookIDLTE applies the LTE predicate on the "facebookID" field.
func FacebookIDNEQ ¶
FacebookIDNEQ applies the NEQ predicate on the "facebookID" field.
func FacebookIDNotIn ¶
FacebookIDNotIn applies the NotIn predicate on the "facebookID" field.
func FacebookIDNotNil ¶
FacebookIDNotNil applies the NotNil predicate on the "facebookID" field.
func FirstContact ¶
FirstContact applies equality check predicate on the "first_contact" field. It's identical to FirstContactEQ.
func FirstContactEQ ¶
FirstContactEQ applies the EQ predicate on the "first_contact" field.
func FirstContactGT ¶
FirstContactGT applies the GT predicate on the "first_contact" field.
func FirstContactGTE ¶
FirstContactGTE applies the GTE predicate on the "first_contact" field.
func FirstContactIn ¶
FirstContactIn applies the In predicate on the "first_contact" field.
func FirstContactLT ¶
FirstContactLT applies the LT predicate on the "first_contact" field.
func FirstContactLTE ¶
FirstContactLTE applies the LTE predicate on the "first_contact" field.
func FirstContactNEQ ¶
FirstContactNEQ applies the NEQ predicate on the "first_contact" field.
func FirstContactNotIn ¶
FirstContactNotIn applies the NotIn predicate on the "first_contact" field.
func HasHistory ¶
HasHistory applies the HasEdge predicate on the "history" edge.
func HasHistoryWith ¶
HasHistoryWith applies the HasEdge predicate on the "history" edge with a given conditions (other predicates).
func HasSchedule ¶
HasSchedule applies the HasEdge predicate on the "schedule" edge.
func HasScheduleWith ¶
HasScheduleWith applies the HasEdge predicate on the "schedule" 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 Password ¶
Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.
func PasswordContains ¶
PasswordContains applies the Contains predicate on the "password" field.
func PasswordContainsFold ¶
PasswordContainsFold applies the ContainsFold predicate on the "password" field.
func PasswordEQ ¶
PasswordEQ applies the EQ predicate on the "password" field.
func PasswordEqualFold ¶
PasswordEqualFold applies the EqualFold predicate on the "password" field.
func PasswordGT ¶
PasswordGT applies the GT predicate on the "password" field.
func PasswordGTE ¶
PasswordGTE applies the GTE predicate on the "password" field.
func PasswordHasPrefix ¶
PasswordHasPrefix applies the HasPrefix predicate on the "password" field.
func PasswordHasSuffix ¶
PasswordHasSuffix applies the HasSuffix predicate on the "password" field.
func PasswordIn ¶
PasswordIn applies the In predicate on the "password" field.
func PasswordIsNil ¶
PasswordIsNil applies the IsNil predicate on the "password" field.
func PasswordLT ¶
PasswordLT applies the LT predicate on the "password" field.
func PasswordLTE ¶
PasswordLTE applies the LTE predicate on the "password" field.
func PasswordNEQ ¶
PasswordNEQ applies the NEQ predicate on the "password" field.
func PasswordNotIn ¶
PasswordNotIn applies the NotIn predicate on the "password" field.
func PasswordNotNil ¶
PasswordNotNil applies the NotNil predicate on the "password" field.
func Phone ¶
Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
func PhoneContains ¶
PhoneContains applies the Contains predicate on the "phone" field.
func PhoneContainsFold ¶
PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
func PhoneEqualFold ¶
PhoneEqualFold applies the EqualFold predicate on the "phone" field.
func PhoneHasPrefix ¶
PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
func PhoneHasSuffix ¶
PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
func PhoneNotIn ¶
PhoneNotIn applies the NotIn predicate on the "phone" field.
func WatsonID ¶
WatsonID applies equality check predicate on the "watsonID" field. It's identical to WatsonIDEQ.
func WatsonIDContains ¶
WatsonIDContains applies the Contains predicate on the "watsonID" field.
func WatsonIDContainsFold ¶
WatsonIDContainsFold applies the ContainsFold predicate on the "watsonID" field.
func WatsonIDEQ ¶
WatsonIDEQ applies the EQ predicate on the "watsonID" field.
func WatsonIDEqualFold ¶
WatsonIDEqualFold applies the EqualFold predicate on the "watsonID" field.
func WatsonIDGT ¶
WatsonIDGT applies the GT predicate on the "watsonID" field.
func WatsonIDGTE ¶
WatsonIDGTE applies the GTE predicate on the "watsonID" field.
func WatsonIDHasPrefix ¶
WatsonIDHasPrefix applies the HasPrefix predicate on the "watsonID" field.
func WatsonIDHasSuffix ¶
WatsonIDHasSuffix applies the HasSuffix predicate on the "watsonID" field.
func WatsonIDIn ¶
WatsonIDIn applies the In predicate on the "watsonID" field.
func WatsonIDIsNil ¶
WatsonIDIsNil applies the IsNil predicate on the "watsonID" field.
func WatsonIDLT ¶
WatsonIDLT applies the LT predicate on the "watsonID" field.
func WatsonIDLTE ¶
WatsonIDLTE applies the LTE predicate on the "watsonID" field.
func WatsonIDNEQ ¶
WatsonIDNEQ applies the NEQ predicate on the "watsonID" field.
func WatsonIDNotIn ¶
WatsonIDNotIn applies the NotIn predicate on the "watsonID" field.
func WatsonIDNotNil ¶
WatsonIDNotNil applies the NotNil predicate on the "watsonID" field.
Types ¶
This section is empty.