schedule

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

Documentation

Index

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 And

func And(predicates ...predicate.Schedule) predicate.Schedule

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

func HasPatient

func HasPatient() predicate.Schedule

HasPatient applies the HasEdge predicate on the "patient" edge.

func HasPatientWith

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

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

func HasTasks

func HasTasks() predicate.Schedule

HasTasks applies the HasEdge predicate on the "tasks" edge.

func HasTasksWith

func HasTasksWith(preds ...predicate.Task) predicate.Schedule

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

func ID

func ID(id uuid.UUID) predicate.Schedule

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Schedule

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Schedule

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Schedule

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Schedule

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Schedule

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Schedule

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Schedule) predicate.Schedule

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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