Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.LocationContact) predicate.LocationContact
- func BusinessUnitID(v uuid.UUID) predicate.LocationContact
- func BusinessUnitIDEQ(v uuid.UUID) predicate.LocationContact
- func BusinessUnitIDIn(vs ...uuid.UUID) predicate.LocationContact
- func BusinessUnitIDNEQ(v uuid.UUID) predicate.LocationContact
- func BusinessUnitIDNotIn(vs ...uuid.UUID) predicate.LocationContact
- func CreatedAt(v time.Time) predicate.LocationContact
- func CreatedAtEQ(v time.Time) predicate.LocationContact
- func CreatedAtGT(v time.Time) predicate.LocationContact
- func CreatedAtGTE(v time.Time) predicate.LocationContact
- func CreatedAtIn(vs ...time.Time) predicate.LocationContact
- func CreatedAtLT(v time.Time) predicate.LocationContact
- func CreatedAtLTE(v time.Time) predicate.LocationContact
- func CreatedAtNEQ(v time.Time) predicate.LocationContact
- func CreatedAtNotIn(vs ...time.Time) predicate.LocationContact
- func EmailAddress(v string) predicate.LocationContact
- func EmailAddressContains(v string) predicate.LocationContact
- func EmailAddressContainsFold(v string) predicate.LocationContact
- func EmailAddressEQ(v string) predicate.LocationContact
- func EmailAddressEqualFold(v string) predicate.LocationContact
- func EmailAddressGT(v string) predicate.LocationContact
- func EmailAddressGTE(v string) predicate.LocationContact
- func EmailAddressHasPrefix(v string) predicate.LocationContact
- func EmailAddressHasSuffix(v string) predicate.LocationContact
- func EmailAddressIn(vs ...string) predicate.LocationContact
- func EmailAddressIsNil() predicate.LocationContact
- func EmailAddressLT(v string) predicate.LocationContact
- func EmailAddressLTE(v string) predicate.LocationContact
- func EmailAddressNEQ(v string) predicate.LocationContact
- func EmailAddressNotIn(vs ...string) predicate.LocationContact
- func EmailAddressNotNil() predicate.LocationContact
- func HasBusinessUnit() predicate.LocationContact
- func HasBusinessUnitWith(preds ...predicate.BusinessUnit) predicate.LocationContact
- func HasLocation() predicate.LocationContact
- func HasLocationWith(preds ...predicate.Location) predicate.LocationContact
- func HasOrganization() predicate.LocationContact
- func HasOrganizationWith(preds ...predicate.Organization) predicate.LocationContact
- func ID(id uuid.UUID) predicate.LocationContact
- func IDEQ(id uuid.UUID) predicate.LocationContact
- func IDGT(id uuid.UUID) predicate.LocationContact
- func IDGTE(id uuid.UUID) predicate.LocationContact
- func IDIn(ids ...uuid.UUID) predicate.LocationContact
- func IDLT(id uuid.UUID) predicate.LocationContact
- func IDLTE(id uuid.UUID) predicate.LocationContact
- func IDNEQ(id uuid.UUID) predicate.LocationContact
- func IDNotIn(ids ...uuid.UUID) predicate.LocationContact
- func LocationID(v uuid.UUID) predicate.LocationContact
- func LocationIDEQ(v uuid.UUID) predicate.LocationContact
- func LocationIDIn(vs ...uuid.UUID) predicate.LocationContact
- func LocationIDNEQ(v uuid.UUID) predicate.LocationContact
- func LocationIDNotIn(vs ...uuid.UUID) predicate.LocationContact
- func Name(v string) predicate.LocationContact
- func NameContains(v string) predicate.LocationContact
- func NameContainsFold(v string) predicate.LocationContact
- func NameEQ(v string) predicate.LocationContact
- func NameEqualFold(v string) predicate.LocationContact
- func NameGT(v string) predicate.LocationContact
- func NameGTE(v string) predicate.LocationContact
- func NameHasPrefix(v string) predicate.LocationContact
- func NameHasSuffix(v string) predicate.LocationContact
- func NameIn(vs ...string) predicate.LocationContact
- func NameLT(v string) predicate.LocationContact
- func NameLTE(v string) predicate.LocationContact
- func NameNEQ(v string) predicate.LocationContact
- func NameNotIn(vs ...string) predicate.LocationContact
- func Not(p predicate.LocationContact) predicate.LocationContact
- func Or(predicates ...predicate.LocationContact) predicate.LocationContact
- func OrganizationID(v uuid.UUID) predicate.LocationContact
- func OrganizationIDEQ(v uuid.UUID) predicate.LocationContact
- func OrganizationIDIn(vs ...uuid.UUID) predicate.LocationContact
- func OrganizationIDNEQ(v uuid.UUID) predicate.LocationContact
- func OrganizationIDNotIn(vs ...uuid.UUID) predicate.LocationContact
- func PhoneNumber(v string) predicate.LocationContact
- func PhoneNumberContains(v string) predicate.LocationContact
- func PhoneNumberContainsFold(v string) predicate.LocationContact
- func PhoneNumberEQ(v string) predicate.LocationContact
- func PhoneNumberEqualFold(v string) predicate.LocationContact
- func PhoneNumberGT(v string) predicate.LocationContact
- func PhoneNumberGTE(v string) predicate.LocationContact
- func PhoneNumberHasPrefix(v string) predicate.LocationContact
- func PhoneNumberHasSuffix(v string) predicate.LocationContact
- func PhoneNumberIn(vs ...string) predicate.LocationContact
- func PhoneNumberIsNil() predicate.LocationContact
- func PhoneNumberLT(v string) predicate.LocationContact
- func PhoneNumberLTE(v string) predicate.LocationContact
- func PhoneNumberNEQ(v string) predicate.LocationContact
- func PhoneNumberNotIn(vs ...string) predicate.LocationContact
- func PhoneNumberNotNil() predicate.LocationContact
- func UpdatedAt(v time.Time) predicate.LocationContact
- func UpdatedAtEQ(v time.Time) predicate.LocationContact
- func UpdatedAtGT(v time.Time) predicate.LocationContact
- func UpdatedAtGTE(v time.Time) predicate.LocationContact
- func UpdatedAtIn(vs ...time.Time) predicate.LocationContact
- func UpdatedAtLT(v time.Time) predicate.LocationContact
- func UpdatedAtLTE(v time.Time) predicate.LocationContact
- func UpdatedAtNEQ(v time.Time) predicate.LocationContact
- func UpdatedAtNotIn(vs ...time.Time) predicate.LocationContact
- func ValidColumn(column string) bool
- func Version(v int) predicate.LocationContact
- func VersionEQ(v int) predicate.LocationContact
- func VersionGT(v int) predicate.LocationContact
- func VersionGTE(v int) predicate.LocationContact
- func VersionIn(vs ...int) predicate.LocationContact
- func VersionLT(v int) predicate.LocationContact
- func VersionLTE(v int) predicate.LocationContact
- func VersionNEQ(v int) predicate.LocationContact
- func VersionNotIn(vs ...int) predicate.LocationContact
- type OrderOption
- func ByBusinessUnitField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByBusinessUnitID(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEmailAddress(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLocationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByLocationID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOrganizationID(opts ...sql.OrderTermOption) OrderOption
- func ByPhoneNumber(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVersion(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the locationcontact type in the database. Label = "location_contact" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldBusinessUnitID holds the string denoting the business_unit_id field in the database. FieldBusinessUnitID = "business_unit_id" // FieldOrganizationID holds the string denoting the organization_id field in the database. FieldOrganizationID = "organization_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" // FieldVersion holds the string denoting the version field in the database. FieldVersion = "version" // FieldLocationID holds the string denoting the location_id field in the database. FieldLocationID = "location_id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldEmailAddress holds the string denoting the email_address field in the database. FieldEmailAddress = "email_address" // FieldPhoneNumber holds the string denoting the phone_number field in the database. FieldPhoneNumber = "phone_number" // EdgeBusinessUnit holds the string denoting the business_unit edge name in mutations. EdgeBusinessUnit = "business_unit" // EdgeOrganization holds the string denoting the organization edge name in mutations. EdgeOrganization = "organization" // EdgeLocation holds the string denoting the location edge name in mutations. EdgeLocation = "location" // Table holds the table name of the locationcontact in the database. Table = "location_contacts" // BusinessUnitTable is the table that holds the business_unit relation/edge. BusinessUnitTable = "location_contacts" // BusinessUnitInverseTable is the table name for the BusinessUnit entity. // It exists in this package in order to avoid circular dependency with the "businessunit" package. BusinessUnitInverseTable = "business_units" // BusinessUnitColumn is the table column denoting the business_unit relation/edge. BusinessUnitColumn = "business_unit_id" // OrganizationTable is the table that holds the organization relation/edge. OrganizationTable = "location_contacts" // 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" // LocationTable is the table that holds the location relation/edge. LocationTable = "location_contacts" // LocationInverseTable is the table name for the Location entity. // It exists in this package in order to avoid circular dependency with the "location" package. LocationInverseTable = "locations" // LocationColumn is the table column denoting the location relation/edge. LocationColumn = "location_id" )
Variables ¶
var ( // 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 // DefaultVersion holds the default value on creation for the "version" field. DefaultVersion int // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // PhoneNumberValidator is a validator for the "phone_number" field. It is called by the builders before save. PhoneNumberValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldBusinessUnitID, FieldOrganizationID, FieldCreatedAt, FieldUpdatedAt, FieldVersion, FieldLocationID, FieldName, FieldEmailAddress, FieldPhoneNumber, }
Columns holds all SQL columns for locationcontact fields.
Functions ¶
func And ¶
func And(predicates ...predicate.LocationContact) predicate.LocationContact
And groups predicates with the AND operator between them.
func BusinessUnitID ¶
func BusinessUnitID(v uuid.UUID) predicate.LocationContact
BusinessUnitID applies equality check predicate on the "business_unit_id" field. It's identical to BusinessUnitIDEQ.
func BusinessUnitIDEQ ¶
func BusinessUnitIDEQ(v uuid.UUID) predicate.LocationContact
BusinessUnitIDEQ applies the EQ predicate on the "business_unit_id" field.
func BusinessUnitIDIn ¶
func BusinessUnitIDIn(vs ...uuid.UUID) predicate.LocationContact
BusinessUnitIDIn applies the In predicate on the "business_unit_id" field.
func BusinessUnitIDNEQ ¶
func BusinessUnitIDNEQ(v uuid.UUID) predicate.LocationContact
BusinessUnitIDNEQ applies the NEQ predicate on the "business_unit_id" field.
func BusinessUnitIDNotIn ¶
func BusinessUnitIDNotIn(vs ...uuid.UUID) predicate.LocationContact
BusinessUnitIDNotIn applies the NotIn predicate on the "business_unit_id" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.LocationContact
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.LocationContact
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.LocationContact
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.LocationContact
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.LocationContact
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.LocationContact
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.LocationContact
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.LocationContact
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.LocationContact
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func EmailAddress ¶
func EmailAddress(v string) predicate.LocationContact
EmailAddress applies equality check predicate on the "email_address" field. It's identical to EmailAddressEQ.
func EmailAddressContains ¶
func EmailAddressContains(v string) predicate.LocationContact
EmailAddressContains applies the Contains predicate on the "email_address" field.
func EmailAddressContainsFold ¶
func EmailAddressContainsFold(v string) predicate.LocationContact
EmailAddressContainsFold applies the ContainsFold predicate on the "email_address" field.
func EmailAddressEQ ¶
func EmailAddressEQ(v string) predicate.LocationContact
EmailAddressEQ applies the EQ predicate on the "email_address" field.
func EmailAddressEqualFold ¶
func EmailAddressEqualFold(v string) predicate.LocationContact
EmailAddressEqualFold applies the EqualFold predicate on the "email_address" field.
func EmailAddressGT ¶
func EmailAddressGT(v string) predicate.LocationContact
EmailAddressGT applies the GT predicate on the "email_address" field.
func EmailAddressGTE ¶
func EmailAddressGTE(v string) predicate.LocationContact
EmailAddressGTE applies the GTE predicate on the "email_address" field.
func EmailAddressHasPrefix ¶
func EmailAddressHasPrefix(v string) predicate.LocationContact
EmailAddressHasPrefix applies the HasPrefix predicate on the "email_address" field.
func EmailAddressHasSuffix ¶
func EmailAddressHasSuffix(v string) predicate.LocationContact
EmailAddressHasSuffix applies the HasSuffix predicate on the "email_address" field.
func EmailAddressIn ¶
func EmailAddressIn(vs ...string) predicate.LocationContact
EmailAddressIn applies the In predicate on the "email_address" field.
func EmailAddressIsNil ¶
func EmailAddressIsNil() predicate.LocationContact
EmailAddressIsNil applies the IsNil predicate on the "email_address" field.
func EmailAddressLT ¶
func EmailAddressLT(v string) predicate.LocationContact
EmailAddressLT applies the LT predicate on the "email_address" field.
func EmailAddressLTE ¶
func EmailAddressLTE(v string) predicate.LocationContact
EmailAddressLTE applies the LTE predicate on the "email_address" field.
func EmailAddressNEQ ¶
func EmailAddressNEQ(v string) predicate.LocationContact
EmailAddressNEQ applies the NEQ predicate on the "email_address" field.
func EmailAddressNotIn ¶
func EmailAddressNotIn(vs ...string) predicate.LocationContact
EmailAddressNotIn applies the NotIn predicate on the "email_address" field.
func EmailAddressNotNil ¶
func EmailAddressNotNil() predicate.LocationContact
EmailAddressNotNil applies the NotNil predicate on the "email_address" field.
func HasBusinessUnit ¶
func HasBusinessUnit() predicate.LocationContact
HasBusinessUnit applies the HasEdge predicate on the "business_unit" edge.
func HasBusinessUnitWith ¶
func HasBusinessUnitWith(preds ...predicate.BusinessUnit) predicate.LocationContact
HasBusinessUnitWith applies the HasEdge predicate on the "business_unit" edge with a given conditions (other predicates).
func HasLocation ¶
func HasLocation() predicate.LocationContact
HasLocation applies the HasEdge predicate on the "location" edge.
func HasLocationWith ¶
func HasLocationWith(preds ...predicate.Location) predicate.LocationContact
HasLocationWith applies the HasEdge predicate on the "location" edge with a given conditions (other predicates).
func HasOrganization ¶
func HasOrganization() predicate.LocationContact
HasOrganization applies the HasEdge predicate on the "organization" edge.
func HasOrganizationWith ¶
func HasOrganizationWith(preds ...predicate.Organization) predicate.LocationContact
HasOrganizationWith applies the HasEdge predicate on the "organization" edge with a given conditions (other predicates).
func ID ¶
func ID(id uuid.UUID) predicate.LocationContact
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.LocationContact
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.LocationContact
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.LocationContact
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.LocationContact
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.LocationContact
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.LocationContact
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.LocationContact
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.LocationContact
IDNotIn applies the NotIn predicate on the ID field.
func LocationID ¶
func LocationID(v uuid.UUID) predicate.LocationContact
LocationID applies equality check predicate on the "location_id" field. It's identical to LocationIDEQ.
func LocationIDEQ ¶
func LocationIDEQ(v uuid.UUID) predicate.LocationContact
LocationIDEQ applies the EQ predicate on the "location_id" field.
func LocationIDIn ¶
func LocationIDIn(vs ...uuid.UUID) predicate.LocationContact
LocationIDIn applies the In predicate on the "location_id" field.
func LocationIDNEQ ¶
func LocationIDNEQ(v uuid.UUID) predicate.LocationContact
LocationIDNEQ applies the NEQ predicate on the "location_id" field.
func LocationIDNotIn ¶
func LocationIDNotIn(vs ...uuid.UUID) predicate.LocationContact
LocationIDNotIn applies the NotIn predicate on the "location_id" field.
func Name ¶
func Name(v string) predicate.LocationContact
Name applies equality check predicate on the "name" field. It's identical to NameEQ.
func NameContains ¶
func NameContains(v string) predicate.LocationContact
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
func NameContainsFold(v string) predicate.LocationContact
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEQ ¶
func NameEQ(v string) predicate.LocationContact
NameEQ applies the EQ predicate on the "name" field.
func NameEqualFold ¶
func NameEqualFold(v string) predicate.LocationContact
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameGT ¶
func NameGT(v string) predicate.LocationContact
NameGT applies the GT predicate on the "name" field.
func NameGTE ¶
func NameGTE(v string) predicate.LocationContact
NameGTE applies the GTE predicate on the "name" field.
func NameHasPrefix ¶
func NameHasPrefix(v string) predicate.LocationContact
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
func NameHasSuffix(v string) predicate.LocationContact
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameIn ¶
func NameIn(vs ...string) predicate.LocationContact
NameIn applies the In predicate on the "name" field.
func NameLT ¶
func NameLT(v string) predicate.LocationContact
NameLT applies the LT predicate on the "name" field.
func NameLTE ¶
func NameLTE(v string) predicate.LocationContact
NameLTE applies the LTE predicate on the "name" field.
func NameNEQ ¶
func NameNEQ(v string) predicate.LocationContact
NameNEQ applies the NEQ predicate on the "name" field.
func NameNotIn ¶
func NameNotIn(vs ...string) predicate.LocationContact
NameNotIn applies the NotIn predicate on the "name" field.
func Not ¶
func Not(p predicate.LocationContact) predicate.LocationContact
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.LocationContact) predicate.LocationContact
Or groups predicates with the OR operator between them.
func OrganizationID ¶
func OrganizationID(v uuid.UUID) predicate.LocationContact
OrganizationID applies equality check predicate on the "organization_id" field. It's identical to OrganizationIDEQ.
func OrganizationIDEQ ¶
func OrganizationIDEQ(v uuid.UUID) predicate.LocationContact
OrganizationIDEQ applies the EQ predicate on the "organization_id" field.
func OrganizationIDIn ¶
func OrganizationIDIn(vs ...uuid.UUID) predicate.LocationContact
OrganizationIDIn applies the In predicate on the "organization_id" field.
func OrganizationIDNEQ ¶
func OrganizationIDNEQ(v uuid.UUID) predicate.LocationContact
OrganizationIDNEQ applies the NEQ predicate on the "organization_id" field.
func OrganizationIDNotIn ¶
func OrganizationIDNotIn(vs ...uuid.UUID) predicate.LocationContact
OrganizationIDNotIn applies the NotIn predicate on the "organization_id" field.
func PhoneNumber ¶
func PhoneNumber(v string) predicate.LocationContact
PhoneNumber applies equality check predicate on the "phone_number" field. It's identical to PhoneNumberEQ.
func PhoneNumberContains ¶
func PhoneNumberContains(v string) predicate.LocationContact
PhoneNumberContains applies the Contains predicate on the "phone_number" field.
func PhoneNumberContainsFold ¶
func PhoneNumberContainsFold(v string) predicate.LocationContact
PhoneNumberContainsFold applies the ContainsFold predicate on the "phone_number" field.
func PhoneNumberEQ ¶
func PhoneNumberEQ(v string) predicate.LocationContact
PhoneNumberEQ applies the EQ predicate on the "phone_number" field.
func PhoneNumberEqualFold ¶
func PhoneNumberEqualFold(v string) predicate.LocationContact
PhoneNumberEqualFold applies the EqualFold predicate on the "phone_number" field.
func PhoneNumberGT ¶
func PhoneNumberGT(v string) predicate.LocationContact
PhoneNumberGT applies the GT predicate on the "phone_number" field.
func PhoneNumberGTE ¶
func PhoneNumberGTE(v string) predicate.LocationContact
PhoneNumberGTE applies the GTE predicate on the "phone_number" field.
func PhoneNumberHasPrefix ¶
func PhoneNumberHasPrefix(v string) predicate.LocationContact
PhoneNumberHasPrefix applies the HasPrefix predicate on the "phone_number" field.
func PhoneNumberHasSuffix ¶
func PhoneNumberHasSuffix(v string) predicate.LocationContact
PhoneNumberHasSuffix applies the HasSuffix predicate on the "phone_number" field.
func PhoneNumberIn ¶
func PhoneNumberIn(vs ...string) predicate.LocationContact
PhoneNumberIn applies the In predicate on the "phone_number" field.
func PhoneNumberIsNil ¶
func PhoneNumberIsNil() predicate.LocationContact
PhoneNumberIsNil applies the IsNil predicate on the "phone_number" field.
func PhoneNumberLT ¶
func PhoneNumberLT(v string) predicate.LocationContact
PhoneNumberLT applies the LT predicate on the "phone_number" field.
func PhoneNumberLTE ¶
func PhoneNumberLTE(v string) predicate.LocationContact
PhoneNumberLTE applies the LTE predicate on the "phone_number" field.
func PhoneNumberNEQ ¶
func PhoneNumberNEQ(v string) predicate.LocationContact
PhoneNumberNEQ applies the NEQ predicate on the "phone_number" field.
func PhoneNumberNotIn ¶
func PhoneNumberNotIn(vs ...string) predicate.LocationContact
PhoneNumberNotIn applies the NotIn predicate on the "phone_number" field.
func PhoneNumberNotNil ¶
func PhoneNumberNotNil() predicate.LocationContact
PhoneNumberNotNil applies the NotNil predicate on the "phone_number" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.LocationContact
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.LocationContact
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.LocationContact
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.LocationContact
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.LocationContact
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.LocationContact
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.LocationContact
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.LocationContact
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.LocationContact
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Version ¶
func Version(v int) predicate.LocationContact
Version applies equality check predicate on the "version" field. It's identical to VersionEQ.
func VersionEQ ¶
func VersionEQ(v int) predicate.LocationContact
VersionEQ applies the EQ predicate on the "version" field.
func VersionGT ¶
func VersionGT(v int) predicate.LocationContact
VersionGT applies the GT predicate on the "version" field.
func VersionGTE ¶
func VersionGTE(v int) predicate.LocationContact
VersionGTE applies the GTE predicate on the "version" field.
func VersionIn ¶
func VersionIn(vs ...int) predicate.LocationContact
VersionIn applies the In predicate on the "version" field.
func VersionLT ¶
func VersionLT(v int) predicate.LocationContact
VersionLT applies the LT predicate on the "version" field.
func VersionLTE ¶
func VersionLTE(v int) predicate.LocationContact
VersionLTE applies the LTE predicate on the "version" field.
func VersionNEQ ¶
func VersionNEQ(v int) predicate.LocationContact
VersionNEQ applies the NEQ predicate on the "version" field.
func VersionNotIn ¶
func VersionNotIn(vs ...int) predicate.LocationContact
VersionNotIn applies the NotIn predicate on the "version" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the LocationContact queries.
func ByBusinessUnitField ¶
func ByBusinessUnitField(field string, opts ...sql.OrderTermOption) OrderOption
ByBusinessUnitField orders the results by business_unit field.
func ByBusinessUnitID ¶
func ByBusinessUnitID(opts ...sql.OrderTermOption) OrderOption
ByBusinessUnitID orders the results by the business_unit_id field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEmailAddress ¶
func ByEmailAddress(opts ...sql.OrderTermOption) OrderOption
ByEmailAddress orders the results by the email_address field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLocationField ¶
func ByLocationField(field string, opts ...sql.OrderTermOption) OrderOption
ByLocationField orders the results by location field.
func ByLocationID ¶
func ByLocationID(opts ...sql.OrderTermOption) OrderOption
ByLocationID orders the results by the location_id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name 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 ByPhoneNumber ¶
func ByPhoneNumber(opts ...sql.OrderTermOption) OrderOption
ByPhoneNumber orders the results by the phone_number field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByVersion ¶
func ByVersion(opts ...sql.OrderTermOption) OrderOption
ByVersion orders the results by the version field.