taskresponse

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

Documentation

Index

Constants

View Source
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

View Source
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)
)

Columns holds all SQL columns for taskresponse fields.

View Source
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

At applies equality check predicate on the "at" field. It's identical to AtEQ.

func AtEQ

AtEQ applies the EQ predicate on the "at" field.

func AtGT

AtGT applies the GT predicate on the "at" field.

func AtGTE

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

AtLT applies the LT predicate on the "at" field.

func AtLTE

AtLTE applies the LTE predicate on the "at" field.

func AtNEQ

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

ID filters vertices based on their identifier.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

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

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

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.

Jump to

Keyboard shortcuts

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