internalpolicyhistory

package
v0.30.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the internalpolicyhistory type in the database.
	Label = "internal_policy_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"
	// FieldRevision holds the string denoting the revision field in the database.
	FieldRevision = "revision"
	// 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"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldPolicyType holds the string denoting the policy_type field in the database.
	FieldPolicyType = "policy_type"
	// FieldDetails holds the string denoting the details field in the database.
	FieldDetails = "details"
	// FieldApprovalRequired holds the string denoting the approval_required field in the database.
	FieldApprovalRequired = "approval_required"
	// FieldReviewDue holds the string denoting the review_due field in the database.
	FieldReviewDue = "review_due"
	// FieldReviewFrequency holds the string denoting the review_frequency field in the database.
	FieldReviewFrequency = "review_frequency"
	// FieldApproverID holds the string denoting the approver_id field in the database.
	FieldApproverID = "approver_id"
	// FieldDelegateID holds the string denoting the delegate_id field in the database.
	FieldDelegateID = "delegate_id"
	// FieldSummary holds the string denoting the summary field in the database.
	FieldSummary = "summary"
	// FieldTagSuggestions holds the string denoting the tag_suggestions field in the database.
	FieldTagSuggestions = "tag_suggestions"
	// FieldDismissedTagSuggestions holds the string denoting the dismissed_tag_suggestions field in the database.
	FieldDismissedTagSuggestions = "dismissed_tag_suggestions"
	// FieldControlSuggestions holds the string denoting the control_suggestions field in the database.
	FieldControlSuggestions = "control_suggestions"
	// FieldDismissedControlSuggestions holds the string denoting the dismissed_control_suggestions field in the database.
	FieldDismissedControlSuggestions = "dismissed_control_suggestions"
	// FieldImprovementSuggestions holds the string denoting the improvement_suggestions field in the database.
	FieldImprovementSuggestions = "improvement_suggestions"
	// FieldDismissedImprovementSuggestions holds the string denoting the dismissed_improvement_suggestions field in the database.
	FieldDismissedImprovementSuggestions = "dismissed_improvement_suggestions"
	// FieldFileID holds the string denoting the file_id field in the database.
	FieldFileID = "file_id"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// Table holds the table name of the internalpolicyhistory in the database.
	Table = "internal_policy_history"
)
View Source
const DefaultReviewFrequency enums.Frequency = "YEARLY"
View Source
const DefaultStatus enums.DocumentStatus = "DRAFT"

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
	// DefaultRevision holds the default value on creation for the "revision" field.
	DefaultRevision string
	// DefaultApprovalRequired holds the default value on creation for the "approval_required" field.
	DefaultApprovalRequired bool
	// DefaultReviewDue holds the default value on creation for the "review_due" field.
	DefaultReviewDue time.Time
	// DefaultTagSuggestions holds the default value on creation for the "tag_suggestions" field.
	DefaultTagSuggestions []string
	// DefaultDismissedTagSuggestions holds the default value on creation for the "dismissed_tag_suggestions" field.
	DefaultDismissedTagSuggestions []string
	// DefaultControlSuggestions holds the default value on creation for the "control_suggestions" field.
	DefaultControlSuggestions []string
	// DefaultDismissedControlSuggestions holds the default value on creation for the "dismissed_control_suggestions" field.
	DefaultDismissedControlSuggestions []string
	// DefaultImprovementSuggestions holds the default value on creation for the "improvement_suggestions" field.
	DefaultImprovementSuggestions []string
	// DefaultDismissedImprovementSuggestions holds the default value on creation for the "dismissed_improvement_suggestions" field.
	DefaultDismissedImprovementSuggestions []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 internalpolicyhistory fields.

Functions

func And

And groups predicates with the AND operator between them.

func ApprovalRequired added in v0.7.5

func ApprovalRequired(v bool) predicate.InternalPolicyHistory

ApprovalRequired applies equality check predicate on the "approval_required" field. It's identical to ApprovalRequiredEQ.

func ApprovalRequiredEQ added in v0.7.5

func ApprovalRequiredEQ(v bool) predicate.InternalPolicyHistory

ApprovalRequiredEQ applies the EQ predicate on the "approval_required" field.

func ApprovalRequiredIsNil added in v0.7.5

func ApprovalRequiredIsNil() predicate.InternalPolicyHistory

ApprovalRequiredIsNil applies the IsNil predicate on the "approval_required" field.

func ApprovalRequiredNEQ added in v0.7.5

func ApprovalRequiredNEQ(v bool) predicate.InternalPolicyHistory

ApprovalRequiredNEQ applies the NEQ predicate on the "approval_required" field.

func ApprovalRequiredNotNil added in v0.7.5

func ApprovalRequiredNotNil() predicate.InternalPolicyHistory

ApprovalRequiredNotNil applies the NotNil predicate on the "approval_required" field.

func ApproverID added in v0.8.9

ApproverID applies equality check predicate on the "approver_id" field. It's identical to ApproverIDEQ.

func ApproverIDContains added in v0.8.9

func ApproverIDContains(v string) predicate.InternalPolicyHistory

ApproverIDContains applies the Contains predicate on the "approver_id" field.

func ApproverIDContainsFold added in v0.8.9

func ApproverIDContainsFold(v string) predicate.InternalPolicyHistory

ApproverIDContainsFold applies the ContainsFold predicate on the "approver_id" field.

func ApproverIDEQ added in v0.8.9

func ApproverIDEQ(v string) predicate.InternalPolicyHistory

ApproverIDEQ applies the EQ predicate on the "approver_id" field.

func ApproverIDEqualFold added in v0.8.9

func ApproverIDEqualFold(v string) predicate.InternalPolicyHistory

ApproverIDEqualFold applies the EqualFold predicate on the "approver_id" field.

func ApproverIDGT added in v0.8.9

func ApproverIDGT(v string) predicate.InternalPolicyHistory

ApproverIDGT applies the GT predicate on the "approver_id" field.

func ApproverIDGTE added in v0.8.9

func ApproverIDGTE(v string) predicate.InternalPolicyHistory

ApproverIDGTE applies the GTE predicate on the "approver_id" field.

func ApproverIDHasPrefix added in v0.8.9

func ApproverIDHasPrefix(v string) predicate.InternalPolicyHistory

ApproverIDHasPrefix applies the HasPrefix predicate on the "approver_id" field.

func ApproverIDHasSuffix added in v0.8.9

func ApproverIDHasSuffix(v string) predicate.InternalPolicyHistory

ApproverIDHasSuffix applies the HasSuffix predicate on the "approver_id" field.

func ApproverIDIn added in v0.8.9

func ApproverIDIn(vs ...string) predicate.InternalPolicyHistory

ApproverIDIn applies the In predicate on the "approver_id" field.

func ApproverIDIsNil added in v0.8.9

func ApproverIDIsNil() predicate.InternalPolicyHistory

ApproverIDIsNil applies the IsNil predicate on the "approver_id" field.

func ApproverIDLT added in v0.8.9

func ApproverIDLT(v string) predicate.InternalPolicyHistory

ApproverIDLT applies the LT predicate on the "approver_id" field.

func ApproverIDLTE added in v0.8.9

func ApproverIDLTE(v string) predicate.InternalPolicyHistory

ApproverIDLTE applies the LTE predicate on the "approver_id" field.

func ApproverIDNEQ added in v0.8.9

func ApproverIDNEQ(v string) predicate.InternalPolicyHistory

ApproverIDNEQ applies the NEQ predicate on the "approver_id" field.

func ApproverIDNotIn added in v0.8.9

func ApproverIDNotIn(vs ...string) predicate.InternalPolicyHistory

ApproverIDNotIn applies the NotIn predicate on the "approver_id" field.

func ApproverIDNotNil added in v0.8.9

func ApproverIDNotNil() predicate.InternalPolicyHistory

ApproverIDNotNil applies the NotNil predicate on the "approver_id" field.

func ControlSuggestionsIsNil added in v0.19.0

func ControlSuggestionsIsNil() predicate.InternalPolicyHistory

ControlSuggestionsIsNil applies the IsNil predicate on the "control_suggestions" field.

func ControlSuggestionsNotNil added in v0.19.0

func ControlSuggestionsNotNil() predicate.InternalPolicyHistory

ControlSuggestionsNotNil applies the NotNil predicate on the "control_suggestions" field.

func CreatedAt

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

func CreatedAtEQ

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

func CreatedAtGT

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.InternalPolicyHistory

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.InternalPolicyHistory

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

func CreatedAtLT

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.InternalPolicyHistory

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.InternalPolicyHistory

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.InternalPolicyHistory

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

func CreatedBy

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

func CreatedByContains

func CreatedByContains(v string) predicate.InternalPolicyHistory

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.InternalPolicyHistory

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.InternalPolicyHistory

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.InternalPolicyHistory

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

func CreatedByGT

func CreatedByGT(v string) predicate.InternalPolicyHistory

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.InternalPolicyHistory

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.InternalPolicyHistory

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.InternalPolicyHistory

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.InternalPolicyHistory

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

func CreatedByLT

func CreatedByLT(v string) predicate.InternalPolicyHistory

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.InternalPolicyHistory

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.InternalPolicyHistory

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.InternalPolicyHistory

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

func DelegateID added in v0.8.9

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

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

func DelegateIDContainsFold added in v0.8.9

func DelegateIDContainsFold(v string) predicate.InternalPolicyHistory

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

func DelegateIDEQ added in v0.8.9

func DelegateIDEQ(v string) predicate.InternalPolicyHistory

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

func DelegateIDEqualFold added in v0.8.9

func DelegateIDEqualFold(v string) predicate.InternalPolicyHistory

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

func DelegateIDGT added in v0.8.9

func DelegateIDGT(v string) predicate.InternalPolicyHistory

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

func DelegateIDGTE added in v0.8.9

func DelegateIDGTE(v string) predicate.InternalPolicyHistory

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

func DelegateIDHasPrefix added in v0.8.9

func DelegateIDHasPrefix(v string) predicate.InternalPolicyHistory

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

func DelegateIDHasSuffix added in v0.8.9

func DelegateIDHasSuffix(v string) predicate.InternalPolicyHistory

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

func DelegateIDIn added in v0.8.9

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

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

func DelegateIDIsNil added in v0.8.9

func DelegateIDIsNil() predicate.InternalPolicyHistory

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

func DelegateIDLT added in v0.8.9

func DelegateIDLT(v string) predicate.InternalPolicyHistory

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

func DelegateIDLTE added in v0.8.9

func DelegateIDLTE(v string) predicate.InternalPolicyHistory

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

func DelegateIDNEQ added in v0.8.9

func DelegateIDNEQ(v string) predicate.InternalPolicyHistory

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

func DelegateIDNotIn added in v0.8.9

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

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

func DelegateIDNotNil added in v0.8.9

func DelegateIDNotNil() predicate.InternalPolicyHistory

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

func DeletedAt

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

func DeletedAtEQ

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

func DeletedAtGT

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.InternalPolicyHistory

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.InternalPolicyHistory

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

func DeletedAtLT

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.InternalPolicyHistory

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.InternalPolicyHistory

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.InternalPolicyHistory

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

func DeletedBy

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

func DeletedByContains

func DeletedByContains(v string) predicate.InternalPolicyHistory

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.InternalPolicyHistory

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

func DeletedByEQ

func DeletedByEQ(v string) predicate.InternalPolicyHistory

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.InternalPolicyHistory

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

func DeletedByGT

func DeletedByGT(v string) predicate.InternalPolicyHistory

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

func DeletedByGTE

func DeletedByGTE(v string) predicate.InternalPolicyHistory

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.InternalPolicyHistory

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.InternalPolicyHistory

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.InternalPolicyHistory

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

func DeletedByLT

func DeletedByLT(v string) predicate.InternalPolicyHistory

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

func DeletedByLTE

func DeletedByLTE(v string) predicate.InternalPolicyHistory

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

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.InternalPolicyHistory

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.InternalPolicyHistory

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

func Details added in v0.7.5

Details applies equality check predicate on the "details" field. It's identical to DetailsEQ.

func DetailsContains added in v0.7.5

func DetailsContains(v string) predicate.InternalPolicyHistory

DetailsContains applies the Contains predicate on the "details" field.

func DetailsContainsFold added in v0.7.5

func DetailsContainsFold(v string) predicate.InternalPolicyHistory

DetailsContainsFold applies the ContainsFold predicate on the "details" field.

func DetailsEQ added in v0.7.5

DetailsEQ applies the EQ predicate on the "details" field.

func DetailsEqualFold added in v0.7.5

func DetailsEqualFold(v string) predicate.InternalPolicyHistory

DetailsEqualFold applies the EqualFold predicate on the "details" field.

func DetailsGT added in v0.7.5

DetailsGT applies the GT predicate on the "details" field.

func DetailsGTE added in v0.7.5

DetailsGTE applies the GTE predicate on the "details" field.

func DetailsHasPrefix added in v0.7.5

func DetailsHasPrefix(v string) predicate.InternalPolicyHistory

DetailsHasPrefix applies the HasPrefix predicate on the "details" field.

func DetailsHasSuffix added in v0.7.5

func DetailsHasSuffix(v string) predicate.InternalPolicyHistory

DetailsHasSuffix applies the HasSuffix predicate on the "details" field.

func DetailsIn added in v0.7.5

func DetailsIn(vs ...string) predicate.InternalPolicyHistory

DetailsIn applies the In predicate on the "details" field.

func DetailsIsNil

func DetailsIsNil() predicate.InternalPolicyHistory

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

func DetailsLT added in v0.7.5

DetailsLT applies the LT predicate on the "details" field.

func DetailsLTE added in v0.7.5

DetailsLTE applies the LTE predicate on the "details" field.

func DetailsNEQ added in v0.7.5

DetailsNEQ applies the NEQ predicate on the "details" field.

func DetailsNotIn added in v0.7.5

func DetailsNotIn(vs ...string) predicate.InternalPolicyHistory

DetailsNotIn applies the NotIn predicate on the "details" field.

func DetailsNotNil

func DetailsNotNil() predicate.InternalPolicyHistory

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

func DismissedControlSuggestionsIsNil added in v0.19.0

func DismissedControlSuggestionsIsNil() predicate.InternalPolicyHistory

DismissedControlSuggestionsIsNil applies the IsNil predicate on the "dismissed_control_suggestions" field.

func DismissedControlSuggestionsNotNil added in v0.19.0

func DismissedControlSuggestionsNotNil() predicate.InternalPolicyHistory

DismissedControlSuggestionsNotNil applies the NotNil predicate on the "dismissed_control_suggestions" field.

func DismissedImprovementSuggestionsIsNil added in v0.19.0

func DismissedImprovementSuggestionsIsNil() predicate.InternalPolicyHistory

DismissedImprovementSuggestionsIsNil applies the IsNil predicate on the "dismissed_improvement_suggestions" field.

func DismissedImprovementSuggestionsNotNil added in v0.19.0

func DismissedImprovementSuggestionsNotNil() predicate.InternalPolicyHistory

DismissedImprovementSuggestionsNotNil applies the NotNil predicate on the "dismissed_improvement_suggestions" field.

func DismissedTagSuggestionsIsNil added in v0.19.0

func DismissedTagSuggestionsIsNil() predicate.InternalPolicyHistory

DismissedTagSuggestionsIsNil applies the IsNil predicate on the "dismissed_tag_suggestions" field.

func DismissedTagSuggestionsNotNil added in v0.19.0

func DismissedTagSuggestionsNotNil() predicate.InternalPolicyHistory

DismissedTagSuggestionsNotNil applies the NotNil predicate on the "dismissed_tag_suggestions" field.

func DisplayID added in v0.6.11

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

func DisplayIDContains added in v0.6.11

func DisplayIDContains(v string) predicate.InternalPolicyHistory

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

func DisplayIDContainsFold added in v0.6.11

func DisplayIDContainsFold(v string) predicate.InternalPolicyHistory

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

func DisplayIDEQ added in v0.6.11

func DisplayIDEQ(v string) predicate.InternalPolicyHistory

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

func DisplayIDEqualFold added in v0.6.11

func DisplayIDEqualFold(v string) predicate.InternalPolicyHistory

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

func DisplayIDGT added in v0.6.11

func DisplayIDGT(v string) predicate.InternalPolicyHistory

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

func DisplayIDGTE added in v0.6.11

func DisplayIDGTE(v string) predicate.InternalPolicyHistory

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

func DisplayIDHasPrefix added in v0.6.11

func DisplayIDHasPrefix(v string) predicate.InternalPolicyHistory

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

func DisplayIDHasSuffix added in v0.6.11

func DisplayIDHasSuffix(v string) predicate.InternalPolicyHistory

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

func DisplayIDIn added in v0.6.11

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

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

func DisplayIDLT added in v0.6.11

func DisplayIDLT(v string) predicate.InternalPolicyHistory

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

func DisplayIDLTE added in v0.6.11

func DisplayIDLTE(v string) predicate.InternalPolicyHistory

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

func DisplayIDNEQ added in v0.6.11

func DisplayIDNEQ(v string) predicate.InternalPolicyHistory

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

func DisplayIDNotIn added in v0.6.11

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

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

func FileID added in v0.30.6

FileID applies equality check predicate on the "file_id" field. It's identical to FileIDEQ.

func FileIDContains added in v0.30.6

func FileIDContains(v string) predicate.InternalPolicyHistory

FileIDContains applies the Contains predicate on the "file_id" field.

func FileIDContainsFold added in v0.30.6

func FileIDContainsFold(v string) predicate.InternalPolicyHistory

FileIDContainsFold applies the ContainsFold predicate on the "file_id" field.

func FileIDEQ added in v0.30.6

FileIDEQ applies the EQ predicate on the "file_id" field.

func FileIDEqualFold added in v0.30.6

func FileIDEqualFold(v string) predicate.InternalPolicyHistory

FileIDEqualFold applies the EqualFold predicate on the "file_id" field.

func FileIDGT added in v0.30.6

FileIDGT applies the GT predicate on the "file_id" field.

func FileIDGTE added in v0.30.6

FileIDGTE applies the GTE predicate on the "file_id" field.

func FileIDHasPrefix added in v0.30.6

func FileIDHasPrefix(v string) predicate.InternalPolicyHistory

FileIDHasPrefix applies the HasPrefix predicate on the "file_id" field.

func FileIDHasSuffix added in v0.30.6

func FileIDHasSuffix(v string) predicate.InternalPolicyHistory

FileIDHasSuffix applies the HasSuffix predicate on the "file_id" field.

func FileIDIn added in v0.30.6

func FileIDIn(vs ...string) predicate.InternalPolicyHistory

FileIDIn applies the In predicate on the "file_id" field.

func FileIDIsNil added in v0.30.6

func FileIDIsNil() predicate.InternalPolicyHistory

FileIDIsNil applies the IsNil predicate on the "file_id" field.

func FileIDLT added in v0.30.6

FileIDLT applies the LT predicate on the "file_id" field.

func FileIDLTE added in v0.30.6

FileIDLTE applies the LTE predicate on the "file_id" field.

func FileIDNEQ added in v0.30.6

FileIDNEQ applies the NEQ predicate on the "file_id" field.

func FileIDNotIn added in v0.30.6

func FileIDNotIn(vs ...string) predicate.InternalPolicyHistory

FileIDNotIn applies the NotIn predicate on the "file_id" field.

func FileIDNotNil added in v0.30.6

func FileIDNotNil() predicate.InternalPolicyHistory

FileIDNotNil applies the NotNil predicate on the "file_id" field.

func HistoryTime

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

func HistoryTimeEQ

func HistoryTimeEQ(v time.Time) predicate.InternalPolicyHistory

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

func HistoryTimeGT

func HistoryTimeGT(v time.Time) predicate.InternalPolicyHistory

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

func HistoryTimeGTE

func HistoryTimeGTE(v time.Time) predicate.InternalPolicyHistory

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

func HistoryTimeIn

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

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

func HistoryTimeLT

func HistoryTimeLT(v time.Time) predicate.InternalPolicyHistory

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

func HistoryTimeLTE

func HistoryTimeLTE(v time.Time) predicate.InternalPolicyHistory

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

func HistoryTimeNEQ

func HistoryTimeNEQ(v time.Time) predicate.InternalPolicyHistory

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

func HistoryTimeNotIn

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

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

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

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

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

IDNotIn applies the NotIn predicate on the ID field.

func ImprovementSuggestionsIsNil added in v0.19.0

func ImprovementSuggestionsIsNil() predicate.InternalPolicyHistory

ImprovementSuggestionsIsNil applies the IsNil predicate on the "improvement_suggestions" field.

func ImprovementSuggestionsNotNil added in v0.19.0

func ImprovementSuggestionsNotNil() predicate.InternalPolicyHistory

ImprovementSuggestionsNotNil applies the NotNil predicate on the "improvement_suggestions" field.

func Name

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

func NameContains

func NameContains(v string) predicate.InternalPolicyHistory

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

func NameContainsFold

func NameContainsFold(v string) predicate.InternalPolicyHistory

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

func NameEQ

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

func NameEqualFold

func NameEqualFold(v string) predicate.InternalPolicyHistory

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

func NameGT

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

func NameGTE

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.InternalPolicyHistory

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.InternalPolicyHistory

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

func NameIn

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

func NameLT

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

func NameLTE

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

func NameNEQ

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

func NameNotIn

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

NameNotIn applies the NotIn predicate on the "name" 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.InternalPolicyHistory

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

func OperationNEQ

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

func OperationNotIn

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

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

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

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

func OwnerIDContainsFold added in v0.4.2

func OwnerIDContainsFold(v string) predicate.InternalPolicyHistory

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

func OwnerIDEQ added in v0.4.2

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

func OwnerIDEqualFold added in v0.4.2

func OwnerIDEqualFold(v string) predicate.InternalPolicyHistory

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

func OwnerIDGT added in v0.4.2

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

func OwnerIDGTE added in v0.4.2

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

func OwnerIDHasPrefix added in v0.4.2

func OwnerIDHasPrefix(v string) predicate.InternalPolicyHistory

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

func OwnerIDHasSuffix added in v0.4.2

func OwnerIDHasSuffix(v string) predicate.InternalPolicyHistory

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

func OwnerIDIn added in v0.4.2

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

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

func OwnerIDIsNil added in v0.4.2

func OwnerIDIsNil() predicate.InternalPolicyHistory

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

func OwnerIDLT added in v0.4.2

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

func OwnerIDLTE added in v0.4.2

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

func OwnerIDNEQ added in v0.4.2

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

func OwnerIDNotIn added in v0.4.2

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

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

func OwnerIDNotNil added in v0.4.2

func OwnerIDNotNil() predicate.InternalPolicyHistory

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

func PolicyType

PolicyType applies equality check predicate on the "policy_type" field. It's identical to PolicyTypeEQ.

func PolicyTypeContains

func PolicyTypeContains(v string) predicate.InternalPolicyHistory

PolicyTypeContains applies the Contains predicate on the "policy_type" field.

func PolicyTypeContainsFold

func PolicyTypeContainsFold(v string) predicate.InternalPolicyHistory

PolicyTypeContainsFold applies the ContainsFold predicate on the "policy_type" field.

func PolicyTypeEQ

func PolicyTypeEQ(v string) predicate.InternalPolicyHistory

PolicyTypeEQ applies the EQ predicate on the "policy_type" field.

func PolicyTypeEqualFold

func PolicyTypeEqualFold(v string) predicate.InternalPolicyHistory

PolicyTypeEqualFold applies the EqualFold predicate on the "policy_type" field.

func PolicyTypeGT

func PolicyTypeGT(v string) predicate.InternalPolicyHistory

PolicyTypeGT applies the GT predicate on the "policy_type" field.

func PolicyTypeGTE

func PolicyTypeGTE(v string) predicate.InternalPolicyHistory

PolicyTypeGTE applies the GTE predicate on the "policy_type" field.

func PolicyTypeHasPrefix

func PolicyTypeHasPrefix(v string) predicate.InternalPolicyHistory

PolicyTypeHasPrefix applies the HasPrefix predicate on the "policy_type" field.

func PolicyTypeHasSuffix

func PolicyTypeHasSuffix(v string) predicate.InternalPolicyHistory

PolicyTypeHasSuffix applies the HasSuffix predicate on the "policy_type" field.

func PolicyTypeIn

func PolicyTypeIn(vs ...string) predicate.InternalPolicyHistory

PolicyTypeIn applies the In predicate on the "policy_type" field.

func PolicyTypeIsNil

func PolicyTypeIsNil() predicate.InternalPolicyHistory

PolicyTypeIsNil applies the IsNil predicate on the "policy_type" field.

func PolicyTypeLT

func PolicyTypeLT(v string) predicate.InternalPolicyHistory

PolicyTypeLT applies the LT predicate on the "policy_type" field.

func PolicyTypeLTE

func PolicyTypeLTE(v string) predicate.InternalPolicyHistory

PolicyTypeLTE applies the LTE predicate on the "policy_type" field.

func PolicyTypeNEQ

func PolicyTypeNEQ(v string) predicate.InternalPolicyHistory

PolicyTypeNEQ applies the NEQ predicate on the "policy_type" field.

func PolicyTypeNotIn

func PolicyTypeNotIn(vs ...string) predicate.InternalPolicyHistory

PolicyTypeNotIn applies the NotIn predicate on the "policy_type" field.

func PolicyTypeNotNil

func PolicyTypeNotNil() predicate.InternalPolicyHistory

PolicyTypeNotNil applies the NotNil predicate on the "policy_type" field.

func Ref

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

func RefContains

func RefContains(v string) predicate.InternalPolicyHistory

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

func RefContainsFold

func RefContainsFold(v string) predicate.InternalPolicyHistory

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

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

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

func RefHasSuffix

func RefHasSuffix(v string) predicate.InternalPolicyHistory

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

func RefIn

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

func RefIsNil

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

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

func RefNotNil

func RefNotNil() predicate.InternalPolicyHistory

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

func ReviewDue added in v0.6.19

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

func ReviewDueEQ added in v0.6.19

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

func ReviewDueGT added in v0.6.19

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

func ReviewDueGTE added in v0.6.19

func ReviewDueGTE(v time.Time) predicate.InternalPolicyHistory

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

func ReviewDueIn added in v0.6.19

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

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

func ReviewDueIsNil added in v0.6.19

func ReviewDueIsNil() predicate.InternalPolicyHistory

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

func ReviewDueLT added in v0.6.19

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

func ReviewDueLTE added in v0.6.19

func ReviewDueLTE(v time.Time) predicate.InternalPolicyHistory

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

func ReviewDueNEQ added in v0.6.19

func ReviewDueNEQ(v time.Time) predicate.InternalPolicyHistory

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

func ReviewDueNotIn added in v0.6.19

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

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

func ReviewDueNotNil added in v0.6.19

func ReviewDueNotNil() predicate.InternalPolicyHistory

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

func ReviewFrequencyEQ added in v0.7.5

func ReviewFrequencyEQ(v enums.Frequency) predicate.InternalPolicyHistory

ReviewFrequencyEQ applies the EQ predicate on the "review_frequency" field.

func ReviewFrequencyIn added in v0.7.5

func ReviewFrequencyIn(vs ...enums.Frequency) predicate.InternalPolicyHistory

ReviewFrequencyIn applies the In predicate on the "review_frequency" field.

func ReviewFrequencyIsNil added in v0.7.5

func ReviewFrequencyIsNil() predicate.InternalPolicyHistory

ReviewFrequencyIsNil applies the IsNil predicate on the "review_frequency" field.

func ReviewFrequencyNEQ added in v0.7.5

func ReviewFrequencyNEQ(v enums.Frequency) predicate.InternalPolicyHistory

ReviewFrequencyNEQ applies the NEQ predicate on the "review_frequency" field.

func ReviewFrequencyNotIn added in v0.7.5

func ReviewFrequencyNotIn(vs ...enums.Frequency) predicate.InternalPolicyHistory

ReviewFrequencyNotIn applies the NotIn predicate on the "review_frequency" field.

func ReviewFrequencyNotNil added in v0.7.5

func ReviewFrequencyNotNil() predicate.InternalPolicyHistory

ReviewFrequencyNotNil applies the NotNil predicate on the "review_frequency" field.

func ReviewFrequencyValidator added in v0.7.5

func ReviewFrequencyValidator(rf enums.Frequency) error

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

func Revision added in v0.7.5

Revision applies equality check predicate on the "revision" field. It's identical to RevisionEQ.

func RevisionContains added in v0.7.5

func RevisionContains(v string) predicate.InternalPolicyHistory

RevisionContains applies the Contains predicate on the "revision" field.

func RevisionContainsFold added in v0.7.5

func RevisionContainsFold(v string) predicate.InternalPolicyHistory

RevisionContainsFold applies the ContainsFold predicate on the "revision" field.

func RevisionEQ added in v0.7.5

RevisionEQ applies the EQ predicate on the "revision" field.

func RevisionEqualFold added in v0.7.5

func RevisionEqualFold(v string) predicate.InternalPolicyHistory

RevisionEqualFold applies the EqualFold predicate on the "revision" field.

func RevisionGT added in v0.7.5

RevisionGT applies the GT predicate on the "revision" field.

func RevisionGTE added in v0.7.5

func RevisionGTE(v string) predicate.InternalPolicyHistory

RevisionGTE applies the GTE predicate on the "revision" field.

func RevisionHasPrefix added in v0.7.5

func RevisionHasPrefix(v string) predicate.InternalPolicyHistory

RevisionHasPrefix applies the HasPrefix predicate on the "revision" field.

func RevisionHasSuffix added in v0.7.5

func RevisionHasSuffix(v string) predicate.InternalPolicyHistory

RevisionHasSuffix applies the HasSuffix predicate on the "revision" field.

func RevisionIn added in v0.7.5

func RevisionIn(vs ...string) predicate.InternalPolicyHistory

RevisionIn applies the In predicate on the "revision" field.

func RevisionIsNil added in v0.7.5

func RevisionIsNil() predicate.InternalPolicyHistory

RevisionIsNil applies the IsNil predicate on the "revision" field.

func RevisionLT added in v0.7.5

RevisionLT applies the LT predicate on the "revision" field.

func RevisionLTE added in v0.7.5

func RevisionLTE(v string) predicate.InternalPolicyHistory

RevisionLTE applies the LTE predicate on the "revision" field.

func RevisionNEQ added in v0.7.5

func RevisionNEQ(v string) predicate.InternalPolicyHistory

RevisionNEQ applies the NEQ predicate on the "revision" field.

func RevisionNotIn added in v0.7.5

func RevisionNotIn(vs ...string) predicate.InternalPolicyHistory

RevisionNotIn applies the NotIn predicate on the "revision" field.

func RevisionNotNil added in v0.7.5

func RevisionNotNil() predicate.InternalPolicyHistory

RevisionNotNil applies the NotNil predicate on the "revision" field.

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

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

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

func StatusValidator added in v0.7.5

func StatusValidator(s enums.DocumentStatus) error

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

func Summary added in v0.11.0

Summary applies equality check predicate on the "summary" field. It's identical to SummaryEQ.

func SummaryContains added in v0.11.0

func SummaryContains(v string) predicate.InternalPolicyHistory

SummaryContains applies the Contains predicate on the "summary" field.

func SummaryContainsFold added in v0.11.0

func SummaryContainsFold(v string) predicate.InternalPolicyHistory

SummaryContainsFold applies the ContainsFold predicate on the "summary" field.

func SummaryEQ added in v0.11.0

SummaryEQ applies the EQ predicate on the "summary" field.

func SummaryEqualFold added in v0.11.0

func SummaryEqualFold(v string) predicate.InternalPolicyHistory

SummaryEqualFold applies the EqualFold predicate on the "summary" field.

func SummaryGT added in v0.11.0

SummaryGT applies the GT predicate on the "summary" field.

func SummaryGTE added in v0.11.0

SummaryGTE applies the GTE predicate on the "summary" field.

func SummaryHasPrefix added in v0.11.0

func SummaryHasPrefix(v string) predicate.InternalPolicyHistory

SummaryHasPrefix applies the HasPrefix predicate on the "summary" field.

func SummaryHasSuffix added in v0.11.0

func SummaryHasSuffix(v string) predicate.InternalPolicyHistory

SummaryHasSuffix applies the HasSuffix predicate on the "summary" field.

func SummaryIn added in v0.11.0

func SummaryIn(vs ...string) predicate.InternalPolicyHistory

SummaryIn applies the In predicate on the "summary" field.

func SummaryIsNil added in v0.11.0

func SummaryIsNil() predicate.InternalPolicyHistory

SummaryIsNil applies the IsNil predicate on the "summary" field.

func SummaryLT added in v0.11.0

SummaryLT applies the LT predicate on the "summary" field.

func SummaryLTE added in v0.11.0

SummaryLTE applies the LTE predicate on the "summary" field.

func SummaryNEQ added in v0.11.0

SummaryNEQ applies the NEQ predicate on the "summary" field.

func SummaryNotIn added in v0.11.0

func SummaryNotIn(vs ...string) predicate.InternalPolicyHistory

SummaryNotIn applies the NotIn predicate on the "summary" field.

func SummaryNotNil added in v0.11.0

func SummaryNotNil() predicate.InternalPolicyHistory

SummaryNotNil applies the NotNil predicate on the "summary" field.

func TagSuggestionsIsNil added in v0.19.0

func TagSuggestionsIsNil() predicate.InternalPolicyHistory

TagSuggestionsIsNil applies the IsNil predicate on the "tag_suggestions" field.

func TagSuggestionsNotNil added in v0.19.0

func TagSuggestionsNotNil() predicate.InternalPolicyHistory

TagSuggestionsNotNil applies the NotNil predicate on the "tag_suggestions" field.

func TagsIsNil

func TagsIsNil() predicate.InternalPolicyHistory

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

func TagsNotNil

func TagsNotNil() predicate.InternalPolicyHistory

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

func URL added in v0.30.6

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains added in v0.30.6

func URLContains(v string) predicate.InternalPolicyHistory

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold added in v0.30.6

func URLContainsFold(v string) predicate.InternalPolicyHistory

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ added in v0.30.6

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold added in v0.30.6

func URLEqualFold(v string) predicate.InternalPolicyHistory

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT added in v0.30.6

URLGT applies the GT predicate on the "url" field.

func URLGTE added in v0.30.6

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix added in v0.30.6

func URLHasPrefix(v string) predicate.InternalPolicyHistory

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix added in v0.30.6

func URLHasSuffix(v string) predicate.InternalPolicyHistory

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn added in v0.30.6

URLIn applies the In predicate on the "url" field.

func URLIsNil added in v0.30.6

URLIsNil applies the IsNil predicate on the "url" field.

func URLLT added in v0.30.6

URLLT applies the LT predicate on the "url" field.

func URLLTE added in v0.30.6

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ added in v0.30.6

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn added in v0.30.6

func URLNotIn(vs ...string) predicate.InternalPolicyHistory

URLNotIn applies the NotIn predicate on the "url" field.

func URLNotNil added in v0.30.6

func URLNotNil() predicate.InternalPolicyHistory

URLNotNil applies the NotNil predicate on the "url" field.

func UpdatedAt

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

func UpdatedAtEQ

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

func UpdatedAtGT

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.InternalPolicyHistory

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.InternalPolicyHistory

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

func UpdatedAtLT

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.InternalPolicyHistory

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.InternalPolicyHistory

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.InternalPolicyHistory

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

func UpdatedBy

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.InternalPolicyHistory

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.InternalPolicyHistory

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.InternalPolicyHistory

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.InternalPolicyHistory

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.InternalPolicyHistory

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.InternalPolicyHistory

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.InternalPolicyHistory

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.InternalPolicyHistory

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.InternalPolicyHistory

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.InternalPolicyHistory

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.InternalPolicyHistory

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.InternalPolicyHistory

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.InternalPolicyHistory

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 InternalPolicyHistory queries.

func ByApprovalRequired added in v0.7.5

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

ByApprovalRequired orders the results by the approval_required field.

func ByApproverID added in v0.8.9

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

ByApproverID orders the results by the approver_id 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 ByDetails added in v0.7.5

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

ByDetails orders the results by the details field.

func ByDisplayID added in v0.6.11

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

ByDisplayID orders the results by the display_id field.

func ByFileID added in v0.30.6

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

ByFileID orders the results by the file_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 ByName

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

ByName orders the results by the name field.

func ByOperation

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

ByOperation orders the results by the operation field.

func ByOwnerID added in v0.4.2

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

ByOwnerID orders the results by the owner_id field.

func ByPolicyType

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

ByPolicyType orders the results by the policy_type field.

func ByRef

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

ByRef orders the results by the ref field.

func ByReviewDue added in v0.6.19

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

ByReviewDue orders the results by the review_due field.

func ByReviewFrequency added in v0.7.5

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

ByReviewFrequency orders the results by the review_frequency field.

func ByRevision added in v0.7.5

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

ByRevision orders the results by the revision field.

func ByStatus

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

ByStatus orders the results by the status field.

func BySummary added in v0.11.0

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

BySummary orders the results by the summary field.

func ByURL added in v0.30.6

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

ByURL orders the results by the url 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