Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Schedule) predicate.Schedule
- func HasPatient() predicate.Schedule
- func HasPatientWith(preds ...predicate.Patient) predicate.Schedule
- func HasTasks() predicate.Schedule
- func HasTasksWith(preds ...predicate.Task) predicate.Schedule
- func ID(id uuid.UUID) predicate.Schedule
- func IDEQ(id uuid.UUID) predicate.Schedule
- func IDGT(id uuid.UUID) predicate.Schedule
- func IDGTE(id uuid.UUID) predicate.Schedule
- func IDIn(ids ...uuid.UUID) predicate.Schedule
- func IDLT(id uuid.UUID) predicate.Schedule
- func IDLTE(id uuid.UUID) predicate.Schedule
- func IDNEQ(id uuid.UUID) predicate.Schedule
- func IDNotIn(ids ...uuid.UUID) predicate.Schedule
- func Not(p predicate.Schedule) predicate.Schedule
- func Or(predicates ...predicate.Schedule) predicate.Schedule
Constants ¶
View Source
const ( // Label holds the string label denoting the schedule type in the database. Label = "schedule" // FieldID holds the string denoting the id field in the database. FieldID = "id" // Table holds the table name of the schedule in the database. Table = "schedules" // TasksTable is the table the holds the tasks relation/edge. TasksTable = "tasks" // TasksInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TasksInverseTable = "tasks" // TasksColumn is the table column denoting the tasks relation/edge. TasksColumn = "schedule_tasks" // PatientTable is the table the holds the patient relation/edge. PatientTable = "schedules" // PatientInverseTable is the table name for the Patient entity. // It exists in this package in order to avoid circular dependency with the "patient" package. PatientInverseTable = "patients" // PatientColumn is the table column denoting the patient relation/edge. PatientColumn = "patient_schedule" )
Variables ¶
View Source
var Columns = []string{ FieldID, }
Columns holds all SQL columns for schedule fields.
View Source
var ForeignKeys = []string{
"patient_schedule",
}
ForeignKeys holds the SQL foreign-keys that are owned by the Schedule type.
Functions ¶
func HasPatient ¶
HasPatient applies the HasEdge predicate on the "patient" edge.
func HasPatientWith ¶
HasPatientWith applies the HasEdge predicate on the "patient" edge with a given conditions (other predicates).
func HasTasksWith ¶
HasTasksWith applies the HasEdge predicate on the "tasks" edge with a given conditions (other predicates).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.