Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Task) predicate.Task
- func CompletedAt(v time.Time) predicate.Task
- func CompletedAtEQ(v time.Time) predicate.Task
- func CompletedAtGT(v time.Time) predicate.Task
- func CompletedAtGTE(v time.Time) predicate.Task
- func CompletedAtIn(vs ...time.Time) predicate.Task
- func CompletedAtIsNil() predicate.Task
- func CompletedAtLT(v time.Time) predicate.Task
- func CompletedAtLTE(v time.Time) predicate.Task
- func CompletedAtNEQ(v time.Time) predicate.Task
- func CompletedAtNotIn(vs ...time.Time) predicate.Task
- func CompletedAtNotNil() predicate.Task
- func Content(v string) predicate.Task
- func ContentContains(v string) predicate.Task
- func ContentContainsFold(v string) predicate.Task
- func ContentEQ(v string) predicate.Task
- func ContentEqualFold(v string) predicate.Task
- func ContentGT(v string) predicate.Task
- func ContentGTE(v string) predicate.Task
- func ContentHasPrefix(v string) predicate.Task
- func ContentHasSuffix(v string) predicate.Task
- func ContentIn(vs ...string) predicate.Task
- func ContentLT(v string) predicate.Task
- func ContentLTE(v string) predicate.Task
- func ContentNEQ(v string) predicate.Task
- func ContentNotIn(vs ...string) predicate.Task
- func CreatedAt(v time.Time) predicate.Task
- func CreatedAtEQ(v time.Time) predicate.Task
- func CreatedAtGT(v time.Time) predicate.Task
- func CreatedAtGTE(v time.Time) predicate.Task
- func CreatedAtIn(vs ...time.Time) predicate.Task
- func CreatedAtLT(v time.Time) predicate.Task
- func CreatedAtLTE(v time.Time) predicate.Task
- func CreatedAtNEQ(v time.Time) predicate.Task
- func CreatedAtNotIn(vs ...time.Time) predicate.Task
- func DeletedAt(v time.Time) predicate.Task
- func DeletedAtEQ(v time.Time) predicate.Task
- func DeletedAtGT(v time.Time) predicate.Task
- func DeletedAtGTE(v time.Time) predicate.Task
- func DeletedAtIn(vs ...time.Time) predicate.Task
- func DeletedAtIsNil() predicate.Task
- func DeletedAtLT(v time.Time) predicate.Task
- func DeletedAtLTE(v time.Time) predicate.Task
- func DeletedAtNEQ(v time.Time) predicate.Task
- func DeletedAtNotIn(vs ...time.Time) predicate.Task
- func DeletedAtNotNil() predicate.Task
- func HasGitBotTasks() predicate.Task
- func HasGitBotTasksWith(preds ...predicate.GitBotTask) predicate.Task
- func HasProjectTasks() predicate.Task
- func HasProjectTasksWith(preds ...predicate.ProjectTask) predicate.Task
- func HasTaskVms() predicate.Task
- func HasTaskVmsWith(preds ...predicate.TaskVirtualMachine) predicate.Task
- func HasUser() predicate.Task
- func HasUserWith(preds ...predicate.User) predicate.Task
- func HasVms() predicate.Task
- func HasVmsWith(preds ...predicate.VirtualMachine) predicate.Task
- func ID(id uuid.UUID) predicate.Task
- func IDEQ(id uuid.UUID) predicate.Task
- func IDGT(id uuid.UUID) predicate.Task
- func IDGTE(id uuid.UUID) predicate.Task
- func IDIn(ids ...uuid.UUID) predicate.Task
- func IDLT(id uuid.UUID) predicate.Task
- func IDLTE(id uuid.UUID) predicate.Task
- func IDNEQ(id uuid.UUID) predicate.Task
- func IDNotIn(ids ...uuid.UUID) predicate.Task
- func Kind(v consts.TaskType) predicate.Task
- func KindContains(v consts.TaskType) predicate.Task
- func KindContainsFold(v consts.TaskType) predicate.Task
- func KindEQ(v consts.TaskType) predicate.Task
- func KindEqualFold(v consts.TaskType) predicate.Task
- func KindGT(v consts.TaskType) predicate.Task
- func KindGTE(v consts.TaskType) predicate.Task
- func KindHasPrefix(v consts.TaskType) predicate.Task
- func KindHasSuffix(v consts.TaskType) predicate.Task
- func KindIn(vs ...consts.TaskType) predicate.Task
- func KindLT(v consts.TaskType) predicate.Task
- func KindLTE(v consts.TaskType) predicate.Task
- func KindNEQ(v consts.TaskType) predicate.Task
- func KindNotIn(vs ...consts.TaskType) predicate.Task
- func Not(p predicate.Task) predicate.Task
- func Or(predicates ...predicate.Task) predicate.Task
- func Status(v consts.TaskStatus) predicate.Task
- func StatusContains(v consts.TaskStatus) predicate.Task
- func StatusContainsFold(v consts.TaskStatus) predicate.Task
- func StatusEQ(v consts.TaskStatus) predicate.Task
- func StatusEqualFold(v consts.TaskStatus) predicate.Task
- func StatusGT(v consts.TaskStatus) predicate.Task
- func StatusGTE(v consts.TaskStatus) predicate.Task
- func StatusHasPrefix(v consts.TaskStatus) predicate.Task
- func StatusHasSuffix(v consts.TaskStatus) predicate.Task
- func StatusIn(vs ...consts.TaskStatus) predicate.Task
- func StatusLT(v consts.TaskStatus) predicate.Task
- func StatusLTE(v consts.TaskStatus) predicate.Task
- func StatusNEQ(v consts.TaskStatus) predicate.Task
- func StatusNotIn(vs ...consts.TaskStatus) predicate.Task
- func SubType(v consts.TaskSubType) predicate.Task
- func SubTypeContains(v consts.TaskSubType) predicate.Task
- func SubTypeContainsFold(v consts.TaskSubType) predicate.Task
- func SubTypeEQ(v consts.TaskSubType) predicate.Task
- func SubTypeEqualFold(v consts.TaskSubType) predicate.Task
- func SubTypeGT(v consts.TaskSubType) predicate.Task
- func SubTypeGTE(v consts.TaskSubType) predicate.Task
- func SubTypeHasPrefix(v consts.TaskSubType) predicate.Task
- func SubTypeHasSuffix(v consts.TaskSubType) predicate.Task
- func SubTypeIn(vs ...consts.TaskSubType) predicate.Task
- func SubTypeIsNil() predicate.Task
- func SubTypeLT(v consts.TaskSubType) predicate.Task
- func SubTypeLTE(v consts.TaskSubType) predicate.Task
- func SubTypeNEQ(v consts.TaskSubType) predicate.Task
- func SubTypeNotIn(vs ...consts.TaskSubType) predicate.Task
- func SubTypeNotNil() predicate.Task
- func Summary(v string) predicate.Task
- func SummaryContains(v string) predicate.Task
- func SummaryContainsFold(v string) predicate.Task
- func SummaryEQ(v string) predicate.Task
- func SummaryEqualFold(v string) predicate.Task
- func SummaryGT(v string) predicate.Task
- func SummaryGTE(v string) predicate.Task
- func SummaryHasPrefix(v string) predicate.Task
- func SummaryHasSuffix(v string) predicate.Task
- func SummaryIn(vs ...string) predicate.Task
- func SummaryIsNil() predicate.Task
- func SummaryLT(v string) predicate.Task
- func SummaryLTE(v string) predicate.Task
- func SummaryNEQ(v string) predicate.Task
- func SummaryNotIn(vs ...string) predicate.Task
- func SummaryNotNil() predicate.Task
- func UpdatedAt(v time.Time) predicate.Task
- func UpdatedAtEQ(v time.Time) predicate.Task
- func UpdatedAtGT(v time.Time) predicate.Task
- func UpdatedAtGTE(v time.Time) predicate.Task
- func UpdatedAtIn(vs ...time.Time) predicate.Task
- func UpdatedAtLT(v time.Time) predicate.Task
- func UpdatedAtLTE(v time.Time) predicate.Task
- func UpdatedAtNEQ(v time.Time) predicate.Task
- func UpdatedAtNotIn(vs ...time.Time) predicate.Task
- func UserID(v uuid.UUID) predicate.Task
- func UserIDEQ(v uuid.UUID) predicate.Task
- func UserIDIn(vs ...uuid.UUID) predicate.Task
- func UserIDNEQ(v uuid.UUID) predicate.Task
- func UserIDNotIn(vs ...uuid.UUID) predicate.Task
- func ValidColumn(column string) bool
- type OrderOption
- func ByCompletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByContent(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByGitBotTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGitBotTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKind(opts ...sql.OrderTermOption) OrderOption
- func ByProjectTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProjectTasksCount(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySubType(opts ...sql.OrderTermOption) OrderOption
- func BySummary(opts ...sql.OrderTermOption) OrderOption
- func ByTaskVms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTaskVmsCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByVms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByVmsCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the task type in the database. Label = "task" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldKind holds the string denoting the kind field in the database. FieldKind = "kind" // FieldSubType holds the string denoting the sub_type field in the database. FieldSubType = "sub_type" // FieldContent holds the string denoting the content field in the database. FieldContent = "content" // FieldSummary holds the string denoting the summary field in the database. FieldSummary = "summary" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCompletedAt holds the string denoting the completed_at field in the database. FieldCompletedAt = "completed_at" // EdgeProjectTasks holds the string denoting the project_tasks edge name in mutations. EdgeProjectTasks = "project_tasks" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeVms holds the string denoting the vms edge name in mutations. EdgeVms = "vms" // EdgeGitBotTasks holds the string denoting the git_bot_tasks edge name in mutations. EdgeGitBotTasks = "git_bot_tasks" // EdgeTaskVms holds the string denoting the task_vms edge name in mutations. EdgeTaskVms = "task_vms" // Table holds the table name of the task in the database. Table = "tasks" // ProjectTasksTable is the table that holds the project_tasks relation/edge. ProjectTasksTable = "project_tasks" // ProjectTasksInverseTable is the table name for the ProjectTask entity. // It exists in this package in order to avoid circular dependency with the "projecttask" package. ProjectTasksInverseTable = "project_tasks" // ProjectTasksColumn is the table column denoting the project_tasks relation/edge. ProjectTasksColumn = "task_id" // UserTable is the table that holds the user relation/edge. UserTable = "tasks" // 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_id" // VmsTable is the table that holds the vms relation/edge. The primary key declared below. VmsTable = "task_virtualmachines" // VmsInverseTable is the table name for the VirtualMachine entity. // It exists in this package in order to avoid circular dependency with the "virtualmachine" package. VmsInverseTable = "virtualmachines" // GitBotTasksTable is the table that holds the git_bot_tasks relation/edge. GitBotTasksTable = "git_bot_tasks" // GitBotTasksInverseTable is the table name for the GitBotTask entity. // It exists in this package in order to avoid circular dependency with the "gitbottask" package. GitBotTasksInverseTable = "git_bot_tasks" // GitBotTasksColumn is the table column denoting the git_bot_tasks relation/edge. GitBotTasksColumn = "task_id" // TaskVmsTable is the table that holds the task_vms relation/edge. TaskVmsTable = "task_virtualmachines" // TaskVmsInverseTable is the table name for the TaskVirtualMachine entity. // It exists in this package in order to avoid circular dependency with the "taskvirtualmachine" package. TaskVmsInverseTable = "task_virtualmachines" // TaskVmsColumn is the table column denoting the task_vms relation/edge. TaskVmsColumn = "task_id" )
Variables ¶
var ( Hooks [1]ent.Hook Interceptors [1]ent.Interceptor // ContentValidator is a validator for the "content" field. It is called by the builders before save. ContentValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // 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 )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/chaitin/MonkeyCode/backend/db/runtime"
var Columns = []string{ FieldID, FieldDeletedAt, FieldUserID, FieldKind, FieldSubType, FieldContent, FieldSummary, FieldStatus, FieldCreatedAt, FieldUpdatedAt, FieldCompletedAt, }
Columns holds all SQL columns for task fields.
var ( // VmsPrimaryKey and VmsColumn2 are the table columns denoting the // primary key for the vms relation (M2M). VmsPrimaryKey = []string{"virtualmachine_id", "task_id"} )
Functions ¶
func CompletedAt ¶
CompletedAt applies equality check predicate on the "completed_at" field. It's identical to CompletedAtEQ.
func CompletedAtEQ ¶
CompletedAtEQ applies the EQ predicate on the "completed_at" field.
func CompletedAtGT ¶
CompletedAtGT applies the GT predicate on the "completed_at" field.
func CompletedAtGTE ¶
CompletedAtGTE applies the GTE predicate on the "completed_at" field.
func CompletedAtIn ¶
CompletedAtIn applies the In predicate on the "completed_at" field.
func CompletedAtIsNil ¶
CompletedAtIsNil applies the IsNil predicate on the "completed_at" field.
func CompletedAtLT ¶
CompletedAtLT applies the LT predicate on the "completed_at" field.
func CompletedAtLTE ¶
CompletedAtLTE applies the LTE predicate on the "completed_at" field.
func CompletedAtNEQ ¶
CompletedAtNEQ applies the NEQ predicate on the "completed_at" field.
func CompletedAtNotIn ¶
CompletedAtNotIn applies the NotIn predicate on the "completed_at" field.
func CompletedAtNotNil ¶
CompletedAtNotNil applies the NotNil predicate on the "completed_at" field.
func Content ¶
Content applies equality check predicate on the "content" field. It's identical to ContentEQ.
func ContentContains ¶
ContentContains applies the Contains predicate on the "content" field.
func ContentContainsFold ¶
ContentContainsFold applies the ContainsFold predicate on the "content" field.
func ContentEqualFold ¶
ContentEqualFold applies the EqualFold predicate on the "content" field.
func ContentGTE ¶
ContentGTE applies the GTE predicate on the "content" field.
func ContentHasPrefix ¶
ContentHasPrefix applies the HasPrefix predicate on the "content" field.
func ContentHasSuffix ¶
ContentHasSuffix applies the HasSuffix predicate on the "content" field.
func ContentLTE ¶
ContentLTE applies the LTE predicate on the "content" field.
func ContentNEQ ¶
ContentNEQ applies the NEQ predicate on the "content" field.
func ContentNotIn ¶
ContentNotIn applies the NotIn predicate on the "content" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func HasGitBotTasks ¶
HasGitBotTasks applies the HasEdge predicate on the "git_bot_tasks" edge.
func HasGitBotTasksWith ¶
func HasGitBotTasksWith(preds ...predicate.GitBotTask) predicate.Task
HasGitBotTasksWith applies the HasEdge predicate on the "git_bot_tasks" edge with a given conditions (other predicates).
func HasProjectTasks ¶
HasProjectTasks applies the HasEdge predicate on the "project_tasks" edge.
func HasProjectTasksWith ¶
func HasProjectTasksWith(preds ...predicate.ProjectTask) predicate.Task
HasProjectTasksWith applies the HasEdge predicate on the "project_tasks" edge with a given conditions (other predicates).
func HasTaskVms ¶
HasTaskVms applies the HasEdge predicate on the "task_vms" edge.
func HasTaskVmsWith ¶
func HasTaskVmsWith(preds ...predicate.TaskVirtualMachine) predicate.Task
HasTaskVmsWith applies the HasEdge predicate on the "task_vms" edge with a given conditions (other predicates).
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func HasVmsWith ¶
func HasVmsWith(preds ...predicate.VirtualMachine) predicate.Task
HasVmsWith applies the HasEdge predicate on the "vms" edge with a given conditions (other predicates).
func KindContains ¶
KindContains applies the Contains predicate on the "kind" field.
func KindContainsFold ¶
KindContainsFold applies the ContainsFold predicate on the "kind" field.
func KindEqualFold ¶
KindEqualFold applies the EqualFold predicate on the "kind" field.
func KindHasPrefix ¶
KindHasPrefix applies the HasPrefix predicate on the "kind" field.
func KindHasSuffix ¶
KindHasSuffix applies the HasSuffix predicate on the "kind" field.
func Status ¶
func Status(v consts.TaskStatus) predicate.Task
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
func StatusContains(v consts.TaskStatus) predicate.Task
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
func StatusContainsFold(v consts.TaskStatus) predicate.Task
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEQ ¶
func StatusEQ(v consts.TaskStatus) predicate.Task
StatusEQ applies the EQ predicate on the "status" field.
func StatusEqualFold ¶
func StatusEqualFold(v consts.TaskStatus) predicate.Task
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusGT ¶
func StatusGT(v consts.TaskStatus) predicate.Task
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v consts.TaskStatus) predicate.Task
StatusGTE applies the GTE predicate on the "status" field.
func StatusHasPrefix ¶
func StatusHasPrefix(v consts.TaskStatus) predicate.Task
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
func StatusHasSuffix(v consts.TaskStatus) predicate.Task
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...consts.TaskStatus) predicate.Task
StatusIn applies the In predicate on the "status" field.
func StatusLT ¶
func StatusLT(v consts.TaskStatus) predicate.Task
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v consts.TaskStatus) predicate.Task
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v consts.TaskStatus) predicate.Task
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...consts.TaskStatus) predicate.Task
StatusNotIn applies the NotIn predicate on the "status" field.
func SubType ¶
func SubType(v consts.TaskSubType) predicate.Task
SubType applies equality check predicate on the "sub_type" field. It's identical to SubTypeEQ.
func SubTypeContains ¶
func SubTypeContains(v consts.TaskSubType) predicate.Task
SubTypeContains applies the Contains predicate on the "sub_type" field.
func SubTypeContainsFold ¶
func SubTypeContainsFold(v consts.TaskSubType) predicate.Task
SubTypeContainsFold applies the ContainsFold predicate on the "sub_type" field.
func SubTypeEQ ¶
func SubTypeEQ(v consts.TaskSubType) predicate.Task
SubTypeEQ applies the EQ predicate on the "sub_type" field.
func SubTypeEqualFold ¶
func SubTypeEqualFold(v consts.TaskSubType) predicate.Task
SubTypeEqualFold applies the EqualFold predicate on the "sub_type" field.
func SubTypeGT ¶
func SubTypeGT(v consts.TaskSubType) predicate.Task
SubTypeGT applies the GT predicate on the "sub_type" field.
func SubTypeGTE ¶
func SubTypeGTE(v consts.TaskSubType) predicate.Task
SubTypeGTE applies the GTE predicate on the "sub_type" field.
func SubTypeHasPrefix ¶
func SubTypeHasPrefix(v consts.TaskSubType) predicate.Task
SubTypeHasPrefix applies the HasPrefix predicate on the "sub_type" field.
func SubTypeHasSuffix ¶
func SubTypeHasSuffix(v consts.TaskSubType) predicate.Task
SubTypeHasSuffix applies the HasSuffix predicate on the "sub_type" field.
func SubTypeIn ¶
func SubTypeIn(vs ...consts.TaskSubType) predicate.Task
SubTypeIn applies the In predicate on the "sub_type" field.
func SubTypeIsNil ¶
SubTypeIsNil applies the IsNil predicate on the "sub_type" field.
func SubTypeLT ¶
func SubTypeLT(v consts.TaskSubType) predicate.Task
SubTypeLT applies the LT predicate on the "sub_type" field.
func SubTypeLTE ¶
func SubTypeLTE(v consts.TaskSubType) predicate.Task
SubTypeLTE applies the LTE predicate on the "sub_type" field.
func SubTypeNEQ ¶
func SubTypeNEQ(v consts.TaskSubType) predicate.Task
SubTypeNEQ applies the NEQ predicate on the "sub_type" field.
func SubTypeNotIn ¶
func SubTypeNotIn(vs ...consts.TaskSubType) predicate.Task
SubTypeNotIn applies the NotIn predicate on the "sub_type" field.
func SubTypeNotNil ¶
SubTypeNotNil applies the NotNil predicate on the "sub_type" field.
func Summary ¶
Summary applies equality check predicate on the "summary" field. It's identical to SummaryEQ.
func SummaryContains ¶
SummaryContains applies the Contains predicate on the "summary" field.
func SummaryContainsFold ¶
SummaryContainsFold applies the ContainsFold predicate on the "summary" field.
func SummaryEqualFold ¶
SummaryEqualFold applies the EqualFold predicate on the "summary" field.
func SummaryGTE ¶
SummaryGTE applies the GTE predicate on the "summary" field.
func SummaryHasPrefix ¶
SummaryHasPrefix applies the HasPrefix predicate on the "summary" field.
func SummaryHasSuffix ¶
SummaryHasSuffix applies the HasSuffix predicate on the "summary" field.
func SummaryIsNil ¶
SummaryIsNil applies the IsNil predicate on the "summary" field.
func SummaryLTE ¶
SummaryLTE applies the LTE predicate on the "summary" field.
func SummaryNEQ ¶
SummaryNEQ applies the NEQ predicate on the "summary" field.
func SummaryNotIn ¶
SummaryNotIn applies the NotIn predicate on the "summary" field.
func SummaryNotNil ¶
SummaryNotNil applies the NotNil predicate on the "summary" 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 UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Task queries.
func ByCompletedAt ¶
func ByCompletedAt(opts ...sql.OrderTermOption) OrderOption
ByCompletedAt orders the results by the completed_at field.
func ByContent ¶
func ByContent(opts ...sql.OrderTermOption) OrderOption
ByContent orders the results by the content field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByGitBotTasks ¶
func ByGitBotTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGitBotTasks orders the results by git_bot_tasks terms.
func ByGitBotTasksCount ¶
func ByGitBotTasksCount(opts ...sql.OrderTermOption) OrderOption
ByGitBotTasksCount orders the results by git_bot_tasks count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKind ¶
func ByKind(opts ...sql.OrderTermOption) OrderOption
ByKind orders the results by the kind field.
func ByProjectTasks ¶
func ByProjectTasks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProjectTasks orders the results by project_tasks terms.
func ByProjectTasksCount ¶
func ByProjectTasksCount(opts ...sql.OrderTermOption) OrderOption
ByProjectTasksCount orders the results by project_tasks count.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySubType ¶
func BySubType(opts ...sql.OrderTermOption) OrderOption
BySubType orders the results by the sub_type field.
func BySummary ¶
func BySummary(opts ...sql.OrderTermOption) OrderOption
BySummary orders the results by the summary field.
func ByTaskVms ¶
func ByTaskVms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTaskVms orders the results by task_vms terms.
func ByTaskVmsCount ¶
func ByTaskVmsCount(opts ...sql.OrderTermOption) OrderOption
ByTaskVmsCount orders the results by task_vms count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUserField ¶
func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
ByUserField orders the results by user field.
func ByUserID ¶
func ByUserID(opts ...sql.OrderTermOption) OrderOption
ByUserID orders the results by the user_id field.
func ByVms ¶
func ByVms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByVms orders the results by vms terms.
func ByVmsCount ¶
func ByVmsCount(opts ...sql.OrderTermOption) OrderOption
ByVmsCount orders the results by vms count.