Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.MappedControl) predicate.MappedControl
- func Confidence(v int) predicate.MappedControl
- func ConfidenceEQ(v int) predicate.MappedControl
- func ConfidenceGT(v int) predicate.MappedControl
- func ConfidenceGTE(v int) predicate.MappedControl
- func ConfidenceIn(vs ...int) predicate.MappedControl
- func ConfidenceIsNil() predicate.MappedControl
- func ConfidenceLT(v int) predicate.MappedControl
- func ConfidenceLTE(v int) predicate.MappedControl
- func ConfidenceNEQ(v int) predicate.MappedControl
- func ConfidenceNotIn(vs ...int) predicate.MappedControl
- func ConfidenceNotNil() predicate.MappedControl
- func CreatedAt(v time.Time) predicate.MappedControl
- func CreatedAtEQ(v time.Time) predicate.MappedControl
- func CreatedAtGT(v time.Time) predicate.MappedControl
- func CreatedAtGTE(v time.Time) predicate.MappedControl
- func CreatedAtIn(vs ...time.Time) predicate.MappedControl
- func CreatedAtIsNil() predicate.MappedControl
- func CreatedAtLT(v time.Time) predicate.MappedControl
- func CreatedAtLTE(v time.Time) predicate.MappedControl
- func CreatedAtNEQ(v time.Time) predicate.MappedControl
- func CreatedAtNotIn(vs ...time.Time) predicate.MappedControl
- func CreatedAtNotNil() predicate.MappedControl
- func CreatedBy(v string) predicate.MappedControl
- func CreatedByContains(v string) predicate.MappedControl
- func CreatedByContainsFold(v string) predicate.MappedControl
- func CreatedByEQ(v string) predicate.MappedControl
- func CreatedByEqualFold(v string) predicate.MappedControl
- func CreatedByGT(v string) predicate.MappedControl
- func CreatedByGTE(v string) predicate.MappedControl
- func CreatedByHasPrefix(v string) predicate.MappedControl
- func CreatedByHasSuffix(v string) predicate.MappedControl
- func CreatedByIn(vs ...string) predicate.MappedControl
- func CreatedByIsNil() predicate.MappedControl
- func CreatedByLT(v string) predicate.MappedControl
- func CreatedByLTE(v string) predicate.MappedControl
- func CreatedByNEQ(v string) predicate.MappedControl
- func CreatedByNotIn(vs ...string) predicate.MappedControl
- func CreatedByNotNil() predicate.MappedControl
- func DeletedAt(v time.Time) predicate.MappedControl
- func DeletedAtEQ(v time.Time) predicate.MappedControl
- func DeletedAtGT(v time.Time) predicate.MappedControl
- func DeletedAtGTE(v time.Time) predicate.MappedControl
- func DeletedAtIn(vs ...time.Time) predicate.MappedControl
- func DeletedAtIsNil() predicate.MappedControl
- func DeletedAtLT(v time.Time) predicate.MappedControl
- func DeletedAtLTE(v time.Time) predicate.MappedControl
- func DeletedAtNEQ(v time.Time) predicate.MappedControl
- func DeletedAtNotIn(vs ...time.Time) predicate.MappedControl
- func DeletedAtNotNil() predicate.MappedControl
- func DeletedBy(v string) predicate.MappedControl
- func DeletedByContains(v string) predicate.MappedControl
- func DeletedByContainsFold(v string) predicate.MappedControl
- func DeletedByEQ(v string) predicate.MappedControl
- func DeletedByEqualFold(v string) predicate.MappedControl
- func DeletedByGT(v string) predicate.MappedControl
- func DeletedByGTE(v string) predicate.MappedControl
- func DeletedByHasPrefix(v string) predicate.MappedControl
- func DeletedByHasSuffix(v string) predicate.MappedControl
- func DeletedByIn(vs ...string) predicate.MappedControl
- func DeletedByIsNil() predicate.MappedControl
- func DeletedByLT(v string) predicate.MappedControl
- func DeletedByLTE(v string) predicate.MappedControl
- func DeletedByNEQ(v string) predicate.MappedControl
- func DeletedByNotIn(vs ...string) predicate.MappedControl
- func DeletedByNotNil() predicate.MappedControl
- func HasBlockedGroups() predicate.MappedControl
- func HasBlockedGroupsWith(preds ...predicate.Group) predicate.MappedControl
- func HasEditors() predicate.MappedControl
- func HasEditorsWith(preds ...predicate.Group) predicate.MappedControl
- func HasFromControls() predicate.MappedControl
- func HasFromControlsWith(preds ...predicate.Control) predicate.MappedControl
- func HasFromSubcontrols() predicate.MappedControl
- func HasFromSubcontrolsWith(preds ...predicate.Subcontrol) predicate.MappedControl
- func HasOwner() predicate.MappedControl
- func HasOwnerWith(preds ...predicate.Organization) predicate.MappedControl
- func HasToControls() predicate.MappedControl
- func HasToControlsWith(preds ...predicate.Control) predicate.MappedControl
- func HasToSubcontrols() predicate.MappedControl
- func HasToSubcontrolsWith(preds ...predicate.Subcontrol) predicate.MappedControl
- func ID(id string) predicate.MappedControl
- func IDContainsFold(id string) predicate.MappedControl
- func IDEQ(id string) predicate.MappedControl
- func IDEqualFold(id string) predicate.MappedControl
- func IDGT(id string) predicate.MappedControl
- func IDGTE(id string) predicate.MappedControl
- func IDIn(ids ...string) predicate.MappedControl
- func IDLT(id string) predicate.MappedControl
- func IDLTE(id string) predicate.MappedControl
- func IDNEQ(id string) predicate.MappedControl
- func IDNotIn(ids ...string) predicate.MappedControl
- func InternalNotes(v string) predicate.MappedControl
- func InternalNotesContains(v string) predicate.MappedControl
- func InternalNotesContainsFold(v string) predicate.MappedControl
- func InternalNotesEQ(v string) predicate.MappedControl
- func InternalNotesEqualFold(v string) predicate.MappedControl
- func InternalNotesGT(v string) predicate.MappedControl
- func InternalNotesGTE(v string) predicate.MappedControl
- func InternalNotesHasPrefix(v string) predicate.MappedControl
- func InternalNotesHasSuffix(v string) predicate.MappedControl
- func InternalNotesIn(vs ...string) predicate.MappedControl
- func InternalNotesIsNil() predicate.MappedControl
- func InternalNotesLT(v string) predicate.MappedControl
- func InternalNotesLTE(v string) predicate.MappedControl
- func InternalNotesNEQ(v string) predicate.MappedControl
- func InternalNotesNotIn(vs ...string) predicate.MappedControl
- func InternalNotesNotNil() predicate.MappedControl
- func MappingTypeEQ(v enums.MappingType) predicate.MappedControl
- func MappingTypeIn(vs ...enums.MappingType) predicate.MappedControl
- func MappingTypeNEQ(v enums.MappingType) predicate.MappedControl
- func MappingTypeNotIn(vs ...enums.MappingType) predicate.MappedControl
- func MappingTypeValidator(mt enums.MappingType) error
- func Not(p predicate.MappedControl) predicate.MappedControl
- func Or(predicates ...predicate.MappedControl) predicate.MappedControl
- func OwnerID(v string) predicate.MappedControl
- func OwnerIDContains(v string) predicate.MappedControl
- func OwnerIDContainsFold(v string) predicate.MappedControl
- func OwnerIDEQ(v string) predicate.MappedControl
- func OwnerIDEqualFold(v string) predicate.MappedControl
- func OwnerIDGT(v string) predicate.MappedControl
- func OwnerIDGTE(v string) predicate.MappedControl
- func OwnerIDHasPrefix(v string) predicate.MappedControl
- func OwnerIDHasSuffix(v string) predicate.MappedControl
- func OwnerIDIn(vs ...string) predicate.MappedControl
- func OwnerIDIsNil() predicate.MappedControl
- func OwnerIDLT(v string) predicate.MappedControl
- func OwnerIDLTE(v string) predicate.MappedControl
- func OwnerIDNEQ(v string) predicate.MappedControl
- func OwnerIDNotIn(vs ...string) predicate.MappedControl
- func OwnerIDNotNil() predicate.MappedControl
- func Relation(v string) predicate.MappedControl
- func RelationContains(v string) predicate.MappedControl
- func RelationContainsFold(v string) predicate.MappedControl
- func RelationEQ(v string) predicate.MappedControl
- func RelationEqualFold(v string) predicate.MappedControl
- func RelationGT(v string) predicate.MappedControl
- func RelationGTE(v string) predicate.MappedControl
- func RelationHasPrefix(v string) predicate.MappedControl
- func RelationHasSuffix(v string) predicate.MappedControl
- func RelationIn(vs ...string) predicate.MappedControl
- func RelationIsNil() predicate.MappedControl
- func RelationLT(v string) predicate.MappedControl
- func RelationLTE(v string) predicate.MappedControl
- func RelationNEQ(v string) predicate.MappedControl
- func RelationNotIn(vs ...string) predicate.MappedControl
- func RelationNotNil() predicate.MappedControl
- func SourceEQ(v enums.MappingSource) predicate.MappedControl
- func SourceIn(vs ...enums.MappingSource) predicate.MappedControl
- func SourceIsNil() predicate.MappedControl
- func SourceNEQ(v enums.MappingSource) predicate.MappedControl
- func SourceNotIn(vs ...enums.MappingSource) predicate.MappedControl
- func SourceNotNil() predicate.MappedControl
- func SourceValidator(s enums.MappingSource) error
- func SystemInternalID(v string) predicate.MappedControl
- func SystemInternalIDContains(v string) predicate.MappedControl
- func SystemInternalIDContainsFold(v string) predicate.MappedControl
- func SystemInternalIDEQ(v string) predicate.MappedControl
- func SystemInternalIDEqualFold(v string) predicate.MappedControl
- func SystemInternalIDGT(v string) predicate.MappedControl
- func SystemInternalIDGTE(v string) predicate.MappedControl
- func SystemInternalIDHasPrefix(v string) predicate.MappedControl
- func SystemInternalIDHasSuffix(v string) predicate.MappedControl
- func SystemInternalIDIn(vs ...string) predicate.MappedControl
- func SystemInternalIDIsNil() predicate.MappedControl
- func SystemInternalIDLT(v string) predicate.MappedControl
- func SystemInternalIDLTE(v string) predicate.MappedControl
- func SystemInternalIDNEQ(v string) predicate.MappedControl
- func SystemInternalIDNotIn(vs ...string) predicate.MappedControl
- func SystemInternalIDNotNil() predicate.MappedControl
- func SystemOwned(v bool) predicate.MappedControl
- func SystemOwnedEQ(v bool) predicate.MappedControl
- func SystemOwnedIsNil() predicate.MappedControl
- func SystemOwnedNEQ(v bool) predicate.MappedControl
- func SystemOwnedNotNil() predicate.MappedControl
- func TagsIsNil() predicate.MappedControl
- func TagsNotNil() predicate.MappedControl
- func UpdatedAt(v time.Time) predicate.MappedControl
- func UpdatedAtEQ(v time.Time) predicate.MappedControl
- func UpdatedAtGT(v time.Time) predicate.MappedControl
- func UpdatedAtGTE(v time.Time) predicate.MappedControl
- func UpdatedAtIn(vs ...time.Time) predicate.MappedControl
- func UpdatedAtIsNil() predicate.MappedControl
- func UpdatedAtLT(v time.Time) predicate.MappedControl
- func UpdatedAtLTE(v time.Time) predicate.MappedControl
- func UpdatedAtNEQ(v time.Time) predicate.MappedControl
- func UpdatedAtNotIn(vs ...time.Time) predicate.MappedControl
- func UpdatedAtNotNil() predicate.MappedControl
- func UpdatedBy(v string) predicate.MappedControl
- func UpdatedByContains(v string) predicate.MappedControl
- func UpdatedByContainsFold(v string) predicate.MappedControl
- func UpdatedByEQ(v string) predicate.MappedControl
- func UpdatedByEqualFold(v string) predicate.MappedControl
- func UpdatedByGT(v string) predicate.MappedControl
- func UpdatedByGTE(v string) predicate.MappedControl
- func UpdatedByHasPrefix(v string) predicate.MappedControl
- func UpdatedByHasSuffix(v string) predicate.MappedControl
- func UpdatedByIn(vs ...string) predicate.MappedControl
- func UpdatedByIsNil() predicate.MappedControl
- func UpdatedByLT(v string) predicate.MappedControl
- func UpdatedByLTE(v string) predicate.MappedControl
- func UpdatedByNEQ(v string) predicate.MappedControl
- func UpdatedByNotIn(vs ...string) predicate.MappedControl
- func UpdatedByNotNil() predicate.MappedControl
- func ValidColumn(column string) bool
- type OrderOption
- func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByConfidence(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 ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByFromControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFromControlsCount(opts ...sql.OrderTermOption) OrderOption
- func ByFromSubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFromSubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByInternalNotes(opts ...sql.OrderTermOption) OrderOption
- func ByMappingType(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByRelation(opts ...sql.OrderTermOption) OrderOption
- func BySource(opts ...sql.OrderTermOption) OrderOption
- func BySystemInternalID(opts ...sql.OrderTermOption) OrderOption
- func BySystemOwned(opts ...sql.OrderTermOption) OrderOption
- func ByToControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByToControlsCount(opts ...sql.OrderTermOption) OrderOption
- func ByToSubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByToSubcontrolsCount(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 mappedcontrol type in the database. Label = "mapped_control" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldDeletedBy holds the string denoting the deleted_by field in the database. FieldDeletedBy = "deleted_by" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldSystemOwned holds the string denoting the system_owned field in the database. FieldSystemOwned = "system_owned" // FieldInternalNotes holds the string denoting the internal_notes field in the database. FieldInternalNotes = "internal_notes" // FieldSystemInternalID holds the string denoting the system_internal_id field in the database. FieldSystemInternalID = "system_internal_id" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldMappingType holds the string denoting the mapping_type field in the database. FieldMappingType = "mapping_type" // FieldRelation holds the string denoting the relation field in the database. FieldRelation = "relation" // FieldConfidence holds the string denoting the confidence field in the database. FieldConfidence = "confidence" // FieldSource holds the string denoting the source field in the database. FieldSource = "source" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeBlockedGroups holds the string denoting the blocked_groups edge name in mutations. EdgeBlockedGroups = "blocked_groups" // EdgeEditors holds the string denoting the editors edge name in mutations. EdgeEditors = "editors" // EdgeFromControls holds the string denoting the from_controls edge name in mutations. EdgeFromControls = "from_controls" // EdgeToControls holds the string denoting the to_controls edge name in mutations. EdgeToControls = "to_controls" // EdgeFromSubcontrols holds the string denoting the from_subcontrols edge name in mutations. EdgeFromSubcontrols = "from_subcontrols" // EdgeToSubcontrols holds the string denoting the to_subcontrols edge name in mutations. EdgeToSubcontrols = "to_subcontrols" // Table holds the table name of the mappedcontrol in the database. Table = "mapped_controls" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "mapped_controls" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organizations" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // BlockedGroupsTable is the table that holds the blocked_groups relation/edge. The primary key declared below. BlockedGroupsTable = "mapped_control_blocked_groups" // BlockedGroupsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. BlockedGroupsInverseTable = "groups" // EditorsTable is the table that holds the editors relation/edge. The primary key declared below. EditorsTable = "mapped_control_editors" // EditorsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. EditorsInverseTable = "groups" // FromControlsTable is the table that holds the from_controls relation/edge. The primary key declared below. FromControlsTable = "mapped_control_from_controls" // FromControlsInverseTable is the table name for the Control entity. // It exists in this package in order to avoid circular dependency with the "control" package. FromControlsInverseTable = "controls" // ToControlsTable is the table that holds the to_controls relation/edge. The primary key declared below. ToControlsTable = "mapped_control_to_controls" // ToControlsInverseTable is the table name for the Control entity. // It exists in this package in order to avoid circular dependency with the "control" package. ToControlsInverseTable = "controls" // FromSubcontrolsTable is the table that holds the from_subcontrols relation/edge. The primary key declared below. FromSubcontrolsTable = "mapped_control_from_subcontrols" // FromSubcontrolsInverseTable is the table name for the Subcontrol entity. // It exists in this package in order to avoid circular dependency with the "subcontrol" package. FromSubcontrolsInverseTable = "subcontrols" // ToSubcontrolsTable is the table that holds the to_subcontrols relation/edge. The primary key declared below. ToSubcontrolsTable = "mapped_control_to_subcontrols" // ToSubcontrolsInverseTable is the table name for the Subcontrol entity. // It exists in this package in order to avoid circular dependency with the "subcontrol" package. ToSubcontrolsInverseTable = "subcontrols" )
const DefaultMappingType enums.MappingType = "EQUAL"
const DefaultSource enums.MappingSource = "MANUAL"
Variables ¶
var ( // BlockedGroupsPrimaryKey and BlockedGroupsColumn2 are the table columns denoting the // primary key for the blocked_groups relation (M2M). BlockedGroupsPrimaryKey = []string{"mapped_control_id", "group_id"} // EditorsPrimaryKey and EditorsColumn2 are the table columns denoting the // primary key for the editors relation (M2M). EditorsPrimaryKey = []string{"mapped_control_id", "group_id"} // FromControlsPrimaryKey and FromControlsColumn2 are the table columns denoting the // primary key for the from_controls relation (M2M). FromControlsPrimaryKey = []string{"mapped_control_id", "control_id"} // ToControlsPrimaryKey and ToControlsColumn2 are the table columns denoting the // primary key for the to_controls relation (M2M). ToControlsPrimaryKey = []string{"mapped_control_id", "control_id"} // FromSubcontrolsPrimaryKey and FromSubcontrolsColumn2 are the table columns denoting the // primary key for the from_subcontrols relation (M2M). FromSubcontrolsPrimaryKey = []string{"mapped_control_id", "subcontrol_id"} // ToSubcontrolsPrimaryKey and ToSubcontrolsColumn2 are the table columns denoting the // primary key for the to_subcontrols relation (M2M). ToSubcontrolsPrimaryKey = []string{"mapped_control_id", "subcontrol_id"} )
var ( Hooks [10]ent.Hook Interceptors [3]ent.Interceptor Policy ent.Policy // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultTags holds the default value on creation for the "tags" field. DefaultTags []string // DefaultSystemOwned holds the default value on creation for the "system_owned" field. DefaultSystemOwned bool // ConfidenceValidator is a validator for the "confidence" field. It is called by the builders before save. ConfidenceValidator func(int) error // 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, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldTags, FieldSystemOwned, FieldInternalNotes, FieldSystemInternalID, FieldOwnerID, FieldMappingType, FieldRelation, FieldConfidence, FieldSource, }
Columns holds all SQL columns for mappedcontrol fields.
Functions ¶
func And ¶
func And(predicates ...predicate.MappedControl) predicate.MappedControl
And groups predicates with the AND operator between them.
func Confidence ¶ added in v0.16.0
func Confidence(v int) predicate.MappedControl
Confidence applies equality check predicate on the "confidence" field. It's identical to ConfidenceEQ.
func ConfidenceEQ ¶ added in v0.16.0
func ConfidenceEQ(v int) predicate.MappedControl
ConfidenceEQ applies the EQ predicate on the "confidence" field.
func ConfidenceGT ¶ added in v0.16.0
func ConfidenceGT(v int) predicate.MappedControl
ConfidenceGT applies the GT predicate on the "confidence" field.
func ConfidenceGTE ¶ added in v0.16.0
func ConfidenceGTE(v int) predicate.MappedControl
ConfidenceGTE applies the GTE predicate on the "confidence" field.
func ConfidenceIn ¶ added in v0.16.0
func ConfidenceIn(vs ...int) predicate.MappedControl
ConfidenceIn applies the In predicate on the "confidence" field.
func ConfidenceIsNil ¶ added in v0.16.0
func ConfidenceIsNil() predicate.MappedControl
ConfidenceIsNil applies the IsNil predicate on the "confidence" field.
func ConfidenceLT ¶ added in v0.16.0
func ConfidenceLT(v int) predicate.MappedControl
ConfidenceLT applies the LT predicate on the "confidence" field.
func ConfidenceLTE ¶ added in v0.16.0
func ConfidenceLTE(v int) predicate.MappedControl
ConfidenceLTE applies the LTE predicate on the "confidence" field.
func ConfidenceNEQ ¶ added in v0.16.0
func ConfidenceNEQ(v int) predicate.MappedControl
ConfidenceNEQ applies the NEQ predicate on the "confidence" field.
func ConfidenceNotIn ¶ added in v0.16.0
func ConfidenceNotIn(vs ...int) predicate.MappedControl
ConfidenceNotIn applies the NotIn predicate on the "confidence" field.
func ConfidenceNotNil ¶ added in v0.16.0
func ConfidenceNotNil() predicate.MappedControl
ConfidenceNotNil applies the NotNil predicate on the "confidence" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.MappedControl
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.MappedControl
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.MappedControl
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.MappedControl
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.MappedControl
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.MappedControl
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.MappedControl
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.MappedControl
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.MappedControl
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.MappedControl
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.MappedControl
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.MappedControl
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.MappedControl
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.MappedControl
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.MappedControl
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.MappedControl
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.MappedControl
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.MappedControl
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.MappedControl
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.MappedControl
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.MappedControl
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.MappedControl
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.MappedControl
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.MappedControl
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.MappedControl
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.MappedControl
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.MappedControl
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.MappedControl
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.MappedControl
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.MappedControl
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.MappedControl
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.MappedControl
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.MappedControl
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.MappedControl
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.MappedControl
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.MappedControl
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.MappedControl
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.MappedControl
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.MappedControl
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.MappedControl
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.MappedControl
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.MappedControl
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.MappedControl
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.MappedControl
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.MappedControl
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.MappedControl
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.MappedControl
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.MappedControl
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.MappedControl
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.MappedControl
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.MappedControl
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.MappedControl
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.MappedControl
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.MappedControl
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func HasBlockedGroups ¶ added in v0.16.0
func HasBlockedGroups() predicate.MappedControl
HasBlockedGroups applies the HasEdge predicate on the "blocked_groups" edge.
func HasBlockedGroupsWith ¶ added in v0.16.0
func HasBlockedGroupsWith(preds ...predicate.Group) predicate.MappedControl
HasBlockedGroupsWith applies the HasEdge predicate on the "blocked_groups" edge with a given conditions (other predicates).
func HasEditors ¶ added in v0.16.0
func HasEditors() predicate.MappedControl
HasEditors applies the HasEdge predicate on the "editors" edge.
func HasEditorsWith ¶ added in v0.16.0
func HasEditorsWith(preds ...predicate.Group) predicate.MappedControl
HasEditorsWith applies the HasEdge predicate on the "editors" edge with a given conditions (other predicates).
func HasFromControls ¶ added in v0.16.0
func HasFromControls() predicate.MappedControl
HasFromControls applies the HasEdge predicate on the "from_controls" edge.
func HasFromControlsWith ¶ added in v0.16.0
func HasFromControlsWith(preds ...predicate.Control) predicate.MappedControl
HasFromControlsWith applies the HasEdge predicate on the "from_controls" edge with a given conditions (other predicates).
func HasFromSubcontrols ¶ added in v0.16.0
func HasFromSubcontrols() predicate.MappedControl
HasFromSubcontrols applies the HasEdge predicate on the "from_subcontrols" edge.
func HasFromSubcontrolsWith ¶ added in v0.16.0
func HasFromSubcontrolsWith(preds ...predicate.Subcontrol) predicate.MappedControl
HasFromSubcontrolsWith applies the HasEdge predicate on the "from_subcontrols" edge with a given conditions (other predicates).
func HasOwner ¶ added in v0.16.0
func HasOwner() predicate.MappedControl
HasOwner applies the HasEdge predicate on the "owner" edge.
func HasOwnerWith ¶ added in v0.16.0
func HasOwnerWith(preds ...predicate.Organization) predicate.MappedControl
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasToControls ¶ added in v0.16.0
func HasToControls() predicate.MappedControl
HasToControls applies the HasEdge predicate on the "to_controls" edge.
func HasToControlsWith ¶ added in v0.16.0
func HasToControlsWith(preds ...predicate.Control) predicate.MappedControl
HasToControlsWith applies the HasEdge predicate on the "to_controls" edge with a given conditions (other predicates).
func HasToSubcontrols ¶ added in v0.16.0
func HasToSubcontrols() predicate.MappedControl
HasToSubcontrols applies the HasEdge predicate on the "to_subcontrols" edge.
func HasToSubcontrolsWith ¶ added in v0.16.0
func HasToSubcontrolsWith(preds ...predicate.Subcontrol) predicate.MappedControl
HasToSubcontrolsWith applies the HasEdge predicate on the "to_subcontrols" edge with a given conditions (other predicates).
func IDContainsFold ¶
func IDContainsFold(id string) predicate.MappedControl
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.MappedControl
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.MappedControl
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.MappedControl
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.MappedControl
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.MappedControl
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.MappedControl
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.MappedControl
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.MappedControl
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.MappedControl
IDNotIn applies the NotIn predicate on the ID field.
func InternalNotes ¶ added in v0.34.0
func InternalNotes(v string) predicate.MappedControl
InternalNotes applies equality check predicate on the "internal_notes" field. It's identical to InternalNotesEQ.
func InternalNotesContains ¶ added in v0.34.0
func InternalNotesContains(v string) predicate.MappedControl
InternalNotesContains applies the Contains predicate on the "internal_notes" field.
func InternalNotesContainsFold ¶ added in v0.34.0
func InternalNotesContainsFold(v string) predicate.MappedControl
InternalNotesContainsFold applies the ContainsFold predicate on the "internal_notes" field.
func InternalNotesEQ ¶ added in v0.34.0
func InternalNotesEQ(v string) predicate.MappedControl
InternalNotesEQ applies the EQ predicate on the "internal_notes" field.
func InternalNotesEqualFold ¶ added in v0.34.0
func InternalNotesEqualFold(v string) predicate.MappedControl
InternalNotesEqualFold applies the EqualFold predicate on the "internal_notes" field.
func InternalNotesGT ¶ added in v0.34.0
func InternalNotesGT(v string) predicate.MappedControl
InternalNotesGT applies the GT predicate on the "internal_notes" field.
func InternalNotesGTE ¶ added in v0.34.0
func InternalNotesGTE(v string) predicate.MappedControl
InternalNotesGTE applies the GTE predicate on the "internal_notes" field.
func InternalNotesHasPrefix ¶ added in v0.34.0
func InternalNotesHasPrefix(v string) predicate.MappedControl
InternalNotesHasPrefix applies the HasPrefix predicate on the "internal_notes" field.
func InternalNotesHasSuffix ¶ added in v0.34.0
func InternalNotesHasSuffix(v string) predicate.MappedControl
InternalNotesHasSuffix applies the HasSuffix predicate on the "internal_notes" field.
func InternalNotesIn ¶ added in v0.34.0
func InternalNotesIn(vs ...string) predicate.MappedControl
InternalNotesIn applies the In predicate on the "internal_notes" field.
func InternalNotesIsNil ¶ added in v0.34.0
func InternalNotesIsNil() predicate.MappedControl
InternalNotesIsNil applies the IsNil predicate on the "internal_notes" field.
func InternalNotesLT ¶ added in v0.34.0
func InternalNotesLT(v string) predicate.MappedControl
InternalNotesLT applies the LT predicate on the "internal_notes" field.
func InternalNotesLTE ¶ added in v0.34.0
func InternalNotesLTE(v string) predicate.MappedControl
InternalNotesLTE applies the LTE predicate on the "internal_notes" field.
func InternalNotesNEQ ¶ added in v0.34.0
func InternalNotesNEQ(v string) predicate.MappedControl
InternalNotesNEQ applies the NEQ predicate on the "internal_notes" field.
func InternalNotesNotIn ¶ added in v0.34.0
func InternalNotesNotIn(vs ...string) predicate.MappedControl
InternalNotesNotIn applies the NotIn predicate on the "internal_notes" field.
func InternalNotesNotNil ¶ added in v0.34.0
func InternalNotesNotNil() predicate.MappedControl
InternalNotesNotNil applies the NotNil predicate on the "internal_notes" field.
func MappingTypeEQ ¶
func MappingTypeEQ(v enums.MappingType) predicate.MappedControl
MappingTypeEQ applies the EQ predicate on the "mapping_type" field.
func MappingTypeIn ¶
func MappingTypeIn(vs ...enums.MappingType) predicate.MappedControl
MappingTypeIn applies the In predicate on the "mapping_type" field.
func MappingTypeNEQ ¶
func MappingTypeNEQ(v enums.MappingType) predicate.MappedControl
MappingTypeNEQ applies the NEQ predicate on the "mapping_type" field.
func MappingTypeNotIn ¶
func MappingTypeNotIn(vs ...enums.MappingType) predicate.MappedControl
MappingTypeNotIn applies the NotIn predicate on the "mapping_type" field.
func MappingTypeValidator ¶ added in v0.16.0
func MappingTypeValidator(mt enums.MappingType) error
MappingTypeValidator is a validator for the "mapping_type" field enum values. It is called by the builders before save.
func Not ¶
func Not(p predicate.MappedControl) predicate.MappedControl
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.MappedControl) predicate.MappedControl
Or groups predicates with the OR operator between them.
func OwnerID ¶ added in v0.16.0
func OwnerID(v string) predicate.MappedControl
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶ added in v0.16.0
func OwnerIDContains(v string) predicate.MappedControl
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶ added in v0.16.0
func OwnerIDContainsFold(v string) predicate.MappedControl
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEQ ¶ added in v0.16.0
func OwnerIDEQ(v string) predicate.MappedControl
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEqualFold ¶ added in v0.16.0
func OwnerIDEqualFold(v string) predicate.MappedControl
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGT ¶ added in v0.16.0
func OwnerIDGT(v string) predicate.MappedControl
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶ added in v0.16.0
func OwnerIDGTE(v string) predicate.MappedControl
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶ added in v0.16.0
func OwnerIDHasPrefix(v string) predicate.MappedControl
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶ added in v0.16.0
func OwnerIDHasSuffix(v string) predicate.MappedControl
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIn ¶ added in v0.16.0
func OwnerIDIn(vs ...string) predicate.MappedControl
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDIsNil ¶ added in v0.16.0
func OwnerIDIsNil() predicate.MappedControl
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLT ¶ added in v0.16.0
func OwnerIDLT(v string) predicate.MappedControl
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶ added in v0.16.0
func OwnerIDLTE(v string) predicate.MappedControl
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶ added in v0.16.0
func OwnerIDNEQ(v string) predicate.MappedControl
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶ added in v0.16.0
func OwnerIDNotIn(vs ...string) predicate.MappedControl
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶ added in v0.16.0
func OwnerIDNotNil() predicate.MappedControl
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func Relation ¶
func Relation(v string) predicate.MappedControl
Relation applies equality check predicate on the "relation" field. It's identical to RelationEQ.
func RelationContains ¶
func RelationContains(v string) predicate.MappedControl
RelationContains applies the Contains predicate on the "relation" field.
func RelationContainsFold ¶
func RelationContainsFold(v string) predicate.MappedControl
RelationContainsFold applies the ContainsFold predicate on the "relation" field.
func RelationEQ ¶
func RelationEQ(v string) predicate.MappedControl
RelationEQ applies the EQ predicate on the "relation" field.
func RelationEqualFold ¶
func RelationEqualFold(v string) predicate.MappedControl
RelationEqualFold applies the EqualFold predicate on the "relation" field.
func RelationGT ¶
func RelationGT(v string) predicate.MappedControl
RelationGT applies the GT predicate on the "relation" field.
func RelationGTE ¶
func RelationGTE(v string) predicate.MappedControl
RelationGTE applies the GTE predicate on the "relation" field.
func RelationHasPrefix ¶
func RelationHasPrefix(v string) predicate.MappedControl
RelationHasPrefix applies the HasPrefix predicate on the "relation" field.
func RelationHasSuffix ¶
func RelationHasSuffix(v string) predicate.MappedControl
RelationHasSuffix applies the HasSuffix predicate on the "relation" field.
func RelationIn ¶
func RelationIn(vs ...string) predicate.MappedControl
RelationIn applies the In predicate on the "relation" field.
func RelationIsNil ¶
func RelationIsNil() predicate.MappedControl
RelationIsNil applies the IsNil predicate on the "relation" field.
func RelationLT ¶
func RelationLT(v string) predicate.MappedControl
RelationLT applies the LT predicate on the "relation" field.
func RelationLTE ¶
func RelationLTE(v string) predicate.MappedControl
RelationLTE applies the LTE predicate on the "relation" field.
func RelationNEQ ¶
func RelationNEQ(v string) predicate.MappedControl
RelationNEQ applies the NEQ predicate on the "relation" field.
func RelationNotIn ¶
func RelationNotIn(vs ...string) predicate.MappedControl
RelationNotIn applies the NotIn predicate on the "relation" field.
func RelationNotNil ¶
func RelationNotNil() predicate.MappedControl
RelationNotNil applies the NotNil predicate on the "relation" field.
func SourceEQ ¶ added in v0.16.0
func SourceEQ(v enums.MappingSource) predicate.MappedControl
SourceEQ applies the EQ predicate on the "source" field.
func SourceIn ¶ added in v0.16.0
func SourceIn(vs ...enums.MappingSource) predicate.MappedControl
SourceIn applies the In predicate on the "source" field.
func SourceIsNil ¶ added in v0.16.0
func SourceIsNil() predicate.MappedControl
SourceIsNil applies the IsNil predicate on the "source" field.
func SourceNEQ ¶ added in v0.16.0
func SourceNEQ(v enums.MappingSource) predicate.MappedControl
SourceNEQ applies the NEQ predicate on the "source" field.
func SourceNotIn ¶ added in v0.16.0
func SourceNotIn(vs ...enums.MappingSource) predicate.MappedControl
SourceNotIn applies the NotIn predicate on the "source" field.
func SourceNotNil ¶ added in v0.16.0
func SourceNotNil() predicate.MappedControl
SourceNotNil applies the NotNil predicate on the "source" field.
func SourceValidator ¶ added in v0.16.0
func SourceValidator(s enums.MappingSource) error
SourceValidator is a validator for the "source" field enum values. It is called by the builders before save.
func SystemInternalID ¶ added in v0.34.0
func SystemInternalID(v string) predicate.MappedControl
SystemInternalID applies equality check predicate on the "system_internal_id" field. It's identical to SystemInternalIDEQ.
func SystemInternalIDContains ¶ added in v0.34.0
func SystemInternalIDContains(v string) predicate.MappedControl
SystemInternalIDContains applies the Contains predicate on the "system_internal_id" field.
func SystemInternalIDContainsFold ¶ added in v0.34.0
func SystemInternalIDContainsFold(v string) predicate.MappedControl
SystemInternalIDContainsFold applies the ContainsFold predicate on the "system_internal_id" field.
func SystemInternalIDEQ ¶ added in v0.34.0
func SystemInternalIDEQ(v string) predicate.MappedControl
SystemInternalIDEQ applies the EQ predicate on the "system_internal_id" field.
func SystemInternalIDEqualFold ¶ added in v0.34.0
func SystemInternalIDEqualFold(v string) predicate.MappedControl
SystemInternalIDEqualFold applies the EqualFold predicate on the "system_internal_id" field.
func SystemInternalIDGT ¶ added in v0.34.0
func SystemInternalIDGT(v string) predicate.MappedControl
SystemInternalIDGT applies the GT predicate on the "system_internal_id" field.
func SystemInternalIDGTE ¶ added in v0.34.0
func SystemInternalIDGTE(v string) predicate.MappedControl
SystemInternalIDGTE applies the GTE predicate on the "system_internal_id" field.
func SystemInternalIDHasPrefix ¶ added in v0.34.0
func SystemInternalIDHasPrefix(v string) predicate.MappedControl
SystemInternalIDHasPrefix applies the HasPrefix predicate on the "system_internal_id" field.
func SystemInternalIDHasSuffix ¶ added in v0.34.0
func SystemInternalIDHasSuffix(v string) predicate.MappedControl
SystemInternalIDHasSuffix applies the HasSuffix predicate on the "system_internal_id" field.
func SystemInternalIDIn ¶ added in v0.34.0
func SystemInternalIDIn(vs ...string) predicate.MappedControl
SystemInternalIDIn applies the In predicate on the "system_internal_id" field.
func SystemInternalIDIsNil ¶ added in v0.34.0
func SystemInternalIDIsNil() predicate.MappedControl
SystemInternalIDIsNil applies the IsNil predicate on the "system_internal_id" field.
func SystemInternalIDLT ¶ added in v0.34.0
func SystemInternalIDLT(v string) predicate.MappedControl
SystemInternalIDLT applies the LT predicate on the "system_internal_id" field.
func SystemInternalIDLTE ¶ added in v0.34.0
func SystemInternalIDLTE(v string) predicate.MappedControl
SystemInternalIDLTE applies the LTE predicate on the "system_internal_id" field.
func SystemInternalIDNEQ ¶ added in v0.34.0
func SystemInternalIDNEQ(v string) predicate.MappedControl
SystemInternalIDNEQ applies the NEQ predicate on the "system_internal_id" field.
func SystemInternalIDNotIn ¶ added in v0.34.0
func SystemInternalIDNotIn(vs ...string) predicate.MappedControl
SystemInternalIDNotIn applies the NotIn predicate on the "system_internal_id" field.
func SystemInternalIDNotNil ¶ added in v0.34.0
func SystemInternalIDNotNil() predicate.MappedControl
SystemInternalIDNotNil applies the NotNil predicate on the "system_internal_id" field.
func SystemOwned ¶ added in v0.34.0
func SystemOwned(v bool) predicate.MappedControl
SystemOwned applies equality check predicate on the "system_owned" field. It's identical to SystemOwnedEQ.
func SystemOwnedEQ ¶ added in v0.34.0
func SystemOwnedEQ(v bool) predicate.MappedControl
SystemOwnedEQ applies the EQ predicate on the "system_owned" field.
func SystemOwnedIsNil ¶ added in v0.34.0
func SystemOwnedIsNil() predicate.MappedControl
SystemOwnedIsNil applies the IsNil predicate on the "system_owned" field.
func SystemOwnedNEQ ¶ added in v0.34.0
func SystemOwnedNEQ(v bool) predicate.MappedControl
SystemOwnedNEQ applies the NEQ predicate on the "system_owned" field.
func SystemOwnedNotNil ¶ added in v0.34.0
func SystemOwnedNotNil() predicate.MappedControl
SystemOwnedNotNil applies the NotNil predicate on the "system_owned" field.
func TagsIsNil ¶
func TagsIsNil() predicate.MappedControl
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.MappedControl
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.MappedControl
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.MappedControl
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.MappedControl
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.MappedControl
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.MappedControl
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.MappedControl
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.MappedControl
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.MappedControl
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.MappedControl
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.MappedControl
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.MappedControl
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.MappedControl
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.MappedControl
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.MappedControl
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.MappedControl
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.MappedControl
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.MappedControl
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.MappedControl
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.MappedControl
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.MappedControl
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.MappedControl
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.MappedControl
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.MappedControl
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.MappedControl
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.MappedControl
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.MappedControl
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.MappedControl
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 MappedControl queries.
func ByBlockedGroups ¶ added in v0.16.0
func ByBlockedGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByBlockedGroups orders the results by blocked_groups terms.
func ByBlockedGroupsCount ¶ added in v0.16.0
func ByBlockedGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByBlockedGroupsCount orders the results by blocked_groups count.
func ByConfidence ¶ added in v0.16.0
func ByConfidence(opts ...sql.OrderTermOption) OrderOption
ByConfidence orders the results by the confidence 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 ByEditors ¶ added in v0.16.0
func ByEditors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEditors orders the results by editors terms.
func ByEditorsCount ¶ added in v0.16.0
func ByEditorsCount(opts ...sql.OrderTermOption) OrderOption
ByEditorsCount orders the results by editors count.
func ByFromControls ¶ added in v0.16.0
func ByFromControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFromControls orders the results by from_controls terms.
func ByFromControlsCount ¶ added in v0.16.0
func ByFromControlsCount(opts ...sql.OrderTermOption) OrderOption
ByFromControlsCount orders the results by from_controls count.
func ByFromSubcontrols ¶ added in v0.16.0
func ByFromSubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFromSubcontrols orders the results by from_subcontrols terms.
func ByFromSubcontrolsCount ¶ added in v0.16.0
func ByFromSubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
ByFromSubcontrolsCount orders the results by from_subcontrols count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByInternalNotes ¶ added in v0.34.0
func ByInternalNotes(opts ...sql.OrderTermOption) OrderOption
ByInternalNotes orders the results by the internal_notes field.
func ByMappingType ¶
func ByMappingType(opts ...sql.OrderTermOption) OrderOption
ByMappingType orders the results by the mapping_type field.
func ByOwnerField ¶ added in v0.16.0
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶ added in v0.16.0
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByRelation ¶
func ByRelation(opts ...sql.OrderTermOption) OrderOption
ByRelation orders the results by the relation field.
func BySource ¶ added in v0.16.0
func BySource(opts ...sql.OrderTermOption) OrderOption
BySource orders the results by the source field.
func BySystemInternalID ¶ added in v0.34.0
func BySystemInternalID(opts ...sql.OrderTermOption) OrderOption
BySystemInternalID orders the results by the system_internal_id field.
func BySystemOwned ¶ added in v0.34.0
func BySystemOwned(opts ...sql.OrderTermOption) OrderOption
BySystemOwned orders the results by the system_owned field.
func ByToControls ¶ added in v0.16.0
func ByToControls(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByToControls orders the results by to_controls terms.
func ByToControlsCount ¶ added in v0.16.0
func ByToControlsCount(opts ...sql.OrderTermOption) OrderOption
ByToControlsCount orders the results by to_controls count.
func ByToSubcontrols ¶ added in v0.16.0
func ByToSubcontrols(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByToSubcontrols orders the results by to_subcontrols terms.
func ByToSubcontrolsCount ¶ added in v0.16.0
func ByToSubcontrolsCount(opts ...sql.OrderTermOption) OrderOption
ByToSubcontrolsCount orders the results by to_subcontrols count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.