Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.TaskResponse) predicate.TaskResponse
- func At(v time.Time) predicate.TaskResponse
- func AtEQ(v time.Time) predicate.TaskResponse
- func AtGT(v time.Time) predicate.TaskResponse
- func AtGTE(v time.Time) predicate.TaskResponse
- func AtIn(vs ...time.Time) predicate.TaskResponse
- func AtLT(v time.Time) predicate.TaskResponse
- func AtLTE(v time.Time) predicate.TaskResponse
- func AtNEQ(v time.Time) predicate.TaskResponse
- func AtNotIn(vs ...time.Time) predicate.TaskResponse
- func HasAuthor() predicate.TaskResponse
- func HasAuthorWith(preds ...predicate.Doctor) predicate.TaskResponse
- func HasTask() predicate.TaskResponse
- func HasTaskWith(preds ...predicate.Task) predicate.TaskResponse
- func ID(id uuid.UUID) predicate.TaskResponse
- func IDEQ(id uuid.UUID) predicate.TaskResponse
- func IDGT(id uuid.UUID) predicate.TaskResponse
- func IDGTE(id uuid.UUID) predicate.TaskResponse
- func IDIn(ids ...uuid.UUID) predicate.TaskResponse
- func IDLT(id uuid.UUID) predicate.TaskResponse
- func IDLTE(id uuid.UUID) predicate.TaskResponse
- func IDNEQ(id uuid.UUID) predicate.TaskResponse
- func IDNotIn(ids ...uuid.UUID) predicate.TaskResponse
- func LastChange(v time.Time) predicate.TaskResponse
- func LastChangeEQ(v time.Time) predicate.TaskResponse
- func LastChangeGT(v time.Time) predicate.TaskResponse
- func LastChangeGTE(v time.Time) predicate.TaskResponse
- func LastChangeIn(vs ...time.Time) predicate.TaskResponse
- func LastChangeLT(v time.Time) predicate.TaskResponse
- func LastChangeLTE(v time.Time) predicate.TaskResponse
- func LastChangeNEQ(v time.Time) predicate.TaskResponse
- func LastChangeNotIn(vs ...time.Time) predicate.TaskResponse
- func MetaIsNil() predicate.TaskResponse
- func MetaNotNil() predicate.TaskResponse
- func Not(p predicate.TaskResponse) predicate.TaskResponse
- func Or(predicates ...predicate.TaskResponse) predicate.TaskResponse
Constants ¶
const ( // Label holds the string label denoting the taskresponse type in the database. Label = "task_response" // 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 taskresponse in the database. Table = "task_responses" // AuthorTable is the table the holds the author relation/edge. AuthorTable = "task_responses" // AuthorInverseTable is the table name for the Doctor entity. // It exists in this package in order to avoid circular dependency with the "doctor" package. AuthorInverseTable = "doctors" // AuthorColumn is the table column denoting the author relation/edge. AuthorColumn = "doctor_responses" // TaskTable is the table the holds the task relation/edge. TaskTable = "task_responses" // TaskInverseTable is the table name for the Task entity. // It exists in this package in order to avoid circular dependency with the "task" package. TaskInverseTable = "tasks" // TaskColumn is the table column denoting the task relation/edge. TaskColumn = "task_responses" )
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 taskresponse fields.
var ForeignKeys = []string{
"doctor_responses",
"task_responses",
}
ForeignKeys holds the SQL foreign-keys that are owned by the TaskResponse type.
Functions ¶
func And ¶
func And(predicates ...predicate.TaskResponse) predicate.TaskResponse
And groups list of predicates with the AND operator between them.
func At ¶
func At(v time.Time) predicate.TaskResponse
At applies equality check predicate on the "at" field. It's identical to AtEQ.
func AtEQ ¶
func AtEQ(v time.Time) predicate.TaskResponse
AtEQ applies the EQ predicate on the "at" field.
func AtGT ¶
func AtGT(v time.Time) predicate.TaskResponse
AtGT applies the GT predicate on the "at" field.
func AtGTE ¶
func AtGTE(v time.Time) predicate.TaskResponse
AtGTE applies the GTE predicate on the "at" field.
func AtIn ¶
func AtIn(vs ...time.Time) predicate.TaskResponse
AtIn applies the In predicate on the "at" field.
func AtLT ¶
func AtLT(v time.Time) predicate.TaskResponse
AtLT applies the LT predicate on the "at" field.
func AtLTE ¶
func AtLTE(v time.Time) predicate.TaskResponse
AtLTE applies the LTE predicate on the "at" field.
func AtNEQ ¶
func AtNEQ(v time.Time) predicate.TaskResponse
AtNEQ applies the NEQ predicate on the "at" field.
func AtNotIn ¶
func AtNotIn(vs ...time.Time) predicate.TaskResponse
AtNotIn applies the NotIn predicate on the "at" field.
func HasAuthor ¶
func HasAuthor() predicate.TaskResponse
HasAuthor applies the HasEdge predicate on the "author" edge.
func HasAuthorWith ¶
func HasAuthorWith(preds ...predicate.Doctor) predicate.TaskResponse
HasAuthorWith applies the HasEdge predicate on the "author" edge with a given conditions (other predicates).
func HasTask ¶
func HasTask() predicate.TaskResponse
HasTask applies the HasEdge predicate on the "task" edge.
func HasTaskWith ¶
func HasTaskWith(preds ...predicate.Task) predicate.TaskResponse
HasTaskWith applies the HasEdge predicate on the "task" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.TaskResponse
ID filters vertices based on their identifier.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.TaskResponse
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.TaskResponse
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.TaskResponse
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.TaskResponse
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.TaskResponse
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.TaskResponse
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.TaskResponse
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.TaskResponse
IDNotIn applies the NotIn predicate on the ID field.
func LastChange ¶
func LastChange(v time.Time) predicate.TaskResponse
LastChange applies equality check predicate on the "lastChange" field. It's identical to LastChangeEQ.
func LastChangeEQ ¶
func LastChangeEQ(v time.Time) predicate.TaskResponse
LastChangeEQ applies the EQ predicate on the "lastChange" field.
func LastChangeGT ¶
func LastChangeGT(v time.Time) predicate.TaskResponse
LastChangeGT applies the GT predicate on the "lastChange" field.
func LastChangeGTE ¶
func LastChangeGTE(v time.Time) predicate.TaskResponse
LastChangeGTE applies the GTE predicate on the "lastChange" field.
func LastChangeIn ¶
func LastChangeIn(vs ...time.Time) predicate.TaskResponse
LastChangeIn applies the In predicate on the "lastChange" field.
func LastChangeLT ¶
func LastChangeLT(v time.Time) predicate.TaskResponse
LastChangeLT applies the LT predicate on the "lastChange" field.
func LastChangeLTE ¶
func LastChangeLTE(v time.Time) predicate.TaskResponse
LastChangeLTE applies the LTE predicate on the "lastChange" field.
func LastChangeNEQ ¶
func LastChangeNEQ(v time.Time) predicate.TaskResponse
LastChangeNEQ applies the NEQ predicate on the "lastChange" field.
func LastChangeNotIn ¶
func LastChangeNotIn(vs ...time.Time) predicate.TaskResponse
LastChangeNotIn applies the NotIn predicate on the "lastChange" field.
func MetaIsNil ¶
func MetaIsNil() predicate.TaskResponse
MetaIsNil applies the IsNil predicate on the "meta" field.
func MetaNotNil ¶
func MetaNotNil() predicate.TaskResponse
MetaNotNil applies the NotNil predicate on the "meta" field.
func Not ¶
func Not(p predicate.TaskResponse) predicate.TaskResponse
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.TaskResponse) predicate.TaskResponse
Or groups list of predicates with the OR operator between them.
Types ¶
This section is empty.