Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Test) predicate.Test
- func HasClinical() predicate.Test
- func HasClinicalWith(preds ...predicate.ClinicalResults) predicate.Test
- func HasEpidemiologic() predicate.Test
- func HasEpidemiologicWith(preds ...predicate.EpidemiologicResults) predicate.Test
- func HasHistory() predicate.Test
- func HasHistoryWith(preds ...predicate.History) predicate.Test
- func ID(id uuid.UUID) predicate.Test
- func IDEQ(id uuid.UUID) predicate.Test
- func IDGT(id uuid.UUID) predicate.Test
- func IDGTE(id uuid.UUID) predicate.Test
- func IDIn(ids ...uuid.UUID) predicate.Test
- func IDLT(id uuid.UUID) predicate.Test
- func IDLTE(id uuid.UUID) predicate.Test
- func IDNEQ(id uuid.UUID) predicate.Test
- func IDNotIn(ids ...uuid.UUID) predicate.Test
- func Not(p predicate.Test) predicate.Test
- func NotesIsNil() predicate.Test
- func NotesNotNil() predicate.Test
- func Or(predicates ...predicate.Test) predicate.Test
Constants ¶
const ( // Label holds the string label denoting the test type in the database. Label = "test" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNotes holds the string denoting the notes vertex property in the database. FieldNotes = "notes" // Table holds the table name of the test in the database. Table = "tests" // HistoryTable is the table the holds the history relation/edge. HistoryTable = "tests" // 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 = "history_tests" // ClinicalTable is the table the holds the clinical relation/edge. ClinicalTable = "clinical_results" // ClinicalInverseTable is the table name for the ClinicalResults entity. // It exists in this package in order to avoid circular dependency with the "clinicalresults" package. ClinicalInverseTable = "clinical_results" // ClinicalColumn is the table column denoting the clinical relation/edge. ClinicalColumn = "test_clinical" // EpidemiologicTable is the table the holds the epidemiologic relation/edge. EpidemiologicTable = "epidemiologic_results" // EpidemiologicInverseTable is the table name for the EpidemiologicResults entity. // It exists in this package in order to avoid circular dependency with the "epidemiologicresults" package. EpidemiologicInverseTable = "epidemiologic_results" // EpidemiologicColumn is the table column denoting the epidemiologic relation/edge. EpidemiologicColumn = "test_epidemiologic" )
Variables ¶
var Columns = []string{ FieldID, FieldNotes, }
Columns holds all SQL columns for test fields.
var ForeignKeys = []string{
"history_tests",
}
ForeignKeys holds the SQL foreign-keys that are owned by the Test type.
Functions ¶
func HasClinical ¶
HasClinical applies the HasEdge predicate on the "clinical" edge.
func HasClinicalWith ¶
func HasClinicalWith(preds ...predicate.ClinicalResults) predicate.Test
HasClinicalWith applies the HasEdge predicate on the "clinical" edge with a given conditions (other predicates).
func HasEpidemiologic ¶
HasEpidemiologic applies the HasEdge predicate on the "epidemiologic" edge.
func HasEpidemiologicWith ¶
func HasEpidemiologicWith(preds ...predicate.EpidemiologicResults) predicate.Test
HasEpidemiologicWith applies the HasEdge predicate on the "epidemiologic" edge with a given conditions (other predicates).
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 NotesIsNil ¶
NotesIsNil applies the IsNil predicate on the "notes" field.
func NotesNotNil ¶
NotesNotNil applies the NotNil predicate on the "notes" field.
Types ¶
This section is empty.