Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ActionPlan) predicate.ActionPlan
- func CreatedAt(v time.Time) predicate.ActionPlan
- func CreatedAtEQ(v time.Time) predicate.ActionPlan
- func CreatedAtGT(v time.Time) predicate.ActionPlan
- func CreatedAtGTE(v time.Time) predicate.ActionPlan
- func CreatedAtIn(vs ...time.Time) predicate.ActionPlan
- func CreatedAtIsNil() predicate.ActionPlan
- func CreatedAtLT(v time.Time) predicate.ActionPlan
- func CreatedAtLTE(v time.Time) predicate.ActionPlan
- func CreatedAtNEQ(v time.Time) predicate.ActionPlan
- func CreatedAtNotIn(vs ...time.Time) predicate.ActionPlan
- func CreatedAtNotNil() predicate.ActionPlan
- func CreatedBy(v string) predicate.ActionPlan
- func CreatedByContains(v string) predicate.ActionPlan
- func CreatedByContainsFold(v string) predicate.ActionPlan
- func CreatedByEQ(v string) predicate.ActionPlan
- func CreatedByEqualFold(v string) predicate.ActionPlan
- func CreatedByGT(v string) predicate.ActionPlan
- func CreatedByGTE(v string) predicate.ActionPlan
- func CreatedByHasPrefix(v string) predicate.ActionPlan
- func CreatedByHasSuffix(v string) predicate.ActionPlan
- func CreatedByIn(vs ...string) predicate.ActionPlan
- func CreatedByIsNil() predicate.ActionPlan
- func CreatedByLT(v string) predicate.ActionPlan
- func CreatedByLTE(v string) predicate.ActionPlan
- func CreatedByNEQ(v string) predicate.ActionPlan
- func CreatedByNotIn(vs ...string) predicate.ActionPlan
- func CreatedByNotNil() predicate.ActionPlan
- func DeletedAt(v time.Time) predicate.ActionPlan
- func DeletedAtEQ(v time.Time) predicate.ActionPlan
- func DeletedAtGT(v time.Time) predicate.ActionPlan
- func DeletedAtGTE(v time.Time) predicate.ActionPlan
- func DeletedAtIn(vs ...time.Time) predicate.ActionPlan
- func DeletedAtIsNil() predicate.ActionPlan
- func DeletedAtLT(v time.Time) predicate.ActionPlan
- func DeletedAtLTE(v time.Time) predicate.ActionPlan
- func DeletedAtNEQ(v time.Time) predicate.ActionPlan
- func DeletedAtNotIn(vs ...time.Time) predicate.ActionPlan
- func DeletedAtNotNil() predicate.ActionPlan
- func DeletedBy(v string) predicate.ActionPlan
- func DeletedByContains(v string) predicate.ActionPlan
- func DeletedByContainsFold(v string) predicate.ActionPlan
- func DeletedByEQ(v string) predicate.ActionPlan
- func DeletedByEqualFold(v string) predicate.ActionPlan
- func DeletedByGT(v string) predicate.ActionPlan
- func DeletedByGTE(v string) predicate.ActionPlan
- func DeletedByHasPrefix(v string) predicate.ActionPlan
- func DeletedByHasSuffix(v string) predicate.ActionPlan
- func DeletedByIn(vs ...string) predicate.ActionPlan
- func DeletedByIsNil() predicate.ActionPlan
- func DeletedByLT(v string) predicate.ActionPlan
- func DeletedByLTE(v string) predicate.ActionPlan
- func DeletedByNEQ(v string) predicate.ActionPlan
- func DeletedByNotIn(vs ...string) predicate.ActionPlan
- func DeletedByNotNil() predicate.ActionPlan
- func Description(v string) predicate.ActionPlan
- func DescriptionContains(v string) predicate.ActionPlan
- func DescriptionContainsFold(v string) predicate.ActionPlan
- func DescriptionEQ(v string) predicate.ActionPlan
- func DescriptionEqualFold(v string) predicate.ActionPlan
- func DescriptionGT(v string) predicate.ActionPlan
- func DescriptionGTE(v string) predicate.ActionPlan
- func DescriptionHasPrefix(v string) predicate.ActionPlan
- func DescriptionHasSuffix(v string) predicate.ActionPlan
- func DescriptionIn(vs ...string) predicate.ActionPlan
- func DescriptionIsNil() predicate.ActionPlan
- func DescriptionLT(v string) predicate.ActionPlan
- func DescriptionLTE(v string) predicate.ActionPlan
- func DescriptionNEQ(v string) predicate.ActionPlan
- func DescriptionNotIn(vs ...string) predicate.ActionPlan
- func DescriptionNotNil() predicate.ActionPlan
- func DetailsIsNil() predicate.ActionPlan
- func DetailsNotNil() predicate.ActionPlan
- func DueDate(v time.Time) predicate.ActionPlan
- func DueDateEQ(v time.Time) predicate.ActionPlan
- func DueDateGT(v time.Time) predicate.ActionPlan
- func DueDateGTE(v time.Time) predicate.ActionPlan
- func DueDateIn(vs ...time.Time) predicate.ActionPlan
- func DueDateIsNil() predicate.ActionPlan
- func DueDateLT(v time.Time) predicate.ActionPlan
- func DueDateLTE(v time.Time) predicate.ActionPlan
- func DueDateNEQ(v time.Time) predicate.ActionPlan
- func DueDateNotIn(vs ...time.Time) predicate.ActionPlan
- func DueDateNotNil() predicate.ActionPlan
- func HasControl() predicate.ActionPlan
- func HasControlWith(preds ...predicate.Control) predicate.ActionPlan
- func HasProgram() predicate.ActionPlan
- func HasProgramWith(preds ...predicate.Program) predicate.ActionPlan
- func HasRisk() predicate.ActionPlan
- func HasRiskWith(preds ...predicate.Risk) predicate.ActionPlan
- func HasStandard() predicate.ActionPlan
- func HasStandardWith(preds ...predicate.Standard) predicate.ActionPlan
- func HasUser() predicate.ActionPlan
- func HasUserWith(preds ...predicate.User) predicate.ActionPlan
- func ID(id string) predicate.ActionPlan
- func IDContainsFold(id string) predicate.ActionPlan
- func IDEQ(id string) predicate.ActionPlan
- func IDEqualFold(id string) predicate.ActionPlan
- func IDGT(id string) predicate.ActionPlan
- func IDGTE(id string) predicate.ActionPlan
- func IDIn(ids ...string) predicate.ActionPlan
- func IDLT(id string) predicate.ActionPlan
- func IDLTE(id string) predicate.ActionPlan
- func IDNEQ(id string) predicate.ActionPlan
- func IDNotIn(ids ...string) predicate.ActionPlan
- func MappingID(v string) predicate.ActionPlan
- func MappingIDContains(v string) predicate.ActionPlan
- func MappingIDContainsFold(v string) predicate.ActionPlan
- func MappingIDEQ(v string) predicate.ActionPlan
- func MappingIDEqualFold(v string) predicate.ActionPlan
- func MappingIDGT(v string) predicate.ActionPlan
- func MappingIDGTE(v string) predicate.ActionPlan
- func MappingIDHasPrefix(v string) predicate.ActionPlan
- func MappingIDHasSuffix(v string) predicate.ActionPlan
- func MappingIDIn(vs ...string) predicate.ActionPlan
- func MappingIDLT(v string) predicate.ActionPlan
- func MappingIDLTE(v string) predicate.ActionPlan
- func MappingIDNEQ(v string) predicate.ActionPlan
- func MappingIDNotIn(vs ...string) predicate.ActionPlan
- func Name(v string) predicate.ActionPlan
- func NameContains(v string) predicate.ActionPlan
- func NameContainsFold(v string) predicate.ActionPlan
- func NameEQ(v string) predicate.ActionPlan
- func NameEqualFold(v string) predicate.ActionPlan
- func NameGT(v string) predicate.ActionPlan
- func NameGTE(v string) predicate.ActionPlan
- func NameHasPrefix(v string) predicate.ActionPlan
- func NameHasSuffix(v string) predicate.ActionPlan
- func NameIn(vs ...string) predicate.ActionPlan
- func NameLT(v string) predicate.ActionPlan
- func NameLTE(v string) predicate.ActionPlan
- func NameNEQ(v string) predicate.ActionPlan
- func NameNotIn(vs ...string) predicate.ActionPlan
- func Not(p predicate.ActionPlan) predicate.ActionPlan
- func Or(predicates ...predicate.ActionPlan) predicate.ActionPlan
- func Priority(v string) predicate.ActionPlan
- func PriorityContains(v string) predicate.ActionPlan
- func PriorityContainsFold(v string) predicate.ActionPlan
- func PriorityEQ(v string) predicate.ActionPlan
- func PriorityEqualFold(v string) predicate.ActionPlan
- func PriorityGT(v string) predicate.ActionPlan
- func PriorityGTE(v string) predicate.ActionPlan
- func PriorityHasPrefix(v string) predicate.ActionPlan
- func PriorityHasSuffix(v string) predicate.ActionPlan
- func PriorityIn(vs ...string) predicate.ActionPlan
- func PriorityIsNil() predicate.ActionPlan
- func PriorityLT(v string) predicate.ActionPlan
- func PriorityLTE(v string) predicate.ActionPlan
- func PriorityNEQ(v string) predicate.ActionPlan
- func PriorityNotIn(vs ...string) predicate.ActionPlan
- func PriorityNotNil() predicate.ActionPlan
- func Source(v string) predicate.ActionPlan
- func SourceContains(v string) predicate.ActionPlan
- func SourceContainsFold(v string) predicate.ActionPlan
- func SourceEQ(v string) predicate.ActionPlan
- func SourceEqualFold(v string) predicate.ActionPlan
- func SourceGT(v string) predicate.ActionPlan
- func SourceGTE(v string) predicate.ActionPlan
- func SourceHasPrefix(v string) predicate.ActionPlan
- func SourceHasSuffix(v string) predicate.ActionPlan
- func SourceIn(vs ...string) predicate.ActionPlan
- func SourceIsNil() predicate.ActionPlan
- func SourceLT(v string) predicate.ActionPlan
- func SourceLTE(v string) predicate.ActionPlan
- func SourceNEQ(v string) predicate.ActionPlan
- func SourceNotIn(vs ...string) predicate.ActionPlan
- func SourceNotNil() predicate.ActionPlan
- func Status(v string) predicate.ActionPlan
- func StatusContains(v string) predicate.ActionPlan
- func StatusContainsFold(v string) predicate.ActionPlan
- func StatusEQ(v string) predicate.ActionPlan
- func StatusEqualFold(v string) predicate.ActionPlan
- func StatusGT(v string) predicate.ActionPlan
- func StatusGTE(v string) predicate.ActionPlan
- func StatusHasPrefix(v string) predicate.ActionPlan
- func StatusHasSuffix(v string) predicate.ActionPlan
- func StatusIn(vs ...string) predicate.ActionPlan
- func StatusIsNil() predicate.ActionPlan
- func StatusLT(v string) predicate.ActionPlan
- func StatusLTE(v string) predicate.ActionPlan
- func StatusNEQ(v string) predicate.ActionPlan
- func StatusNotIn(vs ...string) predicate.ActionPlan
- func StatusNotNil() predicate.ActionPlan
- func TagsIsNil() predicate.ActionPlan
- func TagsNotNil() predicate.ActionPlan
- func UpdatedAt(v time.Time) predicate.ActionPlan
- func UpdatedAtEQ(v time.Time) predicate.ActionPlan
- func UpdatedAtGT(v time.Time) predicate.ActionPlan
- func UpdatedAtGTE(v time.Time) predicate.ActionPlan
- func UpdatedAtIn(vs ...time.Time) predicate.ActionPlan
- func UpdatedAtIsNil() predicate.ActionPlan
- func UpdatedAtLT(v time.Time) predicate.ActionPlan
- func UpdatedAtLTE(v time.Time) predicate.ActionPlan
- func UpdatedAtNEQ(v time.Time) predicate.ActionPlan
- func UpdatedAtNotIn(vs ...time.Time) predicate.ActionPlan
- func UpdatedAtNotNil() predicate.ActionPlan
- func UpdatedBy(v string) predicate.ActionPlan
- func UpdatedByContains(v string) predicate.ActionPlan
- func UpdatedByContainsFold(v string) predicate.ActionPlan
- func UpdatedByEQ(v string) predicate.ActionPlan
- func UpdatedByEqualFold(v string) predicate.ActionPlan
- func UpdatedByGT(v string) predicate.ActionPlan
- func UpdatedByGTE(v string) predicate.ActionPlan
- func UpdatedByHasPrefix(v string) predicate.ActionPlan
- func UpdatedByHasSuffix(v string) predicate.ActionPlan
- func UpdatedByIn(vs ...string) predicate.ActionPlan
- func UpdatedByIsNil() predicate.ActionPlan
- func UpdatedByLT(v string) predicate.ActionPlan
- func UpdatedByLTE(v string) predicate.ActionPlan
- func UpdatedByNEQ(v string) predicate.ActionPlan
- func UpdatedByNotIn(vs ...string) predicate.ActionPlan
- func UpdatedByNotNil() predicate.ActionPlan
- func ValidColumn(column string) bool
- type OrderOption
- func ByControl(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByControlCount(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 ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByDueDate(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByPriority(opts ...sql.OrderTermOption) OrderOption
- func ByProgram(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProgramCount(opts ...sql.OrderTermOption) OrderOption
- func ByRisk(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRiskCount(opts ...sql.OrderTermOption) OrderOption
- func BySource(opts ...sql.OrderTermOption) OrderOption
- func ByStandard(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByStandardCount(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUser(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUserCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the actionplan type in the database. Label = "action_plan" // 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" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldDueDate holds the string denoting the due_date field in the database. FieldDueDate = "due_date" // FieldPriority holds the string denoting the priority field in the database. FieldPriority = "priority" // FieldSource holds the string denoting the source field in the database. FieldSource = "source" // FieldDetails holds the string denoting the details field in the database. FieldDetails = "details" // EdgeStandard holds the string denoting the standard edge name in mutations. EdgeStandard = "standard" // EdgeRisk holds the string denoting the risk edge name in mutations. EdgeRisk = "risk" // EdgeControl holds the string denoting the control edge name in mutations. EdgeControl = "control" // EdgeUser holds the string denoting the user edge name in mutations. EdgeUser = "user" // EdgeProgram holds the string denoting the program edge name in mutations. EdgeProgram = "program" // Table holds the table name of the actionplan in the database. Table = "action_plans" // StandardTable is the table that holds the standard relation/edge. The primary key declared below. StandardTable = "standard_action_plans" // StandardInverseTable is the table name for the Standard entity. // It exists in this package in order to avoid circular dependency with the "standard" package. StandardInverseTable = "standards" // RiskTable is the table that holds the risk relation/edge. The primary key declared below. RiskTable = "risk_action_plans" // RiskInverseTable is the table name for the Risk entity. // It exists in this package in order to avoid circular dependency with the "risk" package. RiskInverseTable = "risks" // ControlTable is the table that holds the control relation/edge. The primary key declared below. ControlTable = "control_action_plans" // 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" // UserTable is the table that holds the user relation/edge. The primary key declared below. UserTable = "user_action_plans" // UserInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UserInverseTable = "users" // ProgramTable is the table that holds the program relation/edge. The primary key declared below. ProgramTable = "program_action_plans" // 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" )
Variables ¶
var ( // StandardPrimaryKey and StandardColumn2 are the table columns denoting the // primary key for the standard relation (M2M). StandardPrimaryKey = []string{"standard_id", "action_plan_id"} // RiskPrimaryKey and RiskColumn2 are the table columns denoting the // primary key for the risk relation (M2M). RiskPrimaryKey = []string{"risk_id", "action_plan_id"} // ControlPrimaryKey and ControlColumn2 are the table columns denoting the // primary key for the control relation (M2M). ControlPrimaryKey = []string{"control_id", "action_plan_id"} // UserPrimaryKey and UserColumn2 are the table columns denoting the // primary key for the user relation (M2M). UserPrimaryKey = []string{"user_id", "action_plan_id"} // ProgramPrimaryKey and ProgramColumn2 are the table columns denoting the // primary key for the program relation (M2M). ProgramPrimaryKey = []string{"program_id", "action_plan_id"} )
var ( Hooks [2]ent.Hook Interceptors [1]ent.Interceptor // 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 // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // 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, FieldMappingID, FieldTags, FieldName, FieldDescription, FieldStatus, FieldDueDate, FieldPriority, FieldSource, FieldDetails, }
Columns holds all SQL columns for actionplan fields.
Functions ¶
func And ¶
func And(predicates ...predicate.ActionPlan) predicate.ActionPlan
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ActionPlan
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ActionPlan
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ActionPlan
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ActionPlan
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ActionPlan
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.ActionPlan
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ActionPlan
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ActionPlan
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ActionPlan
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ActionPlan
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.ActionPlan
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.ActionPlan
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.ActionPlan
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.ActionPlan
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.ActionPlan
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.ActionPlan
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.ActionPlan
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.ActionPlan
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.ActionPlan
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.ActionPlan
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.ActionPlan
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.ActionPlan
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.ActionPlan
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.ActionPlan
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.ActionPlan
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.ActionPlan
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.ActionPlan
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.ActionPlan
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.ActionPlan
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.ActionPlan
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.ActionPlan
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.ActionPlan
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.ActionPlan
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.ActionPlan
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.ActionPlan
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.ActionPlan
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.ActionPlan
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.ActionPlan
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.ActionPlan
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.ActionPlan
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.ActionPlan
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.ActionPlan
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.ActionPlan
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.ActionPlan
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.ActionPlan
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.ActionPlan
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.ActionPlan
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.ActionPlan
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.ActionPlan
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.ActionPlan
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.ActionPlan
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.ActionPlan
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.ActionPlan
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.ActionPlan
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Description ¶
func Description(v string) predicate.ActionPlan
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.ActionPlan
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.ActionPlan
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.ActionPlan
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.ActionPlan
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.ActionPlan
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.ActionPlan
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.ActionPlan
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.ActionPlan
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.ActionPlan
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
func DescriptionIsNil() predicate.ActionPlan
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.ActionPlan
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.ActionPlan
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.ActionPlan
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.ActionPlan
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
func DescriptionNotNil() predicate.ActionPlan
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DetailsIsNil ¶
func DetailsIsNil() predicate.ActionPlan
DetailsIsNil applies the IsNil predicate on the "details" field.
func DetailsNotNil ¶
func DetailsNotNil() predicate.ActionPlan
DetailsNotNil applies the NotNil predicate on the "details" field.
func DueDate ¶
func DueDate(v time.Time) predicate.ActionPlan
DueDate applies equality check predicate on the "due_date" field. It's identical to DueDateEQ.
func DueDateEQ ¶
func DueDateEQ(v time.Time) predicate.ActionPlan
DueDateEQ applies the EQ predicate on the "due_date" field.
func DueDateGT ¶
func DueDateGT(v time.Time) predicate.ActionPlan
DueDateGT applies the GT predicate on the "due_date" field.
func DueDateGTE ¶
func DueDateGTE(v time.Time) predicate.ActionPlan
DueDateGTE applies the GTE predicate on the "due_date" field.
func DueDateIn ¶
func DueDateIn(vs ...time.Time) predicate.ActionPlan
DueDateIn applies the In predicate on the "due_date" field.
func DueDateIsNil ¶
func DueDateIsNil() predicate.ActionPlan
DueDateIsNil applies the IsNil predicate on the "due_date" field.
func DueDateLT ¶
func DueDateLT(v time.Time) predicate.ActionPlan
DueDateLT applies the LT predicate on the "due_date" field.
func DueDateLTE ¶
func DueDateLTE(v time.Time) predicate.ActionPlan
DueDateLTE applies the LTE predicate on the "due_date" field.
func DueDateNEQ ¶
func DueDateNEQ(v time.Time) predicate.ActionPlan
DueDateNEQ applies the NEQ predicate on the "due_date" field.
func DueDateNotIn ¶
func DueDateNotIn(vs ...time.Time) predicate.ActionPlan
DueDateNotIn applies the NotIn predicate on the "due_date" field.
func DueDateNotNil ¶
func DueDateNotNil() predicate.ActionPlan
DueDateNotNil applies the NotNil predicate on the "due_date" field.
func HasControl ¶
func HasControl() predicate.ActionPlan
HasControl applies the HasEdge predicate on the "control" edge.
func HasControlWith ¶
func HasControlWith(preds ...predicate.Control) predicate.ActionPlan
HasControlWith applies the HasEdge predicate on the "control" edge with a given conditions (other predicates).
func HasProgram ¶ added in v0.3.5
func HasProgram() predicate.ActionPlan
HasProgram applies the HasEdge predicate on the "program" edge.
func HasProgramWith ¶ added in v0.3.5
func HasProgramWith(preds ...predicate.Program) predicate.ActionPlan
HasProgramWith applies the HasEdge predicate on the "program" edge with a given conditions (other predicates).
func HasRisk ¶
func HasRisk() predicate.ActionPlan
HasRisk applies the HasEdge predicate on the "risk" edge.
func HasRiskWith ¶
func HasRiskWith(preds ...predicate.Risk) predicate.ActionPlan
HasRiskWith applies the HasEdge predicate on the "risk" edge with a given conditions (other predicates).
func HasStandard ¶
func HasStandard() predicate.ActionPlan
HasStandard applies the HasEdge predicate on the "standard" edge.
func HasStandardWith ¶
func HasStandardWith(preds ...predicate.Standard) predicate.ActionPlan
HasStandardWith applies the HasEdge predicate on the "standard" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.ActionPlan
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.ActionPlan
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.ActionPlan
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.ActionPlan
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.ActionPlan
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.ActionPlan
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.ActionPlan
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.ActionPlan
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.ActionPlan
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.ActionPlan
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.ActionPlan
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.ActionPlan
IDNotIn applies the NotIn predicate on the ID field.
func MappingID ¶
func MappingID(v string) predicate.ActionPlan
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
func MappingIDContains(v string) predicate.ActionPlan
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
func MappingIDContainsFold(v string) predicate.ActionPlan
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
func MappingIDEQ(v string) predicate.ActionPlan
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
func MappingIDEqualFold(v string) predicate.ActionPlan
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
func MappingIDGT(v string) predicate.ActionPlan
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
func MappingIDGTE(v string) predicate.ActionPlan
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
func MappingIDHasPrefix(v string) predicate.ActionPlan
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
func MappingIDHasSuffix(v string) predicate.ActionPlan
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
func MappingIDIn(vs ...string) predicate.ActionPlan
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
func MappingIDLT(v string) predicate.ActionPlan
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
func MappingIDLTE(v string) predicate.ActionPlan
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
func MappingIDNEQ(v string) predicate.ActionPlan
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
func MappingIDNotIn(vs ...string) predicate.ActionPlan
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Name ¶
func Name(v string) predicate.ActionPlan
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.ActionPlan
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.ActionPlan
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.ActionPlan
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.ActionPlan
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.ActionPlan
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.ActionPlan
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.ActionPlan
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.ActionPlan
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.ActionPlan
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.ActionPlan
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.ActionPlan
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.ActionPlan
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.ActionPlan
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.ActionPlan) predicate.ActionPlan
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.ActionPlan) predicate.ActionPlan
Or groups predicates with the OR operator between them.
func Priority ¶
func Priority(v string) predicate.ActionPlan
Priority applies equality check predicate on the "priority" field. It's identical to PriorityEQ.
func PriorityContains ¶
func PriorityContains(v string) predicate.ActionPlan
PriorityContains applies the Contains predicate on the "priority" field.
func PriorityContainsFold ¶
func PriorityContainsFold(v string) predicate.ActionPlan
PriorityContainsFold applies the ContainsFold predicate on the "priority" field.
func PriorityEQ ¶
func PriorityEQ(v string) predicate.ActionPlan
PriorityEQ applies the EQ predicate on the "priority" field.
func PriorityEqualFold ¶
func PriorityEqualFold(v string) predicate.ActionPlan
PriorityEqualFold applies the EqualFold predicate on the "priority" field.
func PriorityGT ¶
func PriorityGT(v string) predicate.ActionPlan
PriorityGT applies the GT predicate on the "priority" field.
func PriorityGTE ¶
func PriorityGTE(v string) predicate.ActionPlan
PriorityGTE applies the GTE predicate on the "priority" field.
func PriorityHasPrefix ¶
func PriorityHasPrefix(v string) predicate.ActionPlan
PriorityHasPrefix applies the HasPrefix predicate on the "priority" field.
func PriorityHasSuffix ¶
func PriorityHasSuffix(v string) predicate.ActionPlan
PriorityHasSuffix applies the HasSuffix predicate on the "priority" field.
func PriorityIn ¶
func PriorityIn(vs ...string) predicate.ActionPlan
PriorityIn applies the In predicate on the "priority" field.
func PriorityIsNil ¶
func PriorityIsNil() predicate.ActionPlan
PriorityIsNil applies the IsNil predicate on the "priority" field.
func PriorityLT ¶
func PriorityLT(v string) predicate.ActionPlan
PriorityLT applies the LT predicate on the "priority" field.
func PriorityLTE ¶
func PriorityLTE(v string) predicate.ActionPlan
PriorityLTE applies the LTE predicate on the "priority" field.
func PriorityNEQ ¶
func PriorityNEQ(v string) predicate.ActionPlan
PriorityNEQ applies the NEQ predicate on the "priority" field.
func PriorityNotIn ¶
func PriorityNotIn(vs ...string) predicate.ActionPlan
PriorityNotIn applies the NotIn predicate on the "priority" field.
func PriorityNotNil ¶
func PriorityNotNil() predicate.ActionPlan
PriorityNotNil applies the NotNil predicate on the "priority" field.
func Source ¶
func Source(v string) predicate.ActionPlan
Source applies equality check predicate on the "source" field. It's identical to SourceEQ.
func SourceContains ¶
func SourceContains(v string) predicate.ActionPlan
SourceContains applies the Contains predicate on the "source" field.
func SourceContainsFold ¶
func SourceContainsFold(v string) predicate.ActionPlan
SourceContainsFold applies the ContainsFold predicate on the "source" field.
func SourceEQ ¶
func SourceEQ(v string) predicate.ActionPlan
SourceEQ applies the EQ predicate on the "source" field.
func SourceEqualFold ¶
func SourceEqualFold(v string) predicate.ActionPlan
SourceEqualFold applies the EqualFold predicate on the "source" field.
func SourceGT ¶
func SourceGT(v string) predicate.ActionPlan
SourceGT applies the GT predicate on the "source" field.
func SourceGTE ¶
func SourceGTE(v string) predicate.ActionPlan
SourceGTE applies the GTE predicate on the "source" field.
func SourceHasPrefix ¶
func SourceHasPrefix(v string) predicate.ActionPlan
SourceHasPrefix applies the HasPrefix predicate on the "source" field.
func SourceHasSuffix ¶
func SourceHasSuffix(v string) predicate.ActionPlan
SourceHasSuffix applies the HasSuffix predicate on the "source" field.
func SourceIn ¶
func SourceIn(vs ...string) predicate.ActionPlan
SourceIn applies the In predicate on the "source" field.
func SourceIsNil ¶
func SourceIsNil() predicate.ActionPlan
SourceIsNil applies the IsNil predicate on the "source" field.
func SourceLT ¶
func SourceLT(v string) predicate.ActionPlan
SourceLT applies the LT predicate on the "source" field.
func SourceLTE ¶
func SourceLTE(v string) predicate.ActionPlan
SourceLTE applies the LTE predicate on the "source" field.
func SourceNEQ ¶
func SourceNEQ(v string) predicate.ActionPlan
SourceNEQ applies the NEQ predicate on the "source" field.
func SourceNotIn ¶
func SourceNotIn(vs ...string) predicate.ActionPlan
SourceNotIn applies the NotIn predicate on the "source" field.
func SourceNotNil ¶
func SourceNotNil() predicate.ActionPlan
SourceNotNil applies the NotNil predicate on the "source" field.
func Status ¶
func Status(v string) predicate.ActionPlan
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
func StatusContains(v string) predicate.ActionPlan
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
func StatusContainsFold(v string) predicate.ActionPlan
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEQ ¶
func StatusEQ(v string) predicate.ActionPlan
StatusEQ applies the EQ predicate on the "status" field.
func StatusEqualFold ¶
func StatusEqualFold(v string) predicate.ActionPlan
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusGT ¶
func StatusGT(v string) predicate.ActionPlan
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v string) predicate.ActionPlan
StatusGTE applies the GTE predicate on the "status" field.
func StatusHasPrefix ¶
func StatusHasPrefix(v string) predicate.ActionPlan
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
func StatusHasSuffix(v string) predicate.ActionPlan
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...string) predicate.ActionPlan
StatusIn applies the In predicate on the "status" field.
func StatusIsNil ¶
func StatusIsNil() predicate.ActionPlan
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusLT ¶
func StatusLT(v string) predicate.ActionPlan
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v string) predicate.ActionPlan
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v string) predicate.ActionPlan
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...string) predicate.ActionPlan
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
func StatusNotNil() predicate.ActionPlan
StatusNotNil applies the NotNil predicate on the "status" field.
func TagsIsNil ¶
func TagsIsNil() predicate.ActionPlan
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.ActionPlan
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ActionPlan
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ActionPlan
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ActionPlan
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ActionPlan
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ActionPlan
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.ActionPlan
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ActionPlan
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ActionPlan
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ActionPlan
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ActionPlan
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.ActionPlan
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.ActionPlan
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.ActionPlan
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.ActionPlan
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.ActionPlan
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.ActionPlan
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.ActionPlan
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.ActionPlan
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.ActionPlan
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.ActionPlan
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.ActionPlan
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.ActionPlan
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.ActionPlan
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.ActionPlan
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.ActionPlan
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.ActionPlan
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.ActionPlan
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 ActionPlan queries.
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 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 ByDueDate ¶
func ByDueDate(opts ...sql.OrderTermOption) OrderOption
ByDueDate orders the results by the due_date field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMappingID ¶
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByPriority ¶
func ByPriority(opts ...sql.OrderTermOption) OrderOption
ByPriority orders the results by the priority field.
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 ByRisk ¶
func ByRisk(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRisk orders the results by risk terms.
func ByRiskCount ¶
func ByRiskCount(opts ...sql.OrderTermOption) OrderOption
ByRiskCount orders the results by risk count.
func BySource ¶
func BySource(opts ...sql.OrderTermOption) OrderOption
BySource orders the results by the source field.
func ByStandard ¶
func ByStandard(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByStandard orders the results by standard terms.
func ByStandardCount ¶
func ByStandardCount(opts ...sql.OrderTermOption) OrderOption
ByStandardCount orders the results by standard count.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status 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.
func ByUser ¶
func ByUser(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUser orders the results by user terms.
func ByUserCount ¶
func ByUserCount(opts ...sql.OrderTermOption) OrderOption
ByUserCount orders the results by user count.