task

package
v0.6.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
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"
	// FieldDisplayID holds the string denoting the display_id field in the database.
	FieldDisplayID = "display_id"
	// 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"
	// 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"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// 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"
	// FieldDue holds the string denoting the due field in the database.
	FieldDue = "due"
	// FieldPriority holds the string denoting the priority field in the database.
	FieldPriority = "priority"
	// 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"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// 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"
	// EdgeGroup holds the string denoting the group edge name in mutations.
	EdgeGroup = "group"
	// EdgeInternalPolicy holds the string denoting the internal_policy edge name in mutations.
	EdgeInternalPolicy = "internal_policy"
	// EdgeProcedure holds the string denoting the procedure edge name in mutations.
	EdgeProcedure = "procedure"
	// EdgeControl holds the string denoting the control edge name in mutations.
	EdgeControl = "control"
	// EdgeControlObjective holds the string denoting the control_objective edge name in mutations.
	EdgeControlObjective = "control_objective"
	// EdgeSubcontrol holds the string denoting the subcontrol edge name in mutations.
	EdgeSubcontrol = "subcontrol"
	// EdgeProgram holds the string denoting the program edge name in mutations.
	EdgeProgram = "program"
	// 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"
	// 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"
	// GroupTable is the table that holds the group relation/edge. The primary key declared below.
	GroupTable = "group_tasks"
	// GroupInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	GroupInverseTable = "groups"
	// InternalPolicyTable is the table that holds the internal_policy relation/edge. The primary key declared below.
	InternalPolicyTable = "internal_policy_tasks"
	// InternalPolicyInverseTable is the table name for the InternalPolicy entity.
	// It exists in this package in order to avoid circular dependency with the "internalpolicy" package.
	InternalPolicyInverseTable = "internal_policies"
	// ProcedureTable is the table that holds the procedure relation/edge. The primary key declared below.
	ProcedureTable = "procedure_tasks"
	// ProcedureInverseTable is the table name for the Procedure entity.
	// It exists in this package in order to avoid circular dependency with the "procedure" package.
	ProcedureInverseTable = "procedures"
	// ControlTable is the table that holds the control relation/edge. The primary key declared below.
	ControlTable = "control_tasks"
	// ControlInverseTable is the table name for the Control entity.
	// It exists in this package in order to avoid circular dependency with the "control" package.
	ControlInverseTable = "controls"
	// ControlObjectiveTable is the table that holds the control_objective relation/edge. The primary key declared below.
	ControlObjectiveTable = "control_objective_tasks"
	// ControlObjectiveInverseTable is the table name for the ControlObjective entity.
	// It exists in this package in order to avoid circular dependency with the "controlobjective" package.
	ControlObjectiveInverseTable = "control_objectives"
	// SubcontrolTable is the table that holds the subcontrol relation/edge. The primary key declared below.
	SubcontrolTable = "subcontrol_tasks"
	// SubcontrolInverseTable is the table name for the Subcontrol entity.
	// It exists in this package in order to avoid circular dependency with the "subcontrol" package.
	SubcontrolInverseTable = "subcontrols"
	// ProgramTable is the table that holds the program relation/edge. The primary key declared below.
	ProgramTable = "program_tasks"
	// ProgramInverseTable is the table name for the Program entity.
	// It exists in this package in order to avoid circular dependency with the "program" package.
	ProgramInverseTable = "programs"
)
View Source
const DefaultPriority enums.Priority = "MEDIUM"
View Source
const DefaultStatus enums.TaskStatus = "OPEN"

Variables

View Source
var (
	// GroupPrimaryKey and GroupColumn2 are the table columns denoting the
	// primary key for the group relation (M2M).
	GroupPrimaryKey = []string{"group_id", "task_id"}
	// InternalPolicyPrimaryKey and InternalPolicyColumn2 are the table columns denoting the
	// primary key for the internal_policy relation (M2M).
	InternalPolicyPrimaryKey = []string{"internal_policy_id", "task_id"}
	// ProcedurePrimaryKey and ProcedureColumn2 are the table columns denoting the
	// primary key for the procedure relation (M2M).
	ProcedurePrimaryKey = []string{"procedure_id", "task_id"}
	// ControlPrimaryKey and ControlColumn2 are the table columns denoting the
	// primary key for the control relation (M2M).
	ControlPrimaryKey = []string{"control_id", "task_id"}
	// ControlObjectivePrimaryKey and ControlObjectiveColumn2 are the table columns denoting the
	// primary key for the control_objective relation (M2M).
	ControlObjectivePrimaryKey = []string{"control_objective_id", "task_id"}
	// SubcontrolPrimaryKey and SubcontrolColumn2 are the table columns denoting the
	// primary key for the subcontrol relation (M2M).
	SubcontrolPrimaryKey = []string{"subcontrol_id", "task_id"}
	// ProgramPrimaryKey and ProgramColumn2 are the table columns denoting the
	// primary key for the program relation (M2M).
	ProgramPrimaryKey = []string{"program_id", "task_id"}
)
View Source
var (
	Hooks        [9]ent.Hook
	Interceptors [2]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
	// 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"

Columns holds all SQL columns for task fields.

Functions

func And

func And(predicates ...predicate.Task) predicate.Task

And groups predicates with the AND operator between them.

func AssigneeID added in v0.6.11

func AssigneeID(v string) predicate.Task

AssigneeID applies equality check predicate on the "assignee_id" field. It's identical to AssigneeIDEQ.

func AssigneeIDContains added in v0.6.11

func AssigneeIDContains(v string) predicate.Task

AssigneeIDContains applies the Contains predicate on the "assignee_id" field.

func AssigneeIDContainsFold added in v0.6.11

func AssigneeIDContainsFold(v string) predicate.Task

AssigneeIDContainsFold applies the ContainsFold predicate on the "assignee_id" field.

func AssigneeIDEQ added in v0.6.11

func AssigneeIDEQ(v string) predicate.Task

AssigneeIDEQ applies the EQ predicate on the "assignee_id" field.

func AssigneeIDEqualFold added in v0.6.11

func AssigneeIDEqualFold(v string) predicate.Task

AssigneeIDEqualFold applies the EqualFold predicate on the "assignee_id" field.

func AssigneeIDGT added in v0.6.11

func AssigneeIDGT(v string) predicate.Task

AssigneeIDGT applies the GT predicate on the "assignee_id" field.

func AssigneeIDGTE added in v0.6.11

func AssigneeIDGTE(v string) predicate.Task

AssigneeIDGTE applies the GTE predicate on the "assignee_id" field.

func AssigneeIDHasPrefix added in v0.6.11

func AssigneeIDHasPrefix(v string) predicate.Task

AssigneeIDHasPrefix applies the HasPrefix predicate on the "assignee_id" field.

func AssigneeIDHasSuffix added in v0.6.11

func AssigneeIDHasSuffix(v string) predicate.Task

AssigneeIDHasSuffix applies the HasSuffix predicate on the "assignee_id" field.

func AssigneeIDIn added in v0.6.11

func AssigneeIDIn(vs ...string) predicate.Task

AssigneeIDIn applies the In predicate on the "assignee_id" field.

func AssigneeIDIsNil added in v0.6.11

func AssigneeIDIsNil() predicate.Task

AssigneeIDIsNil applies the IsNil predicate on the "assignee_id" field.

func AssigneeIDLT added in v0.6.11

func AssigneeIDLT(v string) predicate.Task

AssigneeIDLT applies the LT predicate on the "assignee_id" field.

func AssigneeIDLTE added in v0.6.11

func AssigneeIDLTE(v string) predicate.Task

AssigneeIDLTE applies the LTE predicate on the "assignee_id" field.

func AssigneeIDNEQ added in v0.6.11

func AssigneeIDNEQ(v string) predicate.Task

AssigneeIDNEQ applies the NEQ predicate on the "assignee_id" field.

func AssigneeIDNotIn added in v0.6.11

func AssigneeIDNotIn(vs ...string) predicate.Task

AssigneeIDNotIn applies the NotIn predicate on the "assignee_id" field.

func AssigneeIDNotNil added in v0.6.11

func AssigneeIDNotNil() predicate.Task

AssigneeIDNotNil applies the NotNil predicate on the "assignee_id" field.

func AssignerID added in v0.6.11

func AssignerID(v string) predicate.Task

AssignerID applies equality check predicate on the "assigner_id" field. It's identical to AssignerIDEQ.

func AssignerIDContains added in v0.6.11

func AssignerIDContains(v string) predicate.Task

AssignerIDContains applies the Contains predicate on the "assigner_id" field.

func AssignerIDContainsFold added in v0.6.11

func AssignerIDContainsFold(v string) predicate.Task

AssignerIDContainsFold applies the ContainsFold predicate on the "assigner_id" field.

func AssignerIDEQ added in v0.6.11

func AssignerIDEQ(v string) predicate.Task

AssignerIDEQ applies the EQ predicate on the "assigner_id" field.

func AssignerIDEqualFold added in v0.6.11

func AssignerIDEqualFold(v string) predicate.Task

AssignerIDEqualFold applies the EqualFold predicate on the "assigner_id" field.

func AssignerIDGT added in v0.6.11

func AssignerIDGT(v string) predicate.Task

AssignerIDGT applies the GT predicate on the "assigner_id" field.

func AssignerIDGTE added in v0.6.11

func AssignerIDGTE(v string) predicate.Task

AssignerIDGTE applies the GTE predicate on the "assigner_id" field.

func AssignerIDHasPrefix added in v0.6.11

func AssignerIDHasPrefix(v string) predicate.Task

AssignerIDHasPrefix applies the HasPrefix predicate on the "assigner_id" field.

func AssignerIDHasSuffix added in v0.6.11

func AssignerIDHasSuffix(v string) predicate.Task

AssignerIDHasSuffix applies the HasSuffix predicate on the "assigner_id" field.

func AssignerIDIn added in v0.6.11

func AssignerIDIn(vs ...string) predicate.Task

AssignerIDIn applies the In predicate on the "assigner_id" field.

func AssignerIDLT added in v0.6.11

func AssignerIDLT(v string) predicate.Task

AssignerIDLT applies the LT predicate on the "assigner_id" field.

func AssignerIDLTE added in v0.6.11

func AssignerIDLTE(v string) predicate.Task

AssignerIDLTE applies the LTE predicate on the "assigner_id" field.

func AssignerIDNEQ added in v0.6.11

func AssignerIDNEQ(v string) predicate.Task

AssignerIDNEQ applies the NEQ predicate on the "assigner_id" field.

func AssignerIDNotIn added in v0.6.11

func AssignerIDNotIn(vs ...string) predicate.Task

AssignerIDNotIn applies the NotIn predicate on the "assigner_id" field.

func Completed

func Completed(v time.Time) predicate.Task

Completed applies equality check predicate on the "completed" field. It's identical to CompletedEQ.

func CompletedEQ

func CompletedEQ(v time.Time) predicate.Task

CompletedEQ applies the EQ predicate on the "completed" field.

func CompletedGT

func CompletedGT(v time.Time) predicate.Task

CompletedGT applies the GT predicate on the "completed" field.

func CompletedGTE

func CompletedGTE(v time.Time) predicate.Task

CompletedGTE applies the GTE predicate on the "completed" field.

func CompletedIn

func CompletedIn(vs ...time.Time) predicate.Task

CompletedIn applies the In predicate on the "completed" field.

func CompletedIsNil

func CompletedIsNil() predicate.Task

CompletedIsNil applies the IsNil predicate on the "completed" field.

func CompletedLT

func CompletedLT(v time.Time) predicate.Task

CompletedLT applies the LT predicate on the "completed" field.

func CompletedLTE

func CompletedLTE(v time.Time) predicate.Task

CompletedLTE applies the LTE predicate on the "completed" field.

func CompletedNEQ

func CompletedNEQ(v time.Time) predicate.Task

CompletedNEQ applies the NEQ predicate on the "completed" field.

func CompletedNotIn

func CompletedNotIn(vs ...time.Time) predicate.Task

CompletedNotIn applies the NotIn predicate on the "completed" field.

func CompletedNotNil

func CompletedNotNil() predicate.Task

CompletedNotNil applies the NotNil predicate on the "completed" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Task

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Task

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Task

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Task

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Task

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Task

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Task

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Task

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Task

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Task

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Task

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.Task

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.Task

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Task

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.Task

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Task

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.Task

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.Task

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Task

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Task

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.Task

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.Task

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.Task

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.Task

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Task

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.Task

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.Task

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Task

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Task

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Task

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Task

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Task

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Task

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Task

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Task

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Task

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Task

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Task

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

func DeletedBy(v string) predicate.Task

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.Task

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.Task

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.Task

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.Task

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.Task

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.Task

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.Task

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.Task

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.Task

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.Task

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.Task

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.Task

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.Task

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.Task

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.Task

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func Description

func Description(v string) predicate.Task

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Task

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Task

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Task

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Task

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Task

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Task

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Task

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Task

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Task

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Task

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Task

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Task

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Task

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Task

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Task

DescriptionNotNil applies the NotNil predicate on the "description" field.

func DetailsIsNil

func DetailsIsNil() predicate.Task

DetailsIsNil applies the IsNil predicate on the "details" field.

func DetailsNotNil

func DetailsNotNil() predicate.Task

DetailsNotNil applies the NotNil predicate on the "details" field.

func DisplayID added in v0.6.11

func DisplayID(v string) predicate.Task

DisplayID applies equality check predicate on the "display_id" field. It's identical to DisplayIDEQ.

func DisplayIDContains added in v0.6.11

func DisplayIDContains(v string) predicate.Task

DisplayIDContains applies the Contains predicate on the "display_id" field.

func DisplayIDContainsFold added in v0.6.11

func DisplayIDContainsFold(v string) predicate.Task

DisplayIDContainsFold applies the ContainsFold predicate on the "display_id" field.

func DisplayIDEQ added in v0.6.11

func DisplayIDEQ(v string) predicate.Task

DisplayIDEQ applies the EQ predicate on the "display_id" field.

func DisplayIDEqualFold added in v0.6.11

func DisplayIDEqualFold(v string) predicate.Task

DisplayIDEqualFold applies the EqualFold predicate on the "display_id" field.

func DisplayIDGT added in v0.6.11

func DisplayIDGT(v string) predicate.Task

DisplayIDGT applies the GT predicate on the "display_id" field.

func DisplayIDGTE added in v0.6.11

func DisplayIDGTE(v string) predicate.Task

DisplayIDGTE applies the GTE predicate on the "display_id" field.

func DisplayIDHasPrefix added in v0.6.11

func DisplayIDHasPrefix(v string) predicate.Task

DisplayIDHasPrefix applies the HasPrefix predicate on the "display_id" field.

func DisplayIDHasSuffix added in v0.6.11

func DisplayIDHasSuffix(v string) predicate.Task

DisplayIDHasSuffix applies the HasSuffix predicate on the "display_id" field.

func DisplayIDIn added in v0.6.11

func DisplayIDIn(vs ...string) predicate.Task

DisplayIDIn applies the In predicate on the "display_id" field.

func DisplayIDLT added in v0.6.11

func DisplayIDLT(v string) predicate.Task

DisplayIDLT applies the LT predicate on the "display_id" field.

func DisplayIDLTE added in v0.6.11

func DisplayIDLTE(v string) predicate.Task

DisplayIDLTE applies the LTE predicate on the "display_id" field.

func DisplayIDNEQ added in v0.6.11

func DisplayIDNEQ(v string) predicate.Task

DisplayIDNEQ applies the NEQ predicate on the "display_id" field.

func DisplayIDNotIn added in v0.6.11

func DisplayIDNotIn(vs ...string) predicate.Task

DisplayIDNotIn applies the NotIn predicate on the "display_id" field.

func Due

func Due(v time.Time) predicate.Task

Due applies equality check predicate on the "due" field. It's identical to DueEQ.

func DueEQ

func DueEQ(v time.Time) predicate.Task

DueEQ applies the EQ predicate on the "due" field.

func DueGT

func DueGT(v time.Time) predicate.Task

DueGT applies the GT predicate on the "due" field.

func DueGTE

func DueGTE(v time.Time) predicate.Task

DueGTE applies the GTE predicate on the "due" field.

func DueIn

func DueIn(vs ...time.Time) predicate.Task

DueIn applies the In predicate on the "due" field.

func DueIsNil

func DueIsNil() predicate.Task

DueIsNil applies the IsNil predicate on the "due" field.

func DueLT

func DueLT(v time.Time) predicate.Task

DueLT applies the LT predicate on the "due" field.

func DueLTE

func DueLTE(v time.Time) predicate.Task

DueLTE applies the LTE predicate on the "due" field.

func DueNEQ

func DueNEQ(v time.Time) predicate.Task

DueNEQ applies the NEQ predicate on the "due" field.

func DueNotIn

func DueNotIn(vs ...time.Time) predicate.Task

DueNotIn applies the NotIn predicate on the "due" field.

func DueNotNil

func DueNotNil() predicate.Task

DueNotNil applies the NotNil predicate on the "due" field.

func HasAssignee

func HasAssignee() predicate.Task

HasAssignee applies the HasEdge predicate on the "assignee" edge.

func HasAssigneeWith

func HasAssigneeWith(preds ...predicate.User) predicate.Task

HasAssigneeWith applies the HasEdge predicate on the "assignee" edge with a given conditions (other predicates).

func HasAssigner

func HasAssigner() predicate.Task

HasAssigner applies the HasEdge predicate on the "assigner" edge.

func HasAssignerWith

func HasAssignerWith(preds ...predicate.User) predicate.Task

HasAssignerWith applies the HasEdge predicate on the "assigner" edge with a given conditions (other predicates).

func HasControl

func HasControl() predicate.Task

HasControl applies the HasEdge predicate on the "control" edge.

func HasControlObjective

func HasControlObjective() predicate.Task

HasControlObjective applies the HasEdge predicate on the "control_objective" edge.

func HasControlObjectiveWith

func HasControlObjectiveWith(preds ...predicate.ControlObjective) predicate.Task

HasControlObjectiveWith applies the HasEdge predicate on the "control_objective" edge with a given conditions (other predicates).

func HasControlWith

func HasControlWith(preds ...predicate.Control) predicate.Task

HasControlWith applies the HasEdge predicate on the "control" edge with a given conditions (other predicates).

func HasGroup

func HasGroup() predicate.Task

HasGroup applies the HasEdge predicate on the "group" edge.

func HasGroupWith

func HasGroupWith(preds ...predicate.Group) predicate.Task

HasGroupWith applies the HasEdge predicate on the "group" edge with a given conditions (other predicates).

func HasInternalPolicy added in v0.6.1

func HasInternalPolicy() predicate.Task

HasInternalPolicy applies the HasEdge predicate on the "internal_policy" edge.

func HasInternalPolicyWith added in v0.6.1

func HasInternalPolicyWith(preds ...predicate.InternalPolicy) predicate.Task

HasInternalPolicyWith applies the HasEdge predicate on the "internal_policy" edge with a given conditions (other predicates).

func HasOwner added in v0.6.11

func HasOwner() predicate.Task

HasOwner applies the HasEdge predicate on the "owner" edge.

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 HasProcedure

func HasProcedure() predicate.Task

HasProcedure applies the HasEdge predicate on the "procedure" edge.

func HasProcedureWith

func HasProcedureWith(preds ...predicate.Procedure) predicate.Task

HasProcedureWith applies the HasEdge predicate on the "procedure" edge with a given conditions (other predicates).

func HasProgram added in v0.3.5

func HasProgram() predicate.Task

HasProgram applies the HasEdge predicate on the "program" edge.

func HasProgramWith added in v0.3.5

func HasProgramWith(preds ...predicate.Program) predicate.Task

HasProgramWith applies the HasEdge predicate on the "program" edge with a given conditions (other predicates).

func HasSubcontrol

func HasSubcontrol() predicate.Task

HasSubcontrol applies the HasEdge predicate on the "subcontrol" edge.

func HasSubcontrolWith

func HasSubcontrolWith(preds ...predicate.Subcontrol) predicate.Task

HasSubcontrolWith applies the HasEdge predicate on the "subcontrol" edge with a given conditions (other predicates).

func ID

func ID(id string) predicate.Task

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Task

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Task

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Task

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Task

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Task

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.Task

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Task

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Task

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Task

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.Task

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Task) predicate.Task

Or groups predicates with the OR operator between them.

func OwnerID added in v0.6.11

func OwnerID(v string) predicate.Task

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains added in v0.6.11

func OwnerIDContains(v string) predicate.Task

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold added in v0.6.11

func OwnerIDContainsFold(v string) predicate.Task

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ added in v0.6.11

func OwnerIDEQ(v string) predicate.Task

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold added in v0.6.11

func OwnerIDEqualFold(v string) predicate.Task

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT added in v0.6.11

func OwnerIDGT(v string) predicate.Task

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE added in v0.6.11

func OwnerIDGTE(v string) predicate.Task

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix added in v0.6.11

func OwnerIDHasPrefix(v string) predicate.Task

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix added in v0.6.11

func OwnerIDHasSuffix(v string) predicate.Task

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn added in v0.6.11

func OwnerIDIn(vs ...string) predicate.Task

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDLT added in v0.6.11

func OwnerIDLT(v string) predicate.Task

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE added in v0.6.11

func OwnerIDLTE(v string) predicate.Task

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ added in v0.6.11

func OwnerIDNEQ(v string) predicate.Task

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn added in v0.6.11

func OwnerIDNotIn(vs ...string) predicate.Task

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func PriorityEQ added in v0.6.11

func PriorityEQ(v enums.Priority) predicate.Task

PriorityEQ applies the EQ predicate on the "priority" field.

func PriorityIn added in v0.6.11

func PriorityIn(vs ...enums.Priority) predicate.Task

PriorityIn applies the In predicate on the "priority" field.

func PriorityNEQ added in v0.6.11

func PriorityNEQ(v enums.Priority) predicate.Task

PriorityNEQ applies the NEQ predicate on the "priority" field.

func PriorityNotIn added in v0.6.11

func PriorityNotIn(vs ...enums.Priority) predicate.Task

PriorityNotIn applies the NotIn predicate on the "priority" field.

func PriorityValidator added in v0.6.11

func PriorityValidator(pr enums.Priority) error

PriorityValidator is a validator for the "priority" field enum values. It is called by the builders before save.

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 TagsIsNil

func TagsIsNil() predicate.Task

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.Task

TagsNotNil applies the NotNil predicate on the "tags" field.

func Title

func Title(v string) predicate.Task

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.Task

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.Task

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.Task

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.Task

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.Task

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.Task

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Task

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Task

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

func TitleIn(vs ...string) predicate.Task

TitleIn applies the In predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.Task

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.Task

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.Task

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

func TitleNotIn(vs ...string) predicate.Task

TitleNotIn applies the NotIn predicate on the "title" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Task

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Task

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Task

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Task

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Task

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Task

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Task

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Task

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Task

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Task

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Task

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.Task

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.Task

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Task

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Task

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Task

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.Task

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Task

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Task

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Task

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.Task

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Task

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.Task

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Task

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Task

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.Task

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Task

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Task queries.

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 ByCompleted

func ByCompleted(opts ...sql.OrderTermOption) OrderOption

ByCompleted orders the results by the completed field.

func ByControl

func ByControl(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByControl orders the results by control terms.

func ByControlCount

func ByControlCount(opts ...sql.OrderTermOption) OrderOption

ByControlCount orders the results by control count.

func ByControlObjective

func ByControlObjective(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByControlObjective orders the results by control_objective terms.

func ByControlObjectiveCount

func ByControlObjectiveCount(opts ...sql.OrderTermOption) OrderOption

ByControlObjectiveCount orders the results by control_objective 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 ByDescription

func ByDescription(opts ...sql.OrderTermOption) OrderOption

ByDescription orders the results by the description 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 ByGroup

func ByGroup(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByGroup orders the results by group terms.

func ByGroupCount

func ByGroupCount(opts ...sql.OrderTermOption) OrderOption

ByGroupCount orders the results by group count.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByInternalPolicy added in v0.6.1

func ByInternalPolicy(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByInternalPolicy orders the results by internal_policy terms.

func ByInternalPolicyCount added in v0.6.1

func ByInternalPolicyCount(opts ...sql.OrderTermOption) OrderOption

ByInternalPolicyCount orders the results by internal_policy 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 ByPriority added in v0.6.11

func ByPriority(opts ...sql.OrderTermOption) OrderOption

ByPriority orders the results by the priority field.

func ByProcedure

func ByProcedure(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByProcedure orders the results by procedure terms.

func ByProcedureCount

func ByProcedureCount(opts ...sql.OrderTermOption) OrderOption

ByProcedureCount orders the results by procedure count.

func ByProgram added in v0.3.5

func ByProgram(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByProgram orders the results by program terms.

func ByProgramCount added in v0.3.5

func ByProgramCount(opts ...sql.OrderTermOption) OrderOption

ByProgramCount orders the results by program count.

func ByStatus

func ByStatus(opts ...sql.OrderTermOption) OrderOption

ByStatus orders the results by the status field.

func BySubcontrol

func BySubcontrol(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

BySubcontrol orders the results by subcontrol terms.

func BySubcontrolCount

func BySubcontrolCount(opts ...sql.OrderTermOption) OrderOption

BySubcontrolCount orders the results by subcontrol count.

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.

Jump to

Keyboard shortcuts

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