Documentation
¶
Index ¶
- Constants
- Variables
- func Active(v bool) predicate.OrgModule
- func ActiveEQ(v bool) predicate.OrgModule
- func ActiveNEQ(v bool) predicate.OrgModule
- func And(predicates ...predicate.OrgModule) predicate.OrgModule
- func CreatedAt(v time.Time) predicate.OrgModule
- func CreatedAtEQ(v time.Time) predicate.OrgModule
- func CreatedAtGT(v time.Time) predicate.OrgModule
- func CreatedAtGTE(v time.Time) predicate.OrgModule
- func CreatedAtIn(vs ...time.Time) predicate.OrgModule
- func CreatedAtIsNil() predicate.OrgModule
- func CreatedAtLT(v time.Time) predicate.OrgModule
- func CreatedAtLTE(v time.Time) predicate.OrgModule
- func CreatedAtNEQ(v time.Time) predicate.OrgModule
- func CreatedAtNotIn(vs ...time.Time) predicate.OrgModule
- func CreatedAtNotNil() predicate.OrgModule
- func CreatedBy(v string) predicate.OrgModule
- func CreatedByContains(v string) predicate.OrgModule
- func CreatedByContainsFold(v string) predicate.OrgModule
- func CreatedByEQ(v string) predicate.OrgModule
- func CreatedByEqualFold(v string) predicate.OrgModule
- func CreatedByGT(v string) predicate.OrgModule
- func CreatedByGTE(v string) predicate.OrgModule
- func CreatedByHasPrefix(v string) predicate.OrgModule
- func CreatedByHasSuffix(v string) predicate.OrgModule
- func CreatedByIn(vs ...string) predicate.OrgModule
- func CreatedByIsNil() predicate.OrgModule
- func CreatedByLT(v string) predicate.OrgModule
- func CreatedByLTE(v string) predicate.OrgModule
- func CreatedByNEQ(v string) predicate.OrgModule
- func CreatedByNotIn(vs ...string) predicate.OrgModule
- func CreatedByNotNil() predicate.OrgModule
- func DeletedAt(v time.Time) predicate.OrgModule
- func DeletedAtEQ(v time.Time) predicate.OrgModule
- func DeletedAtGT(v time.Time) predicate.OrgModule
- func DeletedAtGTE(v time.Time) predicate.OrgModule
- func DeletedAtIn(vs ...time.Time) predicate.OrgModule
- func DeletedAtIsNil() predicate.OrgModule
- func DeletedAtLT(v time.Time) predicate.OrgModule
- func DeletedAtLTE(v time.Time) predicate.OrgModule
- func DeletedAtNEQ(v time.Time) predicate.OrgModule
- func DeletedAtNotIn(vs ...time.Time) predicate.OrgModule
- func DeletedAtNotNil() predicate.OrgModule
- func DeletedBy(v string) predicate.OrgModule
- func DeletedByContains(v string) predicate.OrgModule
- func DeletedByContainsFold(v string) predicate.OrgModule
- func DeletedByEQ(v string) predicate.OrgModule
- func DeletedByEqualFold(v string) predicate.OrgModule
- func DeletedByGT(v string) predicate.OrgModule
- func DeletedByGTE(v string) predicate.OrgModule
- func DeletedByHasPrefix(v string) predicate.OrgModule
- func DeletedByHasSuffix(v string) predicate.OrgModule
- func DeletedByIn(vs ...string) predicate.OrgModule
- func DeletedByIsNil() predicate.OrgModule
- func DeletedByLT(v string) predicate.OrgModule
- func DeletedByLTE(v string) predicate.OrgModule
- func DeletedByNEQ(v string) predicate.OrgModule
- func DeletedByNotIn(vs ...string) predicate.OrgModule
- func DeletedByNotNil() predicate.OrgModule
- func HasOrgPrices() predicate.OrgModule
- func HasOrgPricesWith(preds ...predicate.OrgPrice) predicate.OrgModule
- func HasOrgProducts() predicate.OrgModule
- func HasOrgProductsWith(preds ...predicate.OrgProduct) predicate.OrgModule
- func HasOrgSubscription() predicate.OrgModule
- func HasOrgSubscriptionWith(preds ...predicate.OrgSubscription) predicate.OrgModule
- func HasOwner() predicate.OrgModule
- func HasOwnerWith(preds ...predicate.Organization) predicate.OrgModule
- func ID(id string) predicate.OrgModule
- func IDContainsFold(id string) predicate.OrgModule
- func IDEQ(id string) predicate.OrgModule
- func IDEqualFold(id string) predicate.OrgModule
- func IDGT(id string) predicate.OrgModule
- func IDGTE(id string) predicate.OrgModule
- func IDIn(ids ...string) predicate.OrgModule
- func IDLT(id string) predicate.OrgModule
- func IDLTE(id string) predicate.OrgModule
- func IDNEQ(id string) predicate.OrgModule
- func IDNotIn(ids ...string) predicate.OrgModule
- func Module(v models.OrgModule) predicate.OrgModule
- func ModuleContains(v models.OrgModule) predicate.OrgModule
- func ModuleContainsFold(v models.OrgModule) predicate.OrgModule
- func ModuleEQ(v models.OrgModule) predicate.OrgModule
- func ModuleEqualFold(v models.OrgModule) predicate.OrgModule
- func ModuleGT(v models.OrgModule) predicate.OrgModule
- func ModuleGTE(v models.OrgModule) predicate.OrgModule
- func ModuleHasPrefix(v models.OrgModule) predicate.OrgModule
- func ModuleHasSuffix(v models.OrgModule) predicate.OrgModule
- func ModuleIn(vs ...models.OrgModule) predicate.OrgModule
- func ModuleLT(v models.OrgModule) predicate.OrgModule
- func ModuleLTE(v models.OrgModule) predicate.OrgModule
- func ModuleLookupKey(v string) predicate.OrgModule
- func ModuleLookupKeyContains(v string) predicate.OrgModule
- func ModuleLookupKeyContainsFold(v string) predicate.OrgModule
- func ModuleLookupKeyEQ(v string) predicate.OrgModule
- func ModuleLookupKeyEqualFold(v string) predicate.OrgModule
- func ModuleLookupKeyGT(v string) predicate.OrgModule
- func ModuleLookupKeyGTE(v string) predicate.OrgModule
- func ModuleLookupKeyHasPrefix(v string) predicate.OrgModule
- func ModuleLookupKeyHasSuffix(v string) predicate.OrgModule
- func ModuleLookupKeyIn(vs ...string) predicate.OrgModule
- func ModuleLookupKeyIsNil() predicate.OrgModule
- func ModuleLookupKeyLT(v string) predicate.OrgModule
- func ModuleLookupKeyLTE(v string) predicate.OrgModule
- func ModuleLookupKeyNEQ(v string) predicate.OrgModule
- func ModuleLookupKeyNotIn(vs ...string) predicate.OrgModule
- func ModuleLookupKeyNotNil() predicate.OrgModule
- func ModuleNEQ(v models.OrgModule) predicate.OrgModule
- func ModuleNotIn(vs ...models.OrgModule) predicate.OrgModule
- func Not(p predicate.OrgModule) predicate.OrgModule
- func Or(predicates ...predicate.OrgModule) predicate.OrgModule
- func OwnerID(v string) predicate.OrgModule
- func OwnerIDContains(v string) predicate.OrgModule
- func OwnerIDContainsFold(v string) predicate.OrgModule
- func OwnerIDEQ(v string) predicate.OrgModule
- func OwnerIDEqualFold(v string) predicate.OrgModule
- func OwnerIDGT(v string) predicate.OrgModule
- func OwnerIDGTE(v string) predicate.OrgModule
- func OwnerIDHasPrefix(v string) predicate.OrgModule
- func OwnerIDHasSuffix(v string) predicate.OrgModule
- func OwnerIDIn(vs ...string) predicate.OrgModule
- func OwnerIDIsNil() predicate.OrgModule
- func OwnerIDLT(v string) predicate.OrgModule
- func OwnerIDLTE(v string) predicate.OrgModule
- func OwnerIDNEQ(v string) predicate.OrgModule
- func OwnerIDNotIn(vs ...string) predicate.OrgModule
- func OwnerIDNotNil() predicate.OrgModule
- func PriceID(v string) predicate.OrgModule
- func PriceIDContains(v string) predicate.OrgModule
- func PriceIDContainsFold(v string) predicate.OrgModule
- func PriceIDEQ(v string) predicate.OrgModule
- func PriceIDEqualFold(v string) predicate.OrgModule
- func PriceIDGT(v string) predicate.OrgModule
- func PriceIDGTE(v string) predicate.OrgModule
- func PriceIDHasPrefix(v string) predicate.OrgModule
- func PriceIDHasSuffix(v string) predicate.OrgModule
- func PriceIDIn(vs ...string) predicate.OrgModule
- func PriceIDIsNil() predicate.OrgModule
- func PriceIDLT(v string) predicate.OrgModule
- func PriceIDLTE(v string) predicate.OrgModule
- func PriceIDNEQ(v string) predicate.OrgModule
- func PriceIDNotIn(vs ...string) predicate.OrgModule
- func PriceIDNotNil() predicate.OrgModule
- func PriceIsNil() predicate.OrgModule
- func PriceNotNil() predicate.OrgModule
- func Status(v string) predicate.OrgModule
- func StatusContains(v string) predicate.OrgModule
- func StatusContainsFold(v string) predicate.OrgModule
- func StatusEQ(v string) predicate.OrgModule
- func StatusEqualFold(v string) predicate.OrgModule
- func StatusGT(v string) predicate.OrgModule
- func StatusGTE(v string) predicate.OrgModule
- func StatusHasPrefix(v string) predicate.OrgModule
- func StatusHasSuffix(v string) predicate.OrgModule
- func StatusIn(vs ...string) predicate.OrgModule
- func StatusIsNil() predicate.OrgModule
- func StatusLT(v string) predicate.OrgModule
- func StatusLTE(v string) predicate.OrgModule
- func StatusNEQ(v string) predicate.OrgModule
- func StatusNotIn(vs ...string) predicate.OrgModule
- func StatusNotNil() predicate.OrgModule
- func StripePriceID(v string) predicate.OrgModule
- func StripePriceIDContains(v string) predicate.OrgModule
- func StripePriceIDContainsFold(v string) predicate.OrgModule
- func StripePriceIDEQ(v string) predicate.OrgModule
- func StripePriceIDEqualFold(v string) predicate.OrgModule
- func StripePriceIDGT(v string) predicate.OrgModule
- func StripePriceIDGTE(v string) predicate.OrgModule
- func StripePriceIDHasPrefix(v string) predicate.OrgModule
- func StripePriceIDHasSuffix(v string) predicate.OrgModule
- func StripePriceIDIn(vs ...string) predicate.OrgModule
- func StripePriceIDIsNil() predicate.OrgModule
- func StripePriceIDLT(v string) predicate.OrgModule
- func StripePriceIDLTE(v string) predicate.OrgModule
- func StripePriceIDNEQ(v string) predicate.OrgModule
- func StripePriceIDNotIn(vs ...string) predicate.OrgModule
- func StripePriceIDNotNil() predicate.OrgModule
- func SubscriptionID(v string) predicate.OrgModule
- func SubscriptionIDContains(v string) predicate.OrgModule
- func SubscriptionIDContainsFold(v string) predicate.OrgModule
- func SubscriptionIDEQ(v string) predicate.OrgModule
- func SubscriptionIDEqualFold(v string) predicate.OrgModule
- func SubscriptionIDGT(v string) predicate.OrgModule
- func SubscriptionIDGTE(v string) predicate.OrgModule
- func SubscriptionIDHasPrefix(v string) predicate.OrgModule
- func SubscriptionIDHasSuffix(v string) predicate.OrgModule
- func SubscriptionIDIn(vs ...string) predicate.OrgModule
- func SubscriptionIDIsNil() predicate.OrgModule
- func SubscriptionIDLT(v string) predicate.OrgModule
- func SubscriptionIDLTE(v string) predicate.OrgModule
- func SubscriptionIDNEQ(v string) predicate.OrgModule
- func SubscriptionIDNotIn(vs ...string) predicate.OrgModule
- func SubscriptionIDNotNil() predicate.OrgModule
- func TagsIsNil() predicate.OrgModule
- func TagsNotNil() predicate.OrgModule
- func UpdatedAt(v time.Time) predicate.OrgModule
- func UpdatedAtEQ(v time.Time) predicate.OrgModule
- func UpdatedAtGT(v time.Time) predicate.OrgModule
- func UpdatedAtGTE(v time.Time) predicate.OrgModule
- func UpdatedAtIn(vs ...time.Time) predicate.OrgModule
- func UpdatedAtIsNil() predicate.OrgModule
- func UpdatedAtLT(v time.Time) predicate.OrgModule
- func UpdatedAtLTE(v time.Time) predicate.OrgModule
- func UpdatedAtNEQ(v time.Time) predicate.OrgModule
- func UpdatedAtNotIn(vs ...time.Time) predicate.OrgModule
- func UpdatedAtNotNil() predicate.OrgModule
- func UpdatedBy(v string) predicate.OrgModule
- func UpdatedByContains(v string) predicate.OrgModule
- func UpdatedByContainsFold(v string) predicate.OrgModule
- func UpdatedByEQ(v string) predicate.OrgModule
- func UpdatedByEqualFold(v string) predicate.OrgModule
- func UpdatedByGT(v string) predicate.OrgModule
- func UpdatedByGTE(v string) predicate.OrgModule
- func UpdatedByHasPrefix(v string) predicate.OrgModule
- func UpdatedByHasSuffix(v string) predicate.OrgModule
- func UpdatedByIn(vs ...string) predicate.OrgModule
- func UpdatedByIsNil() predicate.OrgModule
- func UpdatedByLT(v string) predicate.OrgModule
- func UpdatedByLTE(v string) predicate.OrgModule
- func UpdatedByNEQ(v string) predicate.OrgModule
- func UpdatedByNotIn(vs ...string) predicate.OrgModule
- func UpdatedByNotNil() predicate.OrgModule
- func ValidColumn(column string) bool
- func Visibility(v string) predicate.OrgModule
- func VisibilityContains(v string) predicate.OrgModule
- func VisibilityContainsFold(v string) predicate.OrgModule
- func VisibilityEQ(v string) predicate.OrgModule
- func VisibilityEqualFold(v string) predicate.OrgModule
- func VisibilityGT(v string) predicate.OrgModule
- func VisibilityGTE(v string) predicate.OrgModule
- func VisibilityHasPrefix(v string) predicate.OrgModule
- func VisibilityHasSuffix(v string) predicate.OrgModule
- func VisibilityIn(vs ...string) predicate.OrgModule
- func VisibilityIsNil() predicate.OrgModule
- func VisibilityLT(v string) predicate.OrgModule
- func VisibilityLTE(v string) predicate.OrgModule
- func VisibilityNEQ(v string) predicate.OrgModule
- func VisibilityNotIn(vs ...string) predicate.OrgModule
- func VisibilityNotNil() predicate.OrgModule
- type OrderOption
- func ByActive(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 ByID(opts ...sql.OrderTermOption) OrderOption
- func ByModule(opts ...sql.OrderTermOption) OrderOption
- func ByModuleLookupKey(opts ...sql.OrderTermOption) OrderOption
- func ByOrgPrices(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOrgPricesCount(opts ...sql.OrderTermOption) OrderOption
- func ByOrgProducts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByOrgProductsCount(opts ...sql.OrderTermOption) OrderOption
- func ByOrgSubscriptionField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByPriceID(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByStripePriceID(opts ...sql.OrderTermOption) OrderOption
- func BySubscriptionID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByVisibility(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the orgmodule type in the database. Label = "org_module" // 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" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldModule holds the string denoting the module field in the database. FieldModule = "module" // FieldPrice holds the string denoting the price field in the database. FieldPrice = "price" // FieldStripePriceID holds the string denoting the stripe_price_id field in the database. FieldStripePriceID = "stripe_price_id" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // FieldVisibility holds the string denoting the visibility field in the database. FieldVisibility = "visibility" // FieldActive holds the string denoting the active field in the database. FieldActive = "active" // FieldModuleLookupKey holds the string denoting the module_lookup_key field in the database. FieldModuleLookupKey = "module_lookup_key" // FieldSubscriptionID holds the string denoting the subscription_id field in the database. FieldSubscriptionID = "subscription_id" // FieldPriceID holds the string denoting the price_id field in the database. FieldPriceID = "price_id" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeOrgSubscription holds the string denoting the org_subscription edge name in mutations. EdgeOrgSubscription = "org_subscription" // EdgeOrgProducts holds the string denoting the org_products edge name in mutations. EdgeOrgProducts = "org_products" // EdgeOrgPrices holds the string denoting the org_prices edge name in mutations. EdgeOrgPrices = "org_prices" // Table holds the table name of the orgmodule in the database. Table = "org_modules" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "org_modules" // 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" // OrgSubscriptionTable is the table that holds the org_subscription relation/edge. OrgSubscriptionTable = "org_modules" // OrgSubscriptionInverseTable is the table name for the OrgSubscription entity. // It exists in this package in order to avoid circular dependency with the "orgsubscription" package. OrgSubscriptionInverseTable = "org_subscriptions" // OrgSubscriptionColumn is the table column denoting the org_subscription relation/edge. OrgSubscriptionColumn = "subscription_id" // OrgProductsTable is the table that holds the org_products relation/edge. OrgProductsTable = "org_products" // OrgProductsInverseTable is the table name for the OrgProduct entity. // It exists in this package in order to avoid circular dependency with the "orgproduct" package. OrgProductsInverseTable = "org_products" // OrgProductsColumn is the table column denoting the org_products relation/edge. OrgProductsColumn = "org_module_org_products" // OrgPricesTable is the table that holds the org_prices relation/edge. The primary key declared below. OrgPricesTable = "org_module_org_prices" // OrgPricesInverseTable is the table name for the OrgPrice entity. // It exists in this package in order to avoid circular dependency with the "orgprice" package. OrgPricesInverseTable = "org_prices" )
Variables ¶
var ( Hooks [7]ent.Hook Interceptors [3]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 // 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 // ModuleValidator is a validator for the "module" field. It is called by the builders before save. ModuleValidator func(string) error // DefaultActive holds the default value on creation for the "active" field. DefaultActive 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/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldDeletedAt, FieldDeletedBy, FieldTags, FieldOwnerID, FieldModule, FieldPrice, FieldStripePriceID, FieldStatus, FieldVisibility, FieldActive, FieldModuleLookupKey, FieldSubscriptionID, FieldPriceID, }
Columns holds all SQL columns for orgmodule fields.
var ForeignKeys = []string{
"org_product_org_modules",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "org_modules" table and are not defined as standalone fields in the schema.
var ( // OrgPricesPrimaryKey and OrgPricesColumn2 are the table columns denoting the // primary key for the org_prices relation (M2M). OrgPricesPrimaryKey = []string{"org_module_id", "org_price_id"} )
Functions ¶
func Active ¶
Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.
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 HasOrgPrices ¶ added in v0.19.0
HasOrgPrices applies the HasEdge predicate on the "org_prices" edge.
func HasOrgPricesWith ¶ added in v0.19.0
HasOrgPricesWith applies the HasEdge predicate on the "org_prices" edge with a given conditions (other predicates).
func HasOrgProducts ¶ added in v0.19.0
HasOrgProducts applies the HasEdge predicate on the "org_products" edge.
func HasOrgProductsWith ¶ added in v0.19.0
func HasOrgProductsWith(preds ...predicate.OrgProduct) predicate.OrgModule
HasOrgProductsWith applies the HasEdge predicate on the "org_products" edge with a given conditions (other predicates).
func HasOrgSubscription ¶
HasOrgSubscription applies the HasEdge predicate on the "org_subscription" edge.
func HasOrgSubscriptionWith ¶
func HasOrgSubscriptionWith(preds ...predicate.OrgSubscription) predicate.OrgModule
HasOrgSubscriptionWith applies the HasEdge predicate on the "org_subscription" edge with a given conditions (other predicates).
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.OrgModule
HasOwnerWith applies the HasEdge predicate on the "owner" 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 Module ¶
Module applies equality check predicate on the "module" field. It's identical to ModuleEQ.
func ModuleContains ¶
ModuleContains applies the Contains predicate on the "module" field.
func ModuleContainsFold ¶
ModuleContainsFold applies the ContainsFold predicate on the "module" field.
func ModuleEqualFold ¶
ModuleEqualFold applies the EqualFold predicate on the "module" field.
func ModuleHasPrefix ¶
ModuleHasPrefix applies the HasPrefix predicate on the "module" field.
func ModuleHasSuffix ¶
ModuleHasSuffix applies the HasSuffix predicate on the "module" field.
func ModuleLookupKey ¶ added in v0.19.0
ModuleLookupKey applies equality check predicate on the "module_lookup_key" field. It's identical to ModuleLookupKeyEQ.
func ModuleLookupKeyContains ¶ added in v0.19.0
ModuleLookupKeyContains applies the Contains predicate on the "module_lookup_key" field.
func ModuleLookupKeyContainsFold ¶ added in v0.19.0
ModuleLookupKeyContainsFold applies the ContainsFold predicate on the "module_lookup_key" field.
func ModuleLookupKeyEQ ¶ added in v0.19.0
ModuleLookupKeyEQ applies the EQ predicate on the "module_lookup_key" field.
func ModuleLookupKeyEqualFold ¶ added in v0.19.0
ModuleLookupKeyEqualFold applies the EqualFold predicate on the "module_lookup_key" field.
func ModuleLookupKeyGT ¶ added in v0.19.0
ModuleLookupKeyGT applies the GT predicate on the "module_lookup_key" field.
func ModuleLookupKeyGTE ¶ added in v0.19.0
ModuleLookupKeyGTE applies the GTE predicate on the "module_lookup_key" field.
func ModuleLookupKeyHasPrefix ¶ added in v0.19.0
ModuleLookupKeyHasPrefix applies the HasPrefix predicate on the "module_lookup_key" field.
func ModuleLookupKeyHasSuffix ¶ added in v0.19.0
ModuleLookupKeyHasSuffix applies the HasSuffix predicate on the "module_lookup_key" field.
func ModuleLookupKeyIn ¶ added in v0.19.0
ModuleLookupKeyIn applies the In predicate on the "module_lookup_key" field.
func ModuleLookupKeyIsNil ¶ added in v0.19.0
ModuleLookupKeyIsNil applies the IsNil predicate on the "module_lookup_key" field.
func ModuleLookupKeyLT ¶ added in v0.19.0
ModuleLookupKeyLT applies the LT predicate on the "module_lookup_key" field.
func ModuleLookupKeyLTE ¶ added in v0.19.0
ModuleLookupKeyLTE applies the LTE predicate on the "module_lookup_key" field.
func ModuleLookupKeyNEQ ¶ added in v0.19.0
ModuleLookupKeyNEQ applies the NEQ predicate on the "module_lookup_key" field.
func ModuleLookupKeyNotIn ¶ added in v0.19.0
ModuleLookupKeyNotIn applies the NotIn predicate on the "module_lookup_key" field.
func ModuleLookupKeyNotNil ¶ added in v0.19.0
ModuleLookupKeyNotNil applies the NotNil predicate on the "module_lookup_key" field.
func ModuleNotIn ¶
ModuleNotIn applies the NotIn predicate on the "module" field.
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func PriceID ¶ added in v0.19.0
PriceID applies equality check predicate on the "price_id" field. It's identical to PriceIDEQ.
func PriceIDContains ¶ added in v0.19.0
PriceIDContains applies the Contains predicate on the "price_id" field.
func PriceIDContainsFold ¶ added in v0.19.0
PriceIDContainsFold applies the ContainsFold predicate on the "price_id" field.
func PriceIDEqualFold ¶ added in v0.19.0
PriceIDEqualFold applies the EqualFold predicate on the "price_id" field.
func PriceIDGTE ¶ added in v0.19.0
PriceIDGTE applies the GTE predicate on the "price_id" field.
func PriceIDHasPrefix ¶ added in v0.19.0
PriceIDHasPrefix applies the HasPrefix predicate on the "price_id" field.
func PriceIDHasSuffix ¶ added in v0.19.0
PriceIDHasSuffix applies the HasSuffix predicate on the "price_id" field.
func PriceIDIsNil ¶ added in v0.19.0
PriceIDIsNil applies the IsNil predicate on the "price_id" field.
func PriceIDLTE ¶ added in v0.19.0
PriceIDLTE applies the LTE predicate on the "price_id" field.
func PriceIDNEQ ¶ added in v0.19.0
PriceIDNEQ applies the NEQ predicate on the "price_id" field.
func PriceIDNotIn ¶ added in v0.19.0
PriceIDNotIn applies the NotIn predicate on the "price_id" field.
func PriceIDNotNil ¶ added in v0.19.0
PriceIDNotNil applies the NotNil predicate on the "price_id" field.
func PriceIsNil ¶
PriceIsNil applies the IsNil predicate on the "price" field.
func PriceNotNil ¶
PriceNotNil applies the NotNil predicate on the "price" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusIsNil ¶
StatusIsNil applies the IsNil predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusNotNil ¶
StatusNotNil applies the NotNil predicate on the "status" field.
func StripePriceID ¶
StripePriceID applies equality check predicate on the "stripe_price_id" field. It's identical to StripePriceIDEQ.
func StripePriceIDContains ¶
StripePriceIDContains applies the Contains predicate on the "stripe_price_id" field.
func StripePriceIDContainsFold ¶
StripePriceIDContainsFold applies the ContainsFold predicate on the "stripe_price_id" field.
func StripePriceIDEQ ¶
StripePriceIDEQ applies the EQ predicate on the "stripe_price_id" field.
func StripePriceIDEqualFold ¶
StripePriceIDEqualFold applies the EqualFold predicate on the "stripe_price_id" field.
func StripePriceIDGT ¶
StripePriceIDGT applies the GT predicate on the "stripe_price_id" field.
func StripePriceIDGTE ¶
StripePriceIDGTE applies the GTE predicate on the "stripe_price_id" field.
func StripePriceIDHasPrefix ¶
StripePriceIDHasPrefix applies the HasPrefix predicate on the "stripe_price_id" field.
func StripePriceIDHasSuffix ¶
StripePriceIDHasSuffix applies the HasSuffix predicate on the "stripe_price_id" field.
func StripePriceIDIn ¶
StripePriceIDIn applies the In predicate on the "stripe_price_id" field.
func StripePriceIDIsNil ¶
StripePriceIDIsNil applies the IsNil predicate on the "stripe_price_id" field.
func StripePriceIDLT ¶
StripePriceIDLT applies the LT predicate on the "stripe_price_id" field.
func StripePriceIDLTE ¶
StripePriceIDLTE applies the LTE predicate on the "stripe_price_id" field.
func StripePriceIDNEQ ¶
StripePriceIDNEQ applies the NEQ predicate on the "stripe_price_id" field.
func StripePriceIDNotIn ¶
StripePriceIDNotIn applies the NotIn predicate on the "stripe_price_id" field.
func StripePriceIDNotNil ¶
StripePriceIDNotNil applies the NotNil predicate on the "stripe_price_id" field.
func SubscriptionID ¶
SubscriptionID applies equality check predicate on the "subscription_id" field. It's identical to SubscriptionIDEQ.
func SubscriptionIDContains ¶
SubscriptionIDContains applies the Contains predicate on the "subscription_id" field.
func SubscriptionIDContainsFold ¶
SubscriptionIDContainsFold applies the ContainsFold predicate on the "subscription_id" field.
func SubscriptionIDEQ ¶
SubscriptionIDEQ applies the EQ predicate on the "subscription_id" field.
func SubscriptionIDEqualFold ¶
SubscriptionIDEqualFold applies the EqualFold predicate on the "subscription_id" field.
func SubscriptionIDGT ¶
SubscriptionIDGT applies the GT predicate on the "subscription_id" field.
func SubscriptionIDGTE ¶
SubscriptionIDGTE applies the GTE predicate on the "subscription_id" field.
func SubscriptionIDHasPrefix ¶
SubscriptionIDHasPrefix applies the HasPrefix predicate on the "subscription_id" field.
func SubscriptionIDHasSuffix ¶
SubscriptionIDHasSuffix applies the HasSuffix predicate on the "subscription_id" field.
func SubscriptionIDIn ¶
SubscriptionIDIn applies the In predicate on the "subscription_id" field.
func SubscriptionIDIsNil ¶
SubscriptionIDIsNil applies the IsNil predicate on the "subscription_id" field.
func SubscriptionIDLT ¶
SubscriptionIDLT applies the LT predicate on the "subscription_id" field.
func SubscriptionIDLTE ¶
SubscriptionIDLTE applies the LTE predicate on the "subscription_id" field.
func SubscriptionIDNEQ ¶
SubscriptionIDNEQ applies the NEQ predicate on the "subscription_id" field.
func SubscriptionIDNotIn ¶
SubscriptionIDNotIn applies the NotIn predicate on the "subscription_id" field.
func SubscriptionIDNotNil ¶
SubscriptionIDNotNil applies the NotNil predicate on the "subscription_id" field.
func TagsNotNil ¶
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).
func Visibility ¶ added in v0.19.0
Visibility applies equality check predicate on the "visibility" field. It's identical to VisibilityEQ.
func VisibilityContains ¶ added in v0.19.0
VisibilityContains applies the Contains predicate on the "visibility" field.
func VisibilityContainsFold ¶ added in v0.19.0
VisibilityContainsFold applies the ContainsFold predicate on the "visibility" field.
func VisibilityEQ ¶ added in v0.19.0
VisibilityEQ applies the EQ predicate on the "visibility" field.
func VisibilityEqualFold ¶ added in v0.19.0
VisibilityEqualFold applies the EqualFold predicate on the "visibility" field.
func VisibilityGT ¶ added in v0.19.0
VisibilityGT applies the GT predicate on the "visibility" field.
func VisibilityGTE ¶ added in v0.19.0
VisibilityGTE applies the GTE predicate on the "visibility" field.
func VisibilityHasPrefix ¶ added in v0.19.0
VisibilityHasPrefix applies the HasPrefix predicate on the "visibility" field.
func VisibilityHasSuffix ¶ added in v0.19.0
VisibilityHasSuffix applies the HasSuffix predicate on the "visibility" field.
func VisibilityIn ¶ added in v0.19.0
VisibilityIn applies the In predicate on the "visibility" field.
func VisibilityIsNil ¶ added in v0.19.0
VisibilityIsNil applies the IsNil predicate on the "visibility" field.
func VisibilityLT ¶ added in v0.19.0
VisibilityLT applies the LT predicate on the "visibility" field.
func VisibilityLTE ¶ added in v0.19.0
VisibilityLTE applies the LTE predicate on the "visibility" field.
func VisibilityNEQ ¶ added in v0.19.0
VisibilityNEQ applies the NEQ predicate on the "visibility" field.
func VisibilityNotIn ¶ added in v0.19.0
VisibilityNotIn applies the NotIn predicate on the "visibility" field.
func VisibilityNotNil ¶ added in v0.19.0
VisibilityNotNil applies the NotNil predicate on the "visibility" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the OrgModule queries.
func ByActive ¶
func ByActive(opts ...sql.OrderTermOption) OrderOption
ByActive orders the results by the active 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 ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByModule ¶
func ByModule(opts ...sql.OrderTermOption) OrderOption
ByModule orders the results by the module field.
func ByModuleLookupKey ¶ added in v0.19.0
func ByModuleLookupKey(opts ...sql.OrderTermOption) OrderOption
ByModuleLookupKey orders the results by the module_lookup_key field.
func ByOrgPrices ¶ added in v0.19.0
func ByOrgPrices(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOrgPrices orders the results by org_prices terms.
func ByOrgPricesCount ¶ added in v0.19.0
func ByOrgPricesCount(opts ...sql.OrderTermOption) OrderOption
ByOrgPricesCount orders the results by org_prices count.
func ByOrgProducts ¶ added in v0.19.0
func ByOrgProducts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByOrgProducts orders the results by org_products terms.
func ByOrgProductsCount ¶ added in v0.19.0
func ByOrgProductsCount(opts ...sql.OrderTermOption) OrderOption
ByOrgProductsCount orders the results by org_products count.
func ByOrgSubscriptionField ¶
func ByOrgSubscriptionField(field string, opts ...sql.OrderTermOption) OrderOption
ByOrgSubscriptionField orders the results by org_subscription field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByPriceID ¶ added in v0.19.0
func ByPriceID(opts ...sql.OrderTermOption) OrderOption
ByPriceID orders the results by the price_id field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByStripePriceID ¶
func ByStripePriceID(opts ...sql.OrderTermOption) OrderOption
ByStripePriceID orders the results by the stripe_price_id field.
func BySubscriptionID ¶
func BySubscriptionID(opts ...sql.OrderTermOption) OrderOption
BySubscriptionID orders the results by the subscription_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.
func ByVisibility ¶ added in v0.19.0
func ByVisibility(opts ...sql.OrderTermOption) OrderOption
ByVisibility orders the results by the visibility field.