appcustomer

package
v1.0.0-beta.231 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the appcustomer type in the database.
	Label = "app_customer"
	// 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"
	// 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"
	// FieldAppID holds the string denoting the app_id field in the database.
	FieldAppID = "app_id"
	// FieldCustomerID holds the string denoting the customer_id field in the database.
	FieldCustomerID = "customer_id"
	// EdgeApp holds the string denoting the app edge name in mutations.
	EdgeApp = "app"
	// EdgeCustomer holds the string denoting the customer edge name in mutations.
	EdgeCustomer = "customer"
	// Table holds the table name of the appcustomer in the database.
	Table = "app_customers"
	// AppTable is the table that holds the app relation/edge.
	AppTable = "app_customers"
	// AppInverseTable is the table name for the App entity.
	// It exists in this package in order to avoid circular dependency with the "dbapp" package.
	AppInverseTable = "apps"
	// AppColumn is the table column denoting the app relation/edge.
	AppColumn = "app_id"
	// CustomerTable is the table that holds the customer relation/edge.
	CustomerTable = "app_customers"
	// CustomerInverseTable is the table name for the Customer entity.
	// It exists in this package in order to avoid circular dependency with the "customer" package.
	CustomerInverseTable = "customers"
	// CustomerColumn is the table column denoting the customer relation/edge.
	CustomerColumn = "customer_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
	// AppIDValidator is a validator for the "app_id" field. It is called by the builders before save.
	AppIDValidator func(string) error
	// CustomerIDValidator is a validator for the "customer_id" field. It is called by the builders before save.
	CustomerIDValidator func(string) error
)

Columns holds all SQL columns for appcustomer fields.

Functions

func And

func And(predicates ...predicate.AppCustomer) predicate.AppCustomer

And groups predicates with the AND operator between them.

func AppID

func AppID(v string) predicate.AppCustomer

AppID applies equality check predicate on the "app_id" field. It's identical to AppIDEQ.

func AppIDContains

func AppIDContains(v string) predicate.AppCustomer

AppIDContains applies the Contains predicate on the "app_id" field.

func AppIDContainsFold

func AppIDContainsFold(v string) predicate.AppCustomer

AppIDContainsFold applies the ContainsFold predicate on the "app_id" field.

func AppIDEQ

func AppIDEQ(v string) predicate.AppCustomer

AppIDEQ applies the EQ predicate on the "app_id" field.

func AppIDEqualFold

func AppIDEqualFold(v string) predicate.AppCustomer

AppIDEqualFold applies the EqualFold predicate on the "app_id" field.

func AppIDGT

func AppIDGT(v string) predicate.AppCustomer

AppIDGT applies the GT predicate on the "app_id" field.

func AppIDGTE

func AppIDGTE(v string) predicate.AppCustomer

AppIDGTE applies the GTE predicate on the "app_id" field.

func AppIDHasPrefix

func AppIDHasPrefix(v string) predicate.AppCustomer

AppIDHasPrefix applies the HasPrefix predicate on the "app_id" field.

func AppIDHasSuffix

func AppIDHasSuffix(v string) predicate.AppCustomer

AppIDHasSuffix applies the HasSuffix predicate on the "app_id" field.

func AppIDIn

func AppIDIn(vs ...string) predicate.AppCustomer

AppIDIn applies the In predicate on the "app_id" field.

func AppIDLT

func AppIDLT(v string) predicate.AppCustomer

AppIDLT applies the LT predicate on the "app_id" field.

func AppIDLTE

func AppIDLTE(v string) predicate.AppCustomer

AppIDLTE applies the LTE predicate on the "app_id" field.

func AppIDNEQ

func AppIDNEQ(v string) predicate.AppCustomer

AppIDNEQ applies the NEQ predicate on the "app_id" field.

func AppIDNotIn

func AppIDNotIn(vs ...string) predicate.AppCustomer

AppIDNotIn applies the NotIn predicate on the "app_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.AppCustomer

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.AppCustomer

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.AppCustomer

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.AppCustomer

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.AppCustomer

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.AppCustomer

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.AppCustomer

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

func CreatedAtNotIn

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

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

func CustomerID

func CustomerID(v string) predicate.AppCustomer

CustomerID applies equality check predicate on the "customer_id" field. It's identical to CustomerIDEQ.

func CustomerIDContains

func CustomerIDContains(v string) predicate.AppCustomer

CustomerIDContains applies the Contains predicate on the "customer_id" field.

func CustomerIDContainsFold

func CustomerIDContainsFold(v string) predicate.AppCustomer

CustomerIDContainsFold applies the ContainsFold predicate on the "customer_id" field.

func CustomerIDEQ

func CustomerIDEQ(v string) predicate.AppCustomer

CustomerIDEQ applies the EQ predicate on the "customer_id" field.

func CustomerIDEqualFold

func CustomerIDEqualFold(v string) predicate.AppCustomer

CustomerIDEqualFold applies the EqualFold predicate on the "customer_id" field.

func CustomerIDGT

func CustomerIDGT(v string) predicate.AppCustomer

CustomerIDGT applies the GT predicate on the "customer_id" field.

func CustomerIDGTE

func CustomerIDGTE(v string) predicate.AppCustomer

CustomerIDGTE applies the GTE predicate on the "customer_id" field.

func CustomerIDHasPrefix

func CustomerIDHasPrefix(v string) predicate.AppCustomer

CustomerIDHasPrefix applies the HasPrefix predicate on the "customer_id" field.

func CustomerIDHasSuffix

func CustomerIDHasSuffix(v string) predicate.AppCustomer

CustomerIDHasSuffix applies the HasSuffix predicate on the "customer_id" field.

func CustomerIDIn

func CustomerIDIn(vs ...string) predicate.AppCustomer

CustomerIDIn applies the In predicate on the "customer_id" field.

func CustomerIDLT

func CustomerIDLT(v string) predicate.AppCustomer

CustomerIDLT applies the LT predicate on the "customer_id" field.

func CustomerIDLTE

func CustomerIDLTE(v string) predicate.AppCustomer

CustomerIDLTE applies the LTE predicate on the "customer_id" field.

func CustomerIDNEQ

func CustomerIDNEQ(v string) predicate.AppCustomer

CustomerIDNEQ applies the NEQ predicate on the "customer_id" field.

func CustomerIDNotIn

func CustomerIDNotIn(vs ...string) predicate.AppCustomer

CustomerIDNotIn applies the NotIn predicate on the "customer_id" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.AppCustomer

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.AppCustomer

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.AppCustomer

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.AppCustomer

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.AppCustomer

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.AppCustomer

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.AppCustomer

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.AppCustomer

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.AppCustomer

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

func HasApp

func HasApp() predicate.AppCustomer

HasApp applies the HasEdge predicate on the "app" edge.

func HasAppWith

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

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

func HasCustomer

func HasCustomer() predicate.AppCustomer

HasCustomer applies the HasEdge predicate on the "customer" edge.

func HasCustomerWith

func HasCustomerWith(preds ...predicate.Customer) predicate.AppCustomer

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

func ID

func ID(id int) predicate.AppCustomer

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.AppCustomer

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.AppCustomer

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.AppCustomer

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.AppCustomer

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.AppCustomer

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.AppCustomer

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.AppCustomer

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.AppCustomer

IDNotIn applies the NotIn predicate on the ID field.

func Namespace

func Namespace(v string) predicate.AppCustomer

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

func NamespaceContains

func NamespaceContains(v string) predicate.AppCustomer

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

func NamespaceContainsFold

func NamespaceContainsFold(v string) predicate.AppCustomer

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

func NamespaceEQ

func NamespaceEQ(v string) predicate.AppCustomer

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

func NamespaceEqualFold

func NamespaceEqualFold(v string) predicate.AppCustomer

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

func NamespaceGT

func NamespaceGT(v string) predicate.AppCustomer

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

func NamespaceGTE

func NamespaceGTE(v string) predicate.AppCustomer

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

func NamespaceHasPrefix

func NamespaceHasPrefix(v string) predicate.AppCustomer

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

func NamespaceHasSuffix

func NamespaceHasSuffix(v string) predicate.AppCustomer

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

func NamespaceIn

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

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

func NamespaceLT

func NamespaceLT(v string) predicate.AppCustomer

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

func NamespaceLTE

func NamespaceLTE(v string) predicate.AppCustomer

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

func NamespaceNEQ

func NamespaceNEQ(v string) predicate.AppCustomer

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

func NamespaceNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.AppCustomer) predicate.AppCustomer

Or groups predicates with the OR operator between them.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.AppCustomer

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.AppCustomer

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.AppCustomer

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.AppCustomer

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.AppCustomer

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.AppCustomer

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.AppCustomer

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

func UpdatedAtNotIn

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

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 AppCustomer queries.

func ByAppField

func ByAppField(field string, opts ...sql.OrderTermOption) OrderOption

ByAppField orders the results by app field.

func ByAppID

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

ByAppID orders the results by the app_id field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCustomerField

func ByCustomerField(field string, opts ...sql.OrderTermOption) OrderOption

ByCustomerField orders the results by customer field.

func ByCustomerID

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

ByCustomerID orders the results by the customer_id field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByID

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

ByID orders the results by the id field.

func ByNamespace

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

ByNamespace orders the results by the namespace 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