Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MedicalNote) predicate.MedicalNote
- func At(v time.Time) predicate.MedicalNote
- func AtEQ(v time.Time) predicate.MedicalNote
- func AtGT(v time.Time) predicate.MedicalNote
- func AtGTE(v time.Time) predicate.MedicalNote
- func AtIn(vs ...time.Time) predicate.MedicalNote
- func AtLT(v time.Time) predicate.MedicalNote
- func AtLTE(v time.Time) predicate.MedicalNote
- func AtNEQ(v time.Time) predicate.MedicalNote
- func AtNotIn(vs ...time.Time) predicate.MedicalNote
- func HasHistory() predicate.MedicalNote
- func HasHistoryWith(preds ...predicate.History) predicate.MedicalNote
- func HasOwner() predicate.MedicalNote
- func HasOwnerWith(preds ...predicate.Doctor) predicate.MedicalNote
- func ID(id uuid.UUID) predicate.MedicalNote
- func IDEQ(id uuid.UUID) predicate.MedicalNote
- func IDGT(id uuid.UUID) predicate.MedicalNote
- func IDGTE(id uuid.UUID) predicate.MedicalNote
- func IDIn(ids ...uuid.UUID) predicate.MedicalNote
- func IDLT(id uuid.UUID) predicate.MedicalNote
- func IDLTE(id uuid.UUID) predicate.MedicalNote
- func IDNEQ(id uuid.UUID) predicate.MedicalNote
- func IDNotIn(ids ...uuid.UUID) predicate.MedicalNote
- func LastChange(v time.Time) predicate.MedicalNote
- func LastChangeEQ(v time.Time) predicate.MedicalNote
- func LastChangeGT(v time.Time) predicate.MedicalNote
- func LastChangeGTE(v time.Time) predicate.MedicalNote
- func LastChangeIn(vs ...time.Time) predicate.MedicalNote
- func LastChangeLT(v time.Time) predicate.MedicalNote
- func LastChangeLTE(v time.Time) predicate.MedicalNote
- func LastChangeNEQ(v time.Time) predicate.MedicalNote
- func LastChangeNotIn(vs ...time.Time) predicate.MedicalNote
- func MetaIsNil() predicate.MedicalNote
- func MetaNotNil() predicate.MedicalNote
- func Not(p predicate.MedicalNote) predicate.MedicalNote
- func Or(predicates ...predicate.MedicalNote) predicate.MedicalNote
Constants ¶
const ( // Label holds the string label denoting the medicalnote type in the database. Label = "medical_note" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldAt holds the string denoting the at vertex property in the database. FieldAt = "at" // FieldLastChange holds the string denoting the lastchange vertex property in the database. FieldLastChange = "last_change" // FieldObservations holds the string denoting the observations vertex property in the database. FieldObservations = "observations" // FieldMeta holds the string denoting the meta vertex property in the database. FieldMeta = "meta" // Table holds the table name of the medicalnote in the database. Table = "medical_notes" // HistoryTable is the table the holds the history relation/edge. HistoryTable = "medical_notes" // 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_notes" // OwnerTable is the table the holds the owner relation/edge. OwnerTable = "medical_notes" // OwnerInverseTable is the table name for the Doctor entity. // It exists in this package in order to avoid circular dependency with the "doctor" package. OwnerInverseTable = "doctors" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "doctor_notes" )
Variables ¶
var ( // DefaultAt holds the default value on creation for the at field. DefaultAt = descAt.Default.(func() time.Time) // DefaultLastChange holds the default value on creation for the lastChange field. DefaultLastChange = descLastChange.Default.(func() time.Time) )
var Columns = []string{ FieldID, FieldAt, FieldLastChange, FieldObservations, FieldMeta, }
Columns holds all SQL columns for medicalnote fields.
var ForeignKeys = []string{
"doctor_notes",
"history_notes",
}
ForeignKeys holds the SQL foreign-keys that are owned by the MedicalNote type.
Functions ¶
func And ¶
func And(predicates ...predicate.MedicalNote) predicate.MedicalNote
And groups list of predicates with the AND operator between them.
func At ¶
func At(v time.Time) predicate.MedicalNote
At applies equality check predicate on the "at" field. It's identical to AtEQ.
func AtEQ ¶
func AtEQ(v time.Time) predicate.MedicalNote
AtEQ applies the EQ predicate on the "at" field.
func AtGT ¶
func AtGT(v time.Time) predicate.MedicalNote
AtGT applies the GT predicate on the "at" field.
func AtGTE ¶
func AtGTE(v time.Time) predicate.MedicalNote
AtGTE applies the GTE predicate on the "at" field.
func AtIn ¶
func AtIn(vs ...time.Time) predicate.MedicalNote
AtIn applies the In predicate on the "at" field.
func AtLT ¶
func AtLT(v time.Time) predicate.MedicalNote
AtLT applies the LT predicate on the "at" field.
func AtLTE ¶
func AtLTE(v time.Time) predicate.MedicalNote
AtLTE applies the LTE predicate on the "at" field.
func AtNEQ ¶
func AtNEQ(v time.Time) predicate.MedicalNote
AtNEQ applies the NEQ predicate on the "at" field.
func AtNotIn ¶
func AtNotIn(vs ...time.Time) predicate.MedicalNote
AtNotIn applies the NotIn predicate on the "at" field.
func HasHistory ¶
func HasHistory() predicate.MedicalNote
HasHistory applies the HasEdge predicate on the "history" edge.
func HasHistoryWith ¶
func HasHistoryWith(preds ...predicate.History) predicate.MedicalNote
HasHistoryWith applies the HasEdge predicate on the "history" edge with a given conditions (other predicates).
func HasOwner ¶
func HasOwner() predicate.MedicalNote
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Doctor) predicate.MedicalNote
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.MedicalNote
ID filters vertices based on their identifier.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.MedicalNote
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.MedicalNote
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.MedicalNote
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.MedicalNote
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.MedicalNote
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.MedicalNote
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.MedicalNote
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.MedicalNote
IDNotIn applies the NotIn predicate on the ID field.
func LastChange ¶
func LastChange(v time.Time) predicate.MedicalNote
LastChange applies equality check predicate on the "lastChange" field. It's identical to LastChangeEQ.
func LastChangeEQ ¶
func LastChangeEQ(v time.Time) predicate.MedicalNote
LastChangeEQ applies the EQ predicate on the "lastChange" field.
func LastChangeGT ¶
func LastChangeGT(v time.Time) predicate.MedicalNote
LastChangeGT applies the GT predicate on the "lastChange" field.
func LastChangeGTE ¶
func LastChangeGTE(v time.Time) predicate.MedicalNote
LastChangeGTE applies the GTE predicate on the "lastChange" field.
func LastChangeIn ¶
func LastChangeIn(vs ...time.Time) predicate.MedicalNote
LastChangeIn applies the In predicate on the "lastChange" field.
func LastChangeLT ¶
func LastChangeLT(v time.Time) predicate.MedicalNote
LastChangeLT applies the LT predicate on the "lastChange" field.
func LastChangeLTE ¶
func LastChangeLTE(v time.Time) predicate.MedicalNote
LastChangeLTE applies the LTE predicate on the "lastChange" field.
func LastChangeNEQ ¶
func LastChangeNEQ(v time.Time) predicate.MedicalNote
LastChangeNEQ applies the NEQ predicate on the "lastChange" field.
func LastChangeNotIn ¶
func LastChangeNotIn(vs ...time.Time) predicate.MedicalNote
LastChangeNotIn applies the NotIn predicate on the "lastChange" field.
func MetaIsNil ¶
func MetaIsNil() predicate.MedicalNote
MetaIsNil applies the IsNil predicate on the "meta" field.
func MetaNotNil ¶
func MetaNotNil() predicate.MedicalNote
MetaNotNil applies the NotNil predicate on the "meta" field.
func Not ¶
func Not(p predicate.MedicalNote) predicate.MedicalNote
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MedicalNote) predicate.MedicalNote
Or groups list of predicates with the OR operator between them.
Types ¶
This section is empty.