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 Enabled(v bool) predicate.Feature
- func EnabledEQ(v bool) predicate.Feature
- func EnabledNEQ(v bool) predicate.Feature
- func Global(v bool) predicate.Feature
- func GlobalEQ(v bool) predicate.Feature
- func GlobalNEQ(v bool) predicate.Feature
- func HasEntitlements() predicate.Feature
- func HasEntitlementsWith(preds ...predicate.Entitlement) predicate.Feature
- func HasEvents() predicate.Feature
- func HasEventsWith(preds ...predicate.Event) predicate.Feature
- func HasGroups() predicate.Feature
- func HasGroupsWith(preds ...predicate.Group) predicate.Feature
- func HasOrganizations() predicate.Feature
- func HasOrganizationsWith(preds ...predicate.Organization) predicate.Feature
- func HasUsers() predicate.Feature
- func HasUsersWith(preds ...predicate.User) 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 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 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 ByEnabled(opts ...sql.OrderTermOption) OrderOption
- func ByEntitlements(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEntitlementsCount(opts ...sql.OrderTermOption) OrderOption
- func ByEvents(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEventsCount(opts ...sql.OrderTermOption) OrderOption
- func ByGlobal(opts ...sql.OrderTermOption) OrderOption
- func ByGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGroupsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOrganizationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUsersCount(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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldGlobal holds the string denoting the global field in the database. FieldGlobal = "global" // 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" // EdgeUsers holds the string denoting the users edge name in mutations. EdgeUsers = "users" // EdgeGroups holds the string denoting the groups edge name in mutations. EdgeGroups = "groups" // EdgeEntitlements holds the string denoting the entitlements edge name in mutations. EdgeEntitlements = "entitlements" // EdgeOrganizations holds the string denoting the organizations edge name in mutations. EdgeOrganizations = "organizations" // EdgeEvents holds the string denoting the events edge name in mutations. EdgeEvents = "events" // Table holds the table name of the feature in the database. Table = "features" // UsersTable is the table that holds the users relation/edge. The primary key declared below. UsersTable = "user_features" // UsersInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. UsersInverseTable = "users" // GroupsTable is the table that holds the groups relation/edge. The primary key declared below. GroupsTable = "group_features" // GroupsInverseTable is the table name for the Group entity. // It exists in this package in order to avoid circular dependency with the "group" package. GroupsInverseTable = "groups" // EntitlementsTable is the table that holds the entitlements relation/edge. The primary key declared below. EntitlementsTable = "entitlement_features" // EntitlementsInverseTable is the table name for the Entitlement entity. // It exists in this package in order to avoid circular dependency with the "entitlement" package. EntitlementsInverseTable = "entitlements" // OrganizationsTable is the table that holds the organizations relation/edge. The primary key declared below. OrganizationsTable = "organization_features" // OrganizationsInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OrganizationsInverseTable = "organizations" // 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" )
Variables ¶
var ( // UsersPrimaryKey and UsersColumn2 are the table columns denoting the // primary key for the users relation (M2M). UsersPrimaryKey = []string{"user_id", "feature_id"} // GroupsPrimaryKey and GroupsColumn2 are the table columns denoting the // primary key for the groups relation (M2M). GroupsPrimaryKey = []string{"group_id", "feature_id"} // EntitlementsPrimaryKey and EntitlementsColumn2 are the table columns denoting the // primary key for the entitlements relation (M2M). EntitlementsPrimaryKey = []string{"entitlement_id", "feature_id"} // OrganizationsPrimaryKey and OrganizationsColumn2 are the table columns denoting the // primary key for the organizations relation (M2M). OrganizationsPrimaryKey = []string{"organization_id", "feature_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 [2]ent.Hook Interceptors [1]ent.Interceptor // 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 // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultGlobal holds the default value on creation for the "global" field. DefaultGlobal bool // 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, FieldName, FieldGlobal, FieldEnabled, FieldDescription, }
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 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 Global ¶
Global applies equality check predicate on the "global" field. It's identical to GlobalEQ.
func HasEntitlements ¶
HasEntitlements applies the HasEdge predicate on the "entitlements" edge.
func HasEntitlementsWith ¶
func HasEntitlementsWith(preds ...predicate.Entitlement) predicate.Feature
HasEntitlementsWith applies the HasEdge predicate on the "entitlements" edge with a given conditions (other predicates).
func HasEventsWith ¶
HasEventsWith applies the HasEdge predicate on the "events" edge with a given conditions (other predicates).
func HasGroupsWith ¶
HasGroupsWith applies the HasEdge predicate on the "groups" edge with a given conditions (other predicates).
func HasOrganizations ¶
HasOrganizations applies the HasEdge predicate on the "organizations" edge.
func HasOrganizationsWith ¶
func HasOrganizationsWith(preds ...predicate.Organization) predicate.Feature
HasOrganizationsWith applies the HasEdge predicate on the "organizations" edge with a given conditions (other predicates).
func HasUsersWith ¶
HasUsersWith applies the HasEdge predicate on the "users" 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 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 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 ByEnabled ¶
func ByEnabled(opts ...sql.OrderTermOption) OrderOption
ByEnabled orders the results by the enabled field.
func ByEntitlements ¶
func ByEntitlements(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEntitlements orders the results by entitlements terms.
func ByEntitlementsCount ¶
func ByEntitlementsCount(opts ...sql.OrderTermOption) OrderOption
ByEntitlementsCount orders the results by entitlements count.
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 ByGlobal ¶
func ByGlobal(opts ...sql.OrderTermOption) OrderOption
ByGlobal orders the results by the global field.
func ByGroups ¶
func ByGroups(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGroups orders the results by groups terms.
func ByGroupsCount ¶
func ByGroupsCount(opts ...sql.OrderTermOption) OrderOption
ByGroupsCount orders the results by groups 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 ByOrganizations ¶
func ByOrganizations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOrganizations orders the results by organizations terms.
func ByOrganizationsCount ¶
func ByOrganizationsCount(opts ...sql.OrderTermOption) OrderOption
ByOrganizationsCount orders the results by organizations 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.
func ByUsers ¶
func ByUsers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUsers orders the results by users terms.
func ByUsersCount ¶
func ByUsersCount(opts ...sql.OrderTermOption) OrderOption
ByUsersCount orders the results by users count.