customer

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the customer type in the database.
	Label = "customer"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTenantID holds the string denoting the tenant_id field in the database.
	FieldTenantID = "tenant_id"
	// FieldStatus holds the string denoting the status field in the database.
	FieldStatus = "status"
	// 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"
	// FieldEnvironmentID holds the string denoting the environment_id field in the database.
	FieldEnvironmentID = "environment_id"
	// FieldExternalID holds the string denoting the external_id field in the database.
	FieldExternalID = "external_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldAddressLine1 holds the string denoting the address_line1 field in the database.
	FieldAddressLine1 = "address_line1"
	// FieldAddressLine2 holds the string denoting the address_line2 field in the database.
	FieldAddressLine2 = "address_line2"
	// FieldAddressCity holds the string denoting the address_city field in the database.
	FieldAddressCity = "address_city"
	// FieldAddressState holds the string denoting the address_state field in the database.
	FieldAddressState = "address_state"
	// FieldAddressPostalCode holds the string denoting the address_postal_code field in the database.
	FieldAddressPostalCode = "address_postal_code"
	// FieldAddressCountry holds the string denoting the address_country field in the database.
	FieldAddressCountry = "address_country"
	// FieldMetadata holds the string denoting the metadata field in the database.
	FieldMetadata = "metadata"
	// Table holds the table name of the customer in the database.
	Table = "customers"
)

Variables

View Source
var (
	// TenantIDValidator is a validator for the "tenant_id" field. It is called by the builders before save.
	TenantIDValidator func(string) error
	// DefaultStatus holds the default value on creation for the "status" field.
	DefaultStatus string
	// 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
	// DefaultEnvironmentID holds the default value on creation for the "environment_id" field.
	DefaultEnvironmentID string
	// ExternalIDValidator is a validator for the "external_id" field. It is called by the builders before save.
	ExternalIDValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
)

Columns holds all SQL columns for customer fields.

Functions

func AddressCity

func AddressCity(v string) predicate.Customer

AddressCity applies equality check predicate on the "address_city" field. It's identical to AddressCityEQ.

func AddressCityContains

func AddressCityContains(v string) predicate.Customer

AddressCityContains applies the Contains predicate on the "address_city" field.

func AddressCityContainsFold

func AddressCityContainsFold(v string) predicate.Customer

AddressCityContainsFold applies the ContainsFold predicate on the "address_city" field.

func AddressCityEQ

func AddressCityEQ(v string) predicate.Customer

AddressCityEQ applies the EQ predicate on the "address_city" field.

func AddressCityEqualFold

func AddressCityEqualFold(v string) predicate.Customer

AddressCityEqualFold applies the EqualFold predicate on the "address_city" field.

func AddressCityGT

func AddressCityGT(v string) predicate.Customer

AddressCityGT applies the GT predicate on the "address_city" field.

func AddressCityGTE

func AddressCityGTE(v string) predicate.Customer

AddressCityGTE applies the GTE predicate on the "address_city" field.

func AddressCityHasPrefix

func AddressCityHasPrefix(v string) predicate.Customer

AddressCityHasPrefix applies the HasPrefix predicate on the "address_city" field.

func AddressCityHasSuffix

func AddressCityHasSuffix(v string) predicate.Customer

AddressCityHasSuffix applies the HasSuffix predicate on the "address_city" field.

func AddressCityIn

func AddressCityIn(vs ...string) predicate.Customer

AddressCityIn applies the In predicate on the "address_city" field.

func AddressCityIsNil

func AddressCityIsNil() predicate.Customer

AddressCityIsNil applies the IsNil predicate on the "address_city" field.

func AddressCityLT

func AddressCityLT(v string) predicate.Customer

AddressCityLT applies the LT predicate on the "address_city" field.

func AddressCityLTE

func AddressCityLTE(v string) predicate.Customer

AddressCityLTE applies the LTE predicate on the "address_city" field.

func AddressCityNEQ

func AddressCityNEQ(v string) predicate.Customer

AddressCityNEQ applies the NEQ predicate on the "address_city" field.

func AddressCityNotIn

func AddressCityNotIn(vs ...string) predicate.Customer

AddressCityNotIn applies the NotIn predicate on the "address_city" field.

func AddressCityNotNil

func AddressCityNotNil() predicate.Customer

AddressCityNotNil applies the NotNil predicate on the "address_city" field.

func AddressCountry

func AddressCountry(v string) predicate.Customer

AddressCountry applies equality check predicate on the "address_country" field. It's identical to AddressCountryEQ.

func AddressCountryContains

func AddressCountryContains(v string) predicate.Customer

AddressCountryContains applies the Contains predicate on the "address_country" field.

func AddressCountryContainsFold

func AddressCountryContainsFold(v string) predicate.Customer

AddressCountryContainsFold applies the ContainsFold predicate on the "address_country" field.

func AddressCountryEQ

func AddressCountryEQ(v string) predicate.Customer

AddressCountryEQ applies the EQ predicate on the "address_country" field.

func AddressCountryEqualFold

func AddressCountryEqualFold(v string) predicate.Customer

AddressCountryEqualFold applies the EqualFold predicate on the "address_country" field.

func AddressCountryGT

func AddressCountryGT(v string) predicate.Customer

AddressCountryGT applies the GT predicate on the "address_country" field.

func AddressCountryGTE

func AddressCountryGTE(v string) predicate.Customer

AddressCountryGTE applies the GTE predicate on the "address_country" field.

func AddressCountryHasPrefix

func AddressCountryHasPrefix(v string) predicate.Customer

AddressCountryHasPrefix applies the HasPrefix predicate on the "address_country" field.

func AddressCountryHasSuffix

func AddressCountryHasSuffix(v string) predicate.Customer

AddressCountryHasSuffix applies the HasSuffix predicate on the "address_country" field.

func AddressCountryIn

func AddressCountryIn(vs ...string) predicate.Customer

AddressCountryIn applies the In predicate on the "address_country" field.

func AddressCountryIsNil

func AddressCountryIsNil() predicate.Customer

AddressCountryIsNil applies the IsNil predicate on the "address_country" field.

func AddressCountryLT

func AddressCountryLT(v string) predicate.Customer

AddressCountryLT applies the LT predicate on the "address_country" field.

func AddressCountryLTE

func AddressCountryLTE(v string) predicate.Customer

AddressCountryLTE applies the LTE predicate on the "address_country" field.

func AddressCountryNEQ

func AddressCountryNEQ(v string) predicate.Customer

AddressCountryNEQ applies the NEQ predicate on the "address_country" field.

func AddressCountryNotIn

func AddressCountryNotIn(vs ...string) predicate.Customer

AddressCountryNotIn applies the NotIn predicate on the "address_country" field.

func AddressCountryNotNil

func AddressCountryNotNil() predicate.Customer

AddressCountryNotNil applies the NotNil predicate on the "address_country" field.

func AddressLine1

func AddressLine1(v string) predicate.Customer

AddressLine1 applies equality check predicate on the "address_line1" field. It's identical to AddressLine1EQ.

func AddressLine1Contains

func AddressLine1Contains(v string) predicate.Customer

AddressLine1Contains applies the Contains predicate on the "address_line1" field.

func AddressLine1ContainsFold

func AddressLine1ContainsFold(v string) predicate.Customer

AddressLine1ContainsFold applies the ContainsFold predicate on the "address_line1" field.

func AddressLine1EQ

func AddressLine1EQ(v string) predicate.Customer

AddressLine1EQ applies the EQ predicate on the "address_line1" field.

func AddressLine1EqualFold

func AddressLine1EqualFold(v string) predicate.Customer

AddressLine1EqualFold applies the EqualFold predicate on the "address_line1" field.

func AddressLine1GT

func AddressLine1GT(v string) predicate.Customer

AddressLine1GT applies the GT predicate on the "address_line1" field.

func AddressLine1GTE

func AddressLine1GTE(v string) predicate.Customer

AddressLine1GTE applies the GTE predicate on the "address_line1" field.

func AddressLine1HasPrefix

func AddressLine1HasPrefix(v string) predicate.Customer

AddressLine1HasPrefix applies the HasPrefix predicate on the "address_line1" field.

func AddressLine1HasSuffix

func AddressLine1HasSuffix(v string) predicate.Customer

AddressLine1HasSuffix applies the HasSuffix predicate on the "address_line1" field.

func AddressLine1In

func AddressLine1In(vs ...string) predicate.Customer

AddressLine1In applies the In predicate on the "address_line1" field.

func AddressLine1IsNil

func AddressLine1IsNil() predicate.Customer

AddressLine1IsNil applies the IsNil predicate on the "address_line1" field.

func AddressLine1LT

func AddressLine1LT(v string) predicate.Customer

AddressLine1LT applies the LT predicate on the "address_line1" field.

func AddressLine1LTE

func AddressLine1LTE(v string) predicate.Customer

AddressLine1LTE applies the LTE predicate on the "address_line1" field.

func AddressLine1NEQ

func AddressLine1NEQ(v string) predicate.Customer

AddressLine1NEQ applies the NEQ predicate on the "address_line1" field.

func AddressLine1NotIn

func AddressLine1NotIn(vs ...string) predicate.Customer

AddressLine1NotIn applies the NotIn predicate on the "address_line1" field.

func AddressLine1NotNil

func AddressLine1NotNil() predicate.Customer

AddressLine1NotNil applies the NotNil predicate on the "address_line1" field.

func AddressLine2

func AddressLine2(v string) predicate.Customer

AddressLine2 applies equality check predicate on the "address_line2" field. It's identical to AddressLine2EQ.

func AddressLine2Contains

func AddressLine2Contains(v string) predicate.Customer

AddressLine2Contains applies the Contains predicate on the "address_line2" field.

func AddressLine2ContainsFold

func AddressLine2ContainsFold(v string) predicate.Customer

AddressLine2ContainsFold applies the ContainsFold predicate on the "address_line2" field.

func AddressLine2EQ

func AddressLine2EQ(v string) predicate.Customer

AddressLine2EQ applies the EQ predicate on the "address_line2" field.

func AddressLine2EqualFold

func AddressLine2EqualFold(v string) predicate.Customer

AddressLine2EqualFold applies the EqualFold predicate on the "address_line2" field.

func AddressLine2GT

func AddressLine2GT(v string) predicate.Customer

AddressLine2GT applies the GT predicate on the "address_line2" field.

func AddressLine2GTE

func AddressLine2GTE(v string) predicate.Customer

AddressLine2GTE applies the GTE predicate on the "address_line2" field.

func AddressLine2HasPrefix

func AddressLine2HasPrefix(v string) predicate.Customer

AddressLine2HasPrefix applies the HasPrefix predicate on the "address_line2" field.

func AddressLine2HasSuffix

func AddressLine2HasSuffix(v string) predicate.Customer

AddressLine2HasSuffix applies the HasSuffix predicate on the "address_line2" field.

func AddressLine2In

func AddressLine2In(vs ...string) predicate.Customer

AddressLine2In applies the In predicate on the "address_line2" field.

func AddressLine2IsNil

func AddressLine2IsNil() predicate.Customer

AddressLine2IsNil applies the IsNil predicate on the "address_line2" field.

func AddressLine2LT

func AddressLine2LT(v string) predicate.Customer

AddressLine2LT applies the LT predicate on the "address_line2" field.

func AddressLine2LTE

func AddressLine2LTE(v string) predicate.Customer

AddressLine2LTE applies the LTE predicate on the "address_line2" field.

func AddressLine2NEQ

func AddressLine2NEQ(v string) predicate.Customer

AddressLine2NEQ applies the NEQ predicate on the "address_line2" field.

func AddressLine2NotIn

func AddressLine2NotIn(vs ...string) predicate.Customer

AddressLine2NotIn applies the NotIn predicate on the "address_line2" field.

func AddressLine2NotNil

func AddressLine2NotNil() predicate.Customer

AddressLine2NotNil applies the NotNil predicate on the "address_line2" field.

func AddressPostalCode

func AddressPostalCode(v string) predicate.Customer

AddressPostalCode applies equality check predicate on the "address_postal_code" field. It's identical to AddressPostalCodeEQ.

func AddressPostalCodeContains

func AddressPostalCodeContains(v string) predicate.Customer

AddressPostalCodeContains applies the Contains predicate on the "address_postal_code" field.

func AddressPostalCodeContainsFold

func AddressPostalCodeContainsFold(v string) predicate.Customer

AddressPostalCodeContainsFold applies the ContainsFold predicate on the "address_postal_code" field.

func AddressPostalCodeEQ

func AddressPostalCodeEQ(v string) predicate.Customer

AddressPostalCodeEQ applies the EQ predicate on the "address_postal_code" field.

func AddressPostalCodeEqualFold

func AddressPostalCodeEqualFold(v string) predicate.Customer

AddressPostalCodeEqualFold applies the EqualFold predicate on the "address_postal_code" field.

func AddressPostalCodeGT

func AddressPostalCodeGT(v string) predicate.Customer

AddressPostalCodeGT applies the GT predicate on the "address_postal_code" field.

func AddressPostalCodeGTE

func AddressPostalCodeGTE(v string) predicate.Customer

AddressPostalCodeGTE applies the GTE predicate on the "address_postal_code" field.

func AddressPostalCodeHasPrefix

func AddressPostalCodeHasPrefix(v string) predicate.Customer

AddressPostalCodeHasPrefix applies the HasPrefix predicate on the "address_postal_code" field.

func AddressPostalCodeHasSuffix

func AddressPostalCodeHasSuffix(v string) predicate.Customer

AddressPostalCodeHasSuffix applies the HasSuffix predicate on the "address_postal_code" field.

func AddressPostalCodeIn

func AddressPostalCodeIn(vs ...string) predicate.Customer

AddressPostalCodeIn applies the In predicate on the "address_postal_code" field.

func AddressPostalCodeIsNil

func AddressPostalCodeIsNil() predicate.Customer

AddressPostalCodeIsNil applies the IsNil predicate on the "address_postal_code" field.

func AddressPostalCodeLT

func AddressPostalCodeLT(v string) predicate.Customer

AddressPostalCodeLT applies the LT predicate on the "address_postal_code" field.

func AddressPostalCodeLTE

func AddressPostalCodeLTE(v string) predicate.Customer

AddressPostalCodeLTE applies the LTE predicate on the "address_postal_code" field.

func AddressPostalCodeNEQ

func AddressPostalCodeNEQ(v string) predicate.Customer

AddressPostalCodeNEQ applies the NEQ predicate on the "address_postal_code" field.

func AddressPostalCodeNotIn

func AddressPostalCodeNotIn(vs ...string) predicate.Customer

AddressPostalCodeNotIn applies the NotIn predicate on the "address_postal_code" field.

func AddressPostalCodeNotNil

func AddressPostalCodeNotNil() predicate.Customer

AddressPostalCodeNotNil applies the NotNil predicate on the "address_postal_code" field.

func AddressState

func AddressState(v string) predicate.Customer

AddressState applies equality check predicate on the "address_state" field. It's identical to AddressStateEQ.

func AddressStateContains

func AddressStateContains(v string) predicate.Customer

AddressStateContains applies the Contains predicate on the "address_state" field.

func AddressStateContainsFold

func AddressStateContainsFold(v string) predicate.Customer

AddressStateContainsFold applies the ContainsFold predicate on the "address_state" field.

func AddressStateEQ

func AddressStateEQ(v string) predicate.Customer

AddressStateEQ applies the EQ predicate on the "address_state" field.

func AddressStateEqualFold

func AddressStateEqualFold(v string) predicate.Customer

AddressStateEqualFold applies the EqualFold predicate on the "address_state" field.

func AddressStateGT

func AddressStateGT(v string) predicate.Customer

AddressStateGT applies the GT predicate on the "address_state" field.

func AddressStateGTE

func AddressStateGTE(v string) predicate.Customer

AddressStateGTE applies the GTE predicate on the "address_state" field.

func AddressStateHasPrefix

func AddressStateHasPrefix(v string) predicate.Customer

AddressStateHasPrefix applies the HasPrefix predicate on the "address_state" field.

func AddressStateHasSuffix

func AddressStateHasSuffix(v string) predicate.Customer

AddressStateHasSuffix applies the HasSuffix predicate on the "address_state" field.

func AddressStateIn

func AddressStateIn(vs ...string) predicate.Customer

AddressStateIn applies the In predicate on the "address_state" field.

func AddressStateIsNil

func AddressStateIsNil() predicate.Customer

AddressStateIsNil applies the IsNil predicate on the "address_state" field.

func AddressStateLT

func AddressStateLT(v string) predicate.Customer

AddressStateLT applies the LT predicate on the "address_state" field.

func AddressStateLTE

func AddressStateLTE(v string) predicate.Customer

AddressStateLTE applies the LTE predicate on the "address_state" field.

func AddressStateNEQ

func AddressStateNEQ(v string) predicate.Customer

AddressStateNEQ applies the NEQ predicate on the "address_state" field.

func AddressStateNotIn

func AddressStateNotIn(vs ...string) predicate.Customer

AddressStateNotIn applies the NotIn predicate on the "address_state" field.

func AddressStateNotNil

func AddressStateNotNil() predicate.Customer

AddressStateNotNil applies the NotNil predicate on the "address_state" field.

func And

func And(predicates ...predicate.Customer) predicate.Customer

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Customer

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Customer

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Customer

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Customer

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Customer

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Customer

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Customer

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

func CreatedAtNotIn

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

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

func CreatedBy

func CreatedBy(v string) predicate.Customer

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

func CreatedByContains

func CreatedByContains(v string) predicate.Customer

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.Customer

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.Customer

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.Customer

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

func CreatedByGT

func CreatedByGT(v string) predicate.Customer

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.Customer

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.Customer

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.Customer

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.Customer

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

func CreatedByLT

func CreatedByLT(v string) predicate.Customer

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.Customer

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.Customer

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.Customer

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

func Email

func Email(v string) predicate.Customer

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.Customer

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.Customer

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.Customer

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.Customer

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.Customer

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.Customer

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.Customer

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.Customer

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.Customer

EmailIn applies the In predicate on the "email" field.

func EmailIsNil

func EmailIsNil() predicate.Customer

EmailIsNil applies the IsNil predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.Customer

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.Customer

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.Customer

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.Customer

EmailNotIn applies the NotIn predicate on the "email" field.

func EmailNotNil

func EmailNotNil() predicate.Customer

EmailNotNil applies the NotNil predicate on the "email" field.

func EnvironmentID

func EnvironmentID(v string) predicate.Customer

EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.

func EnvironmentIDContains

func EnvironmentIDContains(v string) predicate.Customer

EnvironmentIDContains applies the Contains predicate on the "environment_id" field.

func EnvironmentIDContainsFold

func EnvironmentIDContainsFold(v string) predicate.Customer

EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.

func EnvironmentIDEQ

func EnvironmentIDEQ(v string) predicate.Customer

EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.

func EnvironmentIDEqualFold

func EnvironmentIDEqualFold(v string) predicate.Customer

EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.

func EnvironmentIDGT

func EnvironmentIDGT(v string) predicate.Customer

EnvironmentIDGT applies the GT predicate on the "environment_id" field.

func EnvironmentIDGTE

func EnvironmentIDGTE(v string) predicate.Customer

EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.

func EnvironmentIDHasPrefix

func EnvironmentIDHasPrefix(v string) predicate.Customer

EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.

func EnvironmentIDHasSuffix

func EnvironmentIDHasSuffix(v string) predicate.Customer

EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.

func EnvironmentIDIn

func EnvironmentIDIn(vs ...string) predicate.Customer

EnvironmentIDIn applies the In predicate on the "environment_id" field.

func EnvironmentIDIsNil

func EnvironmentIDIsNil() predicate.Customer

EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.

func EnvironmentIDLT

func EnvironmentIDLT(v string) predicate.Customer

EnvironmentIDLT applies the LT predicate on the "environment_id" field.

func EnvironmentIDLTE

func EnvironmentIDLTE(v string) predicate.Customer

EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.

func EnvironmentIDNEQ

func EnvironmentIDNEQ(v string) predicate.Customer

EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.

func EnvironmentIDNotIn

func EnvironmentIDNotIn(vs ...string) predicate.Customer

EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.

func EnvironmentIDNotNil

func EnvironmentIDNotNil() predicate.Customer

EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.

func ExternalID

func ExternalID(v string) predicate.Customer

ExternalID applies equality check predicate on the "external_id" field. It's identical to ExternalIDEQ.

func ExternalIDContains

func ExternalIDContains(v string) predicate.Customer

ExternalIDContains applies the Contains predicate on the "external_id" field.

func ExternalIDContainsFold

func ExternalIDContainsFold(v string) predicate.Customer

ExternalIDContainsFold applies the ContainsFold predicate on the "external_id" field.

func ExternalIDEQ

func ExternalIDEQ(v string) predicate.Customer

ExternalIDEQ applies the EQ predicate on the "external_id" field.

func ExternalIDEqualFold

func ExternalIDEqualFold(v string) predicate.Customer

ExternalIDEqualFold applies the EqualFold predicate on the "external_id" field.

func ExternalIDGT

func ExternalIDGT(v string) predicate.Customer

ExternalIDGT applies the GT predicate on the "external_id" field.

func ExternalIDGTE

func ExternalIDGTE(v string) predicate.Customer

ExternalIDGTE applies the GTE predicate on the "external_id" field.

func ExternalIDHasPrefix

func ExternalIDHasPrefix(v string) predicate.Customer

ExternalIDHasPrefix applies the HasPrefix predicate on the "external_id" field.

func ExternalIDHasSuffix

func ExternalIDHasSuffix(v string) predicate.Customer

ExternalIDHasSuffix applies the HasSuffix predicate on the "external_id" field.

func ExternalIDIn

func ExternalIDIn(vs ...string) predicate.Customer

ExternalIDIn applies the In predicate on the "external_id" field.

func ExternalIDLT

func ExternalIDLT(v string) predicate.Customer

ExternalIDLT applies the LT predicate on the "external_id" field.

func ExternalIDLTE

func ExternalIDLTE(v string) predicate.Customer

ExternalIDLTE applies the LTE predicate on the "external_id" field.

func ExternalIDNEQ

func ExternalIDNEQ(v string) predicate.Customer

ExternalIDNEQ applies the NEQ predicate on the "external_id" field.

func ExternalIDNotIn

func ExternalIDNotIn(vs ...string) predicate.Customer

ExternalIDNotIn applies the NotIn predicate on the "external_id" field.

func ID

func ID(id string) predicate.Customer

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.Customer

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

func IDEQ(id string) predicate.Customer

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.Customer

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

func IDGT(id string) predicate.Customer

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.Customer

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.Customer

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.Customer

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.Customer

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func MetadataIsNil

func MetadataIsNil() predicate.Customer

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

func MetadataNotNil

func MetadataNotNil() predicate.Customer

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

func Name

func Name(v string) predicate.Customer

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

func NameContains

func NameContains(v string) predicate.Customer

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

func NameContainsFold

func NameContainsFold(v string) predicate.Customer

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

func NameEQ

func NameEQ(v string) predicate.Customer

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

func NameEqualFold

func NameEqualFold(v string) predicate.Customer

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

func NameGT

func NameGT(v string) predicate.Customer

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

func NameGTE

func NameGTE(v string) predicate.Customer

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Customer

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Customer

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Customer

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

func NameLTE

func NameLTE(v string) predicate.Customer

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

func NameNEQ

func NameNEQ(v string) predicate.Customer

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Customer) predicate.Customer

Or groups predicates with the OR operator between them.

func Status

func Status(v string) predicate.Customer

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

func StatusContains

func StatusContains(v string) predicate.Customer

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

func StatusContainsFold

func StatusContainsFold(v string) predicate.Customer

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

func StatusEQ

func StatusEQ(v string) predicate.Customer

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

func StatusEqualFold

func StatusEqualFold(v string) predicate.Customer

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

func StatusGT

func StatusGT(v string) predicate.Customer

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

func StatusGTE

func StatusGTE(v string) predicate.Customer

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

func StatusHasPrefix

func StatusHasPrefix(v string) predicate.Customer

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

func StatusHasSuffix

func StatusHasSuffix(v string) predicate.Customer

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

func StatusIn

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

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

func StatusLT

func StatusLT(v string) predicate.Customer

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

func StatusLTE

func StatusLTE(v string) predicate.Customer

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

func StatusNEQ

func StatusNEQ(v string) predicate.Customer

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

func StatusNotIn

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

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

func TenantID

func TenantID(v string) predicate.Customer

TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.

func TenantIDContains

func TenantIDContains(v string) predicate.Customer

TenantIDContains applies the Contains predicate on the "tenant_id" field.

func TenantIDContainsFold

func TenantIDContainsFold(v string) predicate.Customer

TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.

func TenantIDEQ

func TenantIDEQ(v string) predicate.Customer

TenantIDEQ applies the EQ predicate on the "tenant_id" field.

func TenantIDEqualFold

func TenantIDEqualFold(v string) predicate.Customer

TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.

func TenantIDGT

func TenantIDGT(v string) predicate.Customer

TenantIDGT applies the GT predicate on the "tenant_id" field.

func TenantIDGTE

func TenantIDGTE(v string) predicate.Customer

TenantIDGTE applies the GTE predicate on the "tenant_id" field.

func TenantIDHasPrefix

func TenantIDHasPrefix(v string) predicate.Customer

TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.

func TenantIDHasSuffix

func TenantIDHasSuffix(v string) predicate.Customer

TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.

func TenantIDIn

func TenantIDIn(vs ...string) predicate.Customer

TenantIDIn applies the In predicate on the "tenant_id" field.

func TenantIDLT

func TenantIDLT(v string) predicate.Customer

TenantIDLT applies the LT predicate on the "tenant_id" field.

func TenantIDLTE

func TenantIDLTE(v string) predicate.Customer

TenantIDLTE applies the LTE predicate on the "tenant_id" field.

func TenantIDNEQ

func TenantIDNEQ(v string) predicate.Customer

TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.

func TenantIDNotIn

func TenantIDNotIn(vs ...string) predicate.Customer

TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Customer

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Customer

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Customer

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Customer

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Customer

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Customer

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Customer

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

func UpdatedAtNotIn

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

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

func UpdatedBy

func UpdatedBy(v string) predicate.Customer

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

func UpdatedByContains

func UpdatedByContains(v string) predicate.Customer

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.Customer

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.Customer

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.Customer

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.Customer

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.Customer

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.Customer

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.Customer

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.Customer

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.Customer

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.Customer

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.Customer

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.Customer

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

func ByAddressCity

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

ByAddressCity orders the results by the address_city field.

func ByAddressCountry

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

ByAddressCountry orders the results by the address_country field.

func ByAddressLine1

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

ByAddressLine1 orders the results by the address_line1 field.

func ByAddressLine2

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

ByAddressLine2 orders the results by the address_line2 field.

func ByAddressPostalCode

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

ByAddressPostalCode orders the results by the address_postal_code field.

func ByAddressState

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

ByAddressState orders the results by the address_state 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 ByEmail

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

ByEmail orders the results by the email field.

func ByEnvironmentID

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

ByEnvironmentID orders the results by the environment_id field.

func ByExternalID

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

ByExternalID orders the results by the external_id field.

func ByID

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

ByID orders the results by the id field.

func ByName

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

ByName orders the results by the name field.

func ByStatus

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

ByStatus orders the results by the status field.

func ByTenantID

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

ByTenantID orders the results by the tenant_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.

Jump to

Keyboard shortcuts

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