orgmodule

package
v0.45.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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"

Columns holds all SQL columns for orgmodule fields.

View Source
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.

View Source
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

func Active(v bool) predicate.OrgModule

Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.

func ActiveEQ

func ActiveEQ(v bool) predicate.OrgModule

ActiveEQ applies the EQ predicate on the "active" field.

func ActiveNEQ

func ActiveNEQ(v bool) predicate.OrgModule

ActiveNEQ applies the NEQ predicate on the "active" field.

func And

func And(predicates ...predicate.OrgModule) predicate.OrgModule

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.OrgModule

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.OrgModule

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.OrgModule

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.OrgModule

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.OrgModule

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtIsNil

func CreatedAtIsNil() predicate.OrgModule

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.OrgModule

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.OrgModule

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.OrgModule

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.OrgModule

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreatedAtNotNil

func CreatedAtNotNil() predicate.OrgModule

CreatedAtNotNil applies the NotNil predicate on the "created_at" field.

func CreatedBy

func CreatedBy(v string) predicate.OrgModule

CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.

func CreatedByContains

func CreatedByContains(v string) predicate.OrgModule

CreatedByContains applies the Contains predicate on the "created_by" field.

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.OrgModule

CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.

func CreatedByEQ

func CreatedByEQ(v string) predicate.OrgModule

CreatedByEQ applies the EQ predicate on the "created_by" field.

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.OrgModule

CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.

func CreatedByGT

func CreatedByGT(v string) predicate.OrgModule

CreatedByGT applies the GT predicate on the "created_by" field.

func CreatedByGTE

func CreatedByGTE(v string) predicate.OrgModule

CreatedByGTE applies the GTE predicate on the "created_by" field.

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.OrgModule

CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.OrgModule

CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.

func CreatedByIn

func CreatedByIn(vs ...string) predicate.OrgModule

CreatedByIn applies the In predicate on the "created_by" field.

func CreatedByIsNil

func CreatedByIsNil() predicate.OrgModule

CreatedByIsNil applies the IsNil predicate on the "created_by" field.

func CreatedByLT

func CreatedByLT(v string) predicate.OrgModule

CreatedByLT applies the LT predicate on the "created_by" field.

func CreatedByLTE

func CreatedByLTE(v string) predicate.OrgModule

CreatedByLTE applies the LTE predicate on the "created_by" field.

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.OrgModule

CreatedByNEQ applies the NEQ predicate on the "created_by" field.

func CreatedByNotIn

func CreatedByNotIn(vs ...string) predicate.OrgModule

CreatedByNotIn applies the NotIn predicate on the "created_by" field.

func CreatedByNotNil

func CreatedByNotNil() predicate.OrgModule

CreatedByNotNil applies the NotNil predicate on the "created_by" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.OrgModule

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.OrgModule

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.OrgModule

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.OrgModule

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.OrgModule

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.OrgModule

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.OrgModule

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.OrgModule

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.OrgModule

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.OrgModule

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.OrgModule

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DeletedBy

func DeletedBy(v string) predicate.OrgModule

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.OrgModule

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.OrgModule

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.OrgModule

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.OrgModule

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.OrgModule

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.OrgModule

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.OrgModule

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.OrgModule

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.OrgModule

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.OrgModule

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.OrgModule

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.OrgModule

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.OrgModule

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.OrgModule

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.OrgModule

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func HasOrgPrices added in v0.19.0

func HasOrgPrices() predicate.OrgModule

HasOrgPrices applies the HasEdge predicate on the "org_prices" edge.

func HasOrgPricesWith added in v0.19.0

func HasOrgPricesWith(preds ...predicate.OrgPrice) predicate.OrgModule

HasOrgPricesWith applies the HasEdge predicate on the "org_prices" edge with a given conditions (other predicates).

func HasOrgProducts added in v0.19.0

func HasOrgProducts() predicate.OrgModule

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

func HasOrgSubscription() predicate.OrgModule

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 HasOwner

func HasOwner() predicate.OrgModule

HasOwner applies the HasEdge predicate on the "owner" edge.

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 ID

func ID(id string) predicate.OrgModule

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.OrgModule

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.OrgModule

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.OrgModule

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.OrgModule

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.OrgModule

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...string) predicate.OrgModule

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.OrgModule

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.OrgModule

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.OrgModule

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...string) predicate.OrgModule

IDNotIn applies the NotIn predicate on the ID field.

func Module

Module applies equality check predicate on the "module" field. It's identical to ModuleEQ.

func ModuleContains

func ModuleContains(v models.OrgModule) predicate.OrgModule

ModuleContains applies the Contains predicate on the "module" field.

func ModuleContainsFold

func ModuleContainsFold(v models.OrgModule) predicate.OrgModule

ModuleContainsFold applies the ContainsFold predicate on the "module" field.

func ModuleEQ

func ModuleEQ(v models.OrgModule) predicate.OrgModule

ModuleEQ applies the EQ predicate on the "module" field.

func ModuleEqualFold

func ModuleEqualFold(v models.OrgModule) predicate.OrgModule

ModuleEqualFold applies the EqualFold predicate on the "module" field.

func ModuleGT

func ModuleGT(v models.OrgModule) predicate.OrgModule

ModuleGT applies the GT predicate on the "module" field.

func ModuleGTE

func ModuleGTE(v models.OrgModule) predicate.OrgModule

ModuleGTE applies the GTE predicate on the "module" field.

func ModuleHasPrefix

func ModuleHasPrefix(v models.OrgModule) predicate.OrgModule

ModuleHasPrefix applies the HasPrefix predicate on the "module" field.

func ModuleHasSuffix

func ModuleHasSuffix(v models.OrgModule) predicate.OrgModule

ModuleHasSuffix applies the HasSuffix predicate on the "module" field.

func ModuleIn

func ModuleIn(vs ...models.OrgModule) predicate.OrgModule

ModuleIn applies the In predicate on the "module" field.

func ModuleLT

func ModuleLT(v models.OrgModule) predicate.OrgModule

ModuleLT applies the LT predicate on the "module" field.

func ModuleLTE

func ModuleLTE(v models.OrgModule) predicate.OrgModule

ModuleLTE applies the LTE predicate on the "module" field.

func ModuleLookupKey added in v0.19.0

func ModuleLookupKey(v string) predicate.OrgModule

ModuleLookupKey applies equality check predicate on the "module_lookup_key" field. It's identical to ModuleLookupKeyEQ.

func ModuleLookupKeyContains added in v0.19.0

func ModuleLookupKeyContains(v string) predicate.OrgModule

ModuleLookupKeyContains applies the Contains predicate on the "module_lookup_key" field.

func ModuleLookupKeyContainsFold added in v0.19.0

func ModuleLookupKeyContainsFold(v string) predicate.OrgModule

ModuleLookupKeyContainsFold applies the ContainsFold predicate on the "module_lookup_key" field.

func ModuleLookupKeyEQ added in v0.19.0

func ModuleLookupKeyEQ(v string) predicate.OrgModule

ModuleLookupKeyEQ applies the EQ predicate on the "module_lookup_key" field.

func ModuleLookupKeyEqualFold added in v0.19.0

func ModuleLookupKeyEqualFold(v string) predicate.OrgModule

ModuleLookupKeyEqualFold applies the EqualFold predicate on the "module_lookup_key" field.

func ModuleLookupKeyGT added in v0.19.0

func ModuleLookupKeyGT(v string) predicate.OrgModule

ModuleLookupKeyGT applies the GT predicate on the "module_lookup_key" field.

func ModuleLookupKeyGTE added in v0.19.0

func ModuleLookupKeyGTE(v string) predicate.OrgModule

ModuleLookupKeyGTE applies the GTE predicate on the "module_lookup_key" field.

func ModuleLookupKeyHasPrefix added in v0.19.0

func ModuleLookupKeyHasPrefix(v string) predicate.OrgModule

ModuleLookupKeyHasPrefix applies the HasPrefix predicate on the "module_lookup_key" field.

func ModuleLookupKeyHasSuffix added in v0.19.0

func ModuleLookupKeyHasSuffix(v string) predicate.OrgModule

ModuleLookupKeyHasSuffix applies the HasSuffix predicate on the "module_lookup_key" field.

func ModuleLookupKeyIn added in v0.19.0

func ModuleLookupKeyIn(vs ...string) predicate.OrgModule

ModuleLookupKeyIn applies the In predicate on the "module_lookup_key" field.

func ModuleLookupKeyIsNil added in v0.19.0

func ModuleLookupKeyIsNil() predicate.OrgModule

ModuleLookupKeyIsNil applies the IsNil predicate on the "module_lookup_key" field.

func ModuleLookupKeyLT added in v0.19.0

func ModuleLookupKeyLT(v string) predicate.OrgModule

ModuleLookupKeyLT applies the LT predicate on the "module_lookup_key" field.

func ModuleLookupKeyLTE added in v0.19.0

func ModuleLookupKeyLTE(v string) predicate.OrgModule

ModuleLookupKeyLTE applies the LTE predicate on the "module_lookup_key" field.

func ModuleLookupKeyNEQ added in v0.19.0

func ModuleLookupKeyNEQ(v string) predicate.OrgModule

ModuleLookupKeyNEQ applies the NEQ predicate on the "module_lookup_key" field.

func ModuleLookupKeyNotIn added in v0.19.0

func ModuleLookupKeyNotIn(vs ...string) predicate.OrgModule

ModuleLookupKeyNotIn applies the NotIn predicate on the "module_lookup_key" field.

func ModuleLookupKeyNotNil added in v0.19.0

func ModuleLookupKeyNotNil() predicate.OrgModule

ModuleLookupKeyNotNil applies the NotNil predicate on the "module_lookup_key" field.

func ModuleNEQ

func ModuleNEQ(v models.OrgModule) predicate.OrgModule

ModuleNEQ applies the NEQ predicate on the "module" field.

func ModuleNotIn

func ModuleNotIn(vs ...models.OrgModule) predicate.OrgModule

ModuleNotIn applies the NotIn predicate on the "module" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.OrgModule) predicate.OrgModule

Or groups predicates with the OR operator between them.

func OwnerID

func OwnerID(v string) predicate.OrgModule

OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.

func OwnerIDContains

func OwnerIDContains(v string) predicate.OrgModule

OwnerIDContains applies the Contains predicate on the "owner_id" field.

func OwnerIDContainsFold

func OwnerIDContainsFold(v string) predicate.OrgModule

OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.

func OwnerIDEQ

func OwnerIDEQ(v string) predicate.OrgModule

OwnerIDEQ applies the EQ predicate on the "owner_id" field.

func OwnerIDEqualFold

func OwnerIDEqualFold(v string) predicate.OrgModule

OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.

func OwnerIDGT

func OwnerIDGT(v string) predicate.OrgModule

OwnerIDGT applies the GT predicate on the "owner_id" field.

func OwnerIDGTE

func OwnerIDGTE(v string) predicate.OrgModule

OwnerIDGTE applies the GTE predicate on the "owner_id" field.

func OwnerIDHasPrefix

func OwnerIDHasPrefix(v string) predicate.OrgModule

OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.

func OwnerIDHasSuffix

func OwnerIDHasSuffix(v string) predicate.OrgModule

OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.

func OwnerIDIn

func OwnerIDIn(vs ...string) predicate.OrgModule

OwnerIDIn applies the In predicate on the "owner_id" field.

func OwnerIDIsNil

func OwnerIDIsNil() predicate.OrgModule

OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.

func OwnerIDLT

func OwnerIDLT(v string) predicate.OrgModule

OwnerIDLT applies the LT predicate on the "owner_id" field.

func OwnerIDLTE

func OwnerIDLTE(v string) predicate.OrgModule

OwnerIDLTE applies the LTE predicate on the "owner_id" field.

func OwnerIDNEQ

func OwnerIDNEQ(v string) predicate.OrgModule

OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.

func OwnerIDNotIn

func OwnerIDNotIn(vs ...string) predicate.OrgModule

OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.

func OwnerIDNotNil

func OwnerIDNotNil() predicate.OrgModule

OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.

func PriceID added in v0.19.0

func PriceID(v string) predicate.OrgModule

PriceID applies equality check predicate on the "price_id" field. It's identical to PriceIDEQ.

func PriceIDContains added in v0.19.0

func PriceIDContains(v string) predicate.OrgModule

PriceIDContains applies the Contains predicate on the "price_id" field.

func PriceIDContainsFold added in v0.19.0

func PriceIDContainsFold(v string) predicate.OrgModule

PriceIDContainsFold applies the ContainsFold predicate on the "price_id" field.

func PriceIDEQ added in v0.19.0

func PriceIDEQ(v string) predicate.OrgModule

PriceIDEQ applies the EQ predicate on the "price_id" field.

func PriceIDEqualFold added in v0.19.0

func PriceIDEqualFold(v string) predicate.OrgModule

PriceIDEqualFold applies the EqualFold predicate on the "price_id" field.

func PriceIDGT added in v0.19.0

func PriceIDGT(v string) predicate.OrgModule

PriceIDGT applies the GT predicate on the "price_id" field.

func PriceIDGTE added in v0.19.0

func PriceIDGTE(v string) predicate.OrgModule

PriceIDGTE applies the GTE predicate on the "price_id" field.

func PriceIDHasPrefix added in v0.19.0

func PriceIDHasPrefix(v string) predicate.OrgModule

PriceIDHasPrefix applies the HasPrefix predicate on the "price_id" field.

func PriceIDHasSuffix added in v0.19.0

func PriceIDHasSuffix(v string) predicate.OrgModule

PriceIDHasSuffix applies the HasSuffix predicate on the "price_id" field.

func PriceIDIn added in v0.19.0

func PriceIDIn(vs ...string) predicate.OrgModule

PriceIDIn applies the In predicate on the "price_id" field.

func PriceIDIsNil added in v0.19.0

func PriceIDIsNil() predicate.OrgModule

PriceIDIsNil applies the IsNil predicate on the "price_id" field.

func PriceIDLT added in v0.19.0

func PriceIDLT(v string) predicate.OrgModule

PriceIDLT applies the LT predicate on the "price_id" field.

func PriceIDLTE added in v0.19.0

func PriceIDLTE(v string) predicate.OrgModule

PriceIDLTE applies the LTE predicate on the "price_id" field.

func PriceIDNEQ added in v0.19.0

func PriceIDNEQ(v string) predicate.OrgModule

PriceIDNEQ applies the NEQ predicate on the "price_id" field.

func PriceIDNotIn added in v0.19.0

func PriceIDNotIn(vs ...string) predicate.OrgModule

PriceIDNotIn applies the NotIn predicate on the "price_id" field.

func PriceIDNotNil added in v0.19.0

func PriceIDNotNil() predicate.OrgModule

PriceIDNotNil applies the NotNil predicate on the "price_id" field.

func PriceIsNil

func PriceIsNil() predicate.OrgModule

PriceIsNil applies the IsNil predicate on the "price" field.

func PriceNotNil

func PriceNotNil() predicate.OrgModule

PriceNotNil applies the NotNil predicate on the "price" field.

func Status

func Status(v string) predicate.OrgModule

Status applies equality check predicate on the "status" field. It's identical to StatusEQ.

func StatusContains

func StatusContains(v string) predicate.OrgModule

StatusContains applies the Contains predicate on the "status" field.

func StatusContainsFold

func StatusContainsFold(v string) predicate.OrgModule

StatusContainsFold applies the ContainsFold predicate on the "status" field.

func StatusEQ

func StatusEQ(v string) predicate.OrgModule

StatusEQ applies the EQ predicate on the "status" field.

func StatusEqualFold

func StatusEqualFold(v string) predicate.OrgModule

StatusEqualFold applies the EqualFold predicate on the "status" field.

func StatusGT

func StatusGT(v string) predicate.OrgModule

StatusGT applies the GT predicate on the "status" field.

func StatusGTE

func StatusGTE(v string) predicate.OrgModule

StatusGTE applies the GTE predicate on the "status" field.

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.OrgModule

StatusHasPrefix applies the HasPrefix predicate on the "status" field.

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.OrgModule

StatusHasSuffix applies the HasSuffix predicate on the "status" field.

func StatusIn

func StatusIn(vs ...string) predicate.OrgModule

StatusIn applies the In predicate on the "status" field.

func StatusIsNil

func StatusIsNil() predicate.OrgModule

StatusIsNil applies the IsNil predicate on the "status" field.

func StatusLT

func StatusLT(v string) predicate.OrgModule

StatusLT applies the LT predicate on the "status" field.

func StatusLTE

func StatusLTE(v string) predicate.OrgModule

StatusLTE applies the LTE predicate on the "status" field.

func StatusNEQ

func StatusNEQ(v string) predicate.OrgModule

StatusNEQ applies the NEQ predicate on the "status" field.

func StatusNotIn

func StatusNotIn(vs ...string) predicate.OrgModule

StatusNotIn applies the NotIn predicate on the "status" field.

func StatusNotNil

func StatusNotNil() predicate.OrgModule

StatusNotNil applies the NotNil predicate on the "status" field.

func StripePriceID

func StripePriceID(v string) predicate.OrgModule

StripePriceID applies equality check predicate on the "stripe_price_id" field. It's identical to StripePriceIDEQ.

func StripePriceIDContains

func StripePriceIDContains(v string) predicate.OrgModule

StripePriceIDContains applies the Contains predicate on the "stripe_price_id" field.

func StripePriceIDContainsFold

func StripePriceIDContainsFold(v string) predicate.OrgModule

StripePriceIDContainsFold applies the ContainsFold predicate on the "stripe_price_id" field.

func StripePriceIDEQ

func StripePriceIDEQ(v string) predicate.OrgModule

StripePriceIDEQ applies the EQ predicate on the "stripe_price_id" field.

func StripePriceIDEqualFold

func StripePriceIDEqualFold(v string) predicate.OrgModule

StripePriceIDEqualFold applies the EqualFold predicate on the "stripe_price_id" field.

func StripePriceIDGT

func StripePriceIDGT(v string) predicate.OrgModule

StripePriceIDGT applies the GT predicate on the "stripe_price_id" field.

func StripePriceIDGTE

func StripePriceIDGTE(v string) predicate.OrgModule

StripePriceIDGTE applies the GTE predicate on the "stripe_price_id" field.

func StripePriceIDHasPrefix

func StripePriceIDHasPrefix(v string) predicate.OrgModule

StripePriceIDHasPrefix applies the HasPrefix predicate on the "stripe_price_id" field.

func StripePriceIDHasSuffix

func StripePriceIDHasSuffix(v string) predicate.OrgModule

StripePriceIDHasSuffix applies the HasSuffix predicate on the "stripe_price_id" field.

func StripePriceIDIn

func StripePriceIDIn(vs ...string) predicate.OrgModule

StripePriceIDIn applies the In predicate on the "stripe_price_id" field.

func StripePriceIDIsNil

func StripePriceIDIsNil() predicate.OrgModule

StripePriceIDIsNil applies the IsNil predicate on the "stripe_price_id" field.

func StripePriceIDLT

func StripePriceIDLT(v string) predicate.OrgModule

StripePriceIDLT applies the LT predicate on the "stripe_price_id" field.

func StripePriceIDLTE

func StripePriceIDLTE(v string) predicate.OrgModule

StripePriceIDLTE applies the LTE predicate on the "stripe_price_id" field.

func StripePriceIDNEQ

func StripePriceIDNEQ(v string) predicate.OrgModule

StripePriceIDNEQ applies the NEQ predicate on the "stripe_price_id" field.

func StripePriceIDNotIn

func StripePriceIDNotIn(vs ...string) predicate.OrgModule

StripePriceIDNotIn applies the NotIn predicate on the "stripe_price_id" field.

func StripePriceIDNotNil

func StripePriceIDNotNil() predicate.OrgModule

StripePriceIDNotNil applies the NotNil predicate on the "stripe_price_id" field.

func SubscriptionID

func SubscriptionID(v string) predicate.OrgModule

SubscriptionID applies equality check predicate on the "subscription_id" field. It's identical to SubscriptionIDEQ.

func SubscriptionIDContains

func SubscriptionIDContains(v string) predicate.OrgModule

SubscriptionIDContains applies the Contains predicate on the "subscription_id" field.

func SubscriptionIDContainsFold

func SubscriptionIDContainsFold(v string) predicate.OrgModule

SubscriptionIDContainsFold applies the ContainsFold predicate on the "subscription_id" field.

func SubscriptionIDEQ

func SubscriptionIDEQ(v string) predicate.OrgModule

SubscriptionIDEQ applies the EQ predicate on the "subscription_id" field.

func SubscriptionIDEqualFold

func SubscriptionIDEqualFold(v string) predicate.OrgModule

SubscriptionIDEqualFold applies the EqualFold predicate on the "subscription_id" field.

func SubscriptionIDGT

func SubscriptionIDGT(v string) predicate.OrgModule

SubscriptionIDGT applies the GT predicate on the "subscription_id" field.

func SubscriptionIDGTE

func SubscriptionIDGTE(v string) predicate.OrgModule

SubscriptionIDGTE applies the GTE predicate on the "subscription_id" field.

func SubscriptionIDHasPrefix

func SubscriptionIDHasPrefix(v string) predicate.OrgModule

SubscriptionIDHasPrefix applies the HasPrefix predicate on the "subscription_id" field.

func SubscriptionIDHasSuffix

func SubscriptionIDHasSuffix(v string) predicate.OrgModule

SubscriptionIDHasSuffix applies the HasSuffix predicate on the "subscription_id" field.

func SubscriptionIDIn

func SubscriptionIDIn(vs ...string) predicate.OrgModule

SubscriptionIDIn applies the In predicate on the "subscription_id" field.

func SubscriptionIDIsNil

func SubscriptionIDIsNil() predicate.OrgModule

SubscriptionIDIsNil applies the IsNil predicate on the "subscription_id" field.

func SubscriptionIDLT

func SubscriptionIDLT(v string) predicate.OrgModule

SubscriptionIDLT applies the LT predicate on the "subscription_id" field.

func SubscriptionIDLTE

func SubscriptionIDLTE(v string) predicate.OrgModule

SubscriptionIDLTE applies the LTE predicate on the "subscription_id" field.

func SubscriptionIDNEQ

func SubscriptionIDNEQ(v string) predicate.OrgModule

SubscriptionIDNEQ applies the NEQ predicate on the "subscription_id" field.

func SubscriptionIDNotIn

func SubscriptionIDNotIn(vs ...string) predicate.OrgModule

SubscriptionIDNotIn applies the NotIn predicate on the "subscription_id" field.

func SubscriptionIDNotNil

func SubscriptionIDNotNil() predicate.OrgModule

SubscriptionIDNotNil applies the NotNil predicate on the "subscription_id" field.

func TagsIsNil

func TagsIsNil() predicate.OrgModule

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.OrgModule

TagsNotNil applies the NotNil predicate on the "tags" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.OrgModule

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.OrgModule

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.OrgModule

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.OrgModule

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.OrgModule

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.OrgModule

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.OrgModule

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.OrgModule

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.OrgModule

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.OrgModule

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.OrgModule

UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.

func UpdatedBy

func UpdatedBy(v string) predicate.OrgModule

UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.

func UpdatedByContains

func UpdatedByContains(v string) predicate.OrgModule

UpdatedByContains applies the Contains predicate on the "updated_by" field.

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.OrgModule

UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.OrgModule

UpdatedByEQ applies the EQ predicate on the "updated_by" field.

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.OrgModule

UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.

func UpdatedByGT

func UpdatedByGT(v string) predicate.OrgModule

UpdatedByGT applies the GT predicate on the "updated_by" field.

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.OrgModule

UpdatedByGTE applies the GTE predicate on the "updated_by" field.

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.OrgModule

UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.OrgModule

UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.

func UpdatedByIn

func UpdatedByIn(vs ...string) predicate.OrgModule

UpdatedByIn applies the In predicate on the "updated_by" field.

func UpdatedByIsNil

func UpdatedByIsNil() predicate.OrgModule

UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.

func UpdatedByLT

func UpdatedByLT(v string) predicate.OrgModule

UpdatedByLT applies the LT predicate on the "updated_by" field.

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.OrgModule

UpdatedByLTE applies the LTE predicate on the "updated_by" field.

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.OrgModule

UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.

func UpdatedByNotIn

func UpdatedByNotIn(vs ...string) predicate.OrgModule

UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.

func UpdatedByNotNil

func UpdatedByNotNil() predicate.OrgModule

UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

func Visibility added in v0.19.0

func Visibility(v string) predicate.OrgModule

Visibility applies equality check predicate on the "visibility" field. It's identical to VisibilityEQ.

func VisibilityContains added in v0.19.0

func VisibilityContains(v string) predicate.OrgModule

VisibilityContains applies the Contains predicate on the "visibility" field.

func VisibilityContainsFold added in v0.19.0

func VisibilityContainsFold(v string) predicate.OrgModule

VisibilityContainsFold applies the ContainsFold predicate on the "visibility" field.

func VisibilityEQ added in v0.19.0

func VisibilityEQ(v string) predicate.OrgModule

VisibilityEQ applies the EQ predicate on the "visibility" field.

func VisibilityEqualFold added in v0.19.0

func VisibilityEqualFold(v string) predicate.OrgModule

VisibilityEqualFold applies the EqualFold predicate on the "visibility" field.

func VisibilityGT added in v0.19.0

func VisibilityGT(v string) predicate.OrgModule

VisibilityGT applies the GT predicate on the "visibility" field.

func VisibilityGTE added in v0.19.0

func VisibilityGTE(v string) predicate.OrgModule

VisibilityGTE applies the GTE predicate on the "visibility" field.

func VisibilityHasPrefix added in v0.19.0

func VisibilityHasPrefix(v string) predicate.OrgModule

VisibilityHasPrefix applies the HasPrefix predicate on the "visibility" field.

func VisibilityHasSuffix added in v0.19.0

func VisibilityHasSuffix(v string) predicate.OrgModule

VisibilityHasSuffix applies the HasSuffix predicate on the "visibility" field.

func VisibilityIn added in v0.19.0

func VisibilityIn(vs ...string) predicate.OrgModule

VisibilityIn applies the In predicate on the "visibility" field.

func VisibilityIsNil added in v0.19.0

func VisibilityIsNil() predicate.OrgModule

VisibilityIsNil applies the IsNil predicate on the "visibility" field.

func VisibilityLT added in v0.19.0

func VisibilityLT(v string) predicate.OrgModule

VisibilityLT applies the LT predicate on the "visibility" field.

func VisibilityLTE added in v0.19.0

func VisibilityLTE(v string) predicate.OrgModule

VisibilityLTE applies the LTE predicate on the "visibility" field.

func VisibilityNEQ added in v0.19.0

func VisibilityNEQ(v string) predicate.OrgModule

VisibilityNEQ applies the NEQ predicate on the "visibility" field.

func VisibilityNotIn added in v0.19.0

func VisibilityNotIn(vs ...string) predicate.OrgModule

VisibilityNotIn applies the NotIn predicate on the "visibility" field.

func VisibilityNotNil added in v0.19.0

func VisibilityNotNil() predicate.OrgModule

VisibilityNotNil applies the NotNil predicate on the "visibility" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL