Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.InternalPolicyHistory) predicate.InternalPolicyHistory
- func Background(v string) predicate.InternalPolicyHistory
- func BackgroundContains(v string) predicate.InternalPolicyHistory
- func BackgroundContainsFold(v string) predicate.InternalPolicyHistory
- func BackgroundEQ(v string) predicate.InternalPolicyHistory
- func BackgroundEqualFold(v string) predicate.InternalPolicyHistory
- func BackgroundGT(v string) predicate.InternalPolicyHistory
- func BackgroundGTE(v string) predicate.InternalPolicyHistory
- func BackgroundHasPrefix(v string) predicate.InternalPolicyHistory
- func BackgroundHasSuffix(v string) predicate.InternalPolicyHistory
- func BackgroundIn(vs ...string) predicate.InternalPolicyHistory
- func BackgroundIsNil() predicate.InternalPolicyHistory
- func BackgroundLT(v string) predicate.InternalPolicyHistory
- func BackgroundLTE(v string) predicate.InternalPolicyHistory
- func BackgroundNEQ(v string) predicate.InternalPolicyHistory
- func BackgroundNotIn(vs ...string) predicate.InternalPolicyHistory
- func BackgroundNotNil() 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 Description(v string) predicate.InternalPolicyHistory
- func DescriptionContains(v string) predicate.InternalPolicyHistory
- func DescriptionContainsFold(v string) predicate.InternalPolicyHistory
- func DescriptionEQ(v string) predicate.InternalPolicyHistory
- func DescriptionEqualFold(v string) predicate.InternalPolicyHistory
- func DescriptionGT(v string) predicate.InternalPolicyHistory
- func DescriptionGTE(v string) predicate.InternalPolicyHistory
- func DescriptionHasPrefix(v string) predicate.InternalPolicyHistory
- func DescriptionHasSuffix(v string) predicate.InternalPolicyHistory
- func DescriptionIn(vs ...string) predicate.InternalPolicyHistory
- func DescriptionLT(v string) predicate.InternalPolicyHistory
- func DescriptionLTE(v string) predicate.InternalPolicyHistory
- func DescriptionNEQ(v string) predicate.InternalPolicyHistory
- func DescriptionNotIn(vs ...string) predicate.InternalPolicyHistory
- func DetailsIsNil() predicate.InternalPolicyHistory
- func DetailsNotNil() 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 MappingID(v string) predicate.InternalPolicyHistory
- func MappingIDContains(v string) predicate.InternalPolicyHistory
- func MappingIDContainsFold(v string) predicate.InternalPolicyHistory
- func MappingIDEQ(v string) predicate.InternalPolicyHistory
- func MappingIDEqualFold(v string) predicate.InternalPolicyHistory
- func MappingIDGT(v string) predicate.InternalPolicyHistory
- func MappingIDGTE(v string) predicate.InternalPolicyHistory
- func MappingIDHasPrefix(v string) predicate.InternalPolicyHistory
- func MappingIDHasSuffix(v string) predicate.InternalPolicyHistory
- func MappingIDIn(vs ...string) predicate.InternalPolicyHistory
- func MappingIDLT(v string) predicate.InternalPolicyHistory
- func MappingIDLTE(v string) predicate.InternalPolicyHistory
- func MappingIDNEQ(v string) predicate.InternalPolicyHistory
- func MappingIDNotIn(vs ...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 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 PurposeAndScope(v string) predicate.InternalPolicyHistory
- func PurposeAndScopeContains(v string) predicate.InternalPolicyHistory
- func PurposeAndScopeContainsFold(v string) predicate.InternalPolicyHistory
- func PurposeAndScopeEQ(v string) predicate.InternalPolicyHistory
- func PurposeAndScopeEqualFold(v string) predicate.InternalPolicyHistory
- func PurposeAndScopeGT(v string) predicate.InternalPolicyHistory
- func PurposeAndScopeGTE(v string) predicate.InternalPolicyHistory
- func PurposeAndScopeHasPrefix(v string) predicate.InternalPolicyHistory
- func PurposeAndScopeHasSuffix(v string) predicate.InternalPolicyHistory
- func PurposeAndScopeIn(vs ...string) predicate.InternalPolicyHistory
- func PurposeAndScopeIsNil() predicate.InternalPolicyHistory
- func PurposeAndScopeLT(v string) predicate.InternalPolicyHistory
- func PurposeAndScopeLTE(v string) predicate.InternalPolicyHistory
- func PurposeAndScopeNEQ(v string) predicate.InternalPolicyHistory
- func PurposeAndScopeNotIn(vs ...string) predicate.InternalPolicyHistory
- func PurposeAndScopeNotNil() 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 Status(v string) predicate.InternalPolicyHistory
- func StatusContains(v string) predicate.InternalPolicyHistory
- func StatusContainsFold(v string) predicate.InternalPolicyHistory
- func StatusEQ(v string) predicate.InternalPolicyHistory
- func StatusEqualFold(v string) predicate.InternalPolicyHistory
- func StatusGT(v string) predicate.InternalPolicyHistory
- func StatusGTE(v string) predicate.InternalPolicyHistory
- func StatusHasPrefix(v string) predicate.InternalPolicyHistory
- func StatusHasSuffix(v string) predicate.InternalPolicyHistory
- func StatusIn(vs ...string) predicate.InternalPolicyHistory
- func StatusIsNil() predicate.InternalPolicyHistory
- func StatusLT(v string) predicate.InternalPolicyHistory
- func StatusLTE(v string) predicate.InternalPolicyHistory
- func StatusNEQ(v string) predicate.InternalPolicyHistory
- func StatusNotIn(vs ...string) predicate.InternalPolicyHistory
- func StatusNotNil() predicate.InternalPolicyHistory
- 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
- func Version(v string) predicate.InternalPolicyHistory
- func VersionContains(v string) predicate.InternalPolicyHistory
- func VersionContainsFold(v string) predicate.InternalPolicyHistory
- func VersionEQ(v string) predicate.InternalPolicyHistory
- func VersionEqualFold(v string) predicate.InternalPolicyHistory
- func VersionGT(v string) predicate.InternalPolicyHistory
- func VersionGTE(v string) predicate.InternalPolicyHistory
- func VersionHasPrefix(v string) predicate.InternalPolicyHistory
- func VersionHasSuffix(v string) predicate.InternalPolicyHistory
- func VersionIn(vs ...string) predicate.InternalPolicyHistory
- func VersionIsNil() predicate.InternalPolicyHistory
- func VersionLT(v string) predicate.InternalPolicyHistory
- func VersionLTE(v string) predicate.InternalPolicyHistory
- func VersionNEQ(v string) predicate.InternalPolicyHistory
- func VersionNotIn(vs ...string) predicate.InternalPolicyHistory
- func VersionNotNil() predicate.InternalPolicyHistory
- type OrderOption
- func ByBackground(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByPolicyType(opts ...sql.OrderTermOption) OrderOption
- func ByPurposeAndScope(opts ...sql.OrderTermOption) OrderOption
- func ByRef(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(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" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldPolicyType holds the string denoting the policy_type field in the database. FieldPolicyType = "policy_type" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldPurposeAndScope holds the string denoting the purpose_and_scope field in the database. FieldPurposeAndScope = "purpose_and_scope" // FieldBackground holds the string denoting the background field in the database. FieldBackground = "background" // FieldDetails holds the string denoting the details field in the database. FieldDetails = "details" // Table holds the table name of the internalpolicyhistory in the database. Table = "internal_policy_history" )
Variables ¶
var ( // 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 // DefaultMappingID holds the default value on creation for the "mapping_id" field. DefaultMappingID func() string // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldHistoryTime, FieldRef, FieldOperation, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldMappingID, FieldTags, FieldName, FieldDescription, FieldStatus, FieldPolicyType, FieldVersion, FieldPurposeAndScope, FieldBackground, FieldDetails, }
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 Background ¶
func Background(v string) predicate.InternalPolicyHistory
Background applies equality check predicate on the "background" field. It's identical to BackgroundEQ.
func BackgroundContains ¶
func BackgroundContains(v string) predicate.InternalPolicyHistory
BackgroundContains applies the Contains predicate on the "background" field.
func BackgroundContainsFold ¶
func BackgroundContainsFold(v string) predicate.InternalPolicyHistory
BackgroundContainsFold applies the ContainsFold predicate on the "background" field.
func BackgroundEQ ¶
func BackgroundEQ(v string) predicate.InternalPolicyHistory
BackgroundEQ applies the EQ predicate on the "background" field.
func BackgroundEqualFold ¶
func BackgroundEqualFold(v string) predicate.InternalPolicyHistory
BackgroundEqualFold applies the EqualFold predicate on the "background" field.
func BackgroundGT ¶
func BackgroundGT(v string) predicate.InternalPolicyHistory
BackgroundGT applies the GT predicate on the "background" field.
func BackgroundGTE ¶
func BackgroundGTE(v string) predicate.InternalPolicyHistory
BackgroundGTE applies the GTE predicate on the "background" field.
func BackgroundHasPrefix ¶
func BackgroundHasPrefix(v string) predicate.InternalPolicyHistory
BackgroundHasPrefix applies the HasPrefix predicate on the "background" field.
func BackgroundHasSuffix ¶
func BackgroundHasSuffix(v string) predicate.InternalPolicyHistory
BackgroundHasSuffix applies the HasSuffix predicate on the "background" field.
func BackgroundIn ¶
func BackgroundIn(vs ...string) predicate.InternalPolicyHistory
BackgroundIn applies the In predicate on the "background" field.
func BackgroundIsNil ¶
func BackgroundIsNil() predicate.InternalPolicyHistory
BackgroundIsNil applies the IsNil predicate on the "background" field.
func BackgroundLT ¶
func BackgroundLT(v string) predicate.InternalPolicyHistory
BackgroundLT applies the LT predicate on the "background" field.
func BackgroundLTE ¶
func BackgroundLTE(v string) predicate.InternalPolicyHistory
BackgroundLTE applies the LTE predicate on the "background" field.
func BackgroundNEQ ¶
func BackgroundNEQ(v string) predicate.InternalPolicyHistory
BackgroundNEQ applies the NEQ predicate on the "background" field.
func BackgroundNotIn ¶
func BackgroundNotIn(vs ...string) predicate.InternalPolicyHistory
BackgroundNotIn applies the NotIn predicate on the "background" field.
func BackgroundNotNil ¶
func BackgroundNotNil() predicate.InternalPolicyHistory
BackgroundNotNil applies the NotNil predicate on the "background" 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 Description ¶
func Description(v string) predicate.InternalPolicyHistory
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
func DescriptionContains(v string) predicate.InternalPolicyHistory
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
func DescriptionContainsFold(v string) predicate.InternalPolicyHistory
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
func DescriptionEQ(v string) predicate.InternalPolicyHistory
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
func DescriptionEqualFold(v string) predicate.InternalPolicyHistory
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
func DescriptionGT(v string) predicate.InternalPolicyHistory
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
func DescriptionGTE(v string) predicate.InternalPolicyHistory
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
func DescriptionHasPrefix(v string) predicate.InternalPolicyHistory
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
func DescriptionHasSuffix(v string) predicate.InternalPolicyHistory
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
func DescriptionIn(vs ...string) predicate.InternalPolicyHistory
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
func DescriptionLT(v string) predicate.InternalPolicyHistory
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
func DescriptionLTE(v string) predicate.InternalPolicyHistory
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
func DescriptionNEQ(v string) predicate.InternalPolicyHistory
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
func DescriptionNotIn(vs ...string) predicate.InternalPolicyHistory
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DetailsIsNil ¶
func DetailsIsNil() predicate.InternalPolicyHistory
DetailsIsNil applies the IsNil predicate on the "details" field.
func DetailsNotNil ¶
func DetailsNotNil() predicate.InternalPolicyHistory
DetailsNotNil applies the NotNil predicate on the "details" 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 MappingID ¶
func MappingID(v string) predicate.InternalPolicyHistory
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
func MappingIDContains(v string) predicate.InternalPolicyHistory
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
func MappingIDContainsFold(v string) predicate.InternalPolicyHistory
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
func MappingIDEQ(v string) predicate.InternalPolicyHistory
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
func MappingIDEqualFold(v string) predicate.InternalPolicyHistory
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
func MappingIDGT(v string) predicate.InternalPolicyHistory
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
func MappingIDGTE(v string) predicate.InternalPolicyHistory
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
func MappingIDHasPrefix(v string) predicate.InternalPolicyHistory
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
func MappingIDHasSuffix(v string) predicate.InternalPolicyHistory
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
func MappingIDIn(vs ...string) predicate.InternalPolicyHistory
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
func MappingIDLT(v string) predicate.InternalPolicyHistory
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
func MappingIDLTE(v string) predicate.InternalPolicyHistory
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
func MappingIDNEQ(v string) predicate.InternalPolicyHistory
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
func MappingIDNotIn(vs ...string) predicate.InternalPolicyHistory
MappingIDNotIn applies the NotIn predicate on the "mapping_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 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 PurposeAndScope ¶
func PurposeAndScope(v string) predicate.InternalPolicyHistory
PurposeAndScope applies equality check predicate on the "purpose_and_scope" field. It's identical to PurposeAndScopeEQ.
func PurposeAndScopeContains ¶
func PurposeAndScopeContains(v string) predicate.InternalPolicyHistory
PurposeAndScopeContains applies the Contains predicate on the "purpose_and_scope" field.
func PurposeAndScopeContainsFold ¶
func PurposeAndScopeContainsFold(v string) predicate.InternalPolicyHistory
PurposeAndScopeContainsFold applies the ContainsFold predicate on the "purpose_and_scope" field.
func PurposeAndScopeEQ ¶
func PurposeAndScopeEQ(v string) predicate.InternalPolicyHistory
PurposeAndScopeEQ applies the EQ predicate on the "purpose_and_scope" field.
func PurposeAndScopeEqualFold ¶
func PurposeAndScopeEqualFold(v string) predicate.InternalPolicyHistory
PurposeAndScopeEqualFold applies the EqualFold predicate on the "purpose_and_scope" field.
func PurposeAndScopeGT ¶
func PurposeAndScopeGT(v string) predicate.InternalPolicyHistory
PurposeAndScopeGT applies the GT predicate on the "purpose_and_scope" field.
func PurposeAndScopeGTE ¶
func PurposeAndScopeGTE(v string) predicate.InternalPolicyHistory
PurposeAndScopeGTE applies the GTE predicate on the "purpose_and_scope" field.
func PurposeAndScopeHasPrefix ¶
func PurposeAndScopeHasPrefix(v string) predicate.InternalPolicyHistory
PurposeAndScopeHasPrefix applies the HasPrefix predicate on the "purpose_and_scope" field.
func PurposeAndScopeHasSuffix ¶
func PurposeAndScopeHasSuffix(v string) predicate.InternalPolicyHistory
PurposeAndScopeHasSuffix applies the HasSuffix predicate on the "purpose_and_scope" field.
func PurposeAndScopeIn ¶
func PurposeAndScopeIn(vs ...string) predicate.InternalPolicyHistory
PurposeAndScopeIn applies the In predicate on the "purpose_and_scope" field.
func PurposeAndScopeIsNil ¶
func PurposeAndScopeIsNil() predicate.InternalPolicyHistory
PurposeAndScopeIsNil applies the IsNil predicate on the "purpose_and_scope" field.
func PurposeAndScopeLT ¶
func PurposeAndScopeLT(v string) predicate.InternalPolicyHistory
PurposeAndScopeLT applies the LT predicate on the "purpose_and_scope" field.
func PurposeAndScopeLTE ¶
func PurposeAndScopeLTE(v string) predicate.InternalPolicyHistory
PurposeAndScopeLTE applies the LTE predicate on the "purpose_and_scope" field.
func PurposeAndScopeNEQ ¶
func PurposeAndScopeNEQ(v string) predicate.InternalPolicyHistory
PurposeAndScopeNEQ applies the NEQ predicate on the "purpose_and_scope" field.
func PurposeAndScopeNotIn ¶
func PurposeAndScopeNotIn(vs ...string) predicate.InternalPolicyHistory
PurposeAndScopeNotIn applies the NotIn predicate on the "purpose_and_scope" field.
func PurposeAndScopeNotNil ¶
func PurposeAndScopeNotNil() predicate.InternalPolicyHistory
PurposeAndScopeNotNil applies the NotNil predicate on the "purpose_and_scope" 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 Status ¶
func Status(v string) predicate.InternalPolicyHistory
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
func StatusContains(v string) predicate.InternalPolicyHistory
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
func StatusContainsFold(v string) predicate.InternalPolicyHistory
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEQ ¶
func StatusEQ(v string) predicate.InternalPolicyHistory
StatusEQ applies the EQ predicate on the "status" field.
func StatusEqualFold ¶
func StatusEqualFold(v string) predicate.InternalPolicyHistory
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusGT ¶
func StatusGT(v string) predicate.InternalPolicyHistory
StatusGT applies the GT predicate on the "status" field.
func StatusGTE ¶
func StatusGTE(v string) predicate.InternalPolicyHistory
StatusGTE applies the GTE predicate on the "status" field.
func StatusHasPrefix ¶
func StatusHasPrefix(v string) predicate.InternalPolicyHistory
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
func StatusHasSuffix(v string) predicate.InternalPolicyHistory
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...string) 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 StatusLT ¶
func StatusLT(v string) predicate.InternalPolicyHistory
StatusLT applies the LT predicate on the "status" field.
func StatusLTE ¶
func StatusLTE(v string) predicate.InternalPolicyHistory
StatusLTE applies the LTE predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v string) predicate.InternalPolicyHistory
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...string) 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 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).
func Version ¶
func Version(v string) predicate.InternalPolicyHistory
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionContains ¶
func VersionContains(v string) predicate.InternalPolicyHistory
VersionContains applies the Contains predicate on the "version" field.
func VersionContainsFold ¶
func VersionContainsFold(v string) predicate.InternalPolicyHistory
VersionContainsFold applies the ContainsFold predicate on the "version" field.
func VersionEQ ¶
func VersionEQ(v string) predicate.InternalPolicyHistory
VersionEQ applies the EQ predicate on the "version" field.
func VersionEqualFold ¶
func VersionEqualFold(v string) predicate.InternalPolicyHistory
VersionEqualFold applies the EqualFold predicate on the "version" field.
func VersionGT ¶
func VersionGT(v string) predicate.InternalPolicyHistory
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v string) predicate.InternalPolicyHistory
VersionGTE applies the GTE predicate on the "version" field.
func VersionHasPrefix ¶
func VersionHasPrefix(v string) predicate.InternalPolicyHistory
VersionHasPrefix applies the HasPrefix predicate on the "version" field.
func VersionHasSuffix ¶
func VersionHasSuffix(v string) predicate.InternalPolicyHistory
VersionHasSuffix applies the HasSuffix predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...string) predicate.InternalPolicyHistory
VersionIn applies the In predicate on the "version" field.
func VersionIsNil ¶
func VersionIsNil() predicate.InternalPolicyHistory
VersionIsNil applies the IsNil predicate on the "version" field.
func VersionLT ¶
func VersionLT(v string) predicate.InternalPolicyHistory
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v string) predicate.InternalPolicyHistory
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v string) predicate.InternalPolicyHistory
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...string) predicate.InternalPolicyHistory
VersionNotIn applies the NotIn predicate on the "version" field.
func VersionNotNil ¶
func VersionNotNil() predicate.InternalPolicyHistory
VersionNotNil applies the NotNil predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the InternalPolicyHistory queries.
func ByBackground ¶
func ByBackground(opts ...sql.OrderTermOption) OrderOption
ByBackground orders the results by the background 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 ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description 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 ByMappingID ¶
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByOperation ¶
func ByOperation(opts ...sql.OrderTermOption) OrderOption
ByOperation orders the results by the operation field.
func ByPolicyType ¶
func ByPolicyType(opts ...sql.OrderTermOption) OrderOption
ByPolicyType orders the results by the policy_type field.
func ByPurposeAndScope ¶
func ByPurposeAndScope(opts ...sql.OrderTermOption) OrderOption
ByPurposeAndScope orders the results by the purpose_and_scope field.
func ByRef ¶
func ByRef(opts ...sql.OrderTermOption) OrderOption
ByRef orders the results by the ref 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.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.