organizationsetting

package
v0.0.0-...-7abf5e3 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the organizationsetting type in the database.
	Label = "organization_setting"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldCreatedBy holds the string denoting the created_by field in the database.
	FieldCreatedBy = "created_by"
	// FieldUpdatedBy holds the string denoting the updated_by field in the database.
	FieldUpdatedBy = "updated_by"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldDeletedBy holds the string denoting the deleted_by field in the database.
	FieldDeletedBy = "deleted_by"
	// FieldDomains holds the string denoting the domains field in the database.
	FieldDomains = "domains"
	// FieldBillingContact holds the string denoting the billing_contact field in the database.
	FieldBillingContact = "billing_contact"
	// FieldBillingEmail holds the string denoting the billing_email field in the database.
	FieldBillingEmail = "billing_email"
	// FieldBillingPhone holds the string denoting the billing_phone field in the database.
	FieldBillingPhone = "billing_phone"
	// FieldBillingAddress holds the string denoting the billing_address field in the database.
	FieldBillingAddress = "billing_address"
	// FieldTaxIdentifier holds the string denoting the tax_identifier field in the database.
	FieldTaxIdentifier = "tax_identifier"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// FieldGeoLocation holds the string denoting the geo_location field in the database.
	FieldGeoLocation = "geo_location"
	// FieldOrganizationID holds the string denoting the organization_id field in the database.
	FieldOrganizationID = "organization_id"
	// EdgeOrganization holds the string denoting the organization edge name in mutations.
	EdgeOrganization = "organization"
	// Table holds the table name of the organizationsetting in the database.
	Table = "organization_settings"
	// OrganizationTable is the table that holds the organization relation/edge.
	OrganizationTable = "organization_settings"
	// OrganizationInverseTable is the table name for the Organization entity.
	// It exists in this package in order to avoid circular dependency with the "organization" package.
	OrganizationInverseTable = "organizations"
	// OrganizationColumn is the table column denoting the organization relation/edge.
	OrganizationColumn = "organization_id"
)
View Source
const DefaultGeoLocation enums.Region = "AMER"

Variables

View Source
var (
	Hooks        [3]ent.Hook
	Interceptors [2]ent.Interceptor
	Policy       ent.Policy
	// 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
	// DomainsValidator is a validator for the "domains" field. It is called by the builders before save.
	DomainsValidator func([]string) error
	// BillingEmailValidator is a validator for the "billing_email" field. It is called by the builders before save.
	BillingEmailValidator func(string) error
	// BillingPhoneValidator is a validator for the "billing_phone" field. It is called by the builders before save.
	BillingPhoneValidator func(string) error
	// DefaultTags holds the default value on creation for the "tags" field.
	DefaultTags []string
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() string
)

Note that the variables below are initialized by the runtime package on the initialization of the application. Therefore, it should be imported in the main as follows:

import _ "github.com/khulnasoft/go-template/central-server/internal/ent/generated/runtime"

Columns holds all SQL columns for organizationsetting fields.

Functions

func And

And groups predicates with the AND operator between them.

func BillingAddress

func BillingAddress(v string) predicate.OrganizationSetting

BillingAddress applies equality check predicate on the "billing_address" field. It's identical to BillingAddressEQ.

func BillingAddressContains

func BillingAddressContains(v string) predicate.OrganizationSetting

BillingAddressContains applies the Contains predicate on the "billing_address" field.

func BillingAddressContainsFold

func BillingAddressContainsFold(v string) predicate.OrganizationSetting

BillingAddressContainsFold applies the ContainsFold predicate on the "billing_address" field.

func BillingAddressEQ

func BillingAddressEQ(v string) predicate.OrganizationSetting

BillingAddressEQ applies the EQ predicate on the "billing_address" field.

func BillingAddressEqualFold

func BillingAddressEqualFold(v string) predicate.OrganizationSetting

BillingAddressEqualFold applies the EqualFold predicate on the "billing_address" field.

func BillingAddressGT

func BillingAddressGT(v string) predicate.OrganizationSetting

BillingAddressGT applies the GT predicate on the "billing_address" field.

func BillingAddressGTE

func BillingAddressGTE(v string) predicate.OrganizationSetting

BillingAddressGTE applies the GTE predicate on the "billing_address" field.

func BillingAddressHasPrefix

func BillingAddressHasPrefix(v string) predicate.OrganizationSetting

BillingAddressHasPrefix applies the HasPrefix predicate on the "billing_address" field.

func BillingAddressHasSuffix

func BillingAddressHasSuffix(v string) predicate.OrganizationSetting

BillingAddressHasSuffix applies the HasSuffix predicate on the "billing_address" field.

func BillingAddressIn

func BillingAddressIn(vs ...string) predicate.OrganizationSetting

BillingAddressIn applies the In predicate on the "billing_address" field.

func BillingAddressIsNil

func BillingAddressIsNil() predicate.OrganizationSetting

BillingAddressIsNil applies the IsNil predicate on the "billing_address" field.

func BillingAddressLT

func BillingAddressLT(v string) predicate.OrganizationSetting

BillingAddressLT applies the LT predicate on the "billing_address" field.

func BillingAddressLTE

func BillingAddressLTE(v string) predicate.OrganizationSetting

BillingAddressLTE applies the LTE predicate on the "billing_address" field.

func BillingAddressNEQ

func BillingAddressNEQ(v string) predicate.OrganizationSetting

BillingAddressNEQ applies the NEQ predicate on the "billing_address" field.

func BillingAddressNotIn

func BillingAddressNotIn(vs ...string) predicate.OrganizationSetting

BillingAddressNotIn applies the NotIn predicate on the "billing_address" field.

func BillingAddressNotNil

func BillingAddressNotNil() predicate.OrganizationSetting

BillingAddressNotNil applies the NotNil predicate on the "billing_address" field.

func BillingContact

func BillingContact(v string) predicate.OrganizationSetting

BillingContact applies equality check predicate on the "billing_contact" field. It's identical to BillingContactEQ.

func BillingContactContains

func BillingContactContains(v string) predicate.OrganizationSetting

BillingContactContains applies the Contains predicate on the "billing_contact" field.

func BillingContactContainsFold

func BillingContactContainsFold(v string) predicate.OrganizationSetting

BillingContactContainsFold applies the ContainsFold predicate on the "billing_contact" field.

func BillingContactEQ

func BillingContactEQ(v string) predicate.OrganizationSetting

BillingContactEQ applies the EQ predicate on the "billing_contact" field.

func BillingContactEqualFold

func BillingContactEqualFold(v string) predicate.OrganizationSetting

BillingContactEqualFold applies the EqualFold predicate on the "billing_contact" field.

func BillingContactGT

func BillingContactGT(v string) predicate.OrganizationSetting

BillingContactGT applies the GT predicate on the "billing_contact" field.

func BillingContactGTE

func BillingContactGTE(v string) predicate.OrganizationSetting

BillingContactGTE applies the GTE predicate on the "billing_contact" field.

func BillingContactHasPrefix

func BillingContactHasPrefix(v string) predicate.OrganizationSetting

BillingContactHasPrefix applies the HasPrefix predicate on the "billing_contact" field.

func BillingContactHasSuffix

func BillingContactHasSuffix(v string) predicate.OrganizationSetting

BillingContactHasSuffix applies the HasSuffix predicate on the "billing_contact" field.

func BillingContactIn

func BillingContactIn(vs ...string) predicate.OrganizationSetting

BillingContactIn applies the In predicate on the "billing_contact" field.

func BillingContactIsNil

func BillingContactIsNil() predicate.OrganizationSetting

BillingContactIsNil applies the IsNil predicate on the "billing_contact" field.

func BillingContactLT

func BillingContactLT(v string) predicate.OrganizationSetting

BillingContactLT applies the LT predicate on the "billing_contact" field.

func BillingContactLTE

func BillingContactLTE(v string) predicate.OrganizationSetting

BillingContactLTE applies the LTE predicate on the "billing_contact" field.

func BillingContactNEQ

func BillingContactNEQ(v string) predicate.OrganizationSetting

BillingContactNEQ applies the NEQ predicate on the "billing_contact" field.

func BillingContactNotIn

func BillingContactNotIn(vs ...string) predicate.OrganizationSetting

BillingContactNotIn applies the NotIn predicate on the "billing_contact" field.

func BillingContactNotNil

func BillingContactNotNil() predicate.OrganizationSetting

BillingContactNotNil applies the NotNil predicate on the "billing_contact" field.

func BillingEmail

func BillingEmail(v string) predicate.OrganizationSetting

BillingEmail applies equality check predicate on the "billing_email" field. It's identical to BillingEmailEQ.

func BillingEmailContains

func BillingEmailContains(v string) predicate.OrganizationSetting

BillingEmailContains applies the Contains predicate on the "billing_email" field.

func BillingEmailContainsFold

func BillingEmailContainsFold(v string) predicate.OrganizationSetting

BillingEmailContainsFold applies the ContainsFold predicate on the "billing_email" field.

func BillingEmailEQ

func BillingEmailEQ(v string) predicate.OrganizationSetting

BillingEmailEQ applies the EQ predicate on the "billing_email" field.

func BillingEmailEqualFold

func BillingEmailEqualFold(v string) predicate.OrganizationSetting

BillingEmailEqualFold applies the EqualFold predicate on the "billing_email" field.

func BillingEmailGT

func BillingEmailGT(v string) predicate.OrganizationSetting

BillingEmailGT applies the GT predicate on the "billing_email" field.

func BillingEmailGTE

func BillingEmailGTE(v string) predicate.OrganizationSetting

BillingEmailGTE applies the GTE predicate on the "billing_email" field.

func BillingEmailHasPrefix

func BillingEmailHasPrefix(v string) predicate.OrganizationSetting

BillingEmailHasPrefix applies the HasPrefix predicate on the "billing_email" field.

func BillingEmailHasSuffix

func BillingEmailHasSuffix(v string) predicate.OrganizationSetting

BillingEmailHasSuffix applies the HasSuffix predicate on the "billing_email" field.

func BillingEmailIn

func BillingEmailIn(vs ...string) predicate.OrganizationSetting

BillingEmailIn applies the In predicate on the "billing_email" field.

func BillingEmailIsNil

func BillingEmailIsNil() predicate.OrganizationSetting

BillingEmailIsNil applies the IsNil predicate on the "billing_email" field.

func BillingEmailLT

func BillingEmailLT(v string) predicate.OrganizationSetting

BillingEmailLT applies the LT predicate on the "billing_email" field.

func BillingEmailLTE

func BillingEmailLTE(v string) predicate.OrganizationSetting

BillingEmailLTE applies the LTE predicate on the "billing_email" field.

func BillingEmailNEQ

func BillingEmailNEQ(v string) predicate.OrganizationSetting

BillingEmailNEQ applies the NEQ predicate on the "billing_email" field.

func BillingEmailNotIn

func BillingEmailNotIn(vs ...string) predicate.OrganizationSetting

BillingEmailNotIn applies the NotIn predicate on the "billing_email" field.

func BillingEmailNotNil

func BillingEmailNotNil() predicate.OrganizationSetting

BillingEmailNotNil applies the NotNil predicate on the "billing_email" field.

func BillingPhone

func BillingPhone(v string) predicate.OrganizationSetting

BillingPhone applies equality check predicate on the "billing_phone" field. It's identical to BillingPhoneEQ.

func BillingPhoneContains

func BillingPhoneContains(v string) predicate.OrganizationSetting

BillingPhoneContains applies the Contains predicate on the "billing_phone" field.

func BillingPhoneContainsFold

func BillingPhoneContainsFold(v string) predicate.OrganizationSetting

BillingPhoneContainsFold applies the ContainsFold predicate on the "billing_phone" field.

func BillingPhoneEQ

func BillingPhoneEQ(v string) predicate.OrganizationSetting

BillingPhoneEQ applies the EQ predicate on the "billing_phone" field.

func BillingPhoneEqualFold

func BillingPhoneEqualFold(v string) predicate.OrganizationSetting

BillingPhoneEqualFold applies the EqualFold predicate on the "billing_phone" field.

func BillingPhoneGT

func BillingPhoneGT(v string) predicate.OrganizationSetting

BillingPhoneGT applies the GT predicate on the "billing_phone" field.

func BillingPhoneGTE

func BillingPhoneGTE(v string) predicate.OrganizationSetting

BillingPhoneGTE applies the GTE predicate on the "billing_phone" field.

func BillingPhoneHasPrefix

func BillingPhoneHasPrefix(v string) predicate.OrganizationSetting

BillingPhoneHasPrefix applies the HasPrefix predicate on the "billing_phone" field.

func BillingPhoneHasSuffix

func BillingPhoneHasSuffix(v string) predicate.OrganizationSetting

BillingPhoneHasSuffix applies the HasSuffix predicate on the "billing_phone" field.

func BillingPhoneIn

func BillingPhoneIn(vs ...string) predicate.OrganizationSetting

BillingPhoneIn applies the In predicate on the "billing_phone" field.

func BillingPhoneIsNil

func BillingPhoneIsNil() predicate.OrganizationSetting

BillingPhoneIsNil applies the IsNil predicate on the "billing_phone" field.

func BillingPhoneLT

func BillingPhoneLT(v string) predicate.OrganizationSetting

BillingPhoneLT applies the LT predicate on the "billing_phone" field.

func BillingPhoneLTE

func BillingPhoneLTE(v string) predicate.OrganizationSetting

BillingPhoneLTE applies the LTE predicate on the "billing_phone" field.

func BillingPhoneNEQ

func BillingPhoneNEQ(v string) predicate.OrganizationSetting

BillingPhoneNEQ applies the NEQ predicate on the "billing_phone" field.

func BillingPhoneNotIn

func BillingPhoneNotIn(vs ...string) predicate.OrganizationSetting

BillingPhoneNotIn applies the NotIn predicate on the "billing_phone" field.

func BillingPhoneNotNil

func BillingPhoneNotNil() predicate.OrganizationSetting

BillingPhoneNotNil applies the NotNil predicate on the "billing_phone" field.

func CreatedAt

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.OrganizationSetting

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.OrganizationSetting

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.OrganizationSetting

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

func CreatedAtIn

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.OrganizationSetting

CreatedAtIsNil applies the IsNil predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.OrganizationSetting

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.OrganizationSetting

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.OrganizationSetting

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

func CreatedAtNotIn

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.OrganizationSetting

CreatedAtNotNil applies the NotNil 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

func CreatedByContains(v string) predicate.OrganizationSetting

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.OrganizationSetting

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

func CreatedByEQ

func CreatedByEQ(v string) predicate.OrganizationSetting

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.OrganizationSetting

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

func CreatedByGT

func CreatedByGT(v string) predicate.OrganizationSetting

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

func CreatedByGTE

func CreatedByGTE(v string) predicate.OrganizationSetting

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

func CreatedByHasPrefix

func CreatedByHasPrefix(v string) predicate.OrganizationSetting

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.OrganizationSetting

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.OrganizationSetting

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

func CreatedByLT

func CreatedByLT(v string) predicate.OrganizationSetting

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

func CreatedByLTE

func CreatedByLTE(v string) predicate.OrganizationSetting

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

func CreatedByNEQ

func CreatedByNEQ(v string) predicate.OrganizationSetting

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

func CreatedByNotIn

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.OrganizationSetting

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

func DeletedAt

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

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.OrganizationSetting

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

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.OrganizationSetting

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

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.OrganizationSetting

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.OrganizationSetting

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

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.OrganizationSetting

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

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.OrganizationSetting

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

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.OrganizationSetting

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.OrganizationSetting

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

func DeletedBy

DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.

func DeletedByContains

func DeletedByContains(v string) predicate.OrganizationSetting

DeletedByContains applies the Contains predicate on the "deleted_by" field.

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.OrganizationSetting

DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.

func DeletedByEQ

func DeletedByEQ(v string) predicate.OrganizationSetting

DeletedByEQ applies the EQ predicate on the "deleted_by" field.

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.OrganizationSetting

DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.

func DeletedByGT

func DeletedByGT(v string) predicate.OrganizationSetting

DeletedByGT applies the GT predicate on the "deleted_by" field.

func DeletedByGTE

func DeletedByGTE(v string) predicate.OrganizationSetting

DeletedByGTE applies the GTE predicate on the "deleted_by" field.

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.OrganizationSetting

DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.OrganizationSetting

DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.

func DeletedByIn

func DeletedByIn(vs ...string) predicate.OrganizationSetting

DeletedByIn applies the In predicate on the "deleted_by" field.

func DeletedByIsNil

func DeletedByIsNil() predicate.OrganizationSetting

DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.

func DeletedByLT

func DeletedByLT(v string) predicate.OrganizationSetting

DeletedByLT applies the LT predicate on the "deleted_by" field.

func DeletedByLTE

func DeletedByLTE(v string) predicate.OrganizationSetting

DeletedByLTE applies the LTE predicate on the "deleted_by" field.

func DeletedByNEQ

func DeletedByNEQ(v string) predicate.OrganizationSetting

DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.

func DeletedByNotIn

func DeletedByNotIn(vs ...string) predicate.OrganizationSetting

DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.

func DeletedByNotNil

func DeletedByNotNil() predicate.OrganizationSetting

DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.

func DomainsIsNil

func DomainsIsNil() predicate.OrganizationSetting

DomainsIsNil applies the IsNil predicate on the "domains" field.

func DomainsNotNil

func DomainsNotNil() predicate.OrganizationSetting

DomainsNotNil applies the NotNil predicate on the "domains" field.

func GeoLocationEQ

func GeoLocationEQ(v enums.Region) predicate.OrganizationSetting

GeoLocationEQ applies the EQ predicate on the "geo_location" field.

func GeoLocationIn

func GeoLocationIn(vs ...enums.Region) predicate.OrganizationSetting

GeoLocationIn applies the In predicate on the "geo_location" field.

func GeoLocationIsNil

func GeoLocationIsNil() predicate.OrganizationSetting

GeoLocationIsNil applies the IsNil predicate on the "geo_location" field.

func GeoLocationNEQ

func GeoLocationNEQ(v enums.Region) predicate.OrganizationSetting

GeoLocationNEQ applies the NEQ predicate on the "geo_location" field.

func GeoLocationNotIn

func GeoLocationNotIn(vs ...enums.Region) predicate.OrganizationSetting

GeoLocationNotIn applies the NotIn predicate on the "geo_location" field.

func GeoLocationNotNil

func GeoLocationNotNil() predicate.OrganizationSetting

GeoLocationNotNil applies the NotNil predicate on the "geo_location" field.

func GeoLocationValidator

func GeoLocationValidator(gl enums.Region) error

GeoLocationValidator is a validator for the "geo_location" field enum values. It is called by the builders before save.

func HasOrganization

func HasOrganization() predicate.OrganizationSetting

HasOrganization applies the HasEdge predicate on the "organization" edge.

func HasOrganizationWith

func HasOrganizationWith(preds ...predicate.Organization) predicate.OrganizationSetting

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

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.OrganizationSetting

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

func IDEqualFold(id string) predicate.OrganizationSetting

IDEqualFold applies the EqualFold predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func OrganizationID

func OrganizationID(v string) predicate.OrganizationSetting

OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.

func OrganizationIDContains

func OrganizationIDContains(v string) predicate.OrganizationSetting

OrganizationIDContains applies the Contains predicate on the "organization_id" field.

func OrganizationIDContainsFold

func OrganizationIDContainsFold(v string) predicate.OrganizationSetting

OrganizationIDContainsFold applies the ContainsFold predicate on the "organization_id" field.

func OrganizationIDEQ

func OrganizationIDEQ(v string) predicate.OrganizationSetting

OrganizationIDEQ applies the EQ predicate on the "organization_id" field.

func OrganizationIDEqualFold

func OrganizationIDEqualFold(v string) predicate.OrganizationSetting

OrganizationIDEqualFold applies the EqualFold predicate on the "organization_id" field.

func OrganizationIDGT

func OrganizationIDGT(v string) predicate.OrganizationSetting

OrganizationIDGT applies the GT predicate on the "organization_id" field.

func OrganizationIDGTE

func OrganizationIDGTE(v string) predicate.OrganizationSetting

OrganizationIDGTE applies the GTE predicate on the "organization_id" field.

func OrganizationIDHasPrefix

func OrganizationIDHasPrefix(v string) predicate.OrganizationSetting

OrganizationIDHasPrefix applies the HasPrefix predicate on the "organization_id" field.

func OrganizationIDHasSuffix

func OrganizationIDHasSuffix(v string) predicate.OrganizationSetting

OrganizationIDHasSuffix applies the HasSuffix predicate on the "organization_id" field.

func OrganizationIDIn

func OrganizationIDIn(vs ...string) predicate.OrganizationSetting

OrganizationIDIn applies the In predicate on the "organization_id" field.

func OrganizationIDIsNil

func OrganizationIDIsNil() predicate.OrganizationSetting

OrganizationIDIsNil applies the IsNil predicate on the "organization_id" field.

func OrganizationIDLT

func OrganizationIDLT(v string) predicate.OrganizationSetting

OrganizationIDLT applies the LT predicate on the "organization_id" field.

func OrganizationIDLTE

func OrganizationIDLTE(v string) predicate.OrganizationSetting

OrganizationIDLTE applies the LTE predicate on the "organization_id" field.

func OrganizationIDNEQ

func OrganizationIDNEQ(v string) predicate.OrganizationSetting

OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.

func OrganizationIDNotIn

func OrganizationIDNotIn(vs ...string) predicate.OrganizationSetting

OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.

func OrganizationIDNotNil

func OrganizationIDNotNil() predicate.OrganizationSetting

OrganizationIDNotNil applies the NotNil predicate on the "organization_id" field.

func TagsIsNil

func TagsIsNil() predicate.OrganizationSetting

TagsIsNil applies the IsNil predicate on the "tags" field.

func TagsNotNil

func TagsNotNil() predicate.OrganizationSetting

TagsNotNil applies the NotNil predicate on the "tags" field.

func TaxIdentifier

func TaxIdentifier(v string) predicate.OrganizationSetting

TaxIdentifier applies equality check predicate on the "tax_identifier" field. It's identical to TaxIdentifierEQ.

func TaxIdentifierContains

func TaxIdentifierContains(v string) predicate.OrganizationSetting

TaxIdentifierContains applies the Contains predicate on the "tax_identifier" field.

func TaxIdentifierContainsFold

func TaxIdentifierContainsFold(v string) predicate.OrganizationSetting

TaxIdentifierContainsFold applies the ContainsFold predicate on the "tax_identifier" field.

func TaxIdentifierEQ

func TaxIdentifierEQ(v string) predicate.OrganizationSetting

TaxIdentifierEQ applies the EQ predicate on the "tax_identifier" field.

func TaxIdentifierEqualFold

func TaxIdentifierEqualFold(v string) predicate.OrganizationSetting

TaxIdentifierEqualFold applies the EqualFold predicate on the "tax_identifier" field.

func TaxIdentifierGT

func TaxIdentifierGT(v string) predicate.OrganizationSetting

TaxIdentifierGT applies the GT predicate on the "tax_identifier" field.

func TaxIdentifierGTE

func TaxIdentifierGTE(v string) predicate.OrganizationSetting

TaxIdentifierGTE applies the GTE predicate on the "tax_identifier" field.

func TaxIdentifierHasPrefix

func TaxIdentifierHasPrefix(v string) predicate.OrganizationSetting

TaxIdentifierHasPrefix applies the HasPrefix predicate on the "tax_identifier" field.

func TaxIdentifierHasSuffix

func TaxIdentifierHasSuffix(v string) predicate.OrganizationSetting

TaxIdentifierHasSuffix applies the HasSuffix predicate on the "tax_identifier" field.

func TaxIdentifierIn

func TaxIdentifierIn(vs ...string) predicate.OrganizationSetting

TaxIdentifierIn applies the In predicate on the "tax_identifier" field.

func TaxIdentifierIsNil

func TaxIdentifierIsNil() predicate.OrganizationSetting

TaxIdentifierIsNil applies the IsNil predicate on the "tax_identifier" field.

func TaxIdentifierLT

func TaxIdentifierLT(v string) predicate.OrganizationSetting

TaxIdentifierLT applies the LT predicate on the "tax_identifier" field.

func TaxIdentifierLTE

func TaxIdentifierLTE(v string) predicate.OrganizationSetting

TaxIdentifierLTE applies the LTE predicate on the "tax_identifier" field.

func TaxIdentifierNEQ

func TaxIdentifierNEQ(v string) predicate.OrganizationSetting

TaxIdentifierNEQ applies the NEQ predicate on the "tax_identifier" field.

func TaxIdentifierNotIn

func TaxIdentifierNotIn(vs ...string) predicate.OrganizationSetting

TaxIdentifierNotIn applies the NotIn predicate on the "tax_identifier" field.

func TaxIdentifierNotNil

func TaxIdentifierNotNil() predicate.OrganizationSetting

TaxIdentifierNotNil applies the NotNil predicate on the "tax_identifier" field.

func UpdatedAt

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.OrganizationSetting

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.OrganizationSetting

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.OrganizationSetting

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

func UpdatedAtIn

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.OrganizationSetting

UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.OrganizationSetting

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.OrganizationSetting

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.OrganizationSetting

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

func UpdatedAtNotIn

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.OrganizationSetting

UpdatedAtNotNil applies the NotNil 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

func UpdatedByContains(v string) predicate.OrganizationSetting

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.OrganizationSetting

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

func UpdatedByEQ

func UpdatedByEQ(v string) predicate.OrganizationSetting

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.OrganizationSetting

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

func UpdatedByGT

func UpdatedByGT(v string) predicate.OrganizationSetting

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

func UpdatedByGTE

func UpdatedByGTE(v string) predicate.OrganizationSetting

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

func UpdatedByHasPrefix

func UpdatedByHasPrefix(v string) predicate.OrganizationSetting

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.OrganizationSetting

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.OrganizationSetting

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

func UpdatedByLT

func UpdatedByLT(v string) predicate.OrganizationSetting

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

func UpdatedByLTE

func UpdatedByLTE(v string) predicate.OrganizationSetting

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

func UpdatedByNEQ

func UpdatedByNEQ(v string) predicate.OrganizationSetting

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

func UpdatedByNotIn

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.OrganizationSetting

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

func ByBillingAddress

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

ByBillingAddress orders the results by the billing_address field.

func ByBillingContact

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

ByBillingContact orders the results by the billing_contact field.

func ByBillingEmail

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

ByBillingEmail orders the results by the billing_email field.

func ByBillingPhone

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

ByBillingPhone orders the results by the billing_phone field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByCreatedBy

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

ByCreatedBy orders the results by the created_by field.

func ByDeletedAt

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

ByDeletedAt orders the results by the deleted_at field.

func ByDeletedBy

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

ByDeletedBy orders the results by the deleted_by field.

func ByGeoLocation

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

ByGeoLocation orders the results by the geo_location field.

func ByID

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

ByID orders the results by the id field.

func ByOrganizationField

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

ByOrganizationField orders the results by organization field.

func ByOrganizationID

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

ByOrganizationID orders the results by the organization_id field.

func ByTaxIdentifier

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

ByTaxIdentifier orders the results by the tax_identifier 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