Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Task) predicate.Task
- func AssigneeID(v string) predicate.Task
- func AssigneeIDContains(v string) predicate.Task
- func AssigneeIDContainsFold(v string) predicate.Task
- func AssigneeIDEQ(v string) predicate.Task
- func AssigneeIDEqualFold(v string) predicate.Task
- func AssigneeIDGT(v string) predicate.Task
- func AssigneeIDGTE(v string) predicate.Task
- func AssigneeIDHasPrefix(v string) predicate.Task
- func AssigneeIDHasSuffix(v string) predicate.Task
- func AssigneeIDIn(vs ...string) predicate.Task
- func AssigneeIDIsNil() predicate.Task
- func AssigneeIDLT(v string) predicate.Task
- func AssigneeIDLTE(v string) predicate.Task
- func AssigneeIDNEQ(v string) predicate.Task
- func AssigneeIDNotIn(vs ...string) predicate.Task
- func AssigneeIDNotNil() predicate.Task
- func AssignerID(v string) predicate.Task
- func AssignerIDContains(v string) predicate.Task
- func AssignerIDContainsFold(v string) predicate.Task
- func AssignerIDEQ(v string) predicate.Task
- func AssignerIDEqualFold(v string) predicate.Task
- func AssignerIDGT(v string) predicate.Task
- func AssignerIDGTE(v string) predicate.Task
- func AssignerIDHasPrefix(v string) predicate.Task
- func AssignerIDHasSuffix(v string) predicate.Task
- func AssignerIDIn(vs ...string) predicate.Task
- func AssignerIDIsNil() predicate.Task
- func AssignerIDLT(v string) predicate.Task
- func AssignerIDLTE(v string) predicate.Task
- func AssignerIDNEQ(v string) predicate.Task
- func AssignerIDNotIn(vs ...string) predicate.Task
- func AssignerIDNotNil() predicate.Task
- func Category(v string) predicate.Task
- func CategoryContains(v string) predicate.Task
- func CategoryContainsFold(v string) predicate.Task
- func CategoryEQ(v string) predicate.Task
- func CategoryEqualFold(v string) predicate.Task
- func CategoryGT(v string) predicate.Task
- func CategoryGTE(v string) predicate.Task
- func CategoryHasPrefix(v string) predicate.Task
- func CategoryHasSuffix(v string) predicate.Task
- func CategoryIn(vs ...string) predicate.Task
- func CategoryIsNil() predicate.Task
- func CategoryLT(v string) predicate.Task
- func CategoryLTE(v string) predicate.Task
- func CategoryNEQ(v string) predicate.Task
- func CategoryNotIn(vs ...string) predicate.Task
- func CategoryNotNil() predicate.Task
- func Completed(v models.DateTime) predicate.Task
- func CompletedEQ(v models.DateTime) predicate.Task
- func CompletedGT(v models.DateTime) predicate.Task
- func CompletedGTE(v models.DateTime) predicate.Task
- func CompletedIn(vs ...models.DateTime) predicate.Task
- func CompletedIsNil() predicate.Task
- func CompletedLT(v models.DateTime) predicate.Task
- func CompletedLTE(v models.DateTime) predicate.Task
- func CompletedNEQ(v models.DateTime) predicate.Task
- func CompletedNotIn(vs ...models.DateTime) predicate.Task
- func CompletedNotNil() 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 CreatedAtIsNil() 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 CreatedAtNotNil() predicate.Task
- func CreatedBy(v string) predicate.Task
- func CreatedByContains(v string) predicate.Task
- func CreatedByContainsFold(v string) predicate.Task
- func CreatedByEQ(v string) predicate.Task
- func CreatedByEqualFold(v string) predicate.Task
- func CreatedByGT(v string) predicate.Task
- func CreatedByGTE(v string) predicate.Task
- func CreatedByHasPrefix(v string) predicate.Task
- func CreatedByHasSuffix(v string) predicate.Task
- func CreatedByIn(vs ...string) predicate.Task
- func CreatedByIsNil() predicate.Task
- func CreatedByLT(v string) predicate.Task
- func CreatedByLTE(v string) predicate.Task
- func CreatedByNEQ(v string) predicate.Task
- func CreatedByNotIn(vs ...string) predicate.Task
- func CreatedByNotNil() 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 DeletedBy(v string) predicate.Task
- func DeletedByContains(v string) predicate.Task
- func DeletedByContainsFold(v string) predicate.Task
- func DeletedByEQ(v string) predicate.Task
- func DeletedByEqualFold(v string) predicate.Task
- func DeletedByGT(v string) predicate.Task
- func DeletedByGTE(v string) predicate.Task
- func DeletedByHasPrefix(v string) predicate.Task
- func DeletedByHasSuffix(v string) predicate.Task
- func DeletedByIn(vs ...string) predicate.Task
- func DeletedByIsNil() predicate.Task
- func DeletedByLT(v string) predicate.Task
- func DeletedByLTE(v string) predicate.Task
- func DeletedByNEQ(v string) predicate.Task
- func DeletedByNotIn(vs ...string) predicate.Task
- func DeletedByNotNil() predicate.Task
- func Details(v string) predicate.Task
- func DetailsContains(v string) predicate.Task
- func DetailsContainsFold(v string) predicate.Task
- func DetailsEQ(v string) predicate.Task
- func DetailsEqualFold(v string) predicate.Task
- func DetailsGT(v string) predicate.Task
- func DetailsGTE(v string) predicate.Task
- func DetailsHasPrefix(v string) predicate.Task
- func DetailsHasSuffix(v string) predicate.Task
- func DetailsIn(vs ...string) predicate.Task
- func DetailsIsNil() predicate.Task
- func DetailsLT(v string) predicate.Task
- func DetailsLTE(v string) predicate.Task
- func DetailsNEQ(v string) predicate.Task
- func DetailsNotIn(vs ...string) predicate.Task
- func DetailsNotNil() predicate.Task
- func DisplayID(v string) predicate.Task
- func DisplayIDContains(v string) predicate.Task
- func DisplayIDContainsFold(v string) predicate.Task
- func DisplayIDEQ(v string) predicate.Task
- func DisplayIDEqualFold(v string) predicate.Task
- func DisplayIDGT(v string) predicate.Task
- func DisplayIDGTE(v string) predicate.Task
- func DisplayIDHasPrefix(v string) predicate.Task
- func DisplayIDHasSuffix(v string) predicate.Task
- func DisplayIDIn(vs ...string) predicate.Task
- func DisplayIDLT(v string) predicate.Task
- func DisplayIDLTE(v string) predicate.Task
- func DisplayIDNEQ(v string) predicate.Task
- func DisplayIDNotIn(vs ...string) predicate.Task
- func Due(v models.DateTime) predicate.Task
- func DueEQ(v models.DateTime) predicate.Task
- func DueGT(v models.DateTime) predicate.Task
- func DueGTE(v models.DateTime) predicate.Task
- func DueIn(vs ...models.DateTime) predicate.Task
- func DueIsNil() predicate.Task
- func DueLT(v models.DateTime) predicate.Task
- func DueLTE(v models.DateTime) predicate.Task
- func DueNEQ(v models.DateTime) predicate.Task
- func DueNotIn(vs ...models.DateTime) predicate.Task
- func DueNotNil() predicate.Task
- func ExternalReferenceURLIsNil() predicate.Task
- func ExternalReferenceURLNotNil() predicate.Task
- func HasActionPlans() predicate.Task
- func HasActionPlansWith(preds ...predicate.ActionPlan) predicate.Task
- func HasAssignee() predicate.Task
- func HasAssigneeWith(preds ...predicate.User) predicate.Task
- func HasAssigner() predicate.Task
- func HasAssignerWith(preds ...predicate.User) predicate.Task
- func HasComments() predicate.Task
- func HasCommentsWith(preds ...predicate.Note) predicate.Task
- func HasControlImplementations() predicate.Task
- func HasControlImplementationsWith(preds ...predicate.ControlImplementation) predicate.Task
- func HasControlObjectives() predicate.Task
- func HasControlObjectivesWith(preds ...predicate.ControlObjective) predicate.Task
- func HasControls() predicate.Task
- func HasControlsWith(preds ...predicate.Control) predicate.Task
- func HasEvidence() predicate.Task
- func HasEvidenceWith(preds ...predicate.Evidence) predicate.Task
- func HasGroups() predicate.Task
- func HasGroupsWith(preds ...predicate.Group) predicate.Task
- func HasInternalPolicies() predicate.Task
- func HasInternalPoliciesWith(preds ...predicate.InternalPolicy) predicate.Task
- func HasOwner() predicate.Task
- func HasOwnerWith(preds ...predicate.Organization) predicate.Task
- func HasProcedures() predicate.Task
- func HasProceduresWith(preds ...predicate.Procedure) predicate.Task
- func HasPrograms() predicate.Task
- func HasProgramsWith(preds ...predicate.Program) predicate.Task
- func HasRisks() predicate.Task
- func HasRisksWith(preds ...predicate.Risk) predicate.Task
- func HasSubcontrols() predicate.Task
- func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.Task
- func HasTaskKind() predicate.Task
- func HasTaskKindWith(preds ...predicate.CustomTypeEnum) predicate.Task
- func ID(id string) predicate.Task
- func IDContainsFold(id string) predicate.Task
- func IDEQ(id string) predicate.Task
- func IDEqualFold(id string) predicate.Task
- func IDGT(id string) predicate.Task
- func IDGTE(id string) predicate.Task
- func IDIn(ids ...string) predicate.Task
- func IDLT(id string) predicate.Task
- func IDLTE(id string) predicate.Task
- func IDNEQ(id string) predicate.Task
- func IDNotIn(ids ...string) predicate.Task
- func IdempotencyKey(v string) predicate.Task
- func IdempotencyKeyContains(v string) predicate.Task
- func IdempotencyKeyContainsFold(v string) predicate.Task
- func IdempotencyKeyEQ(v string) predicate.Task
- func IdempotencyKeyEqualFold(v string) predicate.Task
- func IdempotencyKeyGT(v string) predicate.Task
- func IdempotencyKeyGTE(v string) predicate.Task
- func IdempotencyKeyHasPrefix(v string) predicate.Task
- func IdempotencyKeyHasSuffix(v string) predicate.Task
- func IdempotencyKeyIn(vs ...string) predicate.Task
- func IdempotencyKeyIsNil() predicate.Task
- func IdempotencyKeyLT(v string) predicate.Task
- func IdempotencyKeyLTE(v string) predicate.Task
- func IdempotencyKeyNEQ(v string) predicate.Task
- func IdempotencyKeyNotIn(vs ...string) predicate.Task
- func IdempotencyKeyNotNil() predicate.Task
- func Not(p predicate.Task) predicate.Task
- func Or(predicates ...predicate.Task) predicate.Task
- func OwnerID(v string) predicate.Task
- func OwnerIDContains(v string) predicate.Task
- func OwnerIDContainsFold(v string) predicate.Task
- func OwnerIDEQ(v string) predicate.Task
- func OwnerIDEqualFold(v string) predicate.Task
- func OwnerIDGT(v string) predicate.Task
- func OwnerIDGTE(v string) predicate.Task
- func OwnerIDHasPrefix(v string) predicate.Task
- func OwnerIDHasSuffix(v string) predicate.Task
- func OwnerIDIn(vs ...string) predicate.Task
- func OwnerIDIsNil() predicate.Task
- func OwnerIDLT(v string) predicate.Task
- func OwnerIDLTE(v string) predicate.Task
- func OwnerIDNEQ(v string) predicate.Task
- func OwnerIDNotIn(vs ...string) predicate.Task
- func OwnerIDNotNil() predicate.Task
- func StatusEQ(v enums.TaskStatus) predicate.Task
- func StatusIn(vs ...enums.TaskStatus) predicate.Task
- func StatusNEQ(v enums.TaskStatus) predicate.Task
- func StatusNotIn(vs ...enums.TaskStatus) predicate.Task
- func StatusValidator(s enums.TaskStatus) error
- func SystemGenerated(v bool) predicate.Task
- func SystemGeneratedEQ(v bool) predicate.Task
- func SystemGeneratedNEQ(v bool) predicate.Task
- func TagsIsNil() predicate.Task
- func TagsNotNil() predicate.Task
- func TaskKindID(v string) predicate.Task
- func TaskKindIDContains(v string) predicate.Task
- func TaskKindIDContainsFold(v string) predicate.Task
- func TaskKindIDEQ(v string) predicate.Task
- func TaskKindIDEqualFold(v string) predicate.Task
- func TaskKindIDGT(v string) predicate.Task
- func TaskKindIDGTE(v string) predicate.Task
- func TaskKindIDHasPrefix(v string) predicate.Task
- func TaskKindIDHasSuffix(v string) predicate.Task
- func TaskKindIDIn(vs ...string) predicate.Task
- func TaskKindIDIsNil() predicate.Task
- func TaskKindIDLT(v string) predicate.Task
- func TaskKindIDLTE(v string) predicate.Task
- func TaskKindIDNEQ(v string) predicate.Task
- func TaskKindIDNotIn(vs ...string) predicate.Task
- func TaskKindIDNotNil() predicate.Task
- func TaskKindName(v string) predicate.Task
- func TaskKindNameContains(v string) predicate.Task
- func TaskKindNameContainsFold(v string) predicate.Task
- func TaskKindNameEQ(v string) predicate.Task
- func TaskKindNameEqualFold(v string) predicate.Task
- func TaskKindNameGT(v string) predicate.Task
- func TaskKindNameGTE(v string) predicate.Task
- func TaskKindNameHasPrefix(v string) predicate.Task
- func TaskKindNameHasSuffix(v string) predicate.Task
- func TaskKindNameIn(vs ...string) predicate.Task
- func TaskKindNameIsNil() predicate.Task
- func TaskKindNameLT(v string) predicate.Task
- func TaskKindNameLTE(v string) predicate.Task
- func TaskKindNameNEQ(v string) predicate.Task
- func TaskKindNameNotIn(vs ...string) predicate.Task
- func TaskKindNameNotNil() predicate.Task
- func Title(v string) predicate.Task
- func TitleContains(v string) predicate.Task
- func TitleContainsFold(v string) predicate.Task
- func TitleEQ(v string) predicate.Task
- func TitleEqualFold(v string) predicate.Task
- func TitleGT(v string) predicate.Task
- func TitleGTE(v string) predicate.Task
- func TitleHasPrefix(v string) predicate.Task
- func TitleHasSuffix(v string) predicate.Task
- func TitleIn(vs ...string) predicate.Task
- func TitleLT(v string) predicate.Task
- func TitleLTE(v string) predicate.Task
- func TitleNEQ(v string) predicate.Task
- func TitleNotIn(vs ...string) 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 UpdatedAtIsNil() 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 UpdatedAtNotNil() predicate.Task
- func UpdatedBy(v string) predicate.Task
- func UpdatedByContains(v string) predicate.Task
- func UpdatedByContainsFold(v string) predicate.Task
- func UpdatedByEQ(v string) predicate.Task
- func UpdatedByEqualFold(v string) predicate.Task
- func UpdatedByGT(v string) predicate.Task
- func UpdatedByGTE(v string) predicate.Task
- func UpdatedByHasPrefix(v string) predicate.Task
- func UpdatedByHasSuffix(v string) predicate.Task
- func UpdatedByIn(vs ...string) predicate.Task
- func UpdatedByIsNil() predicate.Task
- func UpdatedByLT(v string) predicate.Task
- func UpdatedByLTE(v string) predicate.Task
- func UpdatedByNEQ(v string) predicate.Task
- func UpdatedByNotIn(vs ...string) predicate.Task
- func UpdatedByNotNil() predicate.Task
- func ValidColumn(column string) bool
- type OrderOption
- func ByActionPlans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByActionPlansCount(opts ...sql.OrderTermOption) OrderOption
- func ByAssigneeField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByAssigneeID(opts ...sql.OrderTermOption) OrderOption
- func ByAssignerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByAssignerID(opts ...sql.OrderTermOption) OrderOption
- func ByCategory(opts ...sql.OrderTermOption) OrderOption
- func ByComments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCommentsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCompleted(opts ...sql.OrderTermOption) OrderOption
- func ByControlImplementations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlImplementationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByControlObjectives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlObjectivesCount(opts ...sql.OrderTermOption) OrderOption
- func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDetails(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
- func ByDue(opts ...sql.OrderTermOption) OrderOption
- func ByEvidence(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEvidenceCount(opts ...sql.OrderTermOption) OrderOption
- func ByGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIdempotencyKey(opts ...sql.OrderTermOption) OrderOption
- func ByInternalPolicies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByInternalPoliciesCount(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByProcedures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProceduresCount(opts ...sql.OrderTermOption) OrderOption
- func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
- func ByRisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRisksCount(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
- func BySystemGenerated(opts ...sql.OrderTermOption) OrderOption
- func ByTaskKindField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByTaskKindID(opts ...sql.OrderTermOption) OrderOption
- func ByTaskKindName(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(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" // 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" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldDisplayID holds the string denoting the display_id field in the database. FieldDisplayID = "display_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldTaskKindName holds the string denoting the task_kind_name field in the database. FieldTaskKindName = "task_kind_name" // FieldTaskKindID holds the string denoting the task_kind_id field in the database. FieldTaskKindID = "task_kind_id" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldDetails holds the string denoting the details field in the database. FieldDetails = "details" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldCategory holds the string denoting the category field in the database. FieldCategory = "category" // FieldDue holds the string denoting the due field in the database. FieldDue = "due" // FieldCompleted holds the string denoting the completed field in the database. FieldCompleted = "completed" // FieldAssigneeID holds the string denoting the assignee_id field in the database. FieldAssigneeID = "assignee_id" // FieldAssignerID holds the string denoting the assigner_id field in the database. FieldAssignerID = "assigner_id" // FieldSystemGenerated holds the string denoting the system_generated field in the database. FieldSystemGenerated = "system_generated" // FieldIdempotencyKey holds the string denoting the idempotency_key field in the database. FieldIdempotencyKey = "idempotency_key" // FieldExternalReferenceURL holds the string denoting the external_reference_url field in the database. FieldExternalReferenceURL = "external_reference_url" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeTaskKind holds the string denoting the task_kind edge name in mutations. EdgeTaskKind = "task_kind" // EdgeAssigner holds the string denoting the assigner edge name in mutations. EdgeAssigner = "assigner" // EdgeAssignee holds the string denoting the assignee edge name in mutations. EdgeAssignee = "assignee" // EdgeComments holds the string denoting the comments edge name in mutations. EdgeComments = "comments" // EdgeGroups holds the string denoting the groups edge name in mutations. EdgeGroups = "groups" // EdgeInternalPolicies holds the string denoting the internal_policies edge name in mutations. EdgeInternalPolicies = "internal_policies" // EdgeProcedures holds the string denoting the procedures edge name in mutations. EdgeProcedures = "procedures" // EdgeControls holds the string denoting the controls edge name in mutations. EdgeControls = "controls" // EdgeSubcontrols holds the string denoting the subcontrols edge name in mutations. EdgeSubcontrols = "subcontrols" // EdgeControlObjectives holds the string denoting the control_objectives edge name in mutations. EdgeControlObjectives = "control_objectives" // EdgePrograms holds the string denoting the programs edge name in mutations. EdgePrograms = "programs" // EdgeRisks holds the string denoting the risks edge name in mutations. EdgeRisks = "risks" // EdgeControlImplementations holds the string denoting the control_implementations edge name in mutations. EdgeControlImplementations = "control_implementations" // EdgeActionPlans holds the string denoting the action_plans edge name in mutations. EdgeActionPlans = "action_plans" // EdgeEvidence holds the string denoting the evidence edge name in mutations. EdgeEvidence = "evidence" // Table holds the table name of the task in the database. Table = "tasks" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "tasks" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organizations" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // TaskKindTable is the table that holds the task_kind relation/edge. TaskKindTable = "tasks" // TaskKindInverseTable is the table name for the CustomTypeEnum entity. // It exists in this package in order to avoid circular dependency with the "customtypeenum" package. TaskKindInverseTable = "custom_type_enums" // TaskKindColumn is the table column denoting the task_kind relation/edge. TaskKindColumn = "task_kind_id" // AssignerTable is the table that holds the assigner relation/edge. AssignerTable = "tasks" // AssignerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. AssignerInverseTable = "users" // AssignerColumn is the table column denoting the assigner relation/edge. AssignerColumn = "assigner_id" // AssigneeTable is the table that holds the assignee relation/edge. AssigneeTable = "tasks" // AssigneeInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. AssigneeInverseTable = "users" // AssigneeColumn is the table column denoting the assignee relation/edge. AssigneeColumn = "assignee_id" // CommentsTable is the table that holds the comments relation/edge. CommentsTable = "notes" // CommentsInverseTable is the table name for the Note entity. // It exists in this package in order to avoid circular dependency with the "note" package. CommentsInverseTable = "notes" // CommentsColumn is the table column denoting the comments relation/edge. CommentsColumn = "task_comments" // GroupsTable is the table that holds the groups relation/edge. The primary key declared below. GroupsTable = "group_tasks" // GroupsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. GroupsInverseTable = "groups" // InternalPoliciesTable is the table that holds the internal_policies relation/edge. The primary key declared below. InternalPoliciesTable = "internal_policy_tasks" // InternalPoliciesInverseTable is the table name for the InternalPolicy entity. // It exists in this package in order to avoid circular dependency with the "internalpolicy" package. InternalPoliciesInverseTable = "internal_policies" // ProceduresTable is the table that holds the procedures relation/edge. The primary key declared below. ProceduresTable = "procedure_tasks" // ProceduresInverseTable is the table name for the Procedure entity. // It exists in this package in order to avoid circular dependency with the "procedure" package. ProceduresInverseTable = "procedures" // ControlsTable is the table that holds the controls relation/edge. The primary key declared below. ControlsTable = "control_tasks" // ControlsInverseTable is the table name for the Control entity. // It exists in this package in order to avoid circular dependency with the "control" package. ControlsInverseTable = "controls" // SubcontrolsTable is the table that holds the subcontrols relation/edge. The primary key declared below. SubcontrolsTable = "subcontrol_tasks" // SubcontrolsInverseTable is the table name for the Subcontrol entity. // It exists in this package in order to avoid circular dependency with the "subcontrol" package. SubcontrolsInverseTable = "subcontrols" // ControlObjectivesTable is the table that holds the control_objectives relation/edge. The primary key declared below. ControlObjectivesTable = "control_objective_tasks" // ControlObjectivesInverseTable is the table name for the ControlObjective entity. // It exists in this package in order to avoid circular dependency with the "controlobjective" package. ControlObjectivesInverseTable = "control_objectives" // ProgramsTable is the table that holds the programs relation/edge. The primary key declared below. ProgramsTable = "program_tasks" // ProgramsInverseTable is the table name for the Program entity. // It exists in this package in order to avoid circular dependency with the "program" package. ProgramsInverseTable = "programs" // RisksTable is the table that holds the risks relation/edge. The primary key declared below. RisksTable = "risk_tasks" // RisksInverseTable is the table name for the Risk entity. // It exists in this package in order to avoid circular dependency with the "risk" package. RisksInverseTable = "risks" // ControlImplementationsTable is the table that holds the control_implementations relation/edge. The primary key declared below. ControlImplementationsTable = "control_implementation_tasks" // ControlImplementationsInverseTable is the table name for the ControlImplementation entity. // It exists in this package in order to avoid circular dependency with the "controlimplementation" package. ControlImplementationsInverseTable = "control_implementations" // ActionPlansTable is the table that holds the action_plans relation/edge. The primary key declared below. ActionPlansTable = "action_plan_tasks" // ActionPlansInverseTable is the table name for the ActionPlan entity. // It exists in this package in order to avoid circular dependency with the "actionplan" package. ActionPlansInverseTable = "action_plans" // EvidenceTable is the table that holds the evidence relation/edge. The primary key declared below. EvidenceTable = "task_evidence" // EvidenceInverseTable is the table name for the Evidence entity. // It exists in this package in order to avoid circular dependency with the "evidence" package. EvidenceInverseTable = "evidences" )
const DefaultStatus enums.TaskStatus = "OPEN"
Variables ¶
var ( // GroupsPrimaryKey and GroupsColumn2 are the table columns denoting the // primary key for the groups relation (M2M). GroupsPrimaryKey = []string{"group_id", "task_id"} // InternalPoliciesPrimaryKey and InternalPoliciesColumn2 are the table columns denoting the // primary key for the internal_policies relation (M2M). InternalPoliciesPrimaryKey = []string{"internal_policy_id", "task_id"} // ProceduresPrimaryKey and ProceduresColumn2 are the table columns denoting the // primary key for the procedures relation (M2M). ProceduresPrimaryKey = []string{"procedure_id", "task_id"} // ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the // primary key for the controls relation (M2M). ControlsPrimaryKey = []string{"control_id", "task_id"} // SubcontrolsPrimaryKey and SubcontrolsColumn2 are the table columns denoting the // primary key for the subcontrols relation (M2M). SubcontrolsPrimaryKey = []string{"subcontrol_id", "task_id"} // ControlObjectivesPrimaryKey and ControlObjectivesColumn2 are the table columns denoting the // primary key for the control_objectives relation (M2M). ControlObjectivesPrimaryKey = []string{"control_objective_id", "task_id"} // ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the // primary key for the programs relation (M2M). ProgramsPrimaryKey = []string{"program_id", "task_id"} // RisksPrimaryKey and RisksColumn2 are the table columns denoting the // primary key for the risks relation (M2M). RisksPrimaryKey = []string{"risk_id", "task_id"} // ControlImplementationsPrimaryKey and ControlImplementationsColumn2 are the table columns denoting the // primary key for the control_implementations relation (M2M). ControlImplementationsPrimaryKey = []string{"control_implementation_id", "task_id"} // ActionPlansPrimaryKey and ActionPlansColumn2 are the table columns denoting the // primary key for the action_plans relation (M2M). ActionPlansPrimaryKey = []string{"action_plan_id", "task_id"} // EvidencePrimaryKey and EvidenceColumn2 are the table columns denoting the // primary key for the evidence relation (M2M). EvidencePrimaryKey = []string{"task_id", "evidence_id"} )
var ( Hooks [11]ent.Hook Interceptors [4]ent.Interceptor Policy ent.Policy // 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 // DisplayIDValidator is a validator for the "display_id" field. It is called by the builders before save. DisplayIDValidator func(string) error // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator func(string) error // DefaultSystemGenerated holds the default value on creation for the "system_generated" field. DefaultSystemGenerated bool // ExternalReferenceURLValidator is a validator for the "external_reference_url" field. It is called by the builders before save. ExternalReferenceURLValidator func([]string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
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/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldDisplayID, FieldTags, FieldOwnerID, FieldTaskKindName, FieldTaskKindID, FieldTitle, FieldDetails, FieldStatus, FieldCategory, FieldDue, FieldCompleted, FieldAssigneeID, FieldAssignerID, FieldSystemGenerated, FieldIdempotencyKey, FieldExternalReferenceURL, }
Columns holds all SQL columns for task fields.
var ForeignKeys = []string{
"custom_type_enum_tasks",
"finding_tasks",
"integration_tasks",
"remediation_tasks",
"review_tasks",
"vulnerability_tasks",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "tasks" table and are not defined as standalone fields in the schema.
Functions ¶
func AssigneeID ¶ added in v0.6.11
AssigneeID applies equality check predicate on the "assignee_id" field. It's identical to AssigneeIDEQ.
func AssigneeIDContains ¶ added in v0.6.11
AssigneeIDContains applies the Contains predicate on the "assignee_id" field.
func AssigneeIDContainsFold ¶ added in v0.6.11
AssigneeIDContainsFold applies the ContainsFold predicate on the "assignee_id" field.
func AssigneeIDEQ ¶ added in v0.6.11
AssigneeIDEQ applies the EQ predicate on the "assignee_id" field.
func AssigneeIDEqualFold ¶ added in v0.6.11
AssigneeIDEqualFold applies the EqualFold predicate on the "assignee_id" field.
func AssigneeIDGT ¶ added in v0.6.11
AssigneeIDGT applies the GT predicate on the "assignee_id" field.
func AssigneeIDGTE ¶ added in v0.6.11
AssigneeIDGTE applies the GTE predicate on the "assignee_id" field.
func AssigneeIDHasPrefix ¶ added in v0.6.11
AssigneeIDHasPrefix applies the HasPrefix predicate on the "assignee_id" field.
func AssigneeIDHasSuffix ¶ added in v0.6.11
AssigneeIDHasSuffix applies the HasSuffix predicate on the "assignee_id" field.
func AssigneeIDIn ¶ added in v0.6.11
AssigneeIDIn applies the In predicate on the "assignee_id" field.
func AssigneeIDIsNil ¶ added in v0.6.11
AssigneeIDIsNil applies the IsNil predicate on the "assignee_id" field.
func AssigneeIDLT ¶ added in v0.6.11
AssigneeIDLT applies the LT predicate on the "assignee_id" field.
func AssigneeIDLTE ¶ added in v0.6.11
AssigneeIDLTE applies the LTE predicate on the "assignee_id" field.
func AssigneeIDNEQ ¶ added in v0.6.11
AssigneeIDNEQ applies the NEQ predicate on the "assignee_id" field.
func AssigneeIDNotIn ¶ added in v0.6.11
AssigneeIDNotIn applies the NotIn predicate on the "assignee_id" field.
func AssigneeIDNotNil ¶ added in v0.6.11
AssigneeIDNotNil applies the NotNil predicate on the "assignee_id" field.
func AssignerID ¶ added in v0.6.11
AssignerID applies equality check predicate on the "assigner_id" field. It's identical to AssignerIDEQ.
func AssignerIDContains ¶ added in v0.6.11
AssignerIDContains applies the Contains predicate on the "assigner_id" field.
func AssignerIDContainsFold ¶ added in v0.6.11
AssignerIDContainsFold applies the ContainsFold predicate on the "assigner_id" field.
func AssignerIDEQ ¶ added in v0.6.11
AssignerIDEQ applies the EQ predicate on the "assigner_id" field.
func AssignerIDEqualFold ¶ added in v0.6.11
AssignerIDEqualFold applies the EqualFold predicate on the "assigner_id" field.
func AssignerIDGT ¶ added in v0.6.11
AssignerIDGT applies the GT predicate on the "assigner_id" field.
func AssignerIDGTE ¶ added in v0.6.11
AssignerIDGTE applies the GTE predicate on the "assigner_id" field.
func AssignerIDHasPrefix ¶ added in v0.6.11
AssignerIDHasPrefix applies the HasPrefix predicate on the "assigner_id" field.
func AssignerIDHasSuffix ¶ added in v0.6.11
AssignerIDHasSuffix applies the HasSuffix predicate on the "assigner_id" field.
func AssignerIDIn ¶ added in v0.6.11
AssignerIDIn applies the In predicate on the "assigner_id" field.
func AssignerIDIsNil ¶ added in v0.7.1
AssignerIDIsNil applies the IsNil predicate on the "assigner_id" field.
func AssignerIDLT ¶ added in v0.6.11
AssignerIDLT applies the LT predicate on the "assigner_id" field.
func AssignerIDLTE ¶ added in v0.6.11
AssignerIDLTE applies the LTE predicate on the "assigner_id" field.
func AssignerIDNEQ ¶ added in v0.6.11
AssignerIDNEQ applies the NEQ predicate on the "assigner_id" field.
func AssignerIDNotIn ¶ added in v0.6.11
AssignerIDNotIn applies the NotIn predicate on the "assigner_id" field.
func AssignerIDNotNil ¶ added in v0.7.1
AssignerIDNotNil applies the NotNil predicate on the "assigner_id" field.
func Category ¶ added in v0.7.1
Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.
func CategoryContains ¶ added in v0.7.1
CategoryContains applies the Contains predicate on the "category" field.
func CategoryContainsFold ¶ added in v0.7.1
CategoryContainsFold applies the ContainsFold predicate on the "category" field.
func CategoryEQ ¶ added in v0.7.1
CategoryEQ applies the EQ predicate on the "category" field.
func CategoryEqualFold ¶ added in v0.7.1
CategoryEqualFold applies the EqualFold predicate on the "category" field.
func CategoryGT ¶ added in v0.7.1
CategoryGT applies the GT predicate on the "category" field.
func CategoryGTE ¶ added in v0.7.1
CategoryGTE applies the GTE predicate on the "category" field.
func CategoryHasPrefix ¶ added in v0.7.1
CategoryHasPrefix applies the HasPrefix predicate on the "category" field.
func CategoryHasSuffix ¶ added in v0.7.1
CategoryHasSuffix applies the HasSuffix predicate on the "category" field.
func CategoryIn ¶ added in v0.7.1
CategoryIn applies the In predicate on the "category" field.
func CategoryIsNil ¶ added in v0.7.1
CategoryIsNil applies the IsNil predicate on the "category" field.
func CategoryLT ¶ added in v0.7.1
CategoryLT applies the LT predicate on the "category" field.
func CategoryLTE ¶ added in v0.7.1
CategoryLTE applies the LTE predicate on the "category" field.
func CategoryNEQ ¶ added in v0.7.1
CategoryNEQ applies the NEQ predicate on the "category" field.
func CategoryNotIn ¶ added in v0.7.1
CategoryNotIn applies the NotIn predicate on the "category" field.
func CategoryNotNil ¶ added in v0.7.1
CategoryNotNil applies the NotNil predicate on the "category" field.
func Completed ¶
Completed applies equality check predicate on the "completed" field. It's identical to CompletedEQ.
func CompletedEQ ¶
CompletedEQ applies the EQ predicate on the "completed" field.
func CompletedGT ¶
CompletedGT applies the GT predicate on the "completed" field.
func CompletedGTE ¶
CompletedGTE applies the GTE predicate on the "completed" field.
func CompletedIn ¶
CompletedIn applies the In predicate on the "completed" field.
func CompletedIsNil ¶
CompletedIsNil applies the IsNil predicate on the "completed" field.
func CompletedLT ¶
CompletedLT applies the LT predicate on the "completed" field.
func CompletedLTE ¶
CompletedLTE applies the LTE predicate on the "completed" field.
func CompletedNEQ ¶
CompletedNEQ applies the NEQ predicate on the "completed" field.
func CompletedNotIn ¶
CompletedNotIn applies the NotIn predicate on the "completed" field.
func CompletedNotNil ¶
CompletedNotNil applies the NotNil predicate on the "completed" 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 CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil 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 CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" 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 DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Details ¶ added in v0.7.1
Details applies equality check predicate on the "details" field. It's identical to DetailsEQ.
func DetailsContains ¶ added in v0.7.1
DetailsContains applies the Contains predicate on the "details" field.
func DetailsContainsFold ¶ added in v0.7.1
DetailsContainsFold applies the ContainsFold predicate on the "details" field.
func DetailsEqualFold ¶ added in v0.7.1
DetailsEqualFold applies the EqualFold predicate on the "details" field.
func DetailsGTE ¶ added in v0.7.1
DetailsGTE applies the GTE predicate on the "details" field.
func DetailsHasPrefix ¶ added in v0.7.1
DetailsHasPrefix applies the HasPrefix predicate on the "details" field.
func DetailsHasSuffix ¶ added in v0.7.1
DetailsHasSuffix applies the HasSuffix predicate on the "details" field.
func DetailsIsNil ¶
DetailsIsNil applies the IsNil predicate on the "details" field.
func DetailsLTE ¶ added in v0.7.1
DetailsLTE applies the LTE predicate on the "details" field.
func DetailsNEQ ¶ added in v0.7.1
DetailsNEQ applies the NEQ predicate on the "details" field.
func DetailsNotIn ¶ added in v0.7.1
DetailsNotIn applies the NotIn predicate on the "details" field.
func DetailsNotNil ¶
DetailsNotNil applies the NotNil predicate on the "details" field.
func DisplayID ¶ added in v0.6.11
DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.
func DisplayIDContains ¶ added in v0.6.11
DisplayIDContains applies the Contains predicate on the "display_id" field.
func DisplayIDContainsFold ¶ added in v0.6.11
DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.
func DisplayIDEQ ¶ added in v0.6.11
DisplayIDEQ applies the EQ predicate on the "display_id" field.
func DisplayIDEqualFold ¶ added in v0.6.11
DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.
func DisplayIDGT ¶ added in v0.6.11
DisplayIDGT applies the GT predicate on the "display_id" field.
func DisplayIDGTE ¶ added in v0.6.11
DisplayIDGTE applies the GTE predicate on the "display_id" field.
func DisplayIDHasPrefix ¶ added in v0.6.11
DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.
func DisplayIDHasSuffix ¶ added in v0.6.11
DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.
func DisplayIDIn ¶ added in v0.6.11
DisplayIDIn applies the In predicate on the "display_id" field.
func DisplayIDLT ¶ added in v0.6.11
DisplayIDLT applies the LT predicate on the "display_id" field.
func DisplayIDLTE ¶ added in v0.6.11
DisplayIDLTE applies the LTE predicate on the "display_id" field.
func DisplayIDNEQ ¶ added in v0.6.11
DisplayIDNEQ applies the NEQ predicate on the "display_id" field.
func DisplayIDNotIn ¶ added in v0.6.11
DisplayIDNotIn applies the NotIn predicate on the "display_id" field.
func ExternalReferenceURLIsNil ¶ added in v0.43.0
ExternalReferenceURLIsNil applies the IsNil predicate on the "external_reference_url" field.
func ExternalReferenceURLNotNil ¶ added in v0.43.0
ExternalReferenceURLNotNil applies the NotNil predicate on the "external_reference_url" field.
func HasActionPlans ¶ added in v0.43.3
HasActionPlans applies the HasEdge predicate on the "action_plans" edge.
func HasActionPlansWith ¶ added in v0.43.3
func HasActionPlansWith(preds ...predicate.ActionPlan) predicate.Task
HasActionPlansWith applies the HasEdge predicate on the "action_plans" edge with a given conditions (other predicates).
func HasAssignee ¶
HasAssignee applies the HasEdge predicate on the "assignee" edge.
func HasAssigneeWith ¶
HasAssigneeWith applies the HasEdge predicate on the "assignee" edge with a given conditions (other predicates).
func HasAssigner ¶
HasAssigner applies the HasEdge predicate on the "assigner" edge.
func HasAssignerWith ¶
HasAssignerWith applies the HasEdge predicate on the "assigner" edge with a given conditions (other predicates).
func HasComments ¶ added in v0.7.1
HasComments applies the HasEdge predicate on the "comments" edge.
func HasCommentsWith ¶ added in v0.7.1
HasCommentsWith applies the HasEdge predicate on the "comments" edge with a given conditions (other predicates).
func HasControlImplementations ¶ added in v0.26.11
HasControlImplementations applies the HasEdge predicate on the "control_implementations" edge.
func HasControlImplementationsWith ¶ added in v0.26.11
func HasControlImplementationsWith(preds ...predicate.ControlImplementation) predicate.Task
HasControlImplementationsWith applies the HasEdge predicate on the "control_implementations" edge with a given conditions (other predicates).
func HasControlObjectives ¶ added in v0.8.2
HasControlObjectives applies the HasEdge predicate on the "control_objectives" edge.
func HasControlObjectivesWith ¶ added in v0.8.2
func HasControlObjectivesWith(preds ...predicate.ControlObjective) predicate.Task
HasControlObjectivesWith applies the HasEdge predicate on the "control_objectives" edge with a given conditions (other predicates).
func HasControls ¶ added in v0.8.2
HasControls applies the HasEdge predicate on the "controls" edge.
func HasControlsWith ¶ added in v0.8.2
HasControlsWith applies the HasEdge predicate on the "controls" edge with a given conditions (other predicates).
func HasEvidence ¶ added in v0.6.19
HasEvidence applies the HasEdge predicate on the "evidence" edge.
func HasEvidenceWith ¶ added in v0.6.19
HasEvidenceWith applies the HasEdge predicate on the "evidence" edge with a given conditions (other predicates).
func HasGroupsWith ¶ added in v0.8.2
HasGroupsWith applies the HasEdge predicate on the "groups" edge with a given conditions (other predicates).
func HasInternalPolicies ¶ added in v0.8.2
HasInternalPolicies applies the HasEdge predicate on the "internal_policies" edge.
func HasInternalPoliciesWith ¶ added in v0.8.2
func HasInternalPoliciesWith(preds ...predicate.InternalPolicy) predicate.Task
HasInternalPoliciesWith applies the HasEdge predicate on the "internal_policies" edge with a given conditions (other predicates).
func HasOwnerWith ¶ added in v0.6.11
func HasOwnerWith(preds ...predicate.Organization) predicate.Task
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasProcedures ¶ added in v0.8.2
HasProcedures applies the HasEdge predicate on the "procedures" edge.
func HasProceduresWith ¶ added in v0.8.2
HasProceduresWith applies the HasEdge predicate on the "procedures" edge with a given conditions (other predicates).
func HasPrograms ¶ added in v0.8.2
HasPrograms applies the HasEdge predicate on the "programs" edge.
func HasProgramsWith ¶ added in v0.8.2
HasProgramsWith applies the HasEdge predicate on the "programs" edge with a given conditions (other predicates).
func HasRisksWith ¶ added in v0.13.1
HasRisksWith applies the HasEdge predicate on the "risks" edge with a given conditions (other predicates).
func HasSubcontrols ¶ added in v0.8.2
HasSubcontrols applies the HasEdge predicate on the "subcontrols" edge.
func HasSubcontrolsWith ¶ added in v0.8.2
func HasSubcontrolsWith(preds ...predicate.Subcontrol) predicate.Task
HasSubcontrolsWith applies the HasEdge predicate on the "subcontrols" edge with a given conditions (other predicates).
func HasTaskKind ¶ added in v0.43.0
HasTaskKind applies the HasEdge predicate on the "task_kind" edge.
func HasTaskKindWith ¶ added in v0.43.0
func HasTaskKindWith(preds ...predicate.CustomTypeEnum) predicate.Task
HasTaskKindWith applies the HasEdge predicate on the "task_kind" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func IdempotencyKey ¶ added in v0.43.0
IdempotencyKey applies equality check predicate on the "idempotency_key" field. It's identical to IdempotencyKeyEQ.
func IdempotencyKeyContains ¶ added in v0.43.0
IdempotencyKeyContains applies the Contains predicate on the "idempotency_key" field.
func IdempotencyKeyContainsFold ¶ added in v0.43.0
IdempotencyKeyContainsFold applies the ContainsFold predicate on the "idempotency_key" field.
func IdempotencyKeyEQ ¶ added in v0.43.0
IdempotencyKeyEQ applies the EQ predicate on the "idempotency_key" field.
func IdempotencyKeyEqualFold ¶ added in v0.43.0
IdempotencyKeyEqualFold applies the EqualFold predicate on the "idempotency_key" field.
func IdempotencyKeyGT ¶ added in v0.43.0
IdempotencyKeyGT applies the GT predicate on the "idempotency_key" field.
func IdempotencyKeyGTE ¶ added in v0.43.0
IdempotencyKeyGTE applies the GTE predicate on the "idempotency_key" field.
func IdempotencyKeyHasPrefix ¶ added in v0.43.0
IdempotencyKeyHasPrefix applies the HasPrefix predicate on the "idempotency_key" field.
func IdempotencyKeyHasSuffix ¶ added in v0.43.0
IdempotencyKeyHasSuffix applies the HasSuffix predicate on the "idempotency_key" field.
func IdempotencyKeyIn ¶ added in v0.43.0
IdempotencyKeyIn applies the In predicate on the "idempotency_key" field.
func IdempotencyKeyIsNil ¶ added in v0.43.0
IdempotencyKeyIsNil applies the IsNil predicate on the "idempotency_key" field.
func IdempotencyKeyLT ¶ added in v0.43.0
IdempotencyKeyLT applies the LT predicate on the "idempotency_key" field.
func IdempotencyKeyLTE ¶ added in v0.43.0
IdempotencyKeyLTE applies the LTE predicate on the "idempotency_key" field.
func IdempotencyKeyNEQ ¶ added in v0.43.0
IdempotencyKeyNEQ applies the NEQ predicate on the "idempotency_key" field.
func IdempotencyKeyNotIn ¶ added in v0.43.0
IdempotencyKeyNotIn applies the NotIn predicate on the "idempotency_key" field.
func IdempotencyKeyNotNil ¶ added in v0.43.0
IdempotencyKeyNotNil applies the NotNil predicate on the "idempotency_key" field.
func OwnerID ¶ added in v0.6.11
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶ added in v0.6.11
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶ added in v0.6.11
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶ added in v0.6.11
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶ added in v0.6.11
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶ added in v0.6.11
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶ added in v0.6.11
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶ added in v0.7.1
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶ added in v0.6.11
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶ added in v0.6.11
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶ added in v0.6.11
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶ added in v0.7.1
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func StatusEQ ¶
func StatusEQ(v enums.TaskStatus) predicate.Task
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.TaskStatus) predicate.Task
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.TaskStatus) predicate.Task
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.TaskStatus) predicate.Task
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s enums.TaskStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func SystemGenerated ¶ added in v0.43.0
SystemGenerated applies equality check predicate on the "system_generated" field. It's identical to SystemGeneratedEQ.
func SystemGeneratedEQ ¶ added in v0.43.0
SystemGeneratedEQ applies the EQ predicate on the "system_generated" field.
func SystemGeneratedNEQ ¶ added in v0.43.0
SystemGeneratedNEQ applies the NEQ predicate on the "system_generated" field.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" field.
func TaskKindID ¶ added in v0.43.0
TaskKindID applies equality check predicate on the "task_kind_id" field. It's identical to TaskKindIDEQ.
func TaskKindIDContains ¶ added in v0.43.0
TaskKindIDContains applies the Contains predicate on the "task_kind_id" field.
func TaskKindIDContainsFold ¶ added in v0.43.0
TaskKindIDContainsFold applies the ContainsFold predicate on the "task_kind_id" field.
func TaskKindIDEQ ¶ added in v0.43.0
TaskKindIDEQ applies the EQ predicate on the "task_kind_id" field.
func TaskKindIDEqualFold ¶ added in v0.43.0
TaskKindIDEqualFold applies the EqualFold predicate on the "task_kind_id" field.
func TaskKindIDGT ¶ added in v0.43.0
TaskKindIDGT applies the GT predicate on the "task_kind_id" field.
func TaskKindIDGTE ¶ added in v0.43.0
TaskKindIDGTE applies the GTE predicate on the "task_kind_id" field.
func TaskKindIDHasPrefix ¶ added in v0.43.0
TaskKindIDHasPrefix applies the HasPrefix predicate on the "task_kind_id" field.
func TaskKindIDHasSuffix ¶ added in v0.43.0
TaskKindIDHasSuffix applies the HasSuffix predicate on the "task_kind_id" field.
func TaskKindIDIn ¶ added in v0.43.0
TaskKindIDIn applies the In predicate on the "task_kind_id" field.
func TaskKindIDIsNil ¶ added in v0.43.0
TaskKindIDIsNil applies the IsNil predicate on the "task_kind_id" field.
func TaskKindIDLT ¶ added in v0.43.0
TaskKindIDLT applies the LT predicate on the "task_kind_id" field.
func TaskKindIDLTE ¶ added in v0.43.0
TaskKindIDLTE applies the LTE predicate on the "task_kind_id" field.
func TaskKindIDNEQ ¶ added in v0.43.0
TaskKindIDNEQ applies the NEQ predicate on the "task_kind_id" field.
func TaskKindIDNotIn ¶ added in v0.43.0
TaskKindIDNotIn applies the NotIn predicate on the "task_kind_id" field.
func TaskKindIDNotNil ¶ added in v0.43.0
TaskKindIDNotNil applies the NotNil predicate on the "task_kind_id" field.
func TaskKindName ¶ added in v0.43.0
TaskKindName applies equality check predicate on the "task_kind_name" field. It's identical to TaskKindNameEQ.
func TaskKindNameContains ¶ added in v0.43.0
TaskKindNameContains applies the Contains predicate on the "task_kind_name" field.
func TaskKindNameContainsFold ¶ added in v0.43.0
TaskKindNameContainsFold applies the ContainsFold predicate on the "task_kind_name" field.
func TaskKindNameEQ ¶ added in v0.43.0
TaskKindNameEQ applies the EQ predicate on the "task_kind_name" field.
func TaskKindNameEqualFold ¶ added in v0.43.0
TaskKindNameEqualFold applies the EqualFold predicate on the "task_kind_name" field.
func TaskKindNameGT ¶ added in v0.43.0
TaskKindNameGT applies the GT predicate on the "task_kind_name" field.
func TaskKindNameGTE ¶ added in v0.43.0
TaskKindNameGTE applies the GTE predicate on the "task_kind_name" field.
func TaskKindNameHasPrefix ¶ added in v0.43.0
TaskKindNameHasPrefix applies the HasPrefix predicate on the "task_kind_name" field.
func TaskKindNameHasSuffix ¶ added in v0.43.0
TaskKindNameHasSuffix applies the HasSuffix predicate on the "task_kind_name" field.
func TaskKindNameIn ¶ added in v0.43.0
TaskKindNameIn applies the In predicate on the "task_kind_name" field.
func TaskKindNameIsNil ¶ added in v0.43.0
TaskKindNameIsNil applies the IsNil predicate on the "task_kind_name" field.
func TaskKindNameLT ¶ added in v0.43.0
TaskKindNameLT applies the LT predicate on the "task_kind_name" field.
func TaskKindNameLTE ¶ added in v0.43.0
TaskKindNameLTE applies the LTE predicate on the "task_kind_name" field.
func TaskKindNameNEQ ¶ added in v0.43.0
TaskKindNameNEQ applies the NEQ predicate on the "task_kind_name" field.
func TaskKindNameNotIn ¶ added in v0.43.0
TaskKindNameNotIn applies the NotIn predicate on the "task_kind_name" field.
func TaskKindNameNotNil ¶ added in v0.43.0
TaskKindNameNotNil applies the NotNil predicate on the "task_kind_name" field.
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 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 UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil 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 UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" 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 ByActionPlans ¶ added in v0.43.3
func ByActionPlans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByActionPlans orders the results by action_plans terms.
func ByActionPlansCount ¶ added in v0.43.3
func ByActionPlansCount(opts ...sql.OrderTermOption) OrderOption
ByActionPlansCount orders the results by action_plans count.
func ByAssigneeField ¶
func ByAssigneeField(field string, opts ...sql.OrderTermOption) OrderOption
ByAssigneeField orders the results by assignee field.
func ByAssigneeID ¶ added in v0.6.11
func ByAssigneeID(opts ...sql.OrderTermOption) OrderOption
ByAssigneeID orders the results by the assignee_id field.
func ByAssignerField ¶
func ByAssignerField(field string, opts ...sql.OrderTermOption) OrderOption
ByAssignerField orders the results by assigner field.
func ByAssignerID ¶ added in v0.6.11
func ByAssignerID(opts ...sql.OrderTermOption) OrderOption
ByAssignerID orders the results by the assigner_id field.
func ByCategory ¶ added in v0.7.1
func ByCategory(opts ...sql.OrderTermOption) OrderOption
ByCategory orders the results by the category field.
func ByComments ¶ added in v0.7.1
func ByComments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByComments orders the results by comments terms.
func ByCommentsCount ¶ added in v0.7.1
func ByCommentsCount(opts ...sql.OrderTermOption) OrderOption
ByCommentsCount orders the results by comments count.
func ByCompleted ¶
func ByCompleted(opts ...sql.OrderTermOption) OrderOption
ByCompleted orders the results by the completed field.
func ByControlImplementations ¶ added in v0.26.11
func ByControlImplementations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControlImplementations orders the results by control_implementations terms.
func ByControlImplementationsCount ¶ added in v0.26.11
func ByControlImplementationsCount(opts ...sql.OrderTermOption) OrderOption
ByControlImplementationsCount orders the results by control_implementations count.
func ByControlObjectives ¶ added in v0.8.2
func ByControlObjectives(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControlObjectives orders the results by control_objectives terms.
func ByControlObjectivesCount ¶ added in v0.8.2
func ByControlObjectivesCount(opts ...sql.OrderTermOption) OrderOption
ByControlObjectivesCount orders the results by control_objectives count.
func ByControls ¶ added in v0.8.2
func ByControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByControls orders the results by controls terms.
func ByControlsCount ¶ added in v0.8.2
func ByControlsCount(opts ...sql.OrderTermOption) OrderOption
ByControlsCount orders the results by controls count.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func ByDetails ¶ added in v0.7.1
func ByDetails(opts ...sql.OrderTermOption) OrderOption
ByDetails orders the results by the details field.
func ByDisplayID ¶ added in v0.6.11
func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
ByDisplayID orders the results by the display_id field.
func ByDue ¶
func ByDue(opts ...sql.OrderTermOption) OrderOption
ByDue orders the results by the due field.
func ByEvidence ¶ added in v0.6.19
func ByEvidence(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEvidence orders the results by evidence terms.
func ByEvidenceCount ¶ added in v0.6.19
func ByEvidenceCount(opts ...sql.OrderTermOption) OrderOption
ByEvidenceCount orders the results by evidence count.
func ByGroups ¶ added in v0.8.2
func ByGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGroups orders the results by groups terms.
func ByGroupsCount ¶ added in v0.8.2
func ByGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByGroupsCount orders the results by groups count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIdempotencyKey ¶ added in v0.43.0
func ByIdempotencyKey(opts ...sql.OrderTermOption) OrderOption
ByIdempotencyKey orders the results by the idempotency_key field.
func ByInternalPolicies ¶ added in v0.8.2
func ByInternalPolicies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByInternalPolicies orders the results by internal_policies terms.
func ByInternalPoliciesCount ¶ added in v0.8.2
func ByInternalPoliciesCount(opts ...sql.OrderTermOption) OrderOption
ByInternalPoliciesCount orders the results by internal_policies count.
func ByOwnerField ¶ added in v0.6.11
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶ added in v0.6.11
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByProcedures ¶ added in v0.8.2
func ByProcedures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProcedures orders the results by procedures terms.
func ByProceduresCount ¶ added in v0.8.2
func ByProceduresCount(opts ...sql.OrderTermOption) OrderOption
ByProceduresCount orders the results by procedures count.
func ByPrograms ¶ added in v0.8.2
func ByPrograms(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPrograms orders the results by programs terms.
func ByProgramsCount ¶ added in v0.8.2
func ByProgramsCount(opts ...sql.OrderTermOption) OrderOption
ByProgramsCount orders the results by programs count.
func ByRisks ¶ added in v0.13.1
func ByRisks(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRisks orders the results by risks terms.
func ByRisksCount ¶ added in v0.13.1
func ByRisksCount(opts ...sql.OrderTermOption) OrderOption
ByRisksCount orders the results by risks count.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func BySubcontrols ¶ added in v0.8.2
func BySubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
BySubcontrols orders the results by subcontrols terms.
func BySubcontrolsCount ¶ added in v0.8.2
func BySubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
BySubcontrolsCount orders the results by subcontrols count.
func BySystemGenerated ¶ added in v0.43.0
func BySystemGenerated(opts ...sql.OrderTermOption) OrderOption
BySystemGenerated orders the results by the system_generated field.
func ByTaskKindField ¶ added in v0.43.0
func ByTaskKindField(field string, opts ...sql.OrderTermOption) OrderOption
ByTaskKindField orders the results by task_kind field.
func ByTaskKindID ¶ added in v0.43.0
func ByTaskKindID(opts ...sql.OrderTermOption) OrderOption
ByTaskKindID orders the results by the task_kind_id field.
func ByTaskKindName ¶ added in v0.43.0
func ByTaskKindName(opts ...sql.OrderTermOption) OrderOption
ByTaskKindName orders the results by the task_kind_name field.
func ByTitle ¶
func ByTitle(opts ...sql.OrderTermOption) OrderOption
ByTitle orders the results by the title field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.