Documentation
¶
Index ¶
- Constants
- Variables
- func AddressCity(v string) predicate.Customer
- func AddressCityContains(v string) predicate.Customer
- func AddressCityContainsFold(v string) predicate.Customer
- func AddressCityEQ(v string) predicate.Customer
- func AddressCityEqualFold(v string) predicate.Customer
- func AddressCityGT(v string) predicate.Customer
- func AddressCityGTE(v string) predicate.Customer
- func AddressCityHasPrefix(v string) predicate.Customer
- func AddressCityHasSuffix(v string) predicate.Customer
- func AddressCityIn(vs ...string) predicate.Customer
- func AddressCityIsNil() predicate.Customer
- func AddressCityLT(v string) predicate.Customer
- func AddressCityLTE(v string) predicate.Customer
- func AddressCityNEQ(v string) predicate.Customer
- func AddressCityNotIn(vs ...string) predicate.Customer
- func AddressCityNotNil() predicate.Customer
- func AddressCountry(v string) predicate.Customer
- func AddressCountryContains(v string) predicate.Customer
- func AddressCountryContainsFold(v string) predicate.Customer
- func AddressCountryEQ(v string) predicate.Customer
- func AddressCountryEqualFold(v string) predicate.Customer
- func AddressCountryGT(v string) predicate.Customer
- func AddressCountryGTE(v string) predicate.Customer
- func AddressCountryHasPrefix(v string) predicate.Customer
- func AddressCountryHasSuffix(v string) predicate.Customer
- func AddressCountryIn(vs ...string) predicate.Customer
- func AddressCountryIsNil() predicate.Customer
- func AddressCountryLT(v string) predicate.Customer
- func AddressCountryLTE(v string) predicate.Customer
- func AddressCountryNEQ(v string) predicate.Customer
- func AddressCountryNotIn(vs ...string) predicate.Customer
- func AddressCountryNotNil() predicate.Customer
- func AddressLine1(v string) predicate.Customer
- func AddressLine1Contains(v string) predicate.Customer
- func AddressLine1ContainsFold(v string) predicate.Customer
- func AddressLine1EQ(v string) predicate.Customer
- func AddressLine1EqualFold(v string) predicate.Customer
- func AddressLine1GT(v string) predicate.Customer
- func AddressLine1GTE(v string) predicate.Customer
- func AddressLine1HasPrefix(v string) predicate.Customer
- func AddressLine1HasSuffix(v string) predicate.Customer
- func AddressLine1In(vs ...string) predicate.Customer
- func AddressLine1IsNil() predicate.Customer
- func AddressLine1LT(v string) predicate.Customer
- func AddressLine1LTE(v string) predicate.Customer
- func AddressLine1NEQ(v string) predicate.Customer
- func AddressLine1NotIn(vs ...string) predicate.Customer
- func AddressLine1NotNil() predicate.Customer
- func AddressLine2(v string) predicate.Customer
- func AddressLine2Contains(v string) predicate.Customer
- func AddressLine2ContainsFold(v string) predicate.Customer
- func AddressLine2EQ(v string) predicate.Customer
- func AddressLine2EqualFold(v string) predicate.Customer
- func AddressLine2GT(v string) predicate.Customer
- func AddressLine2GTE(v string) predicate.Customer
- func AddressLine2HasPrefix(v string) predicate.Customer
- func AddressLine2HasSuffix(v string) predicate.Customer
- func AddressLine2In(vs ...string) predicate.Customer
- func AddressLine2IsNil() predicate.Customer
- func AddressLine2LT(v string) predicate.Customer
- func AddressLine2LTE(v string) predicate.Customer
- func AddressLine2NEQ(v string) predicate.Customer
- func AddressLine2NotIn(vs ...string) predicate.Customer
- func AddressLine2NotNil() predicate.Customer
- func AddressPostalCode(v string) predicate.Customer
- func AddressPostalCodeContains(v string) predicate.Customer
- func AddressPostalCodeContainsFold(v string) predicate.Customer
- func AddressPostalCodeEQ(v string) predicate.Customer
- func AddressPostalCodeEqualFold(v string) predicate.Customer
- func AddressPostalCodeGT(v string) predicate.Customer
- func AddressPostalCodeGTE(v string) predicate.Customer
- func AddressPostalCodeHasPrefix(v string) predicate.Customer
- func AddressPostalCodeHasSuffix(v string) predicate.Customer
- func AddressPostalCodeIn(vs ...string) predicate.Customer
- func AddressPostalCodeIsNil() predicate.Customer
- func AddressPostalCodeLT(v string) predicate.Customer
- func AddressPostalCodeLTE(v string) predicate.Customer
- func AddressPostalCodeNEQ(v string) predicate.Customer
- func AddressPostalCodeNotIn(vs ...string) predicate.Customer
- func AddressPostalCodeNotNil() predicate.Customer
- func AddressState(v string) predicate.Customer
- func AddressStateContains(v string) predicate.Customer
- func AddressStateContainsFold(v string) predicate.Customer
- func AddressStateEQ(v string) predicate.Customer
- func AddressStateEqualFold(v string) predicate.Customer
- func AddressStateGT(v string) predicate.Customer
- func AddressStateGTE(v string) predicate.Customer
- func AddressStateHasPrefix(v string) predicate.Customer
- func AddressStateHasSuffix(v string) predicate.Customer
- func AddressStateIn(vs ...string) predicate.Customer
- func AddressStateIsNil() predicate.Customer
- func AddressStateLT(v string) predicate.Customer
- func AddressStateLTE(v string) predicate.Customer
- func AddressStateNEQ(v string) predicate.Customer
- func AddressStateNotIn(vs ...string) predicate.Customer
- func AddressStateNotNil() predicate.Customer
- func And(predicates ...predicate.Customer) predicate.Customer
- func CreatedAt(v time.Time) predicate.Customer
- func CreatedAtEQ(v time.Time) predicate.Customer
- func CreatedAtGT(v time.Time) predicate.Customer
- func CreatedAtGTE(v time.Time) predicate.Customer
- func CreatedAtIn(vs ...time.Time) predicate.Customer
- func CreatedAtLT(v time.Time) predicate.Customer
- func CreatedAtLTE(v time.Time) predicate.Customer
- func CreatedAtNEQ(v time.Time) predicate.Customer
- func CreatedAtNotIn(vs ...time.Time) predicate.Customer
- func CreatedBy(v string) predicate.Customer
- func CreatedByContains(v string) predicate.Customer
- func CreatedByContainsFold(v string) predicate.Customer
- func CreatedByEQ(v string) predicate.Customer
- func CreatedByEqualFold(v string) predicate.Customer
- func CreatedByGT(v string) predicate.Customer
- func CreatedByGTE(v string) predicate.Customer
- func CreatedByHasPrefix(v string) predicate.Customer
- func CreatedByHasSuffix(v string) predicate.Customer
- func CreatedByIn(vs ...string) predicate.Customer
- func CreatedByIsNil() predicate.Customer
- func CreatedByLT(v string) predicate.Customer
- func CreatedByLTE(v string) predicate.Customer
- func CreatedByNEQ(v string) predicate.Customer
- func CreatedByNotIn(vs ...string) predicate.Customer
- func CreatedByNotNil() predicate.Customer
- func Email(v string) predicate.Customer
- func EmailContains(v string) predicate.Customer
- func EmailContainsFold(v string) predicate.Customer
- func EmailEQ(v string) predicate.Customer
- func EmailEqualFold(v string) predicate.Customer
- func EmailGT(v string) predicate.Customer
- func EmailGTE(v string) predicate.Customer
- func EmailHasPrefix(v string) predicate.Customer
- func EmailHasSuffix(v string) predicate.Customer
- func EmailIn(vs ...string) predicate.Customer
- func EmailIsNil() predicate.Customer
- func EmailLT(v string) predicate.Customer
- func EmailLTE(v string) predicate.Customer
- func EmailNEQ(v string) predicate.Customer
- func EmailNotIn(vs ...string) predicate.Customer
- func EmailNotNil() predicate.Customer
- func EnvironmentID(v string) predicate.Customer
- func EnvironmentIDContains(v string) predicate.Customer
- func EnvironmentIDContainsFold(v string) predicate.Customer
- func EnvironmentIDEQ(v string) predicate.Customer
- func EnvironmentIDEqualFold(v string) predicate.Customer
- func EnvironmentIDGT(v string) predicate.Customer
- func EnvironmentIDGTE(v string) predicate.Customer
- func EnvironmentIDHasPrefix(v string) predicate.Customer
- func EnvironmentIDHasSuffix(v string) predicate.Customer
- func EnvironmentIDIn(vs ...string) predicate.Customer
- func EnvironmentIDIsNil() predicate.Customer
- func EnvironmentIDLT(v string) predicate.Customer
- func EnvironmentIDLTE(v string) predicate.Customer
- func EnvironmentIDNEQ(v string) predicate.Customer
- func EnvironmentIDNotIn(vs ...string) predicate.Customer
- func EnvironmentIDNotNil() predicate.Customer
- func ExternalID(v string) predicate.Customer
- func ExternalIDContains(v string) predicate.Customer
- func ExternalIDContainsFold(v string) predicate.Customer
- func ExternalIDEQ(v string) predicate.Customer
- func ExternalIDEqualFold(v string) predicate.Customer
- func ExternalIDGT(v string) predicate.Customer
- func ExternalIDGTE(v string) predicate.Customer
- func ExternalIDHasPrefix(v string) predicate.Customer
- func ExternalIDHasSuffix(v string) predicate.Customer
- func ExternalIDIn(vs ...string) predicate.Customer
- func ExternalIDLT(v string) predicate.Customer
- func ExternalIDLTE(v string) predicate.Customer
- func ExternalIDNEQ(v string) predicate.Customer
- func ExternalIDNotIn(vs ...string) predicate.Customer
- func ID(id string) predicate.Customer
- func IDContainsFold(id string) predicate.Customer
- func IDEQ(id string) predicate.Customer
- func IDEqualFold(id string) predicate.Customer
- func IDGT(id string) predicate.Customer
- func IDGTE(id string) predicate.Customer
- func IDIn(ids ...string) predicate.Customer
- func IDLT(id string) predicate.Customer
- func IDLTE(id string) predicate.Customer
- func IDNEQ(id string) predicate.Customer
- func IDNotIn(ids ...string) predicate.Customer
- func MetadataIsNil() predicate.Customer
- func MetadataNotNil() predicate.Customer
- func Name(v string) predicate.Customer
- func NameContains(v string) predicate.Customer
- func NameContainsFold(v string) predicate.Customer
- func NameEQ(v string) predicate.Customer
- func NameEqualFold(v string) predicate.Customer
- func NameGT(v string) predicate.Customer
- func NameGTE(v string) predicate.Customer
- func NameHasPrefix(v string) predicate.Customer
- func NameHasSuffix(v string) predicate.Customer
- func NameIn(vs ...string) predicate.Customer
- func NameLT(v string) predicate.Customer
- func NameLTE(v string) predicate.Customer
- func NameNEQ(v string) predicate.Customer
- func NameNotIn(vs ...string) predicate.Customer
- func Not(p predicate.Customer) predicate.Customer
- func Or(predicates ...predicate.Customer) predicate.Customer
- func Status(v string) predicate.Customer
- func StatusContains(v string) predicate.Customer
- func StatusContainsFold(v string) predicate.Customer
- func StatusEQ(v string) predicate.Customer
- func StatusEqualFold(v string) predicate.Customer
- func StatusGT(v string) predicate.Customer
- func StatusGTE(v string) predicate.Customer
- func StatusHasPrefix(v string) predicate.Customer
- func StatusHasSuffix(v string) predicate.Customer
- func StatusIn(vs ...string) predicate.Customer
- func StatusLT(v string) predicate.Customer
- func StatusLTE(v string) predicate.Customer
- func StatusNEQ(v string) predicate.Customer
- func StatusNotIn(vs ...string) predicate.Customer
- func TenantID(v string) predicate.Customer
- func TenantIDContains(v string) predicate.Customer
- func TenantIDContainsFold(v string) predicate.Customer
- func TenantIDEQ(v string) predicate.Customer
- func TenantIDEqualFold(v string) predicate.Customer
- func TenantIDGT(v string) predicate.Customer
- func TenantIDGTE(v string) predicate.Customer
- func TenantIDHasPrefix(v string) predicate.Customer
- func TenantIDHasSuffix(v string) predicate.Customer
- func TenantIDIn(vs ...string) predicate.Customer
- func TenantIDLT(v string) predicate.Customer
- func TenantIDLTE(v string) predicate.Customer
- func TenantIDNEQ(v string) predicate.Customer
- func TenantIDNotIn(vs ...string) predicate.Customer
- func UpdatedAt(v time.Time) predicate.Customer
- func UpdatedAtEQ(v time.Time) predicate.Customer
- func UpdatedAtGT(v time.Time) predicate.Customer
- func UpdatedAtGTE(v time.Time) predicate.Customer
- func UpdatedAtIn(vs ...time.Time) predicate.Customer
- func UpdatedAtLT(v time.Time) predicate.Customer
- func UpdatedAtLTE(v time.Time) predicate.Customer
- func UpdatedAtNEQ(v time.Time) predicate.Customer
- func UpdatedAtNotIn(vs ...time.Time) predicate.Customer
- func UpdatedBy(v string) predicate.Customer
- func UpdatedByContains(v string) predicate.Customer
- func UpdatedByContainsFold(v string) predicate.Customer
- func UpdatedByEQ(v string) predicate.Customer
- func UpdatedByEqualFold(v string) predicate.Customer
- func UpdatedByGT(v string) predicate.Customer
- func UpdatedByGTE(v string) predicate.Customer
- func UpdatedByHasPrefix(v string) predicate.Customer
- func UpdatedByHasSuffix(v string) predicate.Customer
- func UpdatedByIn(vs ...string) predicate.Customer
- func UpdatedByIsNil() predicate.Customer
- func UpdatedByLT(v string) predicate.Customer
- func UpdatedByLTE(v string) predicate.Customer
- func UpdatedByNEQ(v string) predicate.Customer
- func UpdatedByNotIn(vs ...string) predicate.Customer
- func UpdatedByNotNil() predicate.Customer
- func ValidColumn(column string) bool
- type OrderOption
- func ByAddressCity(opts ...sql.OrderTermOption) OrderOption
- func ByAddressCountry(opts ...sql.OrderTermOption) OrderOption
- func ByAddressLine1(opts ...sql.OrderTermOption) OrderOption
- func ByAddressLine2(opts ...sql.OrderTermOption) OrderOption
- func ByAddressPostalCode(opts ...sql.OrderTermOption) OrderOption
- func ByAddressState(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
- func ByExternalID(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldTenantID, FieldStatus, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldEnvironmentID, FieldExternalID, FieldName, FieldEmail, FieldAddressLine1, FieldAddressLine2, FieldAddressCity, FieldAddressState, FieldAddressPostalCode, FieldAddressCountry, FieldMetadata, }
Columns holds all SQL columns for customer fields.
Functions ¶
func AddressCity ¶
AddressCity applies equality check predicate on the "address_city" field. It's identical to AddressCityEQ.
func AddressCityContains ¶
AddressCityContains applies the Contains predicate on the "address_city" field.
func AddressCityContainsFold ¶
AddressCityContainsFold applies the ContainsFold predicate on the "address_city" field.
func AddressCityEQ ¶
AddressCityEQ applies the EQ predicate on the "address_city" field.
func AddressCityEqualFold ¶
AddressCityEqualFold applies the EqualFold predicate on the "address_city" field.
func AddressCityGT ¶
AddressCityGT applies the GT predicate on the "address_city" field.
func AddressCityGTE ¶
AddressCityGTE applies the GTE predicate on the "address_city" field.
func AddressCityHasPrefix ¶
AddressCityHasPrefix applies the HasPrefix predicate on the "address_city" field.
func AddressCityHasSuffix ¶
AddressCityHasSuffix applies the HasSuffix predicate on the "address_city" field.
func AddressCityIn ¶
AddressCityIn applies the In predicate on the "address_city" field.
func AddressCityIsNil ¶
AddressCityIsNil applies the IsNil predicate on the "address_city" field.
func AddressCityLT ¶
AddressCityLT applies the LT predicate on the "address_city" field.
func AddressCityLTE ¶
AddressCityLTE applies the LTE predicate on the "address_city" field.
func AddressCityNEQ ¶
AddressCityNEQ applies the NEQ predicate on the "address_city" field.
func AddressCityNotIn ¶
AddressCityNotIn applies the NotIn predicate on the "address_city" field.
func AddressCityNotNil ¶
AddressCityNotNil applies the NotNil predicate on the "address_city" field.
func AddressCountry ¶
AddressCountry applies equality check predicate on the "address_country" field. It's identical to AddressCountryEQ.
func AddressCountryContains ¶
AddressCountryContains applies the Contains predicate on the "address_country" field.
func AddressCountryContainsFold ¶
AddressCountryContainsFold applies the ContainsFold predicate on the "address_country" field.
func AddressCountryEQ ¶
AddressCountryEQ applies the EQ predicate on the "address_country" field.
func AddressCountryEqualFold ¶
AddressCountryEqualFold applies the EqualFold predicate on the "address_country" field.
func AddressCountryGT ¶
AddressCountryGT applies the GT predicate on the "address_country" field.
func AddressCountryGTE ¶
AddressCountryGTE applies the GTE predicate on the "address_country" field.
func AddressCountryHasPrefix ¶
AddressCountryHasPrefix applies the HasPrefix predicate on the "address_country" field.
func AddressCountryHasSuffix ¶
AddressCountryHasSuffix applies the HasSuffix predicate on the "address_country" field.
func AddressCountryIn ¶
AddressCountryIn applies the In predicate on the "address_country" field.
func AddressCountryIsNil ¶
AddressCountryIsNil applies the IsNil predicate on the "address_country" field.
func AddressCountryLT ¶
AddressCountryLT applies the LT predicate on the "address_country" field.
func AddressCountryLTE ¶
AddressCountryLTE applies the LTE predicate on the "address_country" field.
func AddressCountryNEQ ¶
AddressCountryNEQ applies the NEQ predicate on the "address_country" field.
func AddressCountryNotIn ¶
AddressCountryNotIn applies the NotIn predicate on the "address_country" field.
func AddressCountryNotNil ¶
AddressCountryNotNil applies the NotNil predicate on the "address_country" field.
func AddressLine1 ¶
AddressLine1 applies equality check predicate on the "address_line1" field. It's identical to AddressLine1EQ.
func AddressLine1Contains ¶
AddressLine1Contains applies the Contains predicate on the "address_line1" field.
func AddressLine1ContainsFold ¶
AddressLine1ContainsFold applies the ContainsFold predicate on the "address_line1" field.
func AddressLine1EQ ¶
AddressLine1EQ applies the EQ predicate on the "address_line1" field.
func AddressLine1EqualFold ¶
AddressLine1EqualFold applies the EqualFold predicate on the "address_line1" field.
func AddressLine1GT ¶
AddressLine1GT applies the GT predicate on the "address_line1" field.
func AddressLine1GTE ¶
AddressLine1GTE applies the GTE predicate on the "address_line1" field.
func AddressLine1HasPrefix ¶
AddressLine1HasPrefix applies the HasPrefix predicate on the "address_line1" field.
func AddressLine1HasSuffix ¶
AddressLine1HasSuffix applies the HasSuffix predicate on the "address_line1" field.
func AddressLine1In ¶
AddressLine1In applies the In predicate on the "address_line1" field.
func AddressLine1IsNil ¶
AddressLine1IsNil applies the IsNil predicate on the "address_line1" field.
func AddressLine1LT ¶
AddressLine1LT applies the LT predicate on the "address_line1" field.
func AddressLine1LTE ¶
AddressLine1LTE applies the LTE predicate on the "address_line1" field.
func AddressLine1NEQ ¶
AddressLine1NEQ applies the NEQ predicate on the "address_line1" field.
func AddressLine1NotIn ¶
AddressLine1NotIn applies the NotIn predicate on the "address_line1" field.
func AddressLine1NotNil ¶
AddressLine1NotNil applies the NotNil predicate on the "address_line1" field.
func AddressLine2 ¶
AddressLine2 applies equality check predicate on the "address_line2" field. It's identical to AddressLine2EQ.
func AddressLine2Contains ¶
AddressLine2Contains applies the Contains predicate on the "address_line2" field.
func AddressLine2ContainsFold ¶
AddressLine2ContainsFold applies the ContainsFold predicate on the "address_line2" field.
func AddressLine2EQ ¶
AddressLine2EQ applies the EQ predicate on the "address_line2" field.
func AddressLine2EqualFold ¶
AddressLine2EqualFold applies the EqualFold predicate on the "address_line2" field.
func AddressLine2GT ¶
AddressLine2GT applies the GT predicate on the "address_line2" field.
func AddressLine2GTE ¶
AddressLine2GTE applies the GTE predicate on the "address_line2" field.
func AddressLine2HasPrefix ¶
AddressLine2HasPrefix applies the HasPrefix predicate on the "address_line2" field.
func AddressLine2HasSuffix ¶
AddressLine2HasSuffix applies the HasSuffix predicate on the "address_line2" field.
func AddressLine2In ¶
AddressLine2In applies the In predicate on the "address_line2" field.
func AddressLine2IsNil ¶
AddressLine2IsNil applies the IsNil predicate on the "address_line2" field.
func AddressLine2LT ¶
AddressLine2LT applies the LT predicate on the "address_line2" field.
func AddressLine2LTE ¶
AddressLine2LTE applies the LTE predicate on the "address_line2" field.
func AddressLine2NEQ ¶
AddressLine2NEQ applies the NEQ predicate on the "address_line2" field.
func AddressLine2NotIn ¶
AddressLine2NotIn applies the NotIn predicate on the "address_line2" field.
func AddressLine2NotNil ¶
AddressLine2NotNil applies the NotNil predicate on the "address_line2" field.
func AddressPostalCode ¶
AddressPostalCode applies equality check predicate on the "address_postal_code" field. It's identical to AddressPostalCodeEQ.
func AddressPostalCodeContains ¶
AddressPostalCodeContains applies the Contains predicate on the "address_postal_code" field.
func AddressPostalCodeContainsFold ¶
AddressPostalCodeContainsFold applies the ContainsFold predicate on the "address_postal_code" field.
func AddressPostalCodeEQ ¶
AddressPostalCodeEQ applies the EQ predicate on the "address_postal_code" field.
func AddressPostalCodeEqualFold ¶
AddressPostalCodeEqualFold applies the EqualFold predicate on the "address_postal_code" field.
func AddressPostalCodeGT ¶
AddressPostalCodeGT applies the GT predicate on the "address_postal_code" field.
func AddressPostalCodeGTE ¶
AddressPostalCodeGTE applies the GTE predicate on the "address_postal_code" field.
func AddressPostalCodeHasPrefix ¶
AddressPostalCodeHasPrefix applies the HasPrefix predicate on the "address_postal_code" field.
func AddressPostalCodeHasSuffix ¶
AddressPostalCodeHasSuffix applies the HasSuffix predicate on the "address_postal_code" field.
func AddressPostalCodeIn ¶
AddressPostalCodeIn applies the In predicate on the "address_postal_code" field.
func AddressPostalCodeIsNil ¶
AddressPostalCodeIsNil applies the IsNil predicate on the "address_postal_code" field.
func AddressPostalCodeLT ¶
AddressPostalCodeLT applies the LT predicate on the "address_postal_code" field.
func AddressPostalCodeLTE ¶
AddressPostalCodeLTE applies the LTE predicate on the "address_postal_code" field.
func AddressPostalCodeNEQ ¶
AddressPostalCodeNEQ applies the NEQ predicate on the "address_postal_code" field.
func AddressPostalCodeNotIn ¶
AddressPostalCodeNotIn applies the NotIn predicate on the "address_postal_code" field.
func AddressPostalCodeNotNil ¶
AddressPostalCodeNotNil applies the NotNil predicate on the "address_postal_code" field.
func AddressState ¶
AddressState applies equality check predicate on the "address_state" field. It's identical to AddressStateEQ.
func AddressStateContains ¶
AddressStateContains applies the Contains predicate on the "address_state" field.
func AddressStateContainsFold ¶
AddressStateContainsFold applies the ContainsFold predicate on the "address_state" field.
func AddressStateEQ ¶
AddressStateEQ applies the EQ predicate on the "address_state" field.
func AddressStateEqualFold ¶
AddressStateEqualFold applies the EqualFold predicate on the "address_state" field.
func AddressStateGT ¶
AddressStateGT applies the GT predicate on the "address_state" field.
func AddressStateGTE ¶
AddressStateGTE applies the GTE predicate on the "address_state" field.
func AddressStateHasPrefix ¶
AddressStateHasPrefix applies the HasPrefix predicate on the "address_state" field.
func AddressStateHasSuffix ¶
AddressStateHasSuffix applies the HasSuffix predicate on the "address_state" field.
func AddressStateIn ¶
AddressStateIn applies the In predicate on the "address_state" field.
func AddressStateIsNil ¶
AddressStateIsNil applies the IsNil predicate on the "address_state" field.
func AddressStateLT ¶
AddressStateLT applies the LT predicate on the "address_state" field.
func AddressStateLTE ¶
AddressStateLTE applies the LTE predicate on the "address_state" field.
func AddressStateNEQ ¶
AddressStateNEQ applies the NEQ predicate on the "address_state" field.
func AddressStateNotIn ¶
AddressStateNotIn applies the NotIn predicate on the "address_state" field.
func AddressStateNotNil ¶
AddressStateNotNil applies the NotNil predicate on the "address_state" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func EnvironmentID ¶
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDContains ¶
EnvironmentIDContains applies the Contains predicate on the "environment_id" field.
func EnvironmentIDContainsFold ¶
EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.
func EnvironmentIDEQ ¶
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDEqualFold ¶
EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.
func EnvironmentIDGT ¶
EnvironmentIDGT applies the GT predicate on the "environment_id" field.
func EnvironmentIDGTE ¶
EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.
func EnvironmentIDHasPrefix ¶
EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.
func EnvironmentIDHasSuffix ¶
EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.
func EnvironmentIDIn ¶
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDIsNil ¶
EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.
func EnvironmentIDLT ¶
EnvironmentIDLT applies the LT predicate on the "environment_id" field.
func EnvironmentIDLTE ¶
EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func EnvironmentIDNotNil ¶
EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.
func ExternalID ¶
ExternalID applies equality check predicate on the "external_id" field. It's identical to ExternalIDEQ.
func ExternalIDContains ¶
ExternalIDContains applies the Contains predicate on the "external_id" field.
func ExternalIDContainsFold ¶
ExternalIDContainsFold applies the ContainsFold predicate on the "external_id" field.
func ExternalIDEQ ¶
ExternalIDEQ applies the EQ predicate on the "external_id" field.
func ExternalIDEqualFold ¶
ExternalIDEqualFold applies the EqualFold predicate on the "external_id" field.
func ExternalIDGT ¶
ExternalIDGT applies the GT predicate on the "external_id" field.
func ExternalIDGTE ¶
ExternalIDGTE applies the GTE predicate on the "external_id" field.
func ExternalIDHasPrefix ¶
ExternalIDHasPrefix applies the HasPrefix predicate on the "external_id" field.
func ExternalIDHasSuffix ¶
ExternalIDHasSuffix applies the HasSuffix predicate on the "external_id" field.
func ExternalIDIn ¶
ExternalIDIn applies the In predicate on the "external_id" field.
func ExternalIDLT ¶
ExternalIDLT applies the LT predicate on the "external_id" field.
func ExternalIDLTE ¶
ExternalIDLTE applies the LTE predicate on the "external_id" field.
func ExternalIDNEQ ¶
ExternalIDNEQ applies the NEQ predicate on the "external_id" field.
func ExternalIDNotIn ¶
ExternalIDNotIn applies the NotIn predicate on the "external_id" field.
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func TenantID ¶
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDContains ¶
TenantIDContains applies the Contains predicate on the "tenant_id" field.
func TenantIDContainsFold ¶
TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.
func TenantIDEQ ¶
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDEqualFold ¶
TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.
func TenantIDGT ¶
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDHasPrefix ¶
TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.
func TenantIDHasSuffix ¶
TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.
func TenantIDIn ¶
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
TenantIDNotIn applies the NotIn predicate on the "tenant_id" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.