Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.InternalPolicyHistory) predicate.InternalPolicyHistory
- func ApprovalRequired(v bool) predicate.InternalPolicyHistory
- func ApprovalRequiredEQ(v bool) predicate.InternalPolicyHistory
- func ApprovalRequiredIsNil() predicate.InternalPolicyHistory
- func ApprovalRequiredNEQ(v bool) predicate.InternalPolicyHistory
- func ApprovalRequiredNotNil() predicate.InternalPolicyHistory
- func CreatedAt(v time.Time) predicate.InternalPolicyHistory
- func CreatedAtEQ(v time.Time) predicate.InternalPolicyHistory
- func CreatedAtGT(v time.Time) predicate.InternalPolicyHistory
- func CreatedAtGTE(v time.Time) predicate.InternalPolicyHistory
- func CreatedAtIn(vs ...time.Time) predicate.InternalPolicyHistory
- func CreatedAtIsNil() predicate.InternalPolicyHistory
- func CreatedAtLT(v time.Time) predicate.InternalPolicyHistory
- func CreatedAtLTE(v time.Time) predicate.InternalPolicyHistory
- func CreatedAtNEQ(v time.Time) predicate.InternalPolicyHistory
- func CreatedAtNotIn(vs ...time.Time) predicate.InternalPolicyHistory
- func CreatedAtNotNil() predicate.InternalPolicyHistory
- func CreatedBy(v string) predicate.InternalPolicyHistory
- func CreatedByContains(v string) predicate.InternalPolicyHistory
- func CreatedByContainsFold(v string) predicate.InternalPolicyHistory
- func CreatedByEQ(v string) predicate.InternalPolicyHistory
- func CreatedByEqualFold(v string) predicate.InternalPolicyHistory
- func CreatedByGT(v string) predicate.InternalPolicyHistory
- func CreatedByGTE(v string) predicate.InternalPolicyHistory
- func CreatedByHasPrefix(v string) predicate.InternalPolicyHistory
- func CreatedByHasSuffix(v string) predicate.InternalPolicyHistory
- func CreatedByIn(vs ...string) predicate.InternalPolicyHistory
- func CreatedByIsNil() predicate.InternalPolicyHistory
- func CreatedByLT(v string) predicate.InternalPolicyHistory
- func CreatedByLTE(v string) predicate.InternalPolicyHistory
- func CreatedByNEQ(v string) predicate.InternalPolicyHistory
- func CreatedByNotIn(vs ...string) predicate.InternalPolicyHistory
- func CreatedByNotNil() predicate.InternalPolicyHistory
- func DeletedAt(v time.Time) predicate.InternalPolicyHistory
- func DeletedAtEQ(v time.Time) predicate.InternalPolicyHistory
- func DeletedAtGT(v time.Time) predicate.InternalPolicyHistory
- func DeletedAtGTE(v time.Time) predicate.InternalPolicyHistory
- func DeletedAtIn(vs ...time.Time) predicate.InternalPolicyHistory
- func DeletedAtIsNil() predicate.InternalPolicyHistory
- func DeletedAtLT(v time.Time) predicate.InternalPolicyHistory
- func DeletedAtLTE(v time.Time) predicate.InternalPolicyHistory
- func DeletedAtNEQ(v time.Time) predicate.InternalPolicyHistory
- func DeletedAtNotIn(vs ...time.Time) predicate.InternalPolicyHistory
- func DeletedAtNotNil() predicate.InternalPolicyHistory
- func DeletedBy(v string) predicate.InternalPolicyHistory
- func DeletedByContains(v string) predicate.InternalPolicyHistory
- func DeletedByContainsFold(v string) predicate.InternalPolicyHistory
- func DeletedByEQ(v string) predicate.InternalPolicyHistory
- func DeletedByEqualFold(v string) predicate.InternalPolicyHistory
- func DeletedByGT(v string) predicate.InternalPolicyHistory
- func DeletedByGTE(v string) predicate.InternalPolicyHistory
- func DeletedByHasPrefix(v string) predicate.InternalPolicyHistory
- func DeletedByHasSuffix(v string) predicate.InternalPolicyHistory
- func DeletedByIn(vs ...string) predicate.InternalPolicyHistory
- func DeletedByIsNil() predicate.InternalPolicyHistory
- func DeletedByLT(v string) predicate.InternalPolicyHistory
- func DeletedByLTE(v string) predicate.InternalPolicyHistory
- func DeletedByNEQ(v string) predicate.InternalPolicyHistory
- func DeletedByNotIn(vs ...string) predicate.InternalPolicyHistory
- func DeletedByNotNil() predicate.InternalPolicyHistory
- func Details(v string) predicate.InternalPolicyHistory
- func DetailsContains(v string) predicate.InternalPolicyHistory
- func DetailsContainsFold(v string) predicate.InternalPolicyHistory
- func DetailsEQ(v string) predicate.InternalPolicyHistory
- func DetailsEqualFold(v string) predicate.InternalPolicyHistory
- func DetailsGT(v string) predicate.InternalPolicyHistory
- func DetailsGTE(v string) predicate.InternalPolicyHistory
- func DetailsHasPrefix(v string) predicate.InternalPolicyHistory
- func DetailsHasSuffix(v string) predicate.InternalPolicyHistory
- func DetailsIn(vs ...string) predicate.InternalPolicyHistory
- func DetailsIsNil() predicate.InternalPolicyHistory
- func DetailsLT(v string) predicate.InternalPolicyHistory
- func DetailsLTE(v string) predicate.InternalPolicyHistory
- func DetailsNEQ(v string) predicate.InternalPolicyHistory
- func DetailsNotIn(vs ...string) predicate.InternalPolicyHistory
- func DetailsNotNil() predicate.InternalPolicyHistory
- func DisplayID(v string) predicate.InternalPolicyHistory
- func DisplayIDContains(v string) predicate.InternalPolicyHistory
- func DisplayIDContainsFold(v string) predicate.InternalPolicyHistory
- func DisplayIDEQ(v string) predicate.InternalPolicyHistory
- func DisplayIDEqualFold(v string) predicate.InternalPolicyHistory
- func DisplayIDGT(v string) predicate.InternalPolicyHistory
- func DisplayIDGTE(v string) predicate.InternalPolicyHistory
- func DisplayIDHasPrefix(v string) predicate.InternalPolicyHistory
- func DisplayIDHasSuffix(v string) predicate.InternalPolicyHistory
- func DisplayIDIn(vs ...string) predicate.InternalPolicyHistory
- func DisplayIDLT(v string) predicate.InternalPolicyHistory
- func DisplayIDLTE(v string) predicate.InternalPolicyHistory
- func DisplayIDNEQ(v string) predicate.InternalPolicyHistory
- func DisplayIDNotIn(vs ...string) predicate.InternalPolicyHistory
- func HistoryTime(v time.Time) predicate.InternalPolicyHistory
- func HistoryTimeEQ(v time.Time) predicate.InternalPolicyHistory
- func HistoryTimeGT(v time.Time) predicate.InternalPolicyHistory
- func HistoryTimeGTE(v time.Time) predicate.InternalPolicyHistory
- func HistoryTimeIn(vs ...time.Time) predicate.InternalPolicyHistory
- func HistoryTimeLT(v time.Time) predicate.InternalPolicyHistory
- func HistoryTimeLTE(v time.Time) predicate.InternalPolicyHistory
- func HistoryTimeNEQ(v time.Time) predicate.InternalPolicyHistory
- func HistoryTimeNotIn(vs ...time.Time) predicate.InternalPolicyHistory
- func ID(id string) predicate.InternalPolicyHistory
- func IDContainsFold(id string) predicate.InternalPolicyHistory
- func IDEQ(id string) predicate.InternalPolicyHistory
- func IDEqualFold(id string) predicate.InternalPolicyHistory
- func IDGT(id string) predicate.InternalPolicyHistory
- func IDGTE(id string) predicate.InternalPolicyHistory
- func IDIn(ids ...string) predicate.InternalPolicyHistory
- func IDLT(id string) predicate.InternalPolicyHistory
- func IDLTE(id string) predicate.InternalPolicyHistory
- func IDNEQ(id string) predicate.InternalPolicyHistory
- func IDNotIn(ids ...string) predicate.InternalPolicyHistory
- func Name(v string) predicate.InternalPolicyHistory
- func NameContains(v string) predicate.InternalPolicyHistory
- func NameContainsFold(v string) predicate.InternalPolicyHistory
- func NameEQ(v string) predicate.InternalPolicyHistory
- func NameEqualFold(v string) predicate.InternalPolicyHistory
- func NameGT(v string) predicate.InternalPolicyHistory
- func NameGTE(v string) predicate.InternalPolicyHistory
- func NameHasPrefix(v string) predicate.InternalPolicyHistory
- func NameHasSuffix(v string) predicate.InternalPolicyHistory
- func NameIn(vs ...string) predicate.InternalPolicyHistory
- func NameLT(v string) predicate.InternalPolicyHistory
- func NameLTE(v string) predicate.InternalPolicyHistory
- func NameNEQ(v string) predicate.InternalPolicyHistory
- func NameNotIn(vs ...string) predicate.InternalPolicyHistory
- func Not(p predicate.InternalPolicyHistory) predicate.InternalPolicyHistory
- func OperationEQ(v history.OpType) predicate.InternalPolicyHistory
- func OperationIn(vs ...history.OpType) predicate.InternalPolicyHistory
- func OperationNEQ(v history.OpType) predicate.InternalPolicyHistory
- func OperationNotIn(vs ...history.OpType) predicate.InternalPolicyHistory
- func OperationValidator(o history.OpType) error
- func Or(predicates ...predicate.InternalPolicyHistory) predicate.InternalPolicyHistory
- func OwnerID(v string) predicate.InternalPolicyHistory
- func OwnerIDContains(v string) predicate.InternalPolicyHistory
- func OwnerIDContainsFold(v string) predicate.InternalPolicyHistory
- func OwnerIDEQ(v string) predicate.InternalPolicyHistory
- func OwnerIDEqualFold(v string) predicate.InternalPolicyHistory
- func OwnerIDGT(v string) predicate.InternalPolicyHistory
- func OwnerIDGTE(v string) predicate.InternalPolicyHistory
- func OwnerIDHasPrefix(v string) predicate.InternalPolicyHistory
- func OwnerIDHasSuffix(v string) predicate.InternalPolicyHistory
- func OwnerIDIn(vs ...string) predicate.InternalPolicyHistory
- func OwnerIDIsNil() predicate.InternalPolicyHistory
- func OwnerIDLT(v string) predicate.InternalPolicyHistory
- func OwnerIDLTE(v string) predicate.InternalPolicyHistory
- func OwnerIDNEQ(v string) predicate.InternalPolicyHistory
- func OwnerIDNotIn(vs ...string) predicate.InternalPolicyHistory
- func OwnerIDNotNil() predicate.InternalPolicyHistory
- func PolicyType(v string) predicate.InternalPolicyHistory
- func PolicyTypeContains(v string) predicate.InternalPolicyHistory
- func PolicyTypeContainsFold(v string) predicate.InternalPolicyHistory
- func PolicyTypeEQ(v string) predicate.InternalPolicyHistory
- func PolicyTypeEqualFold(v string) predicate.InternalPolicyHistory
- func PolicyTypeGT(v string) predicate.InternalPolicyHistory
- func PolicyTypeGTE(v string) predicate.InternalPolicyHistory
- func PolicyTypeHasPrefix(v string) predicate.InternalPolicyHistory
- func PolicyTypeHasSuffix(v string) predicate.InternalPolicyHistory
- func PolicyTypeIn(vs ...string) predicate.InternalPolicyHistory
- func PolicyTypeIsNil() predicate.InternalPolicyHistory
- func PolicyTypeLT(v string) predicate.InternalPolicyHistory
- func PolicyTypeLTE(v string) predicate.InternalPolicyHistory
- func PolicyTypeNEQ(v string) predicate.InternalPolicyHistory
- func PolicyTypeNotIn(vs ...string) predicate.InternalPolicyHistory
- func PolicyTypeNotNil() predicate.InternalPolicyHistory
- func Ref(v string) predicate.InternalPolicyHistory
- func RefContains(v string) predicate.InternalPolicyHistory
- func RefContainsFold(v string) predicate.InternalPolicyHistory
- func RefEQ(v string) predicate.InternalPolicyHistory
- func RefEqualFold(v string) predicate.InternalPolicyHistory
- func RefGT(v string) predicate.InternalPolicyHistory
- func RefGTE(v string) predicate.InternalPolicyHistory
- func RefHasPrefix(v string) predicate.InternalPolicyHistory
- func RefHasSuffix(v string) predicate.InternalPolicyHistory
- func RefIn(vs ...string) predicate.InternalPolicyHistory
- func RefIsNil() predicate.InternalPolicyHistory
- func RefLT(v string) predicate.InternalPolicyHistory
- func RefLTE(v string) predicate.InternalPolicyHistory
- func RefNEQ(v string) predicate.InternalPolicyHistory
- func RefNotIn(vs ...string) predicate.InternalPolicyHistory
- func RefNotNil() predicate.InternalPolicyHistory
- func ReviewDue(v time.Time) predicate.InternalPolicyHistory
- func ReviewDueEQ(v time.Time) predicate.InternalPolicyHistory
- func ReviewDueGT(v time.Time) predicate.InternalPolicyHistory
- func ReviewDueGTE(v time.Time) predicate.InternalPolicyHistory
- func ReviewDueIn(vs ...time.Time) predicate.InternalPolicyHistory
- func ReviewDueIsNil() predicate.InternalPolicyHistory
- func ReviewDueLT(v time.Time) predicate.InternalPolicyHistory
- func ReviewDueLTE(v time.Time) predicate.InternalPolicyHistory
- func ReviewDueNEQ(v time.Time) predicate.InternalPolicyHistory
- func ReviewDueNotIn(vs ...time.Time) predicate.InternalPolicyHistory
- func ReviewDueNotNil() predicate.InternalPolicyHistory
- func ReviewFrequencyEQ(v enums.Frequency) predicate.InternalPolicyHistory
- func ReviewFrequencyIn(vs ...enums.Frequency) predicate.InternalPolicyHistory
- func ReviewFrequencyIsNil() predicate.InternalPolicyHistory
- func ReviewFrequencyNEQ(v enums.Frequency) predicate.InternalPolicyHistory
- func ReviewFrequencyNotIn(vs ...enums.Frequency) predicate.InternalPolicyHistory
- func ReviewFrequencyNotNil() predicate.InternalPolicyHistory
- func ReviewFrequencyValidator(rf enums.Frequency) error
- func Revision(v string) predicate.InternalPolicyHistory
- func RevisionContains(v string) predicate.InternalPolicyHistory
- func RevisionContainsFold(v string) predicate.InternalPolicyHistory
- func RevisionEQ(v string) predicate.InternalPolicyHistory
- func RevisionEqualFold(v string) predicate.InternalPolicyHistory
- func RevisionGT(v string) predicate.InternalPolicyHistory
- func RevisionGTE(v string) predicate.InternalPolicyHistory
- func RevisionHasPrefix(v string) predicate.InternalPolicyHistory
- func RevisionHasSuffix(v string) predicate.InternalPolicyHistory
- func RevisionIn(vs ...string) predicate.InternalPolicyHistory
- func RevisionIsNil() predicate.InternalPolicyHistory
- func RevisionLT(v string) predicate.InternalPolicyHistory
- func RevisionLTE(v string) predicate.InternalPolicyHistory
- func RevisionNEQ(v string) predicate.InternalPolicyHistory
- func RevisionNotIn(vs ...string) predicate.InternalPolicyHistory
- func RevisionNotNil() predicate.InternalPolicyHistory
- func StatusEQ(v enums.DocumentStatus) predicate.InternalPolicyHistory
- func StatusIn(vs ...enums.DocumentStatus) predicate.InternalPolicyHistory
- func StatusIsNil() predicate.InternalPolicyHistory
- func StatusNEQ(v enums.DocumentStatus) predicate.InternalPolicyHistory
- func StatusNotIn(vs ...enums.DocumentStatus) predicate.InternalPolicyHistory
- func StatusNotNil() predicate.InternalPolicyHistory
- func StatusValidator(s enums.DocumentStatus) error
- func TagsIsNil() predicate.InternalPolicyHistory
- func TagsNotNil() predicate.InternalPolicyHistory
- func UpdatedAt(v time.Time) predicate.InternalPolicyHistory
- func UpdatedAtEQ(v time.Time) predicate.InternalPolicyHistory
- func UpdatedAtGT(v time.Time) predicate.InternalPolicyHistory
- func UpdatedAtGTE(v time.Time) predicate.InternalPolicyHistory
- func UpdatedAtIn(vs ...time.Time) predicate.InternalPolicyHistory
- func UpdatedAtIsNil() predicate.InternalPolicyHistory
- func UpdatedAtLT(v time.Time) predicate.InternalPolicyHistory
- func UpdatedAtLTE(v time.Time) predicate.InternalPolicyHistory
- func UpdatedAtNEQ(v time.Time) predicate.InternalPolicyHistory
- func UpdatedAtNotIn(vs ...time.Time) predicate.InternalPolicyHistory
- func UpdatedAtNotNil() predicate.InternalPolicyHistory
- func UpdatedBy(v string) predicate.InternalPolicyHistory
- func UpdatedByContains(v string) predicate.InternalPolicyHistory
- func UpdatedByContainsFold(v string) predicate.InternalPolicyHistory
- func UpdatedByEQ(v string) predicate.InternalPolicyHistory
- func UpdatedByEqualFold(v string) predicate.InternalPolicyHistory
- func UpdatedByGT(v string) predicate.InternalPolicyHistory
- func UpdatedByGTE(v string) predicate.InternalPolicyHistory
- func UpdatedByHasPrefix(v string) predicate.InternalPolicyHistory
- func UpdatedByHasSuffix(v string) predicate.InternalPolicyHistory
- func UpdatedByIn(vs ...string) predicate.InternalPolicyHistory
- func UpdatedByIsNil() predicate.InternalPolicyHistory
- func UpdatedByLT(v string) predicate.InternalPolicyHistory
- func UpdatedByLTE(v string) predicate.InternalPolicyHistory
- func UpdatedByNEQ(v string) predicate.InternalPolicyHistory
- func UpdatedByNotIn(vs ...string) predicate.InternalPolicyHistory
- func UpdatedByNotNil() predicate.InternalPolicyHistory
- func ValidColumn(column string) bool
- type OrderOption
- func ByApprovalRequired(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDetails(opts ...sql.OrderTermOption) OrderOption
- func ByDisplayID(opts ...sql.OrderTermOption) OrderOption
- func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByPolicyType(opts ...sql.OrderTermOption) OrderOption
- func ByRef(opts ...sql.OrderTermOption) OrderOption
- func ByReviewDue(opts ...sql.OrderTermOption) OrderOption
- func ByReviewFrequency(opts ...sql.OrderTermOption) OrderOption
- func ByRevision(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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" // Table holds the table name of the internalpolicyhistory in the database. Table = "internal_policy_history" )
const DefaultReviewFrequency enums.Frequency = "YEARLY"
const DefaultStatus enums.DocumentStatus = "DRAFT"
Variables ¶
var ( Interceptors [1]ent.Interceptor // 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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:
import _ "github.com/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldHistoryTime, FieldRef, FieldOperation, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldDisplayID, FieldTags, FieldRevision, FieldOwnerID, FieldName, FieldStatus, FieldPolicyType, FieldDetails, FieldApprovalRequired, FieldReviewDue, FieldReviewFrequency, }
Columns holds all SQL columns for internalpolicyhistory fields.
Functions ¶
func And ¶
func And(predicates ...predicate.InternalPolicyHistory) predicate.InternalPolicyHistory
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 CreatedAt ¶
func CreatedAt(v time.Time) predicate.InternalPolicyHistory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.InternalPolicyHistory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.InternalPolicyHistory
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 ¶
func CreatedAtLT(v time.Time) predicate.InternalPolicyHistory
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 ¶
func CreatedBy(v string) predicate.InternalPolicyHistory
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 DeletedAt ¶
func DeletedAt(v time.Time) predicate.InternalPolicyHistory
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.InternalPolicyHistory
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.InternalPolicyHistory
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 ¶
func DeletedAtLT(v time.Time) predicate.InternalPolicyHistory
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 ¶
func DeletedBy(v string) predicate.InternalPolicyHistory
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
func Details(v string) predicate.InternalPolicyHistory
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
func DetailsEQ(v string) predicate.InternalPolicyHistory
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
func DetailsGT(v string) predicate.InternalPolicyHistory
DetailsGT applies the GT predicate on the "details" field.
func DetailsGTE ¶ added in v0.7.5
func DetailsGTE(v string) predicate.InternalPolicyHistory
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
func DetailsLT(v string) predicate.InternalPolicyHistory
DetailsLT applies the LT predicate on the "details" field.
func DetailsLTE ¶ added in v0.7.5
func DetailsLTE(v string) predicate.InternalPolicyHistory
DetailsLTE applies the LTE predicate on the "details" field.
func DetailsNEQ ¶ added in v0.7.5
func DetailsNEQ(v string) predicate.InternalPolicyHistory
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 DisplayID ¶ added in v0.6.11
func DisplayID(v string) predicate.InternalPolicyHistory
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 HistoryTime ¶
func HistoryTime(v time.Time) predicate.InternalPolicyHistory
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 ¶
func ID(id string) predicate.InternalPolicyHistory
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 ¶
func IDEQ(id string) predicate.InternalPolicyHistory
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 ¶
func IDGT(id string) predicate.InternalPolicyHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.InternalPolicyHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.InternalPolicyHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.InternalPolicyHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.InternalPolicyHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.InternalPolicyHistory
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 Name ¶
func Name(v string) predicate.InternalPolicyHistory
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 ¶
func NameEQ(v string) predicate.InternalPolicyHistory
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 ¶
func NameGT(v string) predicate.InternalPolicyHistory
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.InternalPolicyHistory
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 ¶
func NameIn(vs ...string) predicate.InternalPolicyHistory
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.InternalPolicyHistory
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.InternalPolicyHistory
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.InternalPolicyHistory
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 ¶
func Not(p predicate.InternalPolicyHistory) predicate.InternalPolicyHistory
Not applies the not operator on the given predicate.
func OperationEQ ¶
func OperationEQ(v history.OpType) predicate.InternalPolicyHistory
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 ¶
func OperationNEQ(v history.OpType) predicate.InternalPolicyHistory
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 ¶
OperationValidator is a validator for the "operation" field enum values. It is called by the builders before save.
func Or ¶
func Or(predicates ...predicate.InternalPolicyHistory) predicate.InternalPolicyHistory
Or groups predicates with the OR operator between them.
func OwnerID ¶ added in v0.4.2
func OwnerID(v string) predicate.InternalPolicyHistory
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
func OwnerIDEQ(v string) predicate.InternalPolicyHistory
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
func OwnerIDGT(v string) predicate.InternalPolicyHistory
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶ added in v0.4.2
func OwnerIDGTE(v string) predicate.InternalPolicyHistory
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
func OwnerIDLT(v string) predicate.InternalPolicyHistory
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶ added in v0.4.2
func OwnerIDLTE(v string) predicate.InternalPolicyHistory
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶ added in v0.4.2
func OwnerIDNEQ(v string) predicate.InternalPolicyHistory
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 ¶
func PolicyType(v string) predicate.InternalPolicyHistory
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 ¶
func Ref(v string) predicate.InternalPolicyHistory
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 ¶
func RefEQ(v string) predicate.InternalPolicyHistory
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 ¶
func RefGT(v string) predicate.InternalPolicyHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v string) predicate.InternalPolicyHistory
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 ¶
func RefIn(vs ...string) predicate.InternalPolicyHistory
RefIn applies the In predicate on the "ref" field.
func RefIsNil ¶
func RefIsNil() predicate.InternalPolicyHistory
RefIsNil applies the IsNil predicate on the "ref" field.
func RefLT ¶
func RefLT(v string) predicate.InternalPolicyHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v string) predicate.InternalPolicyHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v string) predicate.InternalPolicyHistory
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
func ReviewDue(v time.Time) predicate.InternalPolicyHistory
ReviewDue applies equality check predicate on the "review_due" field. It's identical to ReviewDueEQ.
func ReviewDueEQ ¶ added in v0.6.19
func ReviewDueEQ(v time.Time) predicate.InternalPolicyHistory
ReviewDueEQ applies the EQ predicate on the "review_due" field.
func ReviewDueGT ¶ added in v0.6.19
func ReviewDueGT(v time.Time) predicate.InternalPolicyHistory
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
func ReviewDueLT(v time.Time) predicate.InternalPolicyHistory
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
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
func Revision(v string) predicate.InternalPolicyHistory
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
func RevisionEQ(v string) predicate.InternalPolicyHistory
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
func RevisionGT(v string) predicate.InternalPolicyHistory
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
func RevisionLT(v string) predicate.InternalPolicyHistory
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 ¶
func StatusEQ(v enums.DocumentStatus) predicate.InternalPolicyHistory
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.DocumentStatus) predicate.InternalPolicyHistory
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 ¶
func StatusNEQ(v enums.DocumentStatus) predicate.InternalPolicyHistory
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.DocumentStatus) predicate.InternalPolicyHistory
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 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 UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.InternalPolicyHistory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.InternalPolicyHistory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.InternalPolicyHistory
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 ¶
func UpdatedAtLT(v time.Time) predicate.InternalPolicyHistory
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 ¶
func UpdatedBy(v string) predicate.InternalPolicyHistory
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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 ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDeletedBy ¶
func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
ByDeletedBy orders the results by the deleted_by field.
func 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 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 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.