dbapp

package
v1.0.0-beta.193 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the app type in the database.
	Label = "app"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNamespace holds the string denoting the namespace field in the database.
	FieldNamespace = "namespace"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// 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"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// FieldIsDefault holds the string denoting the is_default field in the database.
	FieldIsDefault = "is_default"
	// EdgeCustomerApps holds the string denoting the customer_apps edge name in mutations.
	EdgeCustomerApps = "customer_apps"
	// EdgeBillingProfileTaxApp holds the string denoting the billing_profile_tax_app edge name in mutations.
	EdgeBillingProfileTaxApp = "billing_profile_tax_app"
	// EdgeBillingProfileInvoicingApp holds the string denoting the billing_profile_invoicing_app edge name in mutations.
	EdgeBillingProfileInvoicingApp = "billing_profile_invoicing_app"
	// EdgeBillingProfilePaymentApp holds the string denoting the billing_profile_payment_app edge name in mutations.
	EdgeBillingProfilePaymentApp = "billing_profile_payment_app"
	// EdgeBillingInvoiceTaxApp holds the string denoting the billing_invoice_tax_app edge name in mutations.
	EdgeBillingInvoiceTaxApp = "billing_invoice_tax_app"
	// EdgeBillingInvoiceInvoicingApp holds the string denoting the billing_invoice_invoicing_app edge name in mutations.
	EdgeBillingInvoiceInvoicingApp = "billing_invoice_invoicing_app"
	// EdgeBillingInvoicePaymentApp holds the string denoting the billing_invoice_payment_app edge name in mutations.
	EdgeBillingInvoicePaymentApp = "billing_invoice_payment_app"
	// Table holds the table name of the app in the database.
	Table = "apps"
	// CustomerAppsTable is the table that holds the customer_apps relation/edge.
	CustomerAppsTable = "app_customers"
	// CustomerAppsInverseTable is the table name for the AppCustomer entity.
	// It exists in this package in order to avoid circular dependency with the "appcustomer" package.
	CustomerAppsInverseTable = "app_customers"
	// CustomerAppsColumn is the table column denoting the customer_apps relation/edge.
	CustomerAppsColumn = "app_id"
	// BillingProfileTaxAppTable is the table that holds the billing_profile_tax_app relation/edge.
	BillingProfileTaxAppTable = "billing_profiles"
	// BillingProfileTaxAppInverseTable is the table name for the BillingProfile entity.
	// It exists in this package in order to avoid circular dependency with the "billingprofile" package.
	BillingProfileTaxAppInverseTable = "billing_profiles"
	// BillingProfileTaxAppColumn is the table column denoting the billing_profile_tax_app relation/edge.
	BillingProfileTaxAppColumn = "tax_app_id"
	// BillingProfileInvoicingAppTable is the table that holds the billing_profile_invoicing_app relation/edge.
	BillingProfileInvoicingAppTable = "billing_profiles"
	// BillingProfileInvoicingAppInverseTable is the table name for the BillingProfile entity.
	// It exists in this package in order to avoid circular dependency with the "billingprofile" package.
	BillingProfileInvoicingAppInverseTable = "billing_profiles"
	// BillingProfileInvoicingAppColumn is the table column denoting the billing_profile_invoicing_app relation/edge.
	BillingProfileInvoicingAppColumn = "invoicing_app_id"
	// BillingProfilePaymentAppTable is the table that holds the billing_profile_payment_app relation/edge.
	BillingProfilePaymentAppTable = "billing_profiles"
	// BillingProfilePaymentAppInverseTable is the table name for the BillingProfile entity.
	// It exists in this package in order to avoid circular dependency with the "billingprofile" package.
	BillingProfilePaymentAppInverseTable = "billing_profiles"
	// BillingProfilePaymentAppColumn is the table column denoting the billing_profile_payment_app relation/edge.
	BillingProfilePaymentAppColumn = "payment_app_id"
	// BillingInvoiceTaxAppTable is the table that holds the billing_invoice_tax_app relation/edge.
	BillingInvoiceTaxAppTable = "billing_invoices"
	// BillingInvoiceTaxAppInverseTable is the table name for the BillingInvoice entity.
	// It exists in this package in order to avoid circular dependency with the "billinginvoice" package.
	BillingInvoiceTaxAppInverseTable = "billing_invoices"
	// BillingInvoiceTaxAppColumn is the table column denoting the billing_invoice_tax_app relation/edge.
	BillingInvoiceTaxAppColumn = "tax_app_id"
	// BillingInvoiceInvoicingAppTable is the table that holds the billing_invoice_invoicing_app relation/edge.
	BillingInvoiceInvoicingAppTable = "billing_invoices"
	// BillingInvoiceInvoicingAppInverseTable is the table name for the BillingInvoice entity.
	// It exists in this package in order to avoid circular dependency with the "billinginvoice" package.
	BillingInvoiceInvoicingAppInverseTable = "billing_invoices"
	// BillingInvoiceInvoicingAppColumn is the table column denoting the billing_invoice_invoicing_app relation/edge.
	BillingInvoiceInvoicingAppColumn = "invoicing_app_id"
	// BillingInvoicePaymentAppTable is the table that holds the billing_invoice_payment_app relation/edge.
	BillingInvoicePaymentAppTable = "billing_invoices"
	// BillingInvoicePaymentAppInverseTable is the table name for the BillingInvoice entity.
	// It exists in this package in order to avoid circular dependency with the "billinginvoice" package.
	BillingInvoicePaymentAppInverseTable = "billing_invoices"
	// BillingInvoicePaymentAppColumn is the table column denoting the billing_invoice_payment_app relation/edge.
	BillingInvoicePaymentAppColumn = "payment_app_id"
)

Variables

View Source
var (
	// NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save.
	NamespaceValidator func(string) error
	// 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
	// DefaultIsDefault holds the default value on creation for the "is_default" field.
	DefaultIsDefault bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Columns holds all SQL columns for app fields.

Functions

func And

func And(predicates ...predicate.App) predicate.App

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.App

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.App

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.App

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.App

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.App

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.App

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.App

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

func CreatedAtNotIn

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

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

func DeletedAt

func DeletedAt(v time.Time) predicate.App

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.App

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.App

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.App

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.App

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.App

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.App

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.App

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.App

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

func Description

func Description(v string) predicate.App

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.App

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.App

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.App

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.App

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.App

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.App

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.App

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.App

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.App

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.App

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.App

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.App

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.App

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.App

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.App

DescriptionNotNil applies the NotNil predicate on the "description" field.

func HasBillingInvoiceInvoicingApp

func HasBillingInvoiceInvoicingApp() predicate.App

HasBillingInvoiceInvoicingApp applies the HasEdge predicate on the "billing_invoice_invoicing_app" edge.

func HasBillingInvoiceInvoicingAppWith

func HasBillingInvoiceInvoicingAppWith(preds ...predicate.BillingInvoice) predicate.App

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

func HasBillingInvoicePaymentApp

func HasBillingInvoicePaymentApp() predicate.App

HasBillingInvoicePaymentApp applies the HasEdge predicate on the "billing_invoice_payment_app" edge.

func HasBillingInvoicePaymentAppWith

func HasBillingInvoicePaymentAppWith(preds ...predicate.BillingInvoice) predicate.App

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

func HasBillingInvoiceTaxApp

func HasBillingInvoiceTaxApp() predicate.App

HasBillingInvoiceTaxApp applies the HasEdge predicate on the "billing_invoice_tax_app" edge.

func HasBillingInvoiceTaxAppWith

func HasBillingInvoiceTaxAppWith(preds ...predicate.BillingInvoice) predicate.App

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

func HasBillingProfileInvoicingApp

func HasBillingProfileInvoicingApp() predicate.App

HasBillingProfileInvoicingApp applies the HasEdge predicate on the "billing_profile_invoicing_app" edge.

func HasBillingProfileInvoicingAppWith

func HasBillingProfileInvoicingAppWith(preds ...predicate.BillingProfile) predicate.App

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

func HasBillingProfilePaymentApp

func HasBillingProfilePaymentApp() predicate.App

HasBillingProfilePaymentApp applies the HasEdge predicate on the "billing_profile_payment_app" edge.

func HasBillingProfilePaymentAppWith

func HasBillingProfilePaymentAppWith(preds ...predicate.BillingProfile) predicate.App

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

func HasBillingProfileTaxApp

func HasBillingProfileTaxApp() predicate.App

HasBillingProfileTaxApp applies the HasEdge predicate on the "billing_profile_tax_app" edge.

func HasBillingProfileTaxAppWith

func HasBillingProfileTaxAppWith(preds ...predicate.BillingProfile) predicate.App

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

func HasCustomerApps

func HasCustomerApps() predicate.App

HasCustomerApps applies the HasEdge predicate on the "customer_apps" edge.

func HasCustomerAppsWith

func HasCustomerAppsWith(preds ...predicate.AppCustomer) predicate.App

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

func ID

func ID(id string) predicate.App

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.App

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.App

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.App

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.App

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.App

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.App

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.App

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.App

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsDefault

func IsDefault(v bool) predicate.App

IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.

func IsDefaultEQ

func IsDefaultEQ(v bool) predicate.App

IsDefaultEQ applies the EQ predicate on the "is_default" field.

func IsDefaultNEQ

func IsDefaultNEQ(v bool) predicate.App

IsDefaultNEQ applies the NEQ predicate on the "is_default" field.

func MetadataIsNil

func MetadataIsNil() predicate.App

MetadataIsNil applies the IsNil predicate on the "metadata" field.

func MetadataNotNil

func MetadataNotNil() predicate.App

MetadataNotNil applies the NotNil predicate on the "metadata" field.

func Name

func Name(v string) predicate.App

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.App

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.App

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.App

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.App

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.App

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.App

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.App

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.App

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.App

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.App

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.App

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.App

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.App

NameNotIn applies the NotIn predicate on the "name" field.

func Namespace

func Namespace(v string) predicate.App

Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.

func NamespaceContains

func NamespaceContains(v string) predicate.App

NamespaceContains applies the Contains predicate on the "namespace" field.

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.App

NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.

func NamespaceEQ

func NamespaceEQ(v string) predicate.App

NamespaceEQ applies the EQ predicate on the "namespace" field.

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.App

NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.

func NamespaceGT

func NamespaceGT(v string) predicate.App

NamespaceGT applies the GT predicate on the "namespace" field.

func NamespaceGTE

func NamespaceGTE(v string) predicate.App

NamespaceGTE applies the GTE predicate on the "namespace" field.

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.App

NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.App

NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.

func NamespaceIn

func NamespaceIn(vs ...string) predicate.App

NamespaceIn applies the In predicate on the "namespace" field.

func NamespaceLT

func NamespaceLT(v string) predicate.App

NamespaceLT applies the LT predicate on the "namespace" field.

func NamespaceLTE

func NamespaceLTE(v string) predicate.App

NamespaceLTE applies the LTE predicate on the "namespace" field.

func NamespaceNEQ

func NamespaceNEQ(v string) predicate.App

NamespaceNEQ applies the NEQ predicate on the "namespace" field.

func NamespaceNotIn

func NamespaceNotIn(vs ...string) predicate.App

NamespaceNotIn applies the NotIn predicate on the "namespace" field.

func Not

func Not(p predicate.App) predicate.App

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.App) predicate.App

Or groups predicates with the OR operator between them.

func Status

func Status(v app.AppStatus) predicate.App

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

func StatusContains

func StatusContains(v app.AppStatus) predicate.App

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

func StatusContainsFold

func StatusContainsFold(v app.AppStatus) predicate.App

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

func StatusEQ

func StatusEQ(v app.AppStatus) predicate.App

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

func StatusEqualFold

func StatusEqualFold(v app.AppStatus) predicate.App

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

func StatusGT

func StatusGT(v app.AppStatus) predicate.App

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

func StatusGTE

func StatusGTE(v app.AppStatus) predicate.App

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

func StatusHasPrefix

func StatusHasPrefix(v app.AppStatus) predicate.App

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

func StatusHasSuffix

func StatusHasSuffix(v app.AppStatus) predicate.App

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

func StatusIn

func StatusIn(vs ...app.AppStatus) predicate.App

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

func StatusLT

func StatusLT(v app.AppStatus) predicate.App

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

func StatusLTE

func StatusLTE(v app.AppStatus) predicate.App

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

func StatusNEQ

func StatusNEQ(v app.AppStatus) predicate.App

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

func StatusNotIn

func StatusNotIn(vs ...app.AppStatus) predicate.App

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

func Type

func Type(v app.AppType) predicate.App

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v app.AppType) predicate.App

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v app.AppType) predicate.App

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

func TypeEQ(v app.AppType) predicate.App

TypeEQ applies the EQ predicate on the "type" field.

func TypeEqualFold

func TypeEqualFold(v app.AppType) predicate.App

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

func TypeGT(v app.AppType) predicate.App

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v app.AppType) predicate.App

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v app.AppType) predicate.App

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v app.AppType) predicate.App

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...app.AppType) predicate.App

TypeIn applies the In predicate on the "type" field.

func TypeLT

func TypeLT(v app.AppType) predicate.App

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v app.AppType) predicate.App

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v app.AppType) predicate.App

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...app.AppType) predicate.App

TypeNotIn applies the NotIn predicate on the "type" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.App

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.App

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.App

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.App

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.App

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.App

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.App

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

func UpdatedAtNotIn

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

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" 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 App queries.

func ByBillingInvoiceInvoicingApp

func ByBillingInvoiceInvoicingApp(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBillingInvoiceInvoicingApp orders the results by billing_invoice_invoicing_app terms.

func ByBillingInvoiceInvoicingAppCount

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

ByBillingInvoiceInvoicingAppCount orders the results by billing_invoice_invoicing_app count.

func ByBillingInvoicePaymentApp

func ByBillingInvoicePaymentApp(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBillingInvoicePaymentApp orders the results by billing_invoice_payment_app terms.

func ByBillingInvoicePaymentAppCount

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

ByBillingInvoicePaymentAppCount orders the results by billing_invoice_payment_app count.

func ByBillingInvoiceTaxApp

func ByBillingInvoiceTaxApp(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBillingInvoiceTaxApp orders the results by billing_invoice_tax_app terms.

func ByBillingInvoiceTaxAppCount

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

ByBillingInvoiceTaxAppCount orders the results by billing_invoice_tax_app count.

func ByBillingProfileInvoicingApp

func ByBillingProfileInvoicingApp(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBillingProfileInvoicingApp orders the results by billing_profile_invoicing_app terms.

func ByBillingProfileInvoicingAppCount

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

ByBillingProfileInvoicingAppCount orders the results by billing_profile_invoicing_app count.

func ByBillingProfilePaymentApp

func ByBillingProfilePaymentApp(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBillingProfilePaymentApp orders the results by billing_profile_payment_app terms.

func ByBillingProfilePaymentAppCount

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

ByBillingProfilePaymentAppCount orders the results by billing_profile_payment_app count.

func ByBillingProfileTaxApp

func ByBillingProfileTaxApp(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByBillingProfileTaxApp orders the results by billing_profile_tax_app terms.

func ByBillingProfileTaxAppCount

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

ByBillingProfileTaxAppCount orders the results by billing_profile_tax_app count.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCustomerApps

func ByCustomerApps(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByCustomerApps orders the results by customer_apps terms.

func ByCustomerAppsCount

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

ByCustomerAppsCount orders the results by customer_apps count.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDescription

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

ByDescription orders the results by the description field.

func ByID

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

ByID orders the results by the id field.

func ByIsDefault

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

ByIsDefault orders the results by the is_default field.

func ByName

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

ByName orders the results by the name field.

func ByNamespace

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

ByNamespace orders the results by the namespace field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByType

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

ByType orders the results by the type field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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