procedure

package
v0.6.20 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the procedure type in the database.
	Label = "procedure"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldDisplayID holds the string denoting the display_id field in the database.
	FieldDisplayID = "display_id"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// 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"
	// FieldProcedureType holds the string denoting the procedure_type field in the database.
	FieldProcedureType = "procedure_type"
	// FieldReviewDue holds the string denoting the review_due field in the database.
	FieldReviewDue = "review_due"
	// FieldVersion holds the string denoting the version field in the database.
	FieldVersion = "version"
	// FieldPurposeAndScope holds the string denoting the purpose_and_scope field in the database.
	FieldPurposeAndScope = "purpose_and_scope"
	// FieldBackground holds the string denoting the background field in the database.
	FieldBackground = "background"
	// FieldSatisfies holds the string denoting the satisfies field in the database.
	FieldSatisfies = "satisfies"
	// FieldDetails holds the string denoting the details field in the database.
	FieldDetails = "details"
	// EdgeOwner holds the string denoting the owner edge name in mutations.
	EdgeOwner = "owner"
	// EdgeBlockedGroups holds the string denoting the blocked_groups edge name in mutations.
	EdgeBlockedGroups = "blocked_groups"
	// EdgeEditors holds the string denoting the editors edge name in mutations.
	EdgeEditors = "editors"
	// EdgeControls holds the string denoting the controls edge name in mutations.
	EdgeControls = "controls"
	// EdgeInternalPolicies holds the string denoting the internal_policies edge name in mutations.
	EdgeInternalPolicies = "internal_policies"
	// EdgeNarratives holds the string denoting the narratives edge name in mutations.
	EdgeNarratives = "narratives"
	// EdgeRisks holds the string denoting the risks edge name in mutations.
	EdgeRisks = "risks"
	// EdgeTasks holds the string denoting the tasks edge name in mutations.
	EdgeTasks = "tasks"
	// EdgePrograms holds the string denoting the programs edge name in mutations.
	EdgePrograms = "programs"
	// Table holds the table name of the procedure in the database.
	Table = "procedures"
	// OwnerTable is the table that holds the owner relation/edge.
	OwnerTable = "procedures"
	// 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"
	// BlockedGroupsTable is the table that holds the blocked_groups relation/edge. The primary key declared below.
	BlockedGroupsTable = "procedure_blocked_groups"
	// BlockedGroupsInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	BlockedGroupsInverseTable = "groups"
	// EditorsTable is the table that holds the editors relation/edge. The primary key declared below.
	EditorsTable = "procedure_editors"
	// EditorsInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	EditorsInverseTable = "groups"
	// ControlsTable is the table that holds the controls relation/edge. The primary key declared below.
	ControlsTable = "control_procedures"
	// ControlsInverseTable is the table name for the Control entity.
	// It exists in this package in order to avoid circular dependency with the "control" package.
	ControlsInverseTable = "controls"
	// InternalPoliciesTable is the table that holds the internal_policies relation/edge. The primary key declared below.
	InternalPoliciesTable = "internal_policy_procedures"
	// InternalPoliciesInverseTable is the table name for the InternalPolicy entity.
	// It exists in this package in order to avoid circular dependency with the "internalpolicy" package.
	InternalPoliciesInverseTable = "internal_policies"
	// NarrativesTable is the table that holds the narratives relation/edge. The primary key declared below.
	NarrativesTable = "procedure_narratives"
	// NarrativesInverseTable is the table name for the Narrative entity.
	// It exists in this package in order to avoid circular dependency with the "narrative" package.
	NarrativesInverseTable = "narratives"
	// RisksTable is the table that holds the risks relation/edge. The primary key declared below.
	RisksTable = "procedure_risks"
	// RisksInverseTable is the table name for the Risk entity.
	// It exists in this package in order to avoid circular dependency with the "risk" package.
	RisksInverseTable = "risks"
	// TasksTable is the table that holds the tasks relation/edge. The primary key declared below.
	TasksTable = "procedure_tasks"
	// TasksInverseTable is the table name for the Task entity.
	// It exists in this package in order to avoid circular dependency with the "task" package.
	TasksInverseTable = "tasks"
	// ProgramsTable is the table that holds the programs relation/edge. The primary key declared below.
	ProgramsTable = "program_procedures"
	// ProgramsInverseTable is the table name for the Program entity.
	// It exists in this package in order to avoid circular dependency with the "program" package.
	ProgramsInverseTable = "programs"
)

Variables

View Source
var (
	// BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the
	// primary key for the blocked_groups relation (M2M).
	BlockedGroupsPrimaryKey = []string{"procedure_id", "group_id"}
	// EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the
	// primary key for the editors relation (M2M).
	EditorsPrimaryKey = []string{"procedure_id", "group_id"}
	// ControlsPrimaryKey and ControlsColumn2 are the table columns denoting the
	// primary key for the controls relation (M2M).
	ControlsPrimaryKey = []string{"control_id", "procedure_id"}
	// InternalPoliciesPrimaryKey and InternalPoliciesColumn2 are the table columns denoting the
	// primary key for the internal_policies relation (M2M).
	InternalPoliciesPrimaryKey = []string{"internal_policy_id", "procedure_id"}
	// NarrativesPrimaryKey and NarrativesColumn2 are the table columns denoting the
	// primary key for the narratives relation (M2M).
	NarrativesPrimaryKey = []string{"procedure_id", "narrative_id"}
	// RisksPrimaryKey and RisksColumn2 are the table columns denoting the
	// primary key for the risks relation (M2M).
	RisksPrimaryKey = []string{"procedure_id", "risk_id"}
	// TasksPrimaryKey and TasksColumn2 are the table columns denoting the
	// primary key for the tasks relation (M2M).
	TasksPrimaryKey = []string{"procedure_id", "task_id"}
	// ProgramsPrimaryKey and ProgramsColumn2 are the table columns denoting the
	// primary key for the programs relation (M2M).
	ProgramsPrimaryKey = []string{"program_id", "procedure_id"}
)
View Source
var (
	Hooks        [8]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
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultReviewDue holds the default value on creation for the "review_due" field.
	DefaultReviewDue time.Time
	// 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 procedure fields.

View Source
var ForeignKeys = []string{
	"control_objective_procedures",
	"standard_procedures",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "procedures" table and are not defined as standalone fields in the schema.

Functions

func And

func And(predicates ...predicate.Procedure) predicate.Procedure

And groups predicates with the AND operator between them.

func Background

func Background(v string) predicate.Procedure

Background applies equality check predicate on the "background" field. It's identical to BackgroundEQ.

func BackgroundContains

func BackgroundContains(v string) predicate.Procedure

BackgroundContains applies the Contains predicate on the "background" field.

func BackgroundContainsFold

func BackgroundContainsFold(v string) predicate.Procedure

BackgroundContainsFold applies the ContainsFold predicate on the "background" field.

func BackgroundEQ

func BackgroundEQ(v string) predicate.Procedure

BackgroundEQ applies the EQ predicate on the "background" field.

func BackgroundEqualFold

func BackgroundEqualFold(v string) predicate.Procedure

BackgroundEqualFold applies the EqualFold predicate on the "background" field.

func BackgroundGT

func BackgroundGT(v string) predicate.Procedure

BackgroundGT applies the GT predicate on the "background" field.

func BackgroundGTE

func BackgroundGTE(v string) predicate.Procedure

BackgroundGTE applies the GTE predicate on the "background" field.

func BackgroundHasPrefix

func BackgroundHasPrefix(v string) predicate.Procedure

BackgroundHasPrefix applies the HasPrefix predicate on the "background" field.

func BackgroundHasSuffix

func BackgroundHasSuffix(v string) predicate.Procedure

BackgroundHasSuffix applies the HasSuffix predicate on the "background" field.

func BackgroundIn

func BackgroundIn(vs ...string) predicate.Procedure

BackgroundIn applies the In predicate on the "background" field.

func BackgroundIsNil

func BackgroundIsNil() predicate.Procedure

BackgroundIsNil applies the IsNil predicate on the "background" field.

func BackgroundLT

func BackgroundLT(v string) predicate.Procedure

BackgroundLT applies the LT predicate on the "background" field.

func BackgroundLTE

func BackgroundLTE(v string) predicate.Procedure

BackgroundLTE applies the LTE predicate on the "background" field.

func BackgroundNEQ

func BackgroundNEQ(v string) predicate.Procedure

BackgroundNEQ applies the NEQ predicate on the "background" field.

func BackgroundNotIn

func BackgroundNotIn(vs ...string) predicate.Procedure

BackgroundNotIn applies the NotIn predicate on the "background" field.

func BackgroundNotNil

func BackgroundNotNil() predicate.Procedure

BackgroundNotNil applies the NotNil predicate on the "background" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Procedure

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Procedure

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Procedure

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Procedure

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.Procedure

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Procedure

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Procedure

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Procedure

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.Procedure

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

func CreatedBy

func CreatedBy(v string) predicate.Procedure

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

func CreatedByContains

func CreatedByContains(v string) predicate.Procedure

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Procedure

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.Procedure

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Procedure

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

func CreatedByGT

func CreatedByGT(v string) predicate.Procedure

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.Procedure

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Procedure

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Procedure

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.Procedure

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

func CreatedByLT

func CreatedByLT(v string) predicate.Procedure

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.Procedure

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Procedure

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.Procedure

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

func DeletedAt

func DeletedAt(v time.Time) predicate.Procedure

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Procedure

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Procedure

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Procedure

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Procedure

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Procedure

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Procedure

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Procedure

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Procedure

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

func DeletedBy

func DeletedBy(v string) predicate.Procedure

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

func DeletedByContains

func DeletedByContains(v string) predicate.Procedure

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.Procedure

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.Procedure

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.Procedure

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

func DeletedByGT

func DeletedByGT(v string) predicate.Procedure

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.Procedure

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.Procedure

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.Procedure

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.Procedure

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

func DeletedByLT

func DeletedByLT(v string) predicate.Procedure

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.Procedure

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.Procedure

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.Procedure

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

func Description

func Description(v string) predicate.Procedure

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

func DescriptionContains

func DescriptionContains(v string) predicate.Procedure

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Procedure

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.Procedure

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Procedure

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

func DescriptionGT

func DescriptionGT(v string) predicate.Procedure

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.Procedure

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Procedure

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Procedure

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.Procedure

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

func DescriptionLT

func DescriptionLT(v string) predicate.Procedure

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.Procedure

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Procedure

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.Procedure

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

func DetailsIsNil

func DetailsIsNil() predicate.Procedure

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

func DetailsNotNil

func DetailsNotNil() predicate.Procedure

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

func DisplayID added in v0.6.11

func DisplayID(v string) predicate.Procedure

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.Procedure

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

func DisplayIDContainsFold added in v0.6.11

func DisplayIDContainsFold(v string) predicate.Procedure

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

func DisplayIDEQ added in v0.6.11

func DisplayIDEQ(v string) predicate.Procedure

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

func DisplayIDEqualFold added in v0.6.11

func DisplayIDEqualFold(v string) predicate.Procedure

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

func DisplayIDGT added in v0.6.11

func DisplayIDGT(v string) predicate.Procedure

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

func DisplayIDGTE added in v0.6.11

func DisplayIDGTE(v string) predicate.Procedure

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

func DisplayIDHasPrefix added in v0.6.11

func DisplayIDHasPrefix(v string) predicate.Procedure

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

func DisplayIDHasSuffix added in v0.6.11

func DisplayIDHasSuffix(v string) predicate.Procedure

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

func DisplayIDIn added in v0.6.11

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

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

func DisplayIDLT added in v0.6.11

func DisplayIDLT(v string) predicate.Procedure

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

func DisplayIDLTE added in v0.6.11

func DisplayIDLTE(v string) predicate.Procedure

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

func DisplayIDNEQ added in v0.6.11

func DisplayIDNEQ(v string) predicate.Procedure

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

func DisplayIDNotIn added in v0.6.11

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

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

func HasBlockedGroups added in v0.4.2

func HasBlockedGroups() predicate.Procedure

HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.

func HasBlockedGroupsWith added in v0.4.2

func HasBlockedGroupsWith(preds ...predicate.Group) predicate.Procedure

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

func HasControls added in v0.6.1

func HasControls() predicate.Procedure

HasControls applies the HasEdge predicate on the "controls" edge.

func HasControlsWith added in v0.6.1

func HasControlsWith(preds ...predicate.Control) predicate.Procedure

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

func HasEditors added in v0.4.2

func HasEditors() predicate.Procedure

HasEditors applies the HasEdge predicate on the "editors" edge.

func HasEditorsWith added in v0.4.2

func HasEditorsWith(preds ...predicate.Group) predicate.Procedure

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

func HasInternalPolicies added in v0.6.1

func HasInternalPolicies() predicate.Procedure

HasInternalPolicies applies the HasEdge predicate on the "internal_policies" edge.

func HasInternalPoliciesWith added in v0.6.1

func HasInternalPoliciesWith(preds ...predicate.InternalPolicy) predicate.Procedure

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

func HasNarratives

func HasNarratives() predicate.Procedure

HasNarratives applies the HasEdge predicate on the "narratives" edge.

func HasNarrativesWith

func HasNarrativesWith(preds ...predicate.Narrative) predicate.Procedure

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

func HasOwner added in v0.4.2

func HasOwner() predicate.Procedure

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

func HasOwnerWith added in v0.4.2

func HasOwnerWith(preds ...predicate.Organization) predicate.Procedure

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

func HasPrograms added in v0.3.5

func HasPrograms() predicate.Procedure

HasPrograms applies the HasEdge predicate on the "programs" edge.

func HasProgramsWith added in v0.3.5

func HasProgramsWith(preds ...predicate.Program) predicate.Procedure

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

func HasRisks

func HasRisks() predicate.Procedure

HasRisks applies the HasEdge predicate on the "risks" edge.

func HasRisksWith

func HasRisksWith(preds ...predicate.Risk) predicate.Procedure

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

func HasTasks added in v0.3.4

func HasTasks() predicate.Procedure

HasTasks applies the HasEdge predicate on the "tasks" edge.

func HasTasksWith added in v0.3.4

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

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

func ID

func ID(id string) predicate.Procedure

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Procedure

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Procedure

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Procedure

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Procedure

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Procedure

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Procedure

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Procedure

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Procedure

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.Procedure

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Procedure

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Procedure

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Procedure

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Procedure

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Procedure

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Procedure

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Procedure

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Procedure

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Procedure

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Procedure

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Procedure

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Procedure

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Procedure

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Procedure) predicate.Procedure

Or groups predicates with the OR operator between them.

func OwnerID added in v0.4.2

func OwnerID(v string) predicate.Procedure

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

func OwnerIDContains added in v0.4.2

func OwnerIDContains(v string) predicate.Procedure

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

func OwnerIDContainsFold added in v0.4.2

func OwnerIDContainsFold(v string) predicate.Procedure

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

func OwnerIDEQ added in v0.4.2

func OwnerIDEQ(v string) predicate.Procedure

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

func OwnerIDEqualFold added in v0.4.2

func OwnerIDEqualFold(v string) predicate.Procedure

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

func OwnerIDGT added in v0.4.2

func OwnerIDGT(v string) predicate.Procedure

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

func OwnerIDGTE added in v0.4.2

func OwnerIDGTE(v string) predicate.Procedure

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

func OwnerIDHasPrefix added in v0.4.2

func OwnerIDHasPrefix(v string) predicate.Procedure

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

func OwnerIDHasSuffix added in v0.4.2

func OwnerIDHasSuffix(v string) predicate.Procedure

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

func OwnerIDIn added in v0.4.2

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

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

func OwnerIDIsNil added in v0.4.2

func OwnerIDIsNil() predicate.Procedure

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT added in v0.4.2

func OwnerIDLT(v string) predicate.Procedure

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

func OwnerIDLTE added in v0.4.2

func OwnerIDLTE(v string) predicate.Procedure

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

func OwnerIDNEQ added in v0.4.2

func OwnerIDNEQ(v string) predicate.Procedure

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

func OwnerIDNotIn added in v0.4.2

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

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

func OwnerIDNotNil added in v0.4.2

func OwnerIDNotNil() predicate.Procedure

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func ProcedureType

func ProcedureType(v string) predicate.Procedure

ProcedureType applies equality check predicate on the "procedure_type" field. It's identical to ProcedureTypeEQ.

func ProcedureTypeContains

func ProcedureTypeContains(v string) predicate.Procedure

ProcedureTypeContains applies the Contains predicate on the "procedure_type" field.

func ProcedureTypeContainsFold

func ProcedureTypeContainsFold(v string) predicate.Procedure

ProcedureTypeContainsFold applies the ContainsFold predicate on the "procedure_type" field.

func ProcedureTypeEQ

func ProcedureTypeEQ(v string) predicate.Procedure

ProcedureTypeEQ applies the EQ predicate on the "procedure_type" field.

func ProcedureTypeEqualFold

func ProcedureTypeEqualFold(v string) predicate.Procedure

ProcedureTypeEqualFold applies the EqualFold predicate on the "procedure_type" field.

func ProcedureTypeGT

func ProcedureTypeGT(v string) predicate.Procedure

ProcedureTypeGT applies the GT predicate on the "procedure_type" field.

func ProcedureTypeGTE

func ProcedureTypeGTE(v string) predicate.Procedure

ProcedureTypeGTE applies the GTE predicate on the "procedure_type" field.

func ProcedureTypeHasPrefix

func ProcedureTypeHasPrefix(v string) predicate.Procedure

ProcedureTypeHasPrefix applies the HasPrefix predicate on the "procedure_type" field.

func ProcedureTypeHasSuffix

func ProcedureTypeHasSuffix(v string) predicate.Procedure

ProcedureTypeHasSuffix applies the HasSuffix predicate on the "procedure_type" field.

func ProcedureTypeIn

func ProcedureTypeIn(vs ...string) predicate.Procedure

ProcedureTypeIn applies the In predicate on the "procedure_type" field.

func ProcedureTypeIsNil

func ProcedureTypeIsNil() predicate.Procedure

ProcedureTypeIsNil applies the IsNil predicate on the "procedure_type" field.

func ProcedureTypeLT

func ProcedureTypeLT(v string) predicate.Procedure

ProcedureTypeLT applies the LT predicate on the "procedure_type" field.

func ProcedureTypeLTE

func ProcedureTypeLTE(v string) predicate.Procedure

ProcedureTypeLTE applies the LTE predicate on the "procedure_type" field.

func ProcedureTypeNEQ

func ProcedureTypeNEQ(v string) predicate.Procedure

ProcedureTypeNEQ applies the NEQ predicate on the "procedure_type" field.

func ProcedureTypeNotIn

func ProcedureTypeNotIn(vs ...string) predicate.Procedure

ProcedureTypeNotIn applies the NotIn predicate on the "procedure_type" field.

func ProcedureTypeNotNil

func ProcedureTypeNotNil() predicate.Procedure

ProcedureTypeNotNil applies the NotNil predicate on the "procedure_type" field.

func PurposeAndScope

func PurposeAndScope(v string) predicate.Procedure

PurposeAndScope applies equality check predicate on the "purpose_and_scope" field. It's identical to PurposeAndScopeEQ.

func PurposeAndScopeContains

func PurposeAndScopeContains(v string) predicate.Procedure

PurposeAndScopeContains applies the Contains predicate on the "purpose_and_scope" field.

func PurposeAndScopeContainsFold

func PurposeAndScopeContainsFold(v string) predicate.Procedure

PurposeAndScopeContainsFold applies the ContainsFold predicate on the "purpose_and_scope" field.

func PurposeAndScopeEQ

func PurposeAndScopeEQ(v string) predicate.Procedure

PurposeAndScopeEQ applies the EQ predicate on the "purpose_and_scope" field.

func PurposeAndScopeEqualFold

func PurposeAndScopeEqualFold(v string) predicate.Procedure

PurposeAndScopeEqualFold applies the EqualFold predicate on the "purpose_and_scope" field.

func PurposeAndScopeGT

func PurposeAndScopeGT(v string) predicate.Procedure

PurposeAndScopeGT applies the GT predicate on the "purpose_and_scope" field.

func PurposeAndScopeGTE

func PurposeAndScopeGTE(v string) predicate.Procedure

PurposeAndScopeGTE applies the GTE predicate on the "purpose_and_scope" field.

func PurposeAndScopeHasPrefix

func PurposeAndScopeHasPrefix(v string) predicate.Procedure

PurposeAndScopeHasPrefix applies the HasPrefix predicate on the "purpose_and_scope" field.

func PurposeAndScopeHasSuffix

func PurposeAndScopeHasSuffix(v string) predicate.Procedure

PurposeAndScopeHasSuffix applies the HasSuffix predicate on the "purpose_and_scope" field.

func PurposeAndScopeIn

func PurposeAndScopeIn(vs ...string) predicate.Procedure

PurposeAndScopeIn applies the In predicate on the "purpose_and_scope" field.

func PurposeAndScopeIsNil

func PurposeAndScopeIsNil() predicate.Procedure

PurposeAndScopeIsNil applies the IsNil predicate on the "purpose_and_scope" field.

func PurposeAndScopeLT

func PurposeAndScopeLT(v string) predicate.Procedure

PurposeAndScopeLT applies the LT predicate on the "purpose_and_scope" field.

func PurposeAndScopeLTE

func PurposeAndScopeLTE(v string) predicate.Procedure

PurposeAndScopeLTE applies the LTE predicate on the "purpose_and_scope" field.

func PurposeAndScopeNEQ

func PurposeAndScopeNEQ(v string) predicate.Procedure

PurposeAndScopeNEQ applies the NEQ predicate on the "purpose_and_scope" field.

func PurposeAndScopeNotIn

func PurposeAndScopeNotIn(vs ...string) predicate.Procedure

PurposeAndScopeNotIn applies the NotIn predicate on the "purpose_and_scope" field.

func PurposeAndScopeNotNil

func PurposeAndScopeNotNil() predicate.Procedure

PurposeAndScopeNotNil applies the NotNil predicate on the "purpose_and_scope" field.

func ReviewDue added in v0.6.19

func ReviewDue(v time.Time) predicate.Procedure

ReviewDue applies equality check predicate on the "review_due" field. It's identical to ReviewDueEQ.

func ReviewDueEQ added in v0.6.19

func ReviewDueEQ(v time.Time) predicate.Procedure

ReviewDueEQ applies the EQ predicate on the "review_due" field.

func ReviewDueGT added in v0.6.19

func ReviewDueGT(v time.Time) predicate.Procedure

ReviewDueGT applies the GT predicate on the "review_due" field.

func ReviewDueGTE added in v0.6.19

func ReviewDueGTE(v time.Time) predicate.Procedure

ReviewDueGTE applies the GTE predicate on the "review_due" field.

func ReviewDueIn added in v0.6.19

func ReviewDueIn(vs ...time.Time) predicate.Procedure

ReviewDueIn applies the In predicate on the "review_due" field.

func ReviewDueIsNil added in v0.6.19

func ReviewDueIsNil() predicate.Procedure

ReviewDueIsNil applies the IsNil predicate on the "review_due" field.

func ReviewDueLT added in v0.6.19

func ReviewDueLT(v time.Time) predicate.Procedure

ReviewDueLT applies the LT predicate on the "review_due" field.

func ReviewDueLTE added in v0.6.19

func ReviewDueLTE(v time.Time) predicate.Procedure

ReviewDueLTE applies the LTE predicate on the "review_due" field.

func ReviewDueNEQ added in v0.6.19

func ReviewDueNEQ(v time.Time) predicate.Procedure

ReviewDueNEQ applies the NEQ predicate on the "review_due" field.

func ReviewDueNotIn added in v0.6.19

func ReviewDueNotIn(vs ...time.Time) predicate.Procedure

ReviewDueNotIn applies the NotIn predicate on the "review_due" field.

func ReviewDueNotNil added in v0.6.19

func ReviewDueNotNil() predicate.Procedure

ReviewDueNotNil applies the NotNil predicate on the "review_due" field.

func Satisfies

func Satisfies(v string) predicate.Procedure

Satisfies applies equality check predicate on the "satisfies" field. It's identical to SatisfiesEQ.

func SatisfiesContains

func SatisfiesContains(v string) predicate.Procedure

SatisfiesContains applies the Contains predicate on the "satisfies" field.

func SatisfiesContainsFold

func SatisfiesContainsFold(v string) predicate.Procedure

SatisfiesContainsFold applies the ContainsFold predicate on the "satisfies" field.

func SatisfiesEQ

func SatisfiesEQ(v string) predicate.Procedure

SatisfiesEQ applies the EQ predicate on the "satisfies" field.

func SatisfiesEqualFold

func SatisfiesEqualFold(v string) predicate.Procedure

SatisfiesEqualFold applies the EqualFold predicate on the "satisfies" field.

func SatisfiesGT

func SatisfiesGT(v string) predicate.Procedure

SatisfiesGT applies the GT predicate on the "satisfies" field.

func SatisfiesGTE

func SatisfiesGTE(v string) predicate.Procedure

SatisfiesGTE applies the GTE predicate on the "satisfies" field.

func SatisfiesHasPrefix

func SatisfiesHasPrefix(v string) predicate.Procedure

SatisfiesHasPrefix applies the HasPrefix predicate on the "satisfies" field.

func SatisfiesHasSuffix

func SatisfiesHasSuffix(v string) predicate.Procedure

SatisfiesHasSuffix applies the HasSuffix predicate on the "satisfies" field.

func SatisfiesIn

func SatisfiesIn(vs ...string) predicate.Procedure

SatisfiesIn applies the In predicate on the "satisfies" field.

func SatisfiesIsNil

func SatisfiesIsNil() predicate.Procedure

SatisfiesIsNil applies the IsNil predicate on the "satisfies" field.

func SatisfiesLT

func SatisfiesLT(v string) predicate.Procedure

SatisfiesLT applies the LT predicate on the "satisfies" field.

func SatisfiesLTE

func SatisfiesLTE(v string) predicate.Procedure

SatisfiesLTE applies the LTE predicate on the "satisfies" field.

func SatisfiesNEQ

func SatisfiesNEQ(v string) predicate.Procedure

SatisfiesNEQ applies the NEQ predicate on the "satisfies" field.

func SatisfiesNotIn

func SatisfiesNotIn(vs ...string) predicate.Procedure

SatisfiesNotIn applies the NotIn predicate on the "satisfies" field.

func SatisfiesNotNil

func SatisfiesNotNil() predicate.Procedure

SatisfiesNotNil applies the NotNil predicate on the "satisfies" field.

func Status

func Status(v string) predicate.Procedure

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.Procedure

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.Procedure

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.Procedure

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.Procedure

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.Procedure

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.Procedure

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Procedure

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Procedure

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.Procedure

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.Procedure

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.Procedure

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.Procedure

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.Procedure

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.Procedure

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.Procedure

StatusNotNil applies the NotNil predicate on the "status" field.

func TagsIsNil

func TagsIsNil() predicate.Procedure

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

func TagsNotNil

func TagsNotNil() predicate.Procedure

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Procedure

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Procedure

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Procedure

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Procedure

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.Procedure

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Procedure

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Procedure

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Procedure

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.Procedure

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

func UpdatedBy

func UpdatedBy(v string) predicate.Procedure

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.Procedure

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Procedure

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Procedure

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Procedure

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.Procedure

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Procedure

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Procedure

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Procedure

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Procedure

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.Procedure

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Procedure

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Procedure

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Procedure

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).

func Version

func Version(v string) predicate.Procedure

Version applies equality check predicate on the "version" field. It's identical to VersionEQ.

func VersionContains

func VersionContains(v string) predicate.Procedure

VersionContains applies the Contains predicate on the "version" field.

func VersionContainsFold

func VersionContainsFold(v string) predicate.Procedure

VersionContainsFold applies the ContainsFold predicate on the "version" field.

func VersionEQ

func VersionEQ(v string) predicate.Procedure

VersionEQ applies the EQ predicate on the "version" field.

func VersionEqualFold

func VersionEqualFold(v string) predicate.Procedure

VersionEqualFold applies the EqualFold predicate on the "version" field.

func VersionGT

func VersionGT(v string) predicate.Procedure

VersionGT applies the GT predicate on the "version" field.

func VersionGTE

func VersionGTE(v string) predicate.Procedure

VersionGTE applies the GTE predicate on the "version" field.

func VersionHasPrefix

func VersionHasPrefix(v string) predicate.Procedure

VersionHasPrefix applies the HasPrefix predicate on the "version" field.

func VersionHasSuffix

func VersionHasSuffix(v string) predicate.Procedure

VersionHasSuffix applies the HasSuffix predicate on the "version" field.

func VersionIn

func VersionIn(vs ...string) predicate.Procedure

VersionIn applies the In predicate on the "version" field.

func VersionIsNil

func VersionIsNil() predicate.Procedure

VersionIsNil applies the IsNil predicate on the "version" field.

func VersionLT

func VersionLT(v string) predicate.Procedure

VersionLT applies the LT predicate on the "version" field.

func VersionLTE

func VersionLTE(v string) predicate.Procedure

VersionLTE applies the LTE predicate on the "version" field.

func VersionNEQ

func VersionNEQ(v string) predicate.Procedure

VersionNEQ applies the NEQ predicate on the "version" field.

func VersionNotIn

func VersionNotIn(vs ...string) predicate.Procedure

VersionNotIn applies the NotIn predicate on the "version" field.

func VersionNotNil

func VersionNotNil() predicate.Procedure

VersionNotNil applies the NotNil predicate on the "version" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Procedure queries.

func ByBackground

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

ByBackground orders the results by the background field.

func ByBlockedGroups added in v0.4.2

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

ByBlockedGroups orders the results by blocked_groups terms.

func ByBlockedGroupsCount added in v0.4.2

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

ByBlockedGroupsCount orders the results by blocked_groups count.

func ByControls added in v0.6.1

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

ByControls orders the results by controls terms.

func ByControlsCount added in v0.6.1

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

ByControlsCount orders the results by controls count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

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

ByDeletedBy orders the results by the deleted_by field.

func 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 ByEditors added in v0.4.2

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

ByEditors orders the results by editors terms.

func ByEditorsCount added in v0.4.2

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

ByEditorsCount orders the results by editors count.

func ByID

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

ByID orders the results by the id field.

func ByInternalPolicies added in v0.6.1

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

ByInternalPolicies orders the results by internal_policies terms.

func ByInternalPoliciesCount added in v0.6.1

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

ByInternalPoliciesCount orders the results by internal_policies count.

func ByName

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

ByName orders the results by the name field.

func ByNarratives

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

ByNarratives orders the results by narratives terms.

func ByNarrativesCount

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

ByNarrativesCount orders the results by narratives count.

func ByOwnerField added in v0.4.2

func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption

ByOwnerField orders the results by owner field.

func ByOwnerID added in v0.4.2

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

ByOwnerID orders the results by the owner_id field.

func ByProcedureType

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

ByProcedureType orders the results by the procedure_type field.

func ByPrograms added in v0.3.5

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

ByPrograms orders the results by programs terms.

func ByProgramsCount added in v0.3.5

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

ByProgramsCount orders the results by programs count.

func ByPurposeAndScope

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

ByPurposeAndScope orders the results by the purpose_and_scope field.

func ByReviewDue added in v0.6.19

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

ByReviewDue orders the results by the review_due field.

func ByRisks

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

ByRisks orders the results by risks terms.

func ByRisksCount

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

ByRisksCount orders the results by risks count.

func BySatisfies

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

BySatisfies orders the results by the satisfies field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByTasks added in v0.3.4

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

ByTasks orders the results by tasks terms.

func ByTasksCount added in v0.3.4

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

ByTasksCount orders the results by tasks count.

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 ByVersion

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

ByVersion orders the results by the version field.

Jump to

Keyboard shortcuts

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