subcontrolhistory

package
v0.26.5 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the subcontrolhistory type in the database.
	Label = "subcontrol_history"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldHistoryTime holds the string denoting the history_time field in the database.
	FieldHistoryTime = "history_time"
	// FieldRef holds the string denoting the ref field in the database.
	FieldRef = "ref"
	// FieldOperation holds the string denoting the operation field in the database.
	FieldOperation = "operation"
	// 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"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldReferenceID holds the string denoting the reference_id field in the database.
	FieldReferenceID = "reference_id"
	// FieldAuditorReferenceID holds the string denoting the auditor_reference_id field in the database.
	FieldAuditorReferenceID = "auditor_reference_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldSource holds the string denoting the source field in the database.
	FieldSource = "source"
	// FieldReferenceFramework holds the string denoting the reference_framework field in the database.
	FieldReferenceFramework = "reference_framework"
	// FieldControlType holds the string denoting the control_type field in the database.
	FieldControlType = "control_type"
	// FieldCategory holds the string denoting the category field in the database.
	FieldCategory = "category"
	// FieldCategoryID holds the string denoting the category_id field in the database.
	FieldCategoryID = "category_id"
	// FieldSubcategory holds the string denoting the subcategory field in the database.
	FieldSubcategory = "subcategory"
	// FieldMappedCategories holds the string denoting the mapped_categories field in the database.
	FieldMappedCategories = "mapped_categories"
	// FieldAssessmentObjectives holds the string denoting the assessment_objectives field in the database.
	FieldAssessmentObjectives = "assessment_objectives"
	// FieldAssessmentMethods holds the string denoting the assessment_methods field in the database.
	FieldAssessmentMethods = "assessment_methods"
	// FieldControlQuestions holds the string denoting the control_questions field in the database.
	FieldControlQuestions = "control_questions"
	// FieldImplementationGuidance holds the string denoting the implementation_guidance field in the database.
	FieldImplementationGuidance = "implementation_guidance"
	// FieldExampleEvidence holds the string denoting the example_evidence field in the database.
	FieldExampleEvidence = "example_evidence"
	// FieldReferences holds the string denoting the references field in the database.
	FieldReferences = "references"
	// FieldControlOwnerID holds the string denoting the control_owner_id field in the database.
	FieldControlOwnerID = "control_owner_id"
	// FieldDelegateID holds the string denoting the delegate_id field in the database.
	FieldDelegateID = "delegate_id"
	// FieldOwnerID holds the string denoting the owner_id field in the database.
	FieldOwnerID = "owner_id"
	// FieldRefCode holds the string denoting the ref_code field in the database.
	FieldRefCode = "ref_code"
	// FieldControlID holds the string denoting the control_id field in the database.
	FieldControlID = "control_id"
	// Table holds the table name of the subcontrolhistory in the database.
	Table = "subcontrol_history"
)
View Source
const DefaultControlType enums.ControlType = "PREVENTATIVE"
View Source
const DefaultSource enums.ControlSource = "USER_DEFINED"
View Source
const DefaultStatus enums.ControlStatus = "NOT_IMPLEMENTED"

Variables

View Source
var (
	Hooks        [1]ent.Hook
	Interceptors [1]ent.Interceptor
	Policy       ent.Policy
	// DefaultHistoryTime holds the default value on creation for the "history_time" field.
	DefaultHistoryTime func() time.Time
	// 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
	// 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"

Columns holds all SQL columns for subcontrolhistory fields.

Functions

func And

And groups predicates with the AND operator between them.

func AssessmentMethodsIsNil added in v0.7.3

func AssessmentMethodsIsNil() predicate.SubcontrolHistory

AssessmentMethodsIsNil applies the IsNil predicate on the "assessment_methods" field.

func AssessmentMethodsNotNil added in v0.7.3

func AssessmentMethodsNotNil() predicate.SubcontrolHistory

AssessmentMethodsNotNil applies the NotNil predicate on the "assessment_methods" field.

func AssessmentObjectivesIsNil added in v0.7.3

func AssessmentObjectivesIsNil() predicate.SubcontrolHistory

AssessmentObjectivesIsNil applies the IsNil predicate on the "assessment_objectives" field.

func AssessmentObjectivesNotNil added in v0.7.3

func AssessmentObjectivesNotNil() predicate.SubcontrolHistory

AssessmentObjectivesNotNil applies the NotNil predicate on the "assessment_objectives" field.

func AuditorReferenceID added in v0.8.7

func AuditorReferenceID(v string) predicate.SubcontrolHistory

AuditorReferenceID applies equality check predicate on the "auditor_reference_id" field. It's identical to AuditorReferenceIDEQ.

func AuditorReferenceIDContains added in v0.8.7

func AuditorReferenceIDContains(v string) predicate.SubcontrolHistory

AuditorReferenceIDContains applies the Contains predicate on the "auditor_reference_id" field.

func AuditorReferenceIDContainsFold added in v0.8.7

func AuditorReferenceIDContainsFold(v string) predicate.SubcontrolHistory

AuditorReferenceIDContainsFold applies the ContainsFold predicate on the "auditor_reference_id" field.

func AuditorReferenceIDEQ added in v0.8.7

func AuditorReferenceIDEQ(v string) predicate.SubcontrolHistory

AuditorReferenceIDEQ applies the EQ predicate on the "auditor_reference_id" field.

func AuditorReferenceIDEqualFold added in v0.8.7

func AuditorReferenceIDEqualFold(v string) predicate.SubcontrolHistory

AuditorReferenceIDEqualFold applies the EqualFold predicate on the "auditor_reference_id" field.

func AuditorReferenceIDGT added in v0.8.7

func AuditorReferenceIDGT(v string) predicate.SubcontrolHistory

AuditorReferenceIDGT applies the GT predicate on the "auditor_reference_id" field.

func AuditorReferenceIDGTE added in v0.8.7

func AuditorReferenceIDGTE(v string) predicate.SubcontrolHistory

AuditorReferenceIDGTE applies the GTE predicate on the "auditor_reference_id" field.

func AuditorReferenceIDHasPrefix added in v0.8.7

func AuditorReferenceIDHasPrefix(v string) predicate.SubcontrolHistory

AuditorReferenceIDHasPrefix applies the HasPrefix predicate on the "auditor_reference_id" field.

func AuditorReferenceIDHasSuffix added in v0.8.7

func AuditorReferenceIDHasSuffix(v string) predicate.SubcontrolHistory

AuditorReferenceIDHasSuffix applies the HasSuffix predicate on the "auditor_reference_id" field.

func AuditorReferenceIDIn added in v0.8.7

func AuditorReferenceIDIn(vs ...string) predicate.SubcontrolHistory

AuditorReferenceIDIn applies the In predicate on the "auditor_reference_id" field.

func AuditorReferenceIDIsNil added in v0.8.7

func AuditorReferenceIDIsNil() predicate.SubcontrolHistory

AuditorReferenceIDIsNil applies the IsNil predicate on the "auditor_reference_id" field.

func AuditorReferenceIDLT added in v0.8.7

func AuditorReferenceIDLT(v string) predicate.SubcontrolHistory

AuditorReferenceIDLT applies the LT predicate on the "auditor_reference_id" field.

func AuditorReferenceIDLTE added in v0.8.7

func AuditorReferenceIDLTE(v string) predicate.SubcontrolHistory

AuditorReferenceIDLTE applies the LTE predicate on the "auditor_reference_id" field.

func AuditorReferenceIDNEQ added in v0.8.7

func AuditorReferenceIDNEQ(v string) predicate.SubcontrolHistory

AuditorReferenceIDNEQ applies the NEQ predicate on the "auditor_reference_id" field.

func AuditorReferenceIDNotIn added in v0.8.7

func AuditorReferenceIDNotIn(vs ...string) predicate.SubcontrolHistory

AuditorReferenceIDNotIn applies the NotIn predicate on the "auditor_reference_id" field.

func AuditorReferenceIDNotNil added in v0.8.7

func AuditorReferenceIDNotNil() predicate.SubcontrolHistory

AuditorReferenceIDNotNil applies the NotNil predicate on the "auditor_reference_id" field.

func Category added in v0.7.3

Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.

func CategoryContains added in v0.7.3

func CategoryContains(v string) predicate.SubcontrolHistory

CategoryContains applies the Contains predicate on the "category" field.

func CategoryContainsFold added in v0.7.3

func CategoryContainsFold(v string) predicate.SubcontrolHistory

CategoryContainsFold applies the ContainsFold predicate on the "category" field.

func CategoryEQ added in v0.7.3

func CategoryEQ(v string) predicate.SubcontrolHistory

CategoryEQ applies the EQ predicate on the "category" field.

func CategoryEqualFold added in v0.7.3

func CategoryEqualFold(v string) predicate.SubcontrolHistory

CategoryEqualFold applies the EqualFold predicate on the "category" field.

func CategoryGT added in v0.7.3

func CategoryGT(v string) predicate.SubcontrolHistory

CategoryGT applies the GT predicate on the "category" field.

func CategoryGTE added in v0.7.3

func CategoryGTE(v string) predicate.SubcontrolHistory

CategoryGTE applies the GTE predicate on the "category" field.

func CategoryHasPrefix added in v0.7.3

func CategoryHasPrefix(v string) predicate.SubcontrolHistory

CategoryHasPrefix applies the HasPrefix predicate on the "category" field.

func CategoryHasSuffix added in v0.7.3

func CategoryHasSuffix(v string) predicate.SubcontrolHistory

CategoryHasSuffix applies the HasSuffix predicate on the "category" field.

func CategoryID added in v0.7.3

func CategoryID(v string) predicate.SubcontrolHistory

CategoryID applies equality check predicate on the "category_id" field. It's identical to CategoryIDEQ.

func CategoryIDContains added in v0.7.3

func CategoryIDContains(v string) predicate.SubcontrolHistory

CategoryIDContains applies the Contains predicate on the "category_id" field.

func CategoryIDContainsFold added in v0.7.3

func CategoryIDContainsFold(v string) predicate.SubcontrolHistory

CategoryIDContainsFold applies the ContainsFold predicate on the "category_id" field.

func CategoryIDEQ added in v0.7.3

func CategoryIDEQ(v string) predicate.SubcontrolHistory

CategoryIDEQ applies the EQ predicate on the "category_id" field.

func CategoryIDEqualFold added in v0.7.3

func CategoryIDEqualFold(v string) predicate.SubcontrolHistory

CategoryIDEqualFold applies the EqualFold predicate on the "category_id" field.

func CategoryIDGT added in v0.7.3

func CategoryIDGT(v string) predicate.SubcontrolHistory

CategoryIDGT applies the GT predicate on the "category_id" field.

func CategoryIDGTE added in v0.7.3

func CategoryIDGTE(v string) predicate.SubcontrolHistory

CategoryIDGTE applies the GTE predicate on the "category_id" field.

func CategoryIDHasPrefix added in v0.7.3

func CategoryIDHasPrefix(v string) predicate.SubcontrolHistory

CategoryIDHasPrefix applies the HasPrefix predicate on the "category_id" field.

func CategoryIDHasSuffix added in v0.7.3

func CategoryIDHasSuffix(v string) predicate.SubcontrolHistory

CategoryIDHasSuffix applies the HasSuffix predicate on the "category_id" field.

func CategoryIDIn added in v0.7.3

func CategoryIDIn(vs ...string) predicate.SubcontrolHistory

CategoryIDIn applies the In predicate on the "category_id" field.

func CategoryIDIsNil added in v0.7.3

func CategoryIDIsNil() predicate.SubcontrolHistory

CategoryIDIsNil applies the IsNil predicate on the "category_id" field.

func CategoryIDLT added in v0.7.3

func CategoryIDLT(v string) predicate.SubcontrolHistory

CategoryIDLT applies the LT predicate on the "category_id" field.

func CategoryIDLTE added in v0.7.3

func CategoryIDLTE(v string) predicate.SubcontrolHistory

CategoryIDLTE applies the LTE predicate on the "category_id" field.

func CategoryIDNEQ added in v0.7.3

func CategoryIDNEQ(v string) predicate.SubcontrolHistory

CategoryIDNEQ applies the NEQ predicate on the "category_id" field.

func CategoryIDNotIn added in v0.7.3

func CategoryIDNotIn(vs ...string) predicate.SubcontrolHistory

CategoryIDNotIn applies the NotIn predicate on the "category_id" field.

func CategoryIDNotNil added in v0.7.3

func CategoryIDNotNil() predicate.SubcontrolHistory

CategoryIDNotNil applies the NotNil predicate on the "category_id" field.

func CategoryIn added in v0.7.3

func CategoryIn(vs ...string) predicate.SubcontrolHistory

CategoryIn applies the In predicate on the "category" field.

func CategoryIsNil added in v0.7.3

func CategoryIsNil() predicate.SubcontrolHistory

CategoryIsNil applies the IsNil predicate on the "category" field.

func CategoryLT added in v0.7.3

func CategoryLT(v string) predicate.SubcontrolHistory

CategoryLT applies the LT predicate on the "category" field.

func CategoryLTE added in v0.7.3

func CategoryLTE(v string) predicate.SubcontrolHistory

CategoryLTE applies the LTE predicate on the "category" field.

func CategoryNEQ added in v0.7.3

func CategoryNEQ(v string) predicate.SubcontrolHistory

CategoryNEQ applies the NEQ predicate on the "category" field.

func CategoryNotIn added in v0.7.3

func CategoryNotIn(vs ...string) predicate.SubcontrolHistory

CategoryNotIn applies the NotIn predicate on the "category" field.

func CategoryNotNil added in v0.7.3

func CategoryNotNil() predicate.SubcontrolHistory

CategoryNotNil applies the NotNil predicate on the "category" field.

func ControlID added in v0.7.3

func ControlID(v string) predicate.SubcontrolHistory

ControlID applies equality check predicate on the "control_id" field. It's identical to ControlIDEQ.

func ControlIDContains added in v0.7.3

func ControlIDContains(v string) predicate.SubcontrolHistory

ControlIDContains applies the Contains predicate on the "control_id" field.

func ControlIDContainsFold added in v0.7.3

func ControlIDContainsFold(v string) predicate.SubcontrolHistory

ControlIDContainsFold applies the ContainsFold predicate on the "control_id" field.

func ControlIDEQ added in v0.7.3

func ControlIDEQ(v string) predicate.SubcontrolHistory

ControlIDEQ applies the EQ predicate on the "control_id" field.

func ControlIDEqualFold added in v0.7.3

func ControlIDEqualFold(v string) predicate.SubcontrolHistory

ControlIDEqualFold applies the EqualFold predicate on the "control_id" field.

func ControlIDGT added in v0.7.3

func ControlIDGT(v string) predicate.SubcontrolHistory

ControlIDGT applies the GT predicate on the "control_id" field.

func ControlIDGTE added in v0.7.3

func ControlIDGTE(v string) predicate.SubcontrolHistory

ControlIDGTE applies the GTE predicate on the "control_id" field.

func ControlIDHasPrefix added in v0.7.3

func ControlIDHasPrefix(v string) predicate.SubcontrolHistory

ControlIDHasPrefix applies the HasPrefix predicate on the "control_id" field.

func ControlIDHasSuffix added in v0.7.3

func ControlIDHasSuffix(v string) predicate.SubcontrolHistory

ControlIDHasSuffix applies the HasSuffix predicate on the "control_id" field.

func ControlIDIn added in v0.7.3

func ControlIDIn(vs ...string) predicate.SubcontrolHistory

ControlIDIn applies the In predicate on the "control_id" field.

func ControlIDLT added in v0.7.3

func ControlIDLT(v string) predicate.SubcontrolHistory

ControlIDLT applies the LT predicate on the "control_id" field.

func ControlIDLTE added in v0.7.3

func ControlIDLTE(v string) predicate.SubcontrolHistory

ControlIDLTE applies the LTE predicate on the "control_id" field.

func ControlIDNEQ added in v0.7.3

func ControlIDNEQ(v string) predicate.SubcontrolHistory

ControlIDNEQ applies the NEQ predicate on the "control_id" field.

func ControlIDNotIn added in v0.7.3

func ControlIDNotIn(vs ...string) predicate.SubcontrolHistory

ControlIDNotIn applies the NotIn predicate on the "control_id" field.

func ControlOwnerID added in v0.8.9

func ControlOwnerID(v string) predicate.SubcontrolHistory

ControlOwnerID applies equality check predicate on the "control_owner_id" field. It's identical to ControlOwnerIDEQ.

func ControlOwnerIDContains added in v0.8.9

func ControlOwnerIDContains(v string) predicate.SubcontrolHistory

ControlOwnerIDContains applies the Contains predicate on the "control_owner_id" field.

func ControlOwnerIDContainsFold added in v0.8.9

func ControlOwnerIDContainsFold(v string) predicate.SubcontrolHistory

ControlOwnerIDContainsFold applies the ContainsFold predicate on the "control_owner_id" field.

func ControlOwnerIDEQ added in v0.8.9

func ControlOwnerIDEQ(v string) predicate.SubcontrolHistory

ControlOwnerIDEQ applies the EQ predicate on the "control_owner_id" field.

func ControlOwnerIDEqualFold added in v0.8.9

func ControlOwnerIDEqualFold(v string) predicate.SubcontrolHistory

ControlOwnerIDEqualFold applies the EqualFold predicate on the "control_owner_id" field.

func ControlOwnerIDGT added in v0.8.9

func ControlOwnerIDGT(v string) predicate.SubcontrolHistory

ControlOwnerIDGT applies the GT predicate on the "control_owner_id" field.

func ControlOwnerIDGTE added in v0.8.9

func ControlOwnerIDGTE(v string) predicate.SubcontrolHistory

ControlOwnerIDGTE applies the GTE predicate on the "control_owner_id" field.

func ControlOwnerIDHasPrefix added in v0.8.9

func ControlOwnerIDHasPrefix(v string) predicate.SubcontrolHistory

ControlOwnerIDHasPrefix applies the HasPrefix predicate on the "control_owner_id" field.

func ControlOwnerIDHasSuffix added in v0.8.9

func ControlOwnerIDHasSuffix(v string) predicate.SubcontrolHistory

ControlOwnerIDHasSuffix applies the HasSuffix predicate on the "control_owner_id" field.

func ControlOwnerIDIn added in v0.8.9

func ControlOwnerIDIn(vs ...string) predicate.SubcontrolHistory

ControlOwnerIDIn applies the In predicate on the "control_owner_id" field.

func ControlOwnerIDIsNil added in v0.8.9

func ControlOwnerIDIsNil() predicate.SubcontrolHistory

ControlOwnerIDIsNil applies the IsNil predicate on the "control_owner_id" field.

func ControlOwnerIDLT added in v0.8.9

func ControlOwnerIDLT(v string) predicate.SubcontrolHistory

ControlOwnerIDLT applies the LT predicate on the "control_owner_id" field.

func ControlOwnerIDLTE added in v0.8.9

func ControlOwnerIDLTE(v string) predicate.SubcontrolHistory

ControlOwnerIDLTE applies the LTE predicate on the "control_owner_id" field.

func ControlOwnerIDNEQ added in v0.8.9

func ControlOwnerIDNEQ(v string) predicate.SubcontrolHistory

ControlOwnerIDNEQ applies the NEQ predicate on the "control_owner_id" field.

func ControlOwnerIDNotIn added in v0.8.9

func ControlOwnerIDNotIn(vs ...string) predicate.SubcontrolHistory

ControlOwnerIDNotIn applies the NotIn predicate on the "control_owner_id" field.

func ControlOwnerIDNotNil added in v0.8.9

func ControlOwnerIDNotNil() predicate.SubcontrolHistory

ControlOwnerIDNotNil applies the NotNil predicate on the "control_owner_id" field.

func ControlQuestionsIsNil added in v0.7.3

func ControlQuestionsIsNil() predicate.SubcontrolHistory

ControlQuestionsIsNil applies the IsNil predicate on the "control_questions" field.

func ControlQuestionsNotNil added in v0.7.3

func ControlQuestionsNotNil() predicate.SubcontrolHistory

ControlQuestionsNotNil applies the NotNil predicate on the "control_questions" field.

func ControlTypeEQ added in v0.7.3

ControlTypeEQ applies the EQ predicate on the "control_type" field.

func ControlTypeIn added in v0.7.3

func ControlTypeIn(vs ...enums.ControlType) predicate.SubcontrolHistory

ControlTypeIn applies the In predicate on the "control_type" field.

func ControlTypeIsNil added in v0.7.3

func ControlTypeIsNil() predicate.SubcontrolHistory

ControlTypeIsNil applies the IsNil predicate on the "control_type" field.

func ControlTypeNEQ added in v0.7.3

func ControlTypeNEQ(v enums.ControlType) predicate.SubcontrolHistory

ControlTypeNEQ applies the NEQ predicate on the "control_type" field.

func ControlTypeNotIn added in v0.7.3

func ControlTypeNotIn(vs ...enums.ControlType) predicate.SubcontrolHistory

ControlTypeNotIn applies the NotIn predicate on the "control_type" field.

func ControlTypeNotNil added in v0.7.3

func ControlTypeNotNil() predicate.SubcontrolHistory

ControlTypeNotNil applies the NotNil predicate on the "control_type" field.

func ControlTypeValidator added in v0.7.3

func ControlTypeValidator(ct enums.ControlType) error

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

func CreatedAt

func CreatedAt(v time.Time) predicate.SubcontrolHistory

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.SubcontrolHistory

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.SubcontrolHistory

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.SubcontrolHistory

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.SubcontrolHistory

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.SubcontrolHistory

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.SubcontrolHistory

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.SubcontrolHistory

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.SubcontrolHistory

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

func CreatedBy

func CreatedBy(v string) predicate.SubcontrolHistory

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

func CreatedByContains

func CreatedByContains(v string) predicate.SubcontrolHistory

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.SubcontrolHistory

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.SubcontrolHistory

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.SubcontrolHistory

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

func CreatedByGT

func CreatedByGT(v string) predicate.SubcontrolHistory

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.SubcontrolHistory

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.SubcontrolHistory

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.SubcontrolHistory

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.SubcontrolHistory

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

func CreatedByLT

func CreatedByLT(v string) predicate.SubcontrolHistory

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.SubcontrolHistory

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.SubcontrolHistory

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.SubcontrolHistory

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

func DelegateID added in v0.8.9

func DelegateID(v string) predicate.SubcontrolHistory

DelegateID applies equality check predicate on the "delegate_id" field. It's identical to DelegateIDEQ.

func DelegateIDContains added in v0.8.9

func DelegateIDContains(v string) predicate.SubcontrolHistory

DelegateIDContains applies the Contains predicate on the "delegate_id" field.

func DelegateIDContainsFold added in v0.8.9

func DelegateIDContainsFold(v string) predicate.SubcontrolHistory

DelegateIDContainsFold applies the ContainsFold predicate on the "delegate_id" field.

func DelegateIDEQ added in v0.8.9

func DelegateIDEQ(v string) predicate.SubcontrolHistory

DelegateIDEQ applies the EQ predicate on the "delegate_id" field.

func DelegateIDEqualFold added in v0.8.9

func DelegateIDEqualFold(v string) predicate.SubcontrolHistory

DelegateIDEqualFold applies the EqualFold predicate on the "delegate_id" field.

func DelegateIDGT added in v0.8.9

func DelegateIDGT(v string) predicate.SubcontrolHistory

DelegateIDGT applies the GT predicate on the "delegate_id" field.

func DelegateIDGTE added in v0.8.9

func DelegateIDGTE(v string) predicate.SubcontrolHistory

DelegateIDGTE applies the GTE predicate on the "delegate_id" field.

func DelegateIDHasPrefix added in v0.8.9

func DelegateIDHasPrefix(v string) predicate.SubcontrolHistory

DelegateIDHasPrefix applies the HasPrefix predicate on the "delegate_id" field.

func DelegateIDHasSuffix added in v0.8.9

func DelegateIDHasSuffix(v string) predicate.SubcontrolHistory

DelegateIDHasSuffix applies the HasSuffix predicate on the "delegate_id" field.

func DelegateIDIn added in v0.8.9

func DelegateIDIn(vs ...string) predicate.SubcontrolHistory

DelegateIDIn applies the In predicate on the "delegate_id" field.

func DelegateIDIsNil added in v0.8.9

func DelegateIDIsNil() predicate.SubcontrolHistory

DelegateIDIsNil applies the IsNil predicate on the "delegate_id" field.

func DelegateIDLT added in v0.8.9

func DelegateIDLT(v string) predicate.SubcontrolHistory

DelegateIDLT applies the LT predicate on the "delegate_id" field.

func DelegateIDLTE added in v0.8.9

func DelegateIDLTE(v string) predicate.SubcontrolHistory

DelegateIDLTE applies the LTE predicate on the "delegate_id" field.

func DelegateIDNEQ added in v0.8.9

func DelegateIDNEQ(v string) predicate.SubcontrolHistory

DelegateIDNEQ applies the NEQ predicate on the "delegate_id" field.

func DelegateIDNotIn added in v0.8.9

func DelegateIDNotIn(vs ...string) predicate.SubcontrolHistory

DelegateIDNotIn applies the NotIn predicate on the "delegate_id" field.

func DelegateIDNotNil added in v0.8.9

func DelegateIDNotNil() predicate.SubcontrolHistory

DelegateIDNotNil applies the NotNil predicate on the "delegate_id" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.SubcontrolHistory

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.SubcontrolHistory

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.SubcontrolHistory

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.SubcontrolHistory

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.SubcontrolHistory

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.SubcontrolHistory

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.SubcontrolHistory

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.SubcontrolHistory

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.SubcontrolHistory

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

func DeletedBy

func DeletedBy(v string) predicate.SubcontrolHistory

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

func DeletedByContains

func DeletedByContains(v string) predicate.SubcontrolHistory

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.SubcontrolHistory

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.SubcontrolHistory

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.SubcontrolHistory

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

func DeletedByGT

func DeletedByGT(v string) predicate.SubcontrolHistory

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.SubcontrolHistory

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.SubcontrolHistory

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.SubcontrolHistory

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.SubcontrolHistory

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

func DeletedByLT

func DeletedByLT(v string) predicate.SubcontrolHistory

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.SubcontrolHistory

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.SubcontrolHistory

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.SubcontrolHistory

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

func Description

func Description(v string) predicate.SubcontrolHistory

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

func DescriptionContains

func DescriptionContains(v string) predicate.SubcontrolHistory

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

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.SubcontrolHistory

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

func DescriptionEQ

func DescriptionEQ(v string) predicate.SubcontrolHistory

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

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.SubcontrolHistory

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

func DescriptionGT

func DescriptionGT(v string) predicate.SubcontrolHistory

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

func DescriptionGTE

func DescriptionGTE(v string) predicate.SubcontrolHistory

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

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.SubcontrolHistory

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

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.SubcontrolHistory

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

func DescriptionIn

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

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

func DescriptionIsNil

func DescriptionIsNil() predicate.SubcontrolHistory

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

func DescriptionLT

func DescriptionLT(v string) predicate.SubcontrolHistory

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

func DescriptionLTE

func DescriptionLTE(v string) predicate.SubcontrolHistory

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

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.SubcontrolHistory

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

func DescriptionNotIn

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

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

func DescriptionNotNil

func DescriptionNotNil() predicate.SubcontrolHistory

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

func DisplayID added in v0.6.11

func DisplayID(v string) predicate.SubcontrolHistory

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

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

func DisplayIDContainsFold added in v0.6.11

func DisplayIDContainsFold(v string) predicate.SubcontrolHistory

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

func DisplayIDEQ added in v0.6.11

func DisplayIDEQ(v string) predicate.SubcontrolHistory

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

func DisplayIDEqualFold added in v0.6.11

func DisplayIDEqualFold(v string) predicate.SubcontrolHistory

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

func DisplayIDGT added in v0.6.11

func DisplayIDGT(v string) predicate.SubcontrolHistory

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

func DisplayIDGTE added in v0.6.11

func DisplayIDGTE(v string) predicate.SubcontrolHistory

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

func DisplayIDHasPrefix added in v0.6.11

func DisplayIDHasPrefix(v string) predicate.SubcontrolHistory

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

func DisplayIDHasSuffix added in v0.6.11

func DisplayIDHasSuffix(v string) predicate.SubcontrolHistory

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

func DisplayIDIn added in v0.6.11

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

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

func DisplayIDLT added in v0.6.11

func DisplayIDLT(v string) predicate.SubcontrolHistory

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

func DisplayIDLTE added in v0.6.11

func DisplayIDLTE(v string) predicate.SubcontrolHistory

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

func DisplayIDNEQ added in v0.6.11

func DisplayIDNEQ(v string) predicate.SubcontrolHistory

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

func DisplayIDNotIn added in v0.6.11

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

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

func ExampleEvidenceIsNil added in v0.6.19

func ExampleEvidenceIsNil() predicate.SubcontrolHistory

ExampleEvidenceIsNil applies the IsNil predicate on the "example_evidence" field.

func ExampleEvidenceNotNil added in v0.6.19

func ExampleEvidenceNotNil() predicate.SubcontrolHistory

ExampleEvidenceNotNil applies the NotNil predicate on the "example_evidence" field.

func HistoryTime

func HistoryTime(v time.Time) predicate.SubcontrolHistory

HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.

func HistoryTimeEQ

func HistoryTimeEQ(v time.Time) predicate.SubcontrolHistory

HistoryTimeEQ applies the EQ predicate on the "history_time" field.

func HistoryTimeGT

func HistoryTimeGT(v time.Time) predicate.SubcontrolHistory

HistoryTimeGT applies the GT predicate on the "history_time" field.

func HistoryTimeGTE

func HistoryTimeGTE(v time.Time) predicate.SubcontrolHistory

HistoryTimeGTE applies the GTE predicate on the "history_time" field.

func HistoryTimeIn

func HistoryTimeIn(vs ...time.Time) predicate.SubcontrolHistory

HistoryTimeIn applies the In predicate on the "history_time" field.

func HistoryTimeLT

func HistoryTimeLT(v time.Time) predicate.SubcontrolHistory

HistoryTimeLT applies the LT predicate on the "history_time" field.

func HistoryTimeLTE

func HistoryTimeLTE(v time.Time) predicate.SubcontrolHistory

HistoryTimeLTE applies the LTE predicate on the "history_time" field.

func HistoryTimeNEQ

func HistoryTimeNEQ(v time.Time) predicate.SubcontrolHistory

HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.

func HistoryTimeNotIn

func HistoryTimeNotIn(vs ...time.Time) predicate.SubcontrolHistory

HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.SubcontrolHistory

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.SubcontrolHistory

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func ImplementationGuidanceIsNil added in v0.7.3

func ImplementationGuidanceIsNil() predicate.SubcontrolHistory

ImplementationGuidanceIsNil applies the IsNil predicate on the "implementation_guidance" field.

func ImplementationGuidanceNotNil added in v0.7.3

func ImplementationGuidanceNotNil() predicate.SubcontrolHistory

ImplementationGuidanceNotNil applies the NotNil predicate on the "implementation_guidance" field.

func MappedCategoriesIsNil added in v0.7.3

func MappedCategoriesIsNil() predicate.SubcontrolHistory

MappedCategoriesIsNil applies the IsNil predicate on the "mapped_categories" field.

func MappedCategoriesNotNil added in v0.7.3

func MappedCategoriesNotNil() predicate.SubcontrolHistory

MappedCategoriesNotNil applies the NotNil predicate on the "mapped_categories" field.

func Not

Not applies the not operator on the given predicate.

func OperationEQ

OperationEQ applies the EQ predicate on the "operation" field.

func OperationIn

func OperationIn(vs ...history.OpType) predicate.SubcontrolHistory

OperationIn applies the In predicate on the "operation" field.

func OperationNEQ

func OperationNEQ(v history.OpType) predicate.SubcontrolHistory

OperationNEQ applies the NEQ predicate on the "operation" field.

func OperationNotIn

func OperationNotIn(vs ...history.OpType) predicate.SubcontrolHistory

OperationNotIn applies the NotIn predicate on the "operation" field.

func OperationValidator

func OperationValidator(o history.OpType) error

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

func Or

Or groups predicates with the OR operator between them.

func OwnerID added in v0.5.0

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

func OwnerIDContains added in v0.5.0

func OwnerIDContains(v string) predicate.SubcontrolHistory

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

func OwnerIDContainsFold added in v0.5.0

func OwnerIDContainsFold(v string) predicate.SubcontrolHistory

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

func OwnerIDEQ added in v0.5.0

func OwnerIDEQ(v string) predicate.SubcontrolHistory

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

func OwnerIDEqualFold added in v0.5.0

func OwnerIDEqualFold(v string) predicate.SubcontrolHistory

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

func OwnerIDGT added in v0.5.0

func OwnerIDGT(v string) predicate.SubcontrolHistory

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

func OwnerIDGTE added in v0.5.0

func OwnerIDGTE(v string) predicate.SubcontrolHistory

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

func OwnerIDHasPrefix added in v0.5.0

func OwnerIDHasPrefix(v string) predicate.SubcontrolHistory

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

func OwnerIDHasSuffix added in v0.5.0

func OwnerIDHasSuffix(v string) predicate.SubcontrolHistory

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

func OwnerIDIn added in v0.5.0

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

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

func OwnerIDIsNil added in v0.7.1

func OwnerIDIsNil() predicate.SubcontrolHistory

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

func OwnerIDLT added in v0.5.0

func OwnerIDLT(v string) predicate.SubcontrolHistory

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

func OwnerIDLTE added in v0.5.0

func OwnerIDLTE(v string) predicate.SubcontrolHistory

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

func OwnerIDNEQ added in v0.5.0

func OwnerIDNEQ(v string) predicate.SubcontrolHistory

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

func OwnerIDNotIn added in v0.5.0

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

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

func OwnerIDNotNil added in v0.7.1

func OwnerIDNotNil() predicate.SubcontrolHistory

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

func Ref

Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.

func RefCode added in v0.7.3

RefCode applies equality check predicate on the "ref_code" field. It's identical to RefCodeEQ.

func RefCodeContains added in v0.7.3

func RefCodeContains(v string) predicate.SubcontrolHistory

RefCodeContains applies the Contains predicate on the "ref_code" field.

func RefCodeContainsFold added in v0.7.3

func RefCodeContainsFold(v string) predicate.SubcontrolHistory

RefCodeContainsFold applies the ContainsFold predicate on the "ref_code" field.

func RefCodeEQ added in v0.7.3

func RefCodeEQ(v string) predicate.SubcontrolHistory

RefCodeEQ applies the EQ predicate on the "ref_code" field.

func RefCodeEqualFold added in v0.7.3

func RefCodeEqualFold(v string) predicate.SubcontrolHistory

RefCodeEqualFold applies the EqualFold predicate on the "ref_code" field.

func RefCodeGT added in v0.7.3

func RefCodeGT(v string) predicate.SubcontrolHistory

RefCodeGT applies the GT predicate on the "ref_code" field.

func RefCodeGTE added in v0.7.3

func RefCodeGTE(v string) predicate.SubcontrolHistory

RefCodeGTE applies the GTE predicate on the "ref_code" field.

func RefCodeHasPrefix added in v0.7.3

func RefCodeHasPrefix(v string) predicate.SubcontrolHistory

RefCodeHasPrefix applies the HasPrefix predicate on the "ref_code" field.

func RefCodeHasSuffix added in v0.7.3

func RefCodeHasSuffix(v string) predicate.SubcontrolHistory

RefCodeHasSuffix applies the HasSuffix predicate on the "ref_code" field.

func RefCodeIn added in v0.7.3

func RefCodeIn(vs ...string) predicate.SubcontrolHistory

RefCodeIn applies the In predicate on the "ref_code" field.

func RefCodeLT added in v0.7.3

func RefCodeLT(v string) predicate.SubcontrolHistory

RefCodeLT applies the LT predicate on the "ref_code" field.

func RefCodeLTE added in v0.7.3

func RefCodeLTE(v string) predicate.SubcontrolHistory

RefCodeLTE applies the LTE predicate on the "ref_code" field.

func RefCodeNEQ added in v0.7.3

func RefCodeNEQ(v string) predicate.SubcontrolHistory

RefCodeNEQ applies the NEQ predicate on the "ref_code" field.

func RefCodeNotIn added in v0.7.3

func RefCodeNotIn(vs ...string) predicate.SubcontrolHistory

RefCodeNotIn applies the NotIn predicate on the "ref_code" field.

func RefContains

func RefContains(v string) predicate.SubcontrolHistory

RefContains applies the Contains predicate on the "ref" field.

func RefContainsFold

func RefContainsFold(v string) predicate.SubcontrolHistory

RefContainsFold applies the ContainsFold predicate on the "ref" field.

func RefEQ

RefEQ applies the EQ predicate on the "ref" field.

func RefEqualFold

func RefEqualFold(v string) predicate.SubcontrolHistory

RefEqualFold applies the EqualFold predicate on the "ref" field.

func RefGT

RefGT applies the GT predicate on the "ref" field.

func RefGTE

RefGTE applies the GTE predicate on the "ref" field.

func RefHasPrefix

func RefHasPrefix(v string) predicate.SubcontrolHistory

RefHasPrefix applies the HasPrefix predicate on the "ref" field.

func RefHasSuffix

func RefHasSuffix(v string) predicate.SubcontrolHistory

RefHasSuffix applies the HasSuffix predicate on the "ref" field.

func RefIn

func RefIn(vs ...string) predicate.SubcontrolHistory

RefIn applies the In predicate on the "ref" field.

func RefIsNil

func RefIsNil() predicate.SubcontrolHistory

RefIsNil applies the IsNil predicate on the "ref" field.

func RefLT

RefLT applies the LT predicate on the "ref" field.

func RefLTE

RefLTE applies the LTE predicate on the "ref" field.

func RefNEQ

RefNEQ applies the NEQ predicate on the "ref" field.

func RefNotIn

func RefNotIn(vs ...string) predicate.SubcontrolHistory

RefNotIn applies the NotIn predicate on the "ref" field.

func RefNotNil

func RefNotNil() predicate.SubcontrolHistory

RefNotNil applies the NotNil predicate on the "ref" field.

func ReferenceFramework added in v0.16.0

func ReferenceFramework(v string) predicate.SubcontrolHistory

ReferenceFramework applies equality check predicate on the "reference_framework" field. It's identical to ReferenceFrameworkEQ.

func ReferenceFrameworkContains added in v0.16.0

func ReferenceFrameworkContains(v string) predicate.SubcontrolHistory

ReferenceFrameworkContains applies the Contains predicate on the "reference_framework" field.

func ReferenceFrameworkContainsFold added in v0.16.0

func ReferenceFrameworkContainsFold(v string) predicate.SubcontrolHistory

ReferenceFrameworkContainsFold applies the ContainsFold predicate on the "reference_framework" field.

func ReferenceFrameworkEQ added in v0.16.0

func ReferenceFrameworkEQ(v string) predicate.SubcontrolHistory

ReferenceFrameworkEQ applies the EQ predicate on the "reference_framework" field.

func ReferenceFrameworkEqualFold added in v0.16.0

func ReferenceFrameworkEqualFold(v string) predicate.SubcontrolHistory

ReferenceFrameworkEqualFold applies the EqualFold predicate on the "reference_framework" field.

func ReferenceFrameworkGT added in v0.16.0

func ReferenceFrameworkGT(v string) predicate.SubcontrolHistory

ReferenceFrameworkGT applies the GT predicate on the "reference_framework" field.

func ReferenceFrameworkGTE added in v0.16.0

func ReferenceFrameworkGTE(v string) predicate.SubcontrolHistory

ReferenceFrameworkGTE applies the GTE predicate on the "reference_framework" field.

func ReferenceFrameworkHasPrefix added in v0.16.0

func ReferenceFrameworkHasPrefix(v string) predicate.SubcontrolHistory

ReferenceFrameworkHasPrefix applies the HasPrefix predicate on the "reference_framework" field.

func ReferenceFrameworkHasSuffix added in v0.16.0

func ReferenceFrameworkHasSuffix(v string) predicate.SubcontrolHistory

ReferenceFrameworkHasSuffix applies the HasSuffix predicate on the "reference_framework" field.

func ReferenceFrameworkIn added in v0.16.0

func ReferenceFrameworkIn(vs ...string) predicate.SubcontrolHistory

ReferenceFrameworkIn applies the In predicate on the "reference_framework" field.

func ReferenceFrameworkIsNil added in v0.16.0

func ReferenceFrameworkIsNil() predicate.SubcontrolHistory

ReferenceFrameworkIsNil applies the IsNil predicate on the "reference_framework" field.

func ReferenceFrameworkLT added in v0.16.0

func ReferenceFrameworkLT(v string) predicate.SubcontrolHistory

ReferenceFrameworkLT applies the LT predicate on the "reference_framework" field.

func ReferenceFrameworkLTE added in v0.16.0

func ReferenceFrameworkLTE(v string) predicate.SubcontrolHistory

ReferenceFrameworkLTE applies the LTE predicate on the "reference_framework" field.

func ReferenceFrameworkNEQ added in v0.16.0

func ReferenceFrameworkNEQ(v string) predicate.SubcontrolHistory

ReferenceFrameworkNEQ applies the NEQ predicate on the "reference_framework" field.

func ReferenceFrameworkNotIn added in v0.16.0

func ReferenceFrameworkNotIn(vs ...string) predicate.SubcontrolHistory

ReferenceFrameworkNotIn applies the NotIn predicate on the "reference_framework" field.

func ReferenceFrameworkNotNil added in v0.16.0

func ReferenceFrameworkNotNil() predicate.SubcontrolHistory

ReferenceFrameworkNotNil applies the NotNil predicate on the "reference_framework" field.

func ReferenceID added in v0.8.7

func ReferenceID(v string) predicate.SubcontrolHistory

ReferenceID applies equality check predicate on the "reference_id" field. It's identical to ReferenceIDEQ.

func ReferenceIDContains added in v0.8.7

func ReferenceIDContains(v string) predicate.SubcontrolHistory

ReferenceIDContains applies the Contains predicate on the "reference_id" field.

func ReferenceIDContainsFold added in v0.8.7

func ReferenceIDContainsFold(v string) predicate.SubcontrolHistory

ReferenceIDContainsFold applies the ContainsFold predicate on the "reference_id" field.

func ReferenceIDEQ added in v0.8.7

func ReferenceIDEQ(v string) predicate.SubcontrolHistory

ReferenceIDEQ applies the EQ predicate on the "reference_id" field.

func ReferenceIDEqualFold added in v0.8.7

func ReferenceIDEqualFold(v string) predicate.SubcontrolHistory

ReferenceIDEqualFold applies the EqualFold predicate on the "reference_id" field.

func ReferenceIDGT added in v0.8.7

func ReferenceIDGT(v string) predicate.SubcontrolHistory

ReferenceIDGT applies the GT predicate on the "reference_id" field.

func ReferenceIDGTE added in v0.8.7

func ReferenceIDGTE(v string) predicate.SubcontrolHistory

ReferenceIDGTE applies the GTE predicate on the "reference_id" field.

func ReferenceIDHasPrefix added in v0.8.7

func ReferenceIDHasPrefix(v string) predicate.SubcontrolHistory

ReferenceIDHasPrefix applies the HasPrefix predicate on the "reference_id" field.

func ReferenceIDHasSuffix added in v0.8.7

func ReferenceIDHasSuffix(v string) predicate.SubcontrolHistory

ReferenceIDHasSuffix applies the HasSuffix predicate on the "reference_id" field.

func ReferenceIDIn added in v0.8.7

func ReferenceIDIn(vs ...string) predicate.SubcontrolHistory

ReferenceIDIn applies the In predicate on the "reference_id" field.

func ReferenceIDIsNil added in v0.8.7

func ReferenceIDIsNil() predicate.SubcontrolHistory

ReferenceIDIsNil applies the IsNil predicate on the "reference_id" field.

func ReferenceIDLT added in v0.8.7

func ReferenceIDLT(v string) predicate.SubcontrolHistory

ReferenceIDLT applies the LT predicate on the "reference_id" field.

func ReferenceIDLTE added in v0.8.7

func ReferenceIDLTE(v string) predicate.SubcontrolHistory

ReferenceIDLTE applies the LTE predicate on the "reference_id" field.

func ReferenceIDNEQ added in v0.8.7

func ReferenceIDNEQ(v string) predicate.SubcontrolHistory

ReferenceIDNEQ applies the NEQ predicate on the "reference_id" field.

func ReferenceIDNotIn added in v0.8.7

func ReferenceIDNotIn(vs ...string) predicate.SubcontrolHistory

ReferenceIDNotIn applies the NotIn predicate on the "reference_id" field.

func ReferenceIDNotNil added in v0.8.7

func ReferenceIDNotNil() predicate.SubcontrolHistory

ReferenceIDNotNil applies the NotNil predicate on the "reference_id" field.

func ReferencesIsNil added in v0.7.3

func ReferencesIsNil() predicate.SubcontrolHistory

ReferencesIsNil applies the IsNil predicate on the "references" field.

func ReferencesNotNil added in v0.7.3

func ReferencesNotNil() predicate.SubcontrolHistory

ReferencesNotNil applies the NotNil predicate on the "references" field.

func SourceEQ

SourceEQ applies the EQ predicate on the "source" field.

func SourceIn

SourceIn applies the In predicate on the "source" field.

func SourceIsNil

func SourceIsNil() predicate.SubcontrolHistory

SourceIsNil applies the IsNil predicate on the "source" field.

func SourceNEQ

SourceNEQ applies the NEQ predicate on the "source" field.

func SourceNotIn

SourceNotIn applies the NotIn predicate on the "source" field.

func SourceNotNil

func SourceNotNil() predicate.SubcontrolHistory

SourceNotNil applies the NotNil predicate on the "source" field.

func SourceValidator added in v0.7.3

func SourceValidator(s enums.ControlSource) error

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

func StatusEQ

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

func StatusIn

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

func StatusIsNil

func StatusIsNil() predicate.SubcontrolHistory

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

func StatusNEQ

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

func StatusNotIn

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

func StatusNotNil

func StatusNotNil() predicate.SubcontrolHistory

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

func StatusValidator added in v0.8.9

func StatusValidator(s enums.ControlStatus) error

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

func Subcategory added in v0.7.3

func Subcategory(v string) predicate.SubcontrolHistory

Subcategory applies equality check predicate on the "subcategory" field. It's identical to SubcategoryEQ.

func SubcategoryContains added in v0.7.3

func SubcategoryContains(v string) predicate.SubcontrolHistory

SubcategoryContains applies the Contains predicate on the "subcategory" field.

func SubcategoryContainsFold added in v0.7.3

func SubcategoryContainsFold(v string) predicate.SubcontrolHistory

SubcategoryContainsFold applies the ContainsFold predicate on the "subcategory" field.

func SubcategoryEQ added in v0.7.3

func SubcategoryEQ(v string) predicate.SubcontrolHistory

SubcategoryEQ applies the EQ predicate on the "subcategory" field.

func SubcategoryEqualFold added in v0.7.3

func SubcategoryEqualFold(v string) predicate.SubcontrolHistory

SubcategoryEqualFold applies the EqualFold predicate on the "subcategory" field.

func SubcategoryGT added in v0.7.3

func SubcategoryGT(v string) predicate.SubcontrolHistory

SubcategoryGT applies the GT predicate on the "subcategory" field.

func SubcategoryGTE added in v0.7.3

func SubcategoryGTE(v string) predicate.SubcontrolHistory

SubcategoryGTE applies the GTE predicate on the "subcategory" field.

func SubcategoryHasPrefix added in v0.7.3

func SubcategoryHasPrefix(v string) predicate.SubcontrolHistory

SubcategoryHasPrefix applies the HasPrefix predicate on the "subcategory" field.

func SubcategoryHasSuffix added in v0.7.3

func SubcategoryHasSuffix(v string) predicate.SubcontrolHistory

SubcategoryHasSuffix applies the HasSuffix predicate on the "subcategory" field.

func SubcategoryIn added in v0.7.3

func SubcategoryIn(vs ...string) predicate.SubcontrolHistory

SubcategoryIn applies the In predicate on the "subcategory" field.

func SubcategoryIsNil added in v0.7.3

func SubcategoryIsNil() predicate.SubcontrolHistory

SubcategoryIsNil applies the IsNil predicate on the "subcategory" field.

func SubcategoryLT added in v0.7.3

func SubcategoryLT(v string) predicate.SubcontrolHistory

SubcategoryLT applies the LT predicate on the "subcategory" field.

func SubcategoryLTE added in v0.7.3

func SubcategoryLTE(v string) predicate.SubcontrolHistory

SubcategoryLTE applies the LTE predicate on the "subcategory" field.

func SubcategoryNEQ added in v0.7.3

func SubcategoryNEQ(v string) predicate.SubcontrolHistory

SubcategoryNEQ applies the NEQ predicate on the "subcategory" field.

func SubcategoryNotIn added in v0.7.3

func SubcategoryNotIn(vs ...string) predicate.SubcontrolHistory

SubcategoryNotIn applies the NotIn predicate on the "subcategory" field.

func SubcategoryNotNil added in v0.7.3

func SubcategoryNotNil() predicate.SubcontrolHistory

SubcategoryNotNil applies the NotNil predicate on the "subcategory" field.

func TagsIsNil

func TagsIsNil() predicate.SubcontrolHistory

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

func TagsNotNil

func TagsNotNil() predicate.SubcontrolHistory

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.SubcontrolHistory

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.SubcontrolHistory

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.SubcontrolHistory

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.SubcontrolHistory

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.SubcontrolHistory

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.SubcontrolHistory

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.SubcontrolHistory

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.SubcontrolHistory

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.SubcontrolHistory

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

func UpdatedBy

func UpdatedBy(v string) predicate.SubcontrolHistory

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.SubcontrolHistory

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.SubcontrolHistory

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.SubcontrolHistory

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.SubcontrolHistory

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.SubcontrolHistory

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.SubcontrolHistory

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.SubcontrolHistory

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.SubcontrolHistory

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.SubcontrolHistory

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.SubcontrolHistory

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.SubcontrolHistory

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.SubcontrolHistory

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.SubcontrolHistory

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

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the SubcontrolHistory queries.

func ByAuditorReferenceID added in v0.8.7

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

ByAuditorReferenceID orders the results by the auditor_reference_id field.

func ByCategory added in v0.7.3

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

ByCategory orders the results by the category field.

func ByCategoryID added in v0.7.3

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

ByCategoryID orders the results by the category_id field.

func ByControlID added in v0.7.3

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

ByControlID orders the results by the control_id field.

func ByControlOwnerID added in v0.8.9

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

ByControlOwnerID orders the results by the control_owner_id field.

func ByControlType added in v0.7.3

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

ByControlType orders the results by the control_type field.

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 ByDelegateID added in v0.8.9

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

ByDelegateID orders the results by the delegate_id 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 ByHistoryTime

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

ByHistoryTime orders the results by the history_time field.

func ByID

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

ByID orders the results by the id field.

func ByOperation

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

ByOperation orders the results by the operation field.

func ByOwnerID added in v0.5.0

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

ByOwnerID orders the results by the owner_id field.

func ByRef

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

ByRef orders the results by the ref field.

func ByRefCode added in v0.7.3

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

ByRefCode orders the results by the ref_code field.

func ByReferenceFramework added in v0.16.0

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

ByReferenceFramework orders the results by the reference_framework field.

func ByReferenceID added in v0.8.7

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

ByReferenceID orders the results by the reference_id field.

func BySource

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

BySource orders the results by the source field.

func ByStatus

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

ByStatus orders the results by the status field.

func BySubcategory added in v0.7.3

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

BySubcategory orders the results by the subcategory field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

func ByUpdatedBy

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

ByUpdatedBy orders the results by the updated_by field.

Jump to

Keyboard shortcuts

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