Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Feature) predicate.Feature
- func CreatedAt(v time.Time) predicate.Feature
- func CreatedAtEQ(v time.Time) predicate.Feature
- func CreatedAtGT(v time.Time) predicate.Feature
- func CreatedAtGTE(v time.Time) predicate.Feature
- func CreatedAtIn(vs ...time.Time) predicate.Feature
- func CreatedAtIsNil() predicate.Feature
- func CreatedAtLT(v time.Time) predicate.Feature
- func CreatedAtLTE(v time.Time) predicate.Feature
- func CreatedAtNEQ(v time.Time) predicate.Feature
- func CreatedAtNotIn(vs ...time.Time) predicate.Feature
- func CreatedAtNotNil() predicate.Feature
- func CreatedBy(v string) predicate.Feature
- func CreatedByContains(v string) predicate.Feature
- func CreatedByContainsFold(v string) predicate.Feature
- func CreatedByEQ(v string) predicate.Feature
- func CreatedByEqualFold(v string) predicate.Feature
- func CreatedByGT(v string) predicate.Feature
- func CreatedByGTE(v string) predicate.Feature
- func CreatedByHasPrefix(v string) predicate.Feature
- func CreatedByHasSuffix(v string) predicate.Feature
- func CreatedByIn(vs ...string) predicate.Feature
- func CreatedByIsNil() predicate.Feature
- func CreatedByLT(v string) predicate.Feature
- func CreatedByLTE(v string) predicate.Feature
- func CreatedByNEQ(v string) predicate.Feature
- func CreatedByNotIn(vs ...string) predicate.Feature
- func CreatedByNotNil() predicate.Feature
- func DeletedAt(v time.Time) predicate.Feature
- func DeletedAtEQ(v time.Time) predicate.Feature
- func DeletedAtGT(v time.Time) predicate.Feature
- func DeletedAtGTE(v time.Time) predicate.Feature
- func DeletedAtIn(vs ...time.Time) predicate.Feature
- func DeletedAtIsNil() predicate.Feature
- func DeletedAtLT(v time.Time) predicate.Feature
- func DeletedAtLTE(v time.Time) predicate.Feature
- func DeletedAtNEQ(v time.Time) predicate.Feature
- func DeletedAtNotIn(vs ...time.Time) predicate.Feature
- func DeletedAtNotNil() predicate.Feature
- func DeletedBy(v string) predicate.Feature
- func DeletedByContains(v string) predicate.Feature
- func DeletedByContainsFold(v string) predicate.Feature
- func DeletedByEQ(v string) predicate.Feature
- func DeletedByEqualFold(v string) predicate.Feature
- func DeletedByGT(v string) predicate.Feature
- func DeletedByGTE(v string) predicate.Feature
- func DeletedByHasPrefix(v string) predicate.Feature
- func DeletedByHasSuffix(v string) predicate.Feature
- func DeletedByIn(vs ...string) predicate.Feature
- func DeletedByIsNil() predicate.Feature
- func DeletedByLT(v string) predicate.Feature
- func DeletedByLTE(v string) predicate.Feature
- func DeletedByNEQ(v string) predicate.Feature
- func DeletedByNotIn(vs ...string) predicate.Feature
- func DeletedByNotNil() predicate.Feature
- func Description(v string) predicate.Feature
- func DescriptionContains(v string) predicate.Feature
- func DescriptionContainsFold(v string) predicate.Feature
- func DescriptionEQ(v string) predicate.Feature
- func DescriptionEqualFold(v string) predicate.Feature
- func DescriptionGT(v string) predicate.Feature
- func DescriptionGTE(v string) predicate.Feature
- func DescriptionHasPrefix(v string) predicate.Feature
- func DescriptionHasSuffix(v string) predicate.Feature
- func DescriptionIn(vs ...string) predicate.Feature
- func DescriptionIsNil() predicate.Feature
- func DescriptionLT(v string) predicate.Feature
- func DescriptionLTE(v string) predicate.Feature
- func DescriptionNEQ(v string) predicate.Feature
- func DescriptionNotIn(vs ...string) predicate.Feature
- func DescriptionNotNil() predicate.Feature
- func DisplayName(v string) predicate.Feature
- func DisplayNameContains(v string) predicate.Feature
- func DisplayNameContainsFold(v string) predicate.Feature
- func DisplayNameEQ(v string) predicate.Feature
- func DisplayNameEqualFold(v string) predicate.Feature
- func DisplayNameGT(v string) predicate.Feature
- func DisplayNameGTE(v string) predicate.Feature
- func DisplayNameHasPrefix(v string) predicate.Feature
- func DisplayNameHasSuffix(v string) predicate.Feature
- func DisplayNameIn(vs ...string) predicate.Feature
- func DisplayNameIsNil() predicate.Feature
- func DisplayNameLT(v string) predicate.Feature
- func DisplayNameLTE(v string) predicate.Feature
- func DisplayNameNEQ(v string) predicate.Feature
- func DisplayNameNotIn(vs ...string) predicate.Feature
- func DisplayNameNotNil() predicate.Feature
- func Enabled(v bool) predicate.Feature
- func EnabledEQ(v bool) predicate.Feature
- func EnabledNEQ(v bool) predicate.Feature
- func HasEvents() predicate.Feature
- func HasEventsWith(preds ...predicate.Event) predicate.Feature
- func HasFeatures() predicate.Feature
- func HasFeaturesWith(preds ...predicate.EntitlementPlanFeature) predicate.Feature
- func HasOwner() predicate.Feature
- func HasOwnerWith(preds ...predicate.Organization) predicate.Feature
- func HasPlans() predicate.Feature
- func HasPlansWith(preds ...predicate.EntitlementPlan) predicate.Feature
- func ID(id string) predicate.Feature
- func IDContainsFold(id string) predicate.Feature
- func IDEQ(id string) predicate.Feature
- func IDEqualFold(id string) predicate.Feature
- func IDGT(id string) predicate.Feature
- func IDGTE(id string) predicate.Feature
- func IDIn(ids ...string) predicate.Feature
- func IDLT(id string) predicate.Feature
- func IDLTE(id string) predicate.Feature
- func IDNEQ(id string) predicate.Feature
- func IDNotIn(ids ...string) predicate.Feature
- func MappingID(v string) predicate.Feature
- func MappingIDContains(v string) predicate.Feature
- func MappingIDContainsFold(v string) predicate.Feature
- func MappingIDEQ(v string) predicate.Feature
- func MappingIDEqualFold(v string) predicate.Feature
- func MappingIDGT(v string) predicate.Feature
- func MappingIDGTE(v string) predicate.Feature
- func MappingIDHasPrefix(v string) predicate.Feature
- func MappingIDHasSuffix(v string) predicate.Feature
- func MappingIDIn(vs ...string) predicate.Feature
- func MappingIDLT(v string) predicate.Feature
- func MappingIDLTE(v string) predicate.Feature
- func MappingIDNEQ(v string) predicate.Feature
- func MappingIDNotIn(vs ...string) predicate.Feature
- func MetadataIsNil() predicate.Feature
- func MetadataNotNil() predicate.Feature
- func Name(v string) predicate.Feature
- func NameContains(v string) predicate.Feature
- func NameContainsFold(v string) predicate.Feature
- func NameEQ(v string) predicate.Feature
- func NameEqualFold(v string) predicate.Feature
- func NameGT(v string) predicate.Feature
- func NameGTE(v string) predicate.Feature
- func NameHasPrefix(v string) predicate.Feature
- func NameHasSuffix(v string) predicate.Feature
- func NameIn(vs ...string) predicate.Feature
- func NameLT(v string) predicate.Feature
- func NameLTE(v string) predicate.Feature
- func NameNEQ(v string) predicate.Feature
- func NameNotIn(vs ...string) predicate.Feature
- func Not(p predicate.Feature) predicate.Feature
- func Or(predicates ...predicate.Feature) predicate.Feature
- func OwnerID(v string) predicate.Feature
- func OwnerIDContains(v string) predicate.Feature
- func OwnerIDContainsFold(v string) predicate.Feature
- func OwnerIDEQ(v string) predicate.Feature
- func OwnerIDEqualFold(v string) predicate.Feature
- func OwnerIDGT(v string) predicate.Feature
- func OwnerIDGTE(v string) predicate.Feature
- func OwnerIDHasPrefix(v string) predicate.Feature
- func OwnerIDHasSuffix(v string) predicate.Feature
- func OwnerIDIn(vs ...string) predicate.Feature
- func OwnerIDIsNil() predicate.Feature
- func OwnerIDLT(v string) predicate.Feature
- func OwnerIDLTE(v string) predicate.Feature
- func OwnerIDNEQ(v string) predicate.Feature
- func OwnerIDNotIn(vs ...string) predicate.Feature
- func OwnerIDNotNil() predicate.Feature
- func TagsIsNil() predicate.Feature
- func TagsNotNil() predicate.Feature
- func UpdatedAt(v time.Time) predicate.Feature
- func UpdatedAtEQ(v time.Time) predicate.Feature
- func UpdatedAtGT(v time.Time) predicate.Feature
- func UpdatedAtGTE(v time.Time) predicate.Feature
- func UpdatedAtIn(vs ...time.Time) predicate.Feature
- func UpdatedAtIsNil() predicate.Feature
- func UpdatedAtLT(v time.Time) predicate.Feature
- func UpdatedAtLTE(v time.Time) predicate.Feature
- func UpdatedAtNEQ(v time.Time) predicate.Feature
- func UpdatedAtNotIn(vs ...time.Time) predicate.Feature
- func UpdatedAtNotNil() predicate.Feature
- func UpdatedBy(v string) predicate.Feature
- func UpdatedByContains(v string) predicate.Feature
- func UpdatedByContainsFold(v string) predicate.Feature
- func UpdatedByEQ(v string) predicate.Feature
- func UpdatedByEqualFold(v string) predicate.Feature
- func UpdatedByGT(v string) predicate.Feature
- func UpdatedByGTE(v string) predicate.Feature
- func UpdatedByHasPrefix(v string) predicate.Feature
- func UpdatedByHasSuffix(v string) predicate.Feature
- func UpdatedByIn(vs ...string) predicate.Feature
- func UpdatedByIsNil() predicate.Feature
- func UpdatedByLT(v string) predicate.Feature
- func UpdatedByLTE(v string) predicate.Feature
- func UpdatedByNEQ(v string) predicate.Feature
- func UpdatedByNotIn(vs ...string) predicate.Feature
- func UpdatedByNotNil() predicate.Feature
- func ValidColumn(column string) bool
- type 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 ByDisplayName(opts ...sql.OrderTermOption) OrderOption
- func ByEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByFeatures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFeaturesCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByPlans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByPlansCount(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 feature type in the database. Label = "feature" // 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" // 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" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDisplayName holds the string denoting the display_name field in the database. FieldDisplayName = "display_name" // FieldEnabled holds the string denoting the enabled field in the database. FieldEnabled = "enabled" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgePlans holds the string denoting the plans edge name in mutations. EdgePlans = "plans" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // EdgeFeatures holds the string denoting the features edge name in mutations. EdgeFeatures = "features" // Table holds the table name of the feature in the database. Table = "features" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "features" // 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" // PlansTable is the table that holds the plans relation/edge. The primary key declared below. PlansTable = "entitlement_plan_features" // PlansInverseTable is the table name for the EntitlementPlan entity. // It exists in this package in order to avoid circular dependency with the "entitlementplan" package. PlansInverseTable = "entitlement_plans" // EventsTable is the table that holds the events relation/edge. The primary key declared below. EventsTable = "feature_events" // EventsInverseTable is the table name for the Event entity. // It exists in this package in order to avoid circular dependency with the "event" package. EventsInverseTable = "events" // FeaturesTable is the table that holds the features relation/edge. FeaturesTable = "entitlement_plan_features" // FeaturesInverseTable is the table name for the EntitlementPlanFeature entity. // It exists in this package in order to avoid circular dependency with the "entitlementplanfeature" package. FeaturesInverseTable = "entitlement_plan_features" // FeaturesColumn is the table column denoting the features relation/edge. FeaturesColumn = "feature_id" )
Variables ¶
var ( // PlansPrimaryKey and PlansColumn2 are the table columns denoting the // primary key for the plans relation (M2M). PlansPrimaryKey = []string{"feature_id", "plan_id"} // EventsPrimaryKey and EventsColumn2 are the table columns denoting the // primary key for the events relation (M2M). EventsPrimaryKey = []string{"feature_id", "event_id"} )
var ( Hooks [5]ent.Hook Interceptors [2]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 // 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 // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultEnabled holds the default value on creation for the "enabled" field. DefaultEnabled bool // 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/datumforge/datum/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldMappingID, FieldTags, FieldOwnerID, FieldName, FieldDisplayName, FieldEnabled, FieldDescription, FieldMetadata, }
Columns holds all SQL columns for feature fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func DisplayName ¶ added in v0.7.0
DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.
func DisplayNameContains ¶ added in v0.7.0
DisplayNameContains applies the Contains predicate on the "display_name" field.
func DisplayNameContainsFold ¶ added in v0.7.0
DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.
func DisplayNameEQ ¶ added in v0.7.0
DisplayNameEQ applies the EQ predicate on the "display_name" field.
func DisplayNameEqualFold ¶ added in v0.7.0
DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.
func DisplayNameGT ¶ added in v0.7.0
DisplayNameGT applies the GT predicate on the "display_name" field.
func DisplayNameGTE ¶ added in v0.7.0
DisplayNameGTE applies the GTE predicate on the "display_name" field.
func DisplayNameHasPrefix ¶ added in v0.7.0
DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.
func DisplayNameHasSuffix ¶ added in v0.7.0
DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.
func DisplayNameIn ¶ added in v0.7.0
DisplayNameIn applies the In predicate on the "display_name" field.
func DisplayNameIsNil ¶ added in v0.7.0
DisplayNameIsNil applies the IsNil predicate on the "display_name" field.
func DisplayNameLT ¶ added in v0.7.0
DisplayNameLT applies the LT predicate on the "display_name" field.
func DisplayNameLTE ¶ added in v0.7.0
DisplayNameLTE applies the LTE predicate on the "display_name" field.
func DisplayNameNEQ ¶ added in v0.7.0
DisplayNameNEQ applies the NEQ predicate on the "display_name" field.
func DisplayNameNotIn ¶ added in v0.7.0
DisplayNameNotIn applies the NotIn predicate on the "display_name" field.
func DisplayNameNotNil ¶ added in v0.7.0
DisplayNameNotNil applies the NotNil predicate on the "display_name" field.
func Enabled ¶
Enabled applies equality check predicate on the "enabled" field. It's identical to EnabledEQ.
func EnabledNEQ ¶
EnabledNEQ applies the NEQ predicate on the "enabled" field.
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasFeatures ¶ added in v0.7.0
HasFeatures applies the HasEdge predicate on the "features" edge.
func HasFeaturesWith ¶ added in v0.7.0
func HasFeaturesWith(preds ...predicate.EntitlementPlanFeature) predicate.Feature
HasFeaturesWith applies the HasEdge predicate on the "features" edge with a given conditions (other predicates).
func HasOwnerWith ¶ added in v0.7.0
func HasOwnerWith(preds ...predicate.Organization) predicate.Feature
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func HasPlansWith ¶ added in v0.7.0
func HasPlansWith(preds ...predicate.EntitlementPlan) predicate.Feature
HasPlansWith applies the HasEdge predicate on the "plans" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func MappingID ¶
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func MetadataIsNil ¶ added in v0.7.0
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶ added in v0.7.0
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func OwnerID ¶ added in v0.7.0
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶ added in v0.7.0
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶ added in v0.7.0
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶ added in v0.7.0
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶ added in v0.7.0
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶ added in v0.7.0
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶ added in v0.7.0
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶ added in v0.7.0
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶ added in v0.7.0
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶ added in v0.7.0
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶ added in v0.7.0
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶ added in v0.7.0
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func TagsNotNil ¶ added in v0.5.2
TagsNotNil applies the NotNil predicate on the "tags" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
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 Feature queries.
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 ByDisplayName ¶ added in v0.7.0
func ByDisplayName(opts ...sql.OrderTermOption) OrderOption
ByDisplayName orders the results by the display_name field.
func ByEnabled ¶
func ByEnabled(opts ...sql.OrderTermOption) OrderOption
ByEnabled orders the results by the enabled field.
func ByEvents ¶
func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEvents orders the results by events terms.
func ByEventsCount ¶
func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
ByEventsCount orders the results by events count.
func ByFeatures ¶ added in v0.7.0
func ByFeatures(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFeatures orders the results by features terms.
func ByFeaturesCount ¶ added in v0.7.0
func ByFeaturesCount(opts ...sql.OrderTermOption) OrderOption
ByFeaturesCount orders the results by features count.
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 ByOwnerField ¶ added in v0.7.0
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶ added in v0.7.0
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByPlans ¶ added in v0.7.0
func ByPlans(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByPlans orders the results by plans terms.
func ByPlansCount ¶ added in v0.7.0
func ByPlansCount(opts ...sql.OrderTermOption) OrderOption
ByPlansCount orders the results by plans 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.