organizationsettinghistory

package
v0.7.10 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the organizationsettinghistory type in the database.
	Label = "organization_setting_history"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldHistoryTime holds the string denoting the history_time field in the database.
	FieldHistoryTime = "history_time"
	// FieldRef holds the string denoting the ref field in the database.
	FieldRef = "ref"
	// FieldOperation holds the string denoting the operation field in the database.
	FieldOperation = "operation"
	// 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"
	// FieldMappingID holds the string denoting the mapping_id field in the database.
	FieldMappingID = "mapping_id"
	// FieldTags holds the string denoting the tags field in the database.
	FieldTags = "tags"
	// 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"
	// 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"
	// Table holds the table name of the organizationsettinghistory in the database.
	Table = "organization_setting_history"
)
View Source
const DefaultGeoLocation enums.Region = "AMER"

Variables

View Source
var (
	Hooks        [1]ent.Hook
	Interceptors [1]ent.Interceptor
	Policy       ent.Policy
	// DefaultHistoryTime holds the default value on creation for the "history_time" field.
	DefaultHistoryTime func() time.Time
	// 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
	// DefaultMappingID holds the default value on creation for the "mapping_id" field.
	DefaultMappingID func() string
	// 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/datumforge/datum/internal/ent/generated/runtime"

Columns holds all SQL columns for organizationsettinghistory fields.

Functions

func And

And groups predicates with the AND operator between them.

func BillingAddress

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

func BillingAddressContains

func BillingAddressContains(v string) predicate.OrganizationSettingHistory

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

func BillingAddressContainsFold

func BillingAddressContainsFold(v string) predicate.OrganizationSettingHistory

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

func BillingAddressEQ

func BillingAddressEQ(v string) predicate.OrganizationSettingHistory

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

func BillingAddressEqualFold

func BillingAddressEqualFold(v string) predicate.OrganizationSettingHistory

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

func BillingAddressGT

func BillingAddressGT(v string) predicate.OrganizationSettingHistory

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

func BillingAddressGTE

func BillingAddressGTE(v string) predicate.OrganizationSettingHistory

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

func BillingAddressHasPrefix

func BillingAddressHasPrefix(v string) predicate.OrganizationSettingHistory

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

func BillingAddressHasSuffix

func BillingAddressHasSuffix(v string) predicate.OrganizationSettingHistory

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

func BillingAddressIn

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

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

func BillingAddressIsNil

func BillingAddressIsNil() predicate.OrganizationSettingHistory

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

func BillingAddressLT

func BillingAddressLT(v string) predicate.OrganizationSettingHistory

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

func BillingAddressLTE

func BillingAddressLTE(v string) predicate.OrganizationSettingHistory

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

func BillingAddressNEQ

func BillingAddressNEQ(v string) predicate.OrganizationSettingHistory

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

func BillingAddressNotIn

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

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

func BillingAddressNotNil

func BillingAddressNotNil() predicate.OrganizationSettingHistory

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

func BillingContact

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

func BillingContactContains

func BillingContactContains(v string) predicate.OrganizationSettingHistory

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

func BillingContactContainsFold

func BillingContactContainsFold(v string) predicate.OrganizationSettingHistory

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

func BillingContactEQ

func BillingContactEQ(v string) predicate.OrganizationSettingHistory

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

func BillingContactEqualFold

func BillingContactEqualFold(v string) predicate.OrganizationSettingHistory

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

func BillingContactGT

func BillingContactGT(v string) predicate.OrganizationSettingHistory

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

func BillingContactGTE

func BillingContactGTE(v string) predicate.OrganizationSettingHistory

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

func BillingContactHasPrefix

func BillingContactHasPrefix(v string) predicate.OrganizationSettingHistory

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

func BillingContactHasSuffix

func BillingContactHasSuffix(v string) predicate.OrganizationSettingHistory

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

func BillingContactIn

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

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

func BillingContactIsNil

func BillingContactIsNil() predicate.OrganizationSettingHistory

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

func BillingContactLT

func BillingContactLT(v string) predicate.OrganizationSettingHistory

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

func BillingContactLTE

func BillingContactLTE(v string) predicate.OrganizationSettingHistory

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

func BillingContactNEQ

func BillingContactNEQ(v string) predicate.OrganizationSettingHistory

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

func BillingContactNotIn

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

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

func BillingContactNotNil

func BillingContactNotNil() predicate.OrganizationSettingHistory

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

func BillingEmail

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

func BillingEmailContains

func BillingEmailContains(v string) predicate.OrganizationSettingHistory

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

func BillingEmailContainsFold

func BillingEmailContainsFold(v string) predicate.OrganizationSettingHistory

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

func BillingEmailEQ

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

func BillingEmailEqualFold

func BillingEmailEqualFold(v string) predicate.OrganizationSettingHistory

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

func BillingEmailGT

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

func BillingEmailGTE

func BillingEmailGTE(v string) predicate.OrganizationSettingHistory

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

func BillingEmailHasPrefix

func BillingEmailHasPrefix(v string) predicate.OrganizationSettingHistory

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

func BillingEmailHasSuffix

func BillingEmailHasSuffix(v string) predicate.OrganizationSettingHistory

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

func BillingEmailIn

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

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

func BillingEmailIsNil

func BillingEmailIsNil() predicate.OrganizationSettingHistory

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

func BillingEmailLT

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

func BillingEmailLTE

func BillingEmailLTE(v string) predicate.OrganizationSettingHistory

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

func BillingEmailNEQ

func BillingEmailNEQ(v string) predicate.OrganizationSettingHistory

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

func BillingEmailNotIn

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

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

func BillingEmailNotNil

func BillingEmailNotNil() predicate.OrganizationSettingHistory

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

func BillingPhone

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

func BillingPhoneContains

func BillingPhoneContains(v string) predicate.OrganizationSettingHistory

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

func BillingPhoneContainsFold

func BillingPhoneContainsFold(v string) predicate.OrganizationSettingHistory

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

func BillingPhoneEQ

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

func BillingPhoneEqualFold

func BillingPhoneEqualFold(v string) predicate.OrganizationSettingHistory

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

func BillingPhoneGT

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

func BillingPhoneGTE

func BillingPhoneGTE(v string) predicate.OrganizationSettingHistory

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

func BillingPhoneHasPrefix

func BillingPhoneHasPrefix(v string) predicate.OrganizationSettingHistory

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

func BillingPhoneHasSuffix

func BillingPhoneHasSuffix(v string) predicate.OrganizationSettingHistory

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

func BillingPhoneIn

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

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

func BillingPhoneIsNil

func BillingPhoneIsNil() predicate.OrganizationSettingHistory

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

func BillingPhoneLT

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

func BillingPhoneLTE

func BillingPhoneLTE(v string) predicate.OrganizationSettingHistory

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

func BillingPhoneNEQ

func BillingPhoneNEQ(v string) predicate.OrganizationSettingHistory

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

func BillingPhoneNotIn

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

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

func BillingPhoneNotNil

func BillingPhoneNotNil() predicate.OrganizationSettingHistory

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

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

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

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

func CreatedAtIsNil

func CreatedAtIsNil() predicate.OrganizationSettingHistory

CreatedAtIsNil applies the IsNil 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

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

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

func CreatedAtNotNil

func CreatedAtNotNil() predicate.OrganizationSettingHistory

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.OrganizationSettingHistory

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

func CreatedByContainsFold

func CreatedByContainsFold(v string) predicate.OrganizationSettingHistory

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

func CreatedByEQ

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

func CreatedByEqualFold

func CreatedByEqualFold(v string) predicate.OrganizationSettingHistory

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

func CreatedByHasPrefix(v string) predicate.OrganizationSettingHistory

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

func CreatedByHasSuffix

func CreatedByHasSuffix(v string) predicate.OrganizationSettingHistory

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

func CreatedByIn

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

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

func CreatedByIsNil

func CreatedByIsNil() predicate.OrganizationSettingHistory

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

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

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

func CreatedByNotNil

func CreatedByNotNil() predicate.OrganizationSettingHistory

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

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

func DeletedAtGT

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

func DeletedAtGTE

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

func DeletedAtIn

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

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

func DeletedAtIsNil

func DeletedAtIsNil() predicate.OrganizationSettingHistory

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

func DeletedAtLT

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

func DeletedAtLTE

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

func DeletedAtNEQ

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

func DeletedAtNotIn

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

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

func DeletedAtNotNil

func DeletedAtNotNil() predicate.OrganizationSettingHistory

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.OrganizationSettingHistory

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

func DeletedByContainsFold

func DeletedByContainsFold(v string) predicate.OrganizationSettingHistory

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

func DeletedByEQ

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

func DeletedByEqualFold

func DeletedByEqualFold(v string) predicate.OrganizationSettingHistory

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

func DeletedByGT

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

func DeletedByGTE

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

func DeletedByHasPrefix

func DeletedByHasPrefix(v string) predicate.OrganizationSettingHistory

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

func DeletedByHasSuffix

func DeletedByHasSuffix(v string) predicate.OrganizationSettingHistory

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

func DeletedByIn

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

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

func DeletedByIsNil

func DeletedByIsNil() predicate.OrganizationSettingHistory

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

func DeletedByLT

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

func DeletedByLTE

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

func DeletedByNEQ

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

func DeletedByNotIn

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

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

func DeletedByNotNil

func DeletedByNotNil() predicate.OrganizationSettingHistory

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

func DomainsIsNil

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

func DomainsNotNil

func DomainsNotNil() predicate.OrganizationSettingHistory

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

func GeoLocationEQ

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

func GeoLocationIn

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

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

func GeoLocationIsNil

func GeoLocationIsNil() predicate.OrganizationSettingHistory

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

func GeoLocationNEQ

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

func GeoLocationNotIn

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

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

func GeoLocationNotNil

func GeoLocationNotNil() predicate.OrganizationSettingHistory

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 HistoryTime

HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.

func HistoryTimeEQ

HistoryTimeEQ applies the EQ predicate on the "history_time" field.

func HistoryTimeGT

HistoryTimeGT applies the GT predicate on the "history_time" field.

func HistoryTimeGTE

HistoryTimeGTE applies the GTE predicate on the "history_time" field.

func HistoryTimeIn

func HistoryTimeIn(vs ...time.Time) predicate.OrganizationSettingHistory

HistoryTimeIn applies the In predicate on the "history_time" field.

func HistoryTimeLT

HistoryTimeLT applies the LT predicate on the "history_time" field.

func HistoryTimeLTE

HistoryTimeLTE applies the LTE predicate on the "history_time" field.

func HistoryTimeNEQ

HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.

func HistoryTimeNotIn

func HistoryTimeNotIn(vs ...time.Time) predicate.OrganizationSettingHistory

HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.

func ID

ID filters vertices based on their ID field.

func IDContainsFold

func IDContainsFold(id string) predicate.OrganizationSettingHistory

IDContainsFold applies the ContainsFold predicate on the ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDEqualFold

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

IDNotIn applies the NotIn predicate on the ID field.

func MappingID added in v0.5.0

MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.

func MappingIDContains added in v0.5.0

func MappingIDContains(v string) predicate.OrganizationSettingHistory

MappingIDContains applies the Contains predicate on the "mapping_id" field.

func MappingIDContainsFold added in v0.5.0

func MappingIDContainsFold(v string) predicate.OrganizationSettingHistory

MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.

func MappingIDEQ added in v0.5.0

MappingIDEQ applies the EQ predicate on the "mapping_id" field.

func MappingIDEqualFold added in v0.5.0

func MappingIDEqualFold(v string) predicate.OrganizationSettingHistory

MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.

func MappingIDGT added in v0.5.0

MappingIDGT applies the GT predicate on the "mapping_id" field.

func MappingIDGTE added in v0.5.0

MappingIDGTE applies the GTE predicate on the "mapping_id" field.

func MappingIDHasPrefix added in v0.5.0

func MappingIDHasPrefix(v string) predicate.OrganizationSettingHistory

MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.

func MappingIDHasSuffix added in v0.5.0

func MappingIDHasSuffix(v string) predicate.OrganizationSettingHistory

MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.

func MappingIDIn added in v0.5.0

func MappingIDIn(vs ...string) predicate.OrganizationSettingHistory

MappingIDIn applies the In predicate on the "mapping_id" field.

func MappingIDLT added in v0.5.0

MappingIDLT applies the LT predicate on the "mapping_id" field.

func MappingIDLTE added in v0.5.0

MappingIDLTE applies the LTE predicate on the "mapping_id" field.

func MappingIDNEQ added in v0.5.0

MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.

func MappingIDNotIn added in v0.5.0

func MappingIDNotIn(vs ...string) predicate.OrganizationSettingHistory

MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.

func Not

Not applies the not operator on the given predicate.

func OperationEQ

OperationEQ applies the EQ predicate on the "operation" field.

func OperationIn

OperationIn applies the In predicate on the "operation" field.

func OperationNEQ

OperationNEQ applies the NEQ predicate on the "operation" field.

func OperationNotIn

OperationNotIn applies the NotIn predicate on the "operation" field.

func OperationValidator

func OperationValidator(o enthistory.OpType) error

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

func Or

Or groups predicates with the OR operator between them.

func OrganizationID

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

func OrganizationIDContains

func OrganizationIDContains(v string) predicate.OrganizationSettingHistory

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

func OrganizationIDContainsFold

func OrganizationIDContainsFold(v string) predicate.OrganizationSettingHistory

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

func OrganizationIDEQ

func OrganizationIDEQ(v string) predicate.OrganizationSettingHistory

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

func OrganizationIDEqualFold

func OrganizationIDEqualFold(v string) predicate.OrganizationSettingHistory

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

func OrganizationIDGT

func OrganizationIDGT(v string) predicate.OrganizationSettingHistory

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

func OrganizationIDGTE

func OrganizationIDGTE(v string) predicate.OrganizationSettingHistory

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

func OrganizationIDHasPrefix

func OrganizationIDHasPrefix(v string) predicate.OrganizationSettingHistory

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

func OrganizationIDHasSuffix

func OrganizationIDHasSuffix(v string) predicate.OrganizationSettingHistory

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

func OrganizationIDIn

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

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

func OrganizationIDIsNil

func OrganizationIDIsNil() predicate.OrganizationSettingHistory

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

func OrganizationIDLT

func OrganizationIDLT(v string) predicate.OrganizationSettingHistory

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

func OrganizationIDLTE

func OrganizationIDLTE(v string) predicate.OrganizationSettingHistory

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

func OrganizationIDNEQ

func OrganizationIDNEQ(v string) predicate.OrganizationSettingHistory

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

func OrganizationIDNotIn

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

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

func OrganizationIDNotNil

func OrganizationIDNotNil() predicate.OrganizationSettingHistory

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

func Ref

Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.

func RefContains

RefContains applies the Contains predicate on the "ref" field.

func RefContainsFold

func RefContainsFold(v string) predicate.OrganizationSettingHistory

RefContainsFold applies the ContainsFold predicate on the "ref" field.

func RefEQ

RefEQ applies the EQ predicate on the "ref" field.

func RefEqualFold

RefEqualFold applies the EqualFold predicate on the "ref" field.

func RefGT

RefGT applies the GT predicate on the "ref" field.

func RefGTE

RefGTE applies the GTE predicate on the "ref" field.

func RefHasPrefix

RefHasPrefix applies the HasPrefix predicate on the "ref" field.

func RefHasSuffix

RefHasSuffix applies the HasSuffix predicate on the "ref" field.

func RefIn

RefIn applies the In predicate on the "ref" field.

func RefIsNil

RefIsNil applies the IsNil predicate on the "ref" field.

func RefLT

RefLT applies the LT predicate on the "ref" field.

func RefLTE

RefLTE applies the LTE predicate on the "ref" field.

func RefNEQ

RefNEQ applies the NEQ predicate on the "ref" field.

func RefNotIn

RefNotIn applies the NotIn predicate on the "ref" field.

func RefNotNil

RefNotNil applies the NotNil predicate on the "ref" field.

func TagsIsNil

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

func TagsNotNil

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

func TaxIdentifier

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

func TaxIdentifierContains

func TaxIdentifierContains(v string) predicate.OrganizationSettingHistory

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

func TaxIdentifierContainsFold

func TaxIdentifierContainsFold(v string) predicate.OrganizationSettingHistory

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

func TaxIdentifierEQ

func TaxIdentifierEQ(v string) predicate.OrganizationSettingHistory

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

func TaxIdentifierEqualFold

func TaxIdentifierEqualFold(v string) predicate.OrganizationSettingHistory

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

func TaxIdentifierGT

func TaxIdentifierGT(v string) predicate.OrganizationSettingHistory

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

func TaxIdentifierGTE

func TaxIdentifierGTE(v string) predicate.OrganizationSettingHistory

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

func TaxIdentifierHasPrefix

func TaxIdentifierHasPrefix(v string) predicate.OrganizationSettingHistory

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

func TaxIdentifierHasSuffix

func TaxIdentifierHasSuffix(v string) predicate.OrganizationSettingHistory

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

func TaxIdentifierIn

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

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

func TaxIdentifierIsNil

func TaxIdentifierIsNil() predicate.OrganizationSettingHistory

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

func TaxIdentifierLT

func TaxIdentifierLT(v string) predicate.OrganizationSettingHistory

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

func TaxIdentifierLTE

func TaxIdentifierLTE(v string) predicate.OrganizationSettingHistory

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

func TaxIdentifierNEQ

func TaxIdentifierNEQ(v string) predicate.OrganizationSettingHistory

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

func TaxIdentifierNotIn

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

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

func TaxIdentifierNotNil

func TaxIdentifierNotNil() predicate.OrganizationSettingHistory

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

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

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

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

func UpdatedAtIsNil

func UpdatedAtIsNil() predicate.OrganizationSettingHistory

UpdatedAtIsNil applies the IsNil 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

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

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

func UpdatedAtNotNil

func UpdatedAtNotNil() predicate.OrganizationSettingHistory

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.OrganizationSettingHistory

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

func UpdatedByContainsFold

func UpdatedByContainsFold(v string) predicate.OrganizationSettingHistory

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

func UpdatedByEQ

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

func UpdatedByEqualFold

func UpdatedByEqualFold(v string) predicate.OrganizationSettingHistory

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

func UpdatedByHasPrefix(v string) predicate.OrganizationSettingHistory

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

func UpdatedByHasSuffix

func UpdatedByHasSuffix(v string) predicate.OrganizationSettingHistory

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

func UpdatedByIn

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

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

func UpdatedByIsNil

func UpdatedByIsNil() predicate.OrganizationSettingHistory

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

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

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

func UpdatedByNotNil

func UpdatedByNotNil() predicate.OrganizationSettingHistory

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 OrganizationSettingHistory 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 ByHistoryTime

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

ByHistoryTime orders the results by the history_time field.

func ByID

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

ByID orders the results by the id field.

func ByMappingID added in v0.5.0

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

ByMappingID orders the results by the mapping_id field.

func ByOperation

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

ByOperation orders the results by the operation field.

func ByOrganizationID

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

ByOrganizationID orders the results by the organization_id field.

func ByRef

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

ByRef orders the results by the ref 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