Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Project) predicate.Project
- func CreateTime(v time.Time) predicate.Project
- func CreateTimeEQ(v time.Time) predicate.Project
- func CreateTimeGT(v time.Time) predicate.Project
- func CreateTimeGTE(v time.Time) predicate.Project
- func CreateTimeIn(vs ...time.Time) predicate.Project
- func CreateTimeLT(v time.Time) predicate.Project
- func CreateTimeLTE(v time.Time) predicate.Project
- func CreateTimeNEQ(v time.Time) predicate.Project
- func CreateTimeNotIn(vs ...time.Time) predicate.Project
- func DueDate(v time.Time) predicate.Project
- func DueDateEQ(v time.Time) predicate.Project
- func DueDateGT(v time.Time) predicate.Project
- func DueDateGTE(v time.Time) predicate.Project
- func DueDateIn(vs ...time.Time) predicate.Project
- func DueDateLT(v time.Time) predicate.Project
- func DueDateLTE(v time.Time) predicate.Project
- func DueDateNEQ(v time.Time) predicate.Project
- func DueDateNotIn(vs ...time.Time) predicate.Project
- func HasUser() predicate.Project
- func HasUserWith(preds ...predicate.User) predicate.Project
- func ID(id int) predicate.Project
- func IDEQ(id int) predicate.Project
- func IDGT(id int) predicate.Project
- func IDGTE(id int) predicate.Project
- func IDIn(ids ...int) predicate.Project
- func IDLT(id int) predicate.Project
- func IDLTE(id int) predicate.Project
- func IDNEQ(id int) predicate.Project
- func IDNotIn(ids ...int) predicate.Project
- func Not(p predicate.Project) predicate.Project
- func Or(predicates ...predicate.Project) predicate.Project
- func Title(v string) predicate.Project
- func TitleContains(v string) predicate.Project
- func TitleContainsFold(v string) predicate.Project
- func TitleEQ(v string) predicate.Project
- func TitleEqualFold(v string) predicate.Project
- func TitleGT(v string) predicate.Project
- func TitleGTE(v string) predicate.Project
- func TitleHasPrefix(v string) predicate.Project
- func TitleHasSuffix(v string) predicate.Project
- func TitleIn(vs ...string) predicate.Project
- func TitleLT(v string) predicate.Project
- func TitleLTE(v string) predicate.Project
- func TitleNEQ(v string) predicate.Project
- func TitleNotIn(vs ...string) predicate.Project
- func UpdateTime(v time.Time) predicate.Project
- func UpdateTimeEQ(v time.Time) predicate.Project
- func UpdateTimeGT(v time.Time) predicate.Project
- func UpdateTimeGTE(v time.Time) predicate.Project
- func UpdateTimeIn(vs ...time.Time) predicate.Project
- func UpdateTimeLT(v time.Time) predicate.Project
- func UpdateTimeLTE(v time.Time) predicate.Project
- func UpdateTimeNEQ(v time.Time) predicate.Project
- func UpdateTimeNotIn(vs ...time.Time) predicate.Project
Constants ¶
const ( // Label holds the string label denoting the project type in the database. Label = "project" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldDueDate holds the string denoting the due_date field in the database. FieldDueDate = "due_date" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // Table holds the table name of the project in the database. Table = "projects" // UserTable is the table the holds the user relation/edge. UserTable = "projects" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // UserColumn is the table column denoting the user relation/edge. UserColumn = "user_projects" )
Variables ¶
var ( // DefaultCreateTime holds the default value on creation for the create_time field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the update_time field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the update_time field. UpdateDefaultUpdateTime func() time.Time )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldTitle, FieldDueDate, }
Columns holds all SQL columns for project fields.
var ForeignKeys = []string{
"user_projects",
}
ForeignKeys holds the SQL foreign-keys that are owned by the Project type.
Functions ¶
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func DueDate ¶
DueDate applies equality check predicate on the "due_date" field. It's identical to DueDateEQ.
func DueDateGTE ¶
DueDateGTE applies the GTE predicate on the "due_date" field.
func DueDateLTE ¶
DueDateLTE applies the LTE predicate on the "due_date" field.
func DueDateNEQ ¶
DueDateNEQ applies the NEQ predicate on the "due_date" field.
func DueDateNotIn ¶
DueDateNotIn applies the NotIn predicate on the "due_date" field.
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
Types ¶
This section is empty.