orgmodule

package
v0.18.10 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: Apache-2.0 Imports: 6 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"
	// FieldActive holds the string denoting the active field in the database.
	FieldActive = "active"
	// FieldTrialExpiresAt holds the string denoting the trial_expires_at field in the database.
	FieldTrialExpiresAt = "trial_expires_at"
	// FieldExpiresAt holds the string denoting the expires_at field in the database.
	FieldExpiresAt = "expires_at"
	// FieldSubscriptionID holds the string denoting the subscription_id field in the database.
	FieldSubscriptionID = "subscription_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"
	// 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"
)

Variables

View Source
var (
	Hooks        [3]ent.Hook
	Interceptors [2]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
	// 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.

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 ExpiresAt

func ExpiresAt(v time.Time) predicate.OrgModule

ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.

func ExpiresAtEQ

func ExpiresAtEQ(v time.Time) predicate.OrgModule

ExpiresAtEQ applies the EQ predicate on the "expires_at" field.

func ExpiresAtGT

func ExpiresAtGT(v time.Time) predicate.OrgModule

ExpiresAtGT applies the GT predicate on the "expires_at" field.

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.OrgModule

ExpiresAtGTE applies the GTE predicate on the "expires_at" field.

func ExpiresAtIn

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

ExpiresAtIn applies the In predicate on the "expires_at" field.

func ExpiresAtIsNil

func ExpiresAtIsNil() predicate.OrgModule

ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.

func ExpiresAtLT

func ExpiresAtLT(v time.Time) predicate.OrgModule

ExpiresAtLT applies the LT predicate on the "expires_at" field.

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.OrgModule

ExpiresAtLTE applies the LTE predicate on the "expires_at" field.

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.OrgModule

ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.

func ExpiresAtNotIn

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

ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.

func ExpiresAtNotNil

func ExpiresAtNotNil() predicate.OrgModule

ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.

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

func Module(v string) predicate.OrgModule

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

func ModuleContains

func ModuleContains(v string) predicate.OrgModule

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

func ModuleContainsFold

func ModuleContainsFold(v string) predicate.OrgModule

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

func ModuleEQ

func ModuleEQ(v string) predicate.OrgModule

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

func ModuleEqualFold

func ModuleEqualFold(v string) predicate.OrgModule

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

func ModuleGT

func ModuleGT(v string) predicate.OrgModule

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

func ModuleGTE

func ModuleGTE(v string) predicate.OrgModule

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

func ModuleHasPrefix

func ModuleHasPrefix(v string) predicate.OrgModule

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

func ModuleHasSuffix

func ModuleHasSuffix(v string) predicate.OrgModule

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

func ModuleIn

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

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

func ModuleLT

func ModuleLT(v string) predicate.OrgModule

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

func ModuleLTE

func ModuleLTE(v string) predicate.OrgModule

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

func ModuleNEQ

func ModuleNEQ(v string) predicate.OrgModule

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

func ModuleNotIn

func ModuleNotIn(vs ...string) 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 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 TrialExpiresAt

func TrialExpiresAt(v time.Time) predicate.OrgModule

TrialExpiresAt applies equality check predicate on the "trial_expires_at" field. It's identical to TrialExpiresAtEQ.

func TrialExpiresAtEQ

func TrialExpiresAtEQ(v time.Time) predicate.OrgModule

TrialExpiresAtEQ applies the EQ predicate on the "trial_expires_at" field.

func TrialExpiresAtGT

func TrialExpiresAtGT(v time.Time) predicate.OrgModule

TrialExpiresAtGT applies the GT predicate on the "trial_expires_at" field.

func TrialExpiresAtGTE

func TrialExpiresAtGTE(v time.Time) predicate.OrgModule

TrialExpiresAtGTE applies the GTE predicate on the "trial_expires_at" field.

func TrialExpiresAtIn

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

TrialExpiresAtIn applies the In predicate on the "trial_expires_at" field.

func TrialExpiresAtIsNil

func TrialExpiresAtIsNil() predicate.OrgModule

TrialExpiresAtIsNil applies the IsNil predicate on the "trial_expires_at" field.

func TrialExpiresAtLT

func TrialExpiresAtLT(v time.Time) predicate.OrgModule

TrialExpiresAtLT applies the LT predicate on the "trial_expires_at" field.

func TrialExpiresAtLTE

func TrialExpiresAtLTE(v time.Time) predicate.OrgModule

TrialExpiresAtLTE applies the LTE predicate on the "trial_expires_at" field.

func TrialExpiresAtNEQ

func TrialExpiresAtNEQ(v time.Time) predicate.OrgModule

TrialExpiresAtNEQ applies the NEQ predicate on the "trial_expires_at" field.

func TrialExpiresAtNotIn

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

TrialExpiresAtNotIn applies the NotIn predicate on the "trial_expires_at" field.

func TrialExpiresAtNotNil

func TrialExpiresAtNotNil() predicate.OrgModule

TrialExpiresAtNotNil applies the NotNil predicate on the "trial_expires_at" 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).

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 ByExpiresAt

func ByExpiresAt(opts ...sql.OrderTermOption) OrderOption

ByExpiresAt orders the results by the expires_at 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 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 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 ByTrialExpiresAt

func ByTrialExpiresAt(opts ...sql.OrderTermOption) OrderOption

ByTrialExpiresAt orders the results by the trial_expires_at 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.

Jump to

Keyboard shortcuts

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