Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ToDo) predicate.ToDo
- func CratedAt(v time.Time) predicate.ToDo
- func CratedAtEQ(v time.Time) predicate.ToDo
- func CratedAtGT(v time.Time) predicate.ToDo
- func CratedAtGTE(v time.Time) predicate.ToDo
- func CratedAtIn(vs ...time.Time) predicate.ToDo
- func CratedAtLT(v time.Time) predicate.ToDo
- func CratedAtLTE(v time.Time) predicate.ToDo
- func CratedAtNEQ(v time.Time) predicate.ToDo
- func CratedAtNotIn(vs ...time.Time) predicate.ToDo
- func ID(id int) predicate.ToDo
- func IDEQ(id int) predicate.ToDo
- func IDGT(id int) predicate.ToDo
- func IDGTE(id int) predicate.ToDo
- func IDIn(ids ...int) predicate.ToDo
- func IDLT(id int) predicate.ToDo
- func IDLTE(id int) predicate.ToDo
- func IDNEQ(id int) predicate.ToDo
- func IDNotIn(ids ...int) predicate.ToDo
- func Not(p predicate.ToDo) predicate.ToDo
- func Or(predicates ...predicate.ToDo) predicate.ToDo
- func TodoContext(v string) predicate.ToDo
- func TodoContextContains(v string) predicate.ToDo
- func TodoContextContainsFold(v string) predicate.ToDo
- func TodoContextEQ(v string) predicate.ToDo
- func TodoContextEqualFold(v string) predicate.ToDo
- func TodoContextGT(v string) predicate.ToDo
- func TodoContextGTE(v string) predicate.ToDo
- func TodoContextHasPrefix(v string) predicate.ToDo
- func TodoContextHasSuffix(v string) predicate.ToDo
- func TodoContextIn(vs ...string) predicate.ToDo
- func TodoContextLT(v string) predicate.ToDo
- func TodoContextLTE(v string) predicate.ToDo
- func TodoContextNEQ(v string) predicate.ToDo
- func TodoContextNotIn(vs ...string) predicate.ToDo
- func TodoTitle(v string) predicate.ToDo
- func TodoTitleContains(v string) predicate.ToDo
- func TodoTitleContainsFold(v string) predicate.ToDo
- func TodoTitleEQ(v string) predicate.ToDo
- func TodoTitleEqualFold(v string) predicate.ToDo
- func TodoTitleGT(v string) predicate.ToDo
- func TodoTitleGTE(v string) predicate.ToDo
- func TodoTitleHasPrefix(v string) predicate.ToDo
- func TodoTitleHasSuffix(v string) predicate.ToDo
- func TodoTitleIn(vs ...string) predicate.ToDo
- func TodoTitleLT(v string) predicate.ToDo
- func TodoTitleLTE(v string) predicate.ToDo
- func TodoTitleNEQ(v string) predicate.ToDo
- func TodoTitleNotIn(vs ...string) predicate.ToDo
- func TodoUUID(v uuid.UUID) predicate.ToDo
- func TodoUUIDEQ(v uuid.UUID) predicate.ToDo
- func TodoUUIDGT(v uuid.UUID) predicate.ToDo
- func TodoUUIDGTE(v uuid.UUID) predicate.ToDo
- func TodoUUIDIn(vs ...uuid.UUID) predicate.ToDo
- func TodoUUIDLT(v uuid.UUID) predicate.ToDo
- func TodoUUIDLTE(v uuid.UUID) predicate.ToDo
- func TodoUUIDNEQ(v uuid.UUID) predicate.ToDo
- func TodoUUIDNotIn(vs ...uuid.UUID) predicate.ToDo
- func UpdatedAt(v time.Time) predicate.ToDo
- func UpdatedAtEQ(v time.Time) predicate.ToDo
- func UpdatedAtGT(v time.Time) predicate.ToDo
- func UpdatedAtGTE(v time.Time) predicate.ToDo
- func UpdatedAtIn(vs ...time.Time) predicate.ToDo
- func UpdatedAtLT(v time.Time) predicate.ToDo
- func UpdatedAtLTE(v time.Time) predicate.ToDo
- func UpdatedAtNEQ(v time.Time) predicate.ToDo
- func UpdatedAtNotIn(vs ...time.Time) predicate.ToDo
- func UserUUID(v uuid.UUID) predicate.ToDo
- func UserUUIDEQ(v uuid.UUID) predicate.ToDo
- func UserUUIDGT(v uuid.UUID) predicate.ToDo
- func UserUUIDGTE(v uuid.UUID) predicate.ToDo
- func UserUUIDIn(vs ...uuid.UUID) predicate.ToDo
- func UserUUIDLT(v uuid.UUID) predicate.ToDo
- func UserUUIDLTE(v uuid.UUID) predicate.ToDo
- func UserUUIDNEQ(v uuid.UUID) predicate.ToDo
- func UserUUIDNotIn(vs ...uuid.UUID) predicate.ToDo
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the todo type in the database. Label = "to_do" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTodoUUID holds the string denoting the todo_uuid field in the database. FieldTodoUUID = "todo_uuid" // FieldUserUUID holds the string denoting the user_uuid field in the database. FieldUserUUID = "user_uuid" // FieldTodoTitle holds the string denoting the todo_title field in the database. FieldTodoTitle = "todo_title" // FieldTodoContext holds the string denoting the todo_context field in the database. FieldTodoContext = "todo_context" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCratedAt holds the string denoting the crated_at field in the database. FieldCratedAt = "crated_at" // Table holds the table name of the todo in the database. Table = "to_dos" )
Variables ¶
var ( // DefaultTodoUUID holds the default value on creation for the "todo_uuid" field. DefaultTodoUUID func() uuid.UUID // DefaultUserUUID holds the default value on creation for the "user_uuid" field. DefaultUserUUID func() uuid.UUID // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultCratedAt holds the default value on creation for the "crated_at" field. DefaultCratedAt func() time.Time // UpdateDefaultCratedAt holds the default value on update for the "crated_at" field. UpdateDefaultCratedAt func() time.Time )
var Columns = []string{ FieldID, FieldTodoUUID, FieldUserUUID, FieldTodoTitle, FieldTodoContext, FieldUpdatedAt, FieldCratedAt, }
Columns holds all SQL columns for todo fields.
Functions ¶
func CratedAt ¶
CratedAt applies equality check predicate on the "crated_at" field. It's identical to CratedAtEQ.
func CratedAtEQ ¶
CratedAtEQ applies the EQ predicate on the "crated_at" field.
func CratedAtGT ¶
CratedAtGT applies the GT predicate on the "crated_at" field.
func CratedAtGTE ¶
CratedAtGTE applies the GTE predicate on the "crated_at" field.
func CratedAtIn ¶
CratedAtIn applies the In predicate on the "crated_at" field.
func CratedAtLT ¶
CratedAtLT applies the LT predicate on the "crated_at" field.
func CratedAtLTE ¶
CratedAtLTE applies the LTE predicate on the "crated_at" field.
func CratedAtNEQ ¶
CratedAtNEQ applies the NEQ predicate on the "crated_at" field.
func CratedAtNotIn ¶
CratedAtNotIn applies the NotIn predicate on the "crated_at" field.
func TodoContext ¶
TodoContext applies equality check predicate on the "todo_context" field. It's identical to TodoContextEQ.
func TodoContextContains ¶
TodoContextContains applies the Contains predicate on the "todo_context" field.
func TodoContextContainsFold ¶
TodoContextContainsFold applies the ContainsFold predicate on the "todo_context" field.
func TodoContextEQ ¶
TodoContextEQ applies the EQ predicate on the "todo_context" field.
func TodoContextEqualFold ¶
TodoContextEqualFold applies the EqualFold predicate on the "todo_context" field.
func TodoContextGT ¶
TodoContextGT applies the GT predicate on the "todo_context" field.
func TodoContextGTE ¶
TodoContextGTE applies the GTE predicate on the "todo_context" field.
func TodoContextHasPrefix ¶
TodoContextHasPrefix applies the HasPrefix predicate on the "todo_context" field.
func TodoContextHasSuffix ¶
TodoContextHasSuffix applies the HasSuffix predicate on the "todo_context" field.
func TodoContextIn ¶
TodoContextIn applies the In predicate on the "todo_context" field.
func TodoContextLT ¶
TodoContextLT applies the LT predicate on the "todo_context" field.
func TodoContextLTE ¶
TodoContextLTE applies the LTE predicate on the "todo_context" field.
func TodoContextNEQ ¶
TodoContextNEQ applies the NEQ predicate on the "todo_context" field.
func TodoContextNotIn ¶
TodoContextNotIn applies the NotIn predicate on the "todo_context" field.
func TodoTitle ¶
TodoTitle applies equality check predicate on the "todo_title" field. It's identical to TodoTitleEQ.
func TodoTitleContains ¶
TodoTitleContains applies the Contains predicate on the "todo_title" field.
func TodoTitleContainsFold ¶
TodoTitleContainsFold applies the ContainsFold predicate on the "todo_title" field.
func TodoTitleEQ ¶
TodoTitleEQ applies the EQ predicate on the "todo_title" field.
func TodoTitleEqualFold ¶
TodoTitleEqualFold applies the EqualFold predicate on the "todo_title" field.
func TodoTitleGT ¶
TodoTitleGT applies the GT predicate on the "todo_title" field.
func TodoTitleGTE ¶
TodoTitleGTE applies the GTE predicate on the "todo_title" field.
func TodoTitleHasPrefix ¶
TodoTitleHasPrefix applies the HasPrefix predicate on the "todo_title" field.
func TodoTitleHasSuffix ¶
TodoTitleHasSuffix applies the HasSuffix predicate on the "todo_title" field.
func TodoTitleIn ¶
TodoTitleIn applies the In predicate on the "todo_title" field.
func TodoTitleLT ¶
TodoTitleLT applies the LT predicate on the "todo_title" field.
func TodoTitleLTE ¶
TodoTitleLTE applies the LTE predicate on the "todo_title" field.
func TodoTitleNEQ ¶
TodoTitleNEQ applies the NEQ predicate on the "todo_title" field.
func TodoTitleNotIn ¶
TodoTitleNotIn applies the NotIn predicate on the "todo_title" field.
func TodoUUID ¶
TodoUUID applies equality check predicate on the "todo_uuid" field. It's identical to TodoUUIDEQ.
func TodoUUIDEQ ¶
TodoUUIDEQ applies the EQ predicate on the "todo_uuid" field.
func TodoUUIDGT ¶
TodoUUIDGT applies the GT predicate on the "todo_uuid" field.
func TodoUUIDGTE ¶
TodoUUIDGTE applies the GTE predicate on the "todo_uuid" field.
func TodoUUIDIn ¶
TodoUUIDIn applies the In predicate on the "todo_uuid" field.
func TodoUUIDLT ¶
TodoUUIDLT applies the LT predicate on the "todo_uuid" field.
func TodoUUIDLTE ¶
TodoUUIDLTE applies the LTE predicate on the "todo_uuid" field.
func TodoUUIDNEQ ¶
TodoUUIDNEQ applies the NEQ predicate on the "todo_uuid" field.
func TodoUUIDNotIn ¶
TodoUUIDNotIn applies the NotIn predicate on the "todo_uuid" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UserUUID ¶
UserUUID applies equality check predicate on the "user_uuid" field. It's identical to UserUUIDEQ.
func UserUUIDEQ ¶
UserUUIDEQ applies the EQ predicate on the "user_uuid" field.
func UserUUIDGT ¶
UserUUIDGT applies the GT predicate on the "user_uuid" field.
func UserUUIDGTE ¶
UserUUIDGTE applies the GTE predicate on the "user_uuid" field.
func UserUUIDIn ¶
UserUUIDIn applies the In predicate on the "user_uuid" field.
func UserUUIDLT ¶
UserUUIDLT applies the LT predicate on the "user_uuid" field.
func UserUUIDLTE ¶
UserUUIDLTE applies the LTE predicate on the "user_uuid" field.
func UserUUIDNEQ ¶
UserUUIDNEQ applies the NEQ predicate on the "user_uuid" field.
func UserUUIDNotIn ¶
UserUUIDNotIn applies the NotIn predicate on the "user_uuid" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.