Documentation ¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.Contact
- func AddressContains(v string) predicate.Contact
- func AddressContainsFold(v string) predicate.Contact
- func AddressEQ(v string) predicate.Contact
- func AddressEqualFold(v string) predicate.Contact
- func AddressGT(v string) predicate.Contact
- func AddressGTE(v string) predicate.Contact
- func AddressHasPrefix(v string) predicate.Contact
- func AddressHasSuffix(v string) predicate.Contact
- func AddressIn(vs ...string) predicate.Contact
- func AddressIsNil() predicate.Contact
- func AddressLT(v string) predicate.Contact
- func AddressLTE(v string) predicate.Contact
- func AddressNEQ(v string) predicate.Contact
- func AddressNotIn(vs ...string) predicate.Contact
- func AddressNotNil() predicate.Contact
- func And(predicates ...predicate.Contact) predicate.Contact
- func Company(v string) predicate.Contact
- func CompanyContains(v string) predicate.Contact
- func CompanyContainsFold(v string) predicate.Contact
- func CompanyEQ(v string) predicate.Contact
- func CompanyEqualFold(v string) predicate.Contact
- func CompanyGT(v string) predicate.Contact
- func CompanyGTE(v string) predicate.Contact
- func CompanyHasPrefix(v string) predicate.Contact
- func CompanyHasSuffix(v string) predicate.Contact
- func CompanyIn(vs ...string) predicate.Contact
- func CompanyIsNil() predicate.Contact
- func CompanyLT(v string) predicate.Contact
- func CompanyLTE(v string) predicate.Contact
- func CompanyNEQ(v string) predicate.Contact
- func CompanyNotIn(vs ...string) predicate.Contact
- func CompanyNotNil() predicate.Contact
- func CreatedAt(v time.Time) predicate.Contact
- func CreatedAtEQ(v time.Time) predicate.Contact
- func CreatedAtGT(v time.Time) predicate.Contact
- func CreatedAtGTE(v time.Time) predicate.Contact
- func CreatedAtIn(vs ...time.Time) predicate.Contact
- func CreatedAtIsNil() predicate.Contact
- func CreatedAtLT(v time.Time) predicate.Contact
- func CreatedAtLTE(v time.Time) predicate.Contact
- func CreatedAtNEQ(v time.Time) predicate.Contact
- func CreatedAtNotIn(vs ...time.Time) predicate.Contact
- func CreatedAtNotNil() predicate.Contact
- func CreatedBy(v string) predicate.Contact
- func CreatedByContains(v string) predicate.Contact
- func CreatedByContainsFold(v string) predicate.Contact
- func CreatedByEQ(v string) predicate.Contact
- func CreatedByEqualFold(v string) predicate.Contact
- func CreatedByGT(v string) predicate.Contact
- func CreatedByGTE(v string) predicate.Contact
- func CreatedByHasPrefix(v string) predicate.Contact
- func CreatedByHasSuffix(v string) predicate.Contact
- func CreatedByIn(vs ...string) predicate.Contact
- func CreatedByIsNil() predicate.Contact
- func CreatedByLT(v string) predicate.Contact
- func CreatedByLTE(v string) predicate.Contact
- func CreatedByNEQ(v string) predicate.Contact
- func CreatedByNotIn(vs ...string) predicate.Contact
- func CreatedByNotNil() predicate.Contact
- func DeletedAt(v time.Time) predicate.Contact
- func DeletedAtEQ(v time.Time) predicate.Contact
- func DeletedAtGT(v time.Time) predicate.Contact
- func DeletedAtGTE(v time.Time) predicate.Contact
- func DeletedAtIn(vs ...time.Time) predicate.Contact
- func DeletedAtIsNil() predicate.Contact
- func DeletedAtLT(v time.Time) predicate.Contact
- func DeletedAtLTE(v time.Time) predicate.Contact
- func DeletedAtNEQ(v time.Time) predicate.Contact
- func DeletedAtNotIn(vs ...time.Time) predicate.Contact
- func DeletedAtNotNil() predicate.Contact
- func DeletedBy(v string) predicate.Contact
- func DeletedByContains(v string) predicate.Contact
- func DeletedByContainsFold(v string) predicate.Contact
- func DeletedByEQ(v string) predicate.Contact
- func DeletedByEqualFold(v string) predicate.Contact
- func DeletedByGT(v string) predicate.Contact
- func DeletedByGTE(v string) predicate.Contact
- func DeletedByHasPrefix(v string) predicate.Contact
- func DeletedByHasSuffix(v string) predicate.Contact
- func DeletedByIn(vs ...string) predicate.Contact
- func DeletedByIsNil() predicate.Contact
- func DeletedByLT(v string) predicate.Contact
- func DeletedByLTE(v string) predicate.Contact
- func DeletedByNEQ(v string) predicate.Contact
- func DeletedByNotIn(vs ...string) predicate.Contact
- func DeletedByNotNil() predicate.Contact
- func Email(v string) predicate.Contact
- func EmailContains(v string) predicate.Contact
- func EmailContainsFold(v string) predicate.Contact
- func EmailEQ(v string) predicate.Contact
- func EmailEqualFold(v string) predicate.Contact
- func EmailGT(v string) predicate.Contact
- func EmailGTE(v string) predicate.Contact
- func EmailHasPrefix(v string) predicate.Contact
- func EmailHasSuffix(v string) predicate.Contact
- func EmailIn(vs ...string) predicate.Contact
- func EmailIsNil() predicate.Contact
- func EmailLT(v string) predicate.Contact
- func EmailLTE(v string) predicate.Contact
- func EmailNEQ(v string) predicate.Contact
- func EmailNotIn(vs ...string) predicate.Contact
- func EmailNotNil() predicate.Contact
- func FullName(v string) predicate.Contact
- func FullNameContains(v string) predicate.Contact
- func FullNameContainsFold(v string) predicate.Contact
- func FullNameEQ(v string) predicate.Contact
- func FullNameEqualFold(v string) predicate.Contact
- func FullNameGT(v string) predicate.Contact
- func FullNameGTE(v string) predicate.Contact
- func FullNameHasPrefix(v string) predicate.Contact
- func FullNameHasSuffix(v string) predicate.Contact
- func FullNameIn(vs ...string) predicate.Contact
- func FullNameLT(v string) predicate.Contact
- func FullNameLTE(v string) predicate.Contact
- func FullNameNEQ(v string) predicate.Contact
- func FullNameNotIn(vs ...string) predicate.Contact
- func HasEntities() predicate.Contact
- func HasEntitiesWith(preds ...predicate.Entity) predicate.Contact
- func HasOwner() predicate.Contact
- func HasOwnerWith(preds ...predicate.Organization) predicate.Contact
- func ID(id string) predicate.Contact
- func IDContainsFold(id string) predicate.Contact
- func IDEQ(id string) predicate.Contact
- func IDEqualFold(id string) predicate.Contact
- func IDGT(id string) predicate.Contact
- func IDGTE(id string) predicate.Contact
- func IDIn(ids ...string) predicate.Contact
- func IDLT(id string) predicate.Contact
- func IDLTE(id string) predicate.Contact
- func IDNEQ(id string) predicate.Contact
- func IDNotIn(ids ...string) predicate.Contact
- func MappingID(v string) predicate.Contact
- func MappingIDContains(v string) predicate.Contact
- func MappingIDContainsFold(v string) predicate.Contact
- func MappingIDEQ(v string) predicate.Contact
- func MappingIDEqualFold(v string) predicate.Contact
- func MappingIDGT(v string) predicate.Contact
- func MappingIDGTE(v string) predicate.Contact
- func MappingIDHasPrefix(v string) predicate.Contact
- func MappingIDHasSuffix(v string) predicate.Contact
- func MappingIDIn(vs ...string) predicate.Contact
- func MappingIDLT(v string) predicate.Contact
- func MappingIDLTE(v string) predicate.Contact
- func MappingIDNEQ(v string) predicate.Contact
- func MappingIDNotIn(vs ...string) predicate.Contact
- func Not(p predicate.Contact) predicate.Contact
- func Or(predicates ...predicate.Contact) predicate.Contact
- func OwnerID(v string) predicate.Contact
- func OwnerIDContains(v string) predicate.Contact
- func OwnerIDContainsFold(v string) predicate.Contact
- func OwnerIDEQ(v string) predicate.Contact
- func OwnerIDEqualFold(v string) predicate.Contact
- func OwnerIDGT(v string) predicate.Contact
- func OwnerIDGTE(v string) predicate.Contact
- func OwnerIDHasPrefix(v string) predicate.Contact
- func OwnerIDHasSuffix(v string) predicate.Contact
- func OwnerIDIn(vs ...string) predicate.Contact
- func OwnerIDIsNil() predicate.Contact
- func OwnerIDLT(v string) predicate.Contact
- func OwnerIDLTE(v string) predicate.Contact
- func OwnerIDNEQ(v string) predicate.Contact
- func OwnerIDNotIn(vs ...string) predicate.Contact
- func OwnerIDNotNil() predicate.Contact
- func PhoneNumber(v string) predicate.Contact
- func PhoneNumberContains(v string) predicate.Contact
- func PhoneNumberContainsFold(v string) predicate.Contact
- func PhoneNumberEQ(v string) predicate.Contact
- func PhoneNumberEqualFold(v string) predicate.Contact
- func PhoneNumberGT(v string) predicate.Contact
- func PhoneNumberGTE(v string) predicate.Contact
- func PhoneNumberHasPrefix(v string) predicate.Contact
- func PhoneNumberHasSuffix(v string) predicate.Contact
- func PhoneNumberIn(vs ...string) predicate.Contact
- func PhoneNumberIsNil() predicate.Contact
- func PhoneNumberLT(v string) predicate.Contact
- func PhoneNumberLTE(v string) predicate.Contact
- func PhoneNumberNEQ(v string) predicate.Contact
- func PhoneNumberNotIn(vs ...string) predicate.Contact
- func PhoneNumberNotNil() predicate.Contact
- func StatusEQ(v enums.UserStatus) predicate.Contact
- func StatusIn(vs ...enums.UserStatus) predicate.Contact
- func StatusNEQ(v enums.UserStatus) predicate.Contact
- func StatusNotIn(vs ...enums.UserStatus) predicate.Contact
- func StatusValidator(s enums.UserStatus) error
- func TagsIsNil() predicate.Contact
- func TagsNotNil() predicate.Contact
- func Title(v string) predicate.Contact
- func TitleContains(v string) predicate.Contact
- func TitleContainsFold(v string) predicate.Contact
- func TitleEQ(v string) predicate.Contact
- func TitleEqualFold(v string) predicate.Contact
- func TitleGT(v string) predicate.Contact
- func TitleGTE(v string) predicate.Contact
- func TitleHasPrefix(v string) predicate.Contact
- func TitleHasSuffix(v string) predicate.Contact
- func TitleIn(vs ...string) predicate.Contact
- func TitleIsNil() predicate.Contact
- func TitleLT(v string) predicate.Contact
- func TitleLTE(v string) predicate.Contact
- func TitleNEQ(v string) predicate.Contact
- func TitleNotIn(vs ...string) predicate.Contact
- func TitleNotNil() predicate.Contact
- func UpdatedAt(v time.Time) predicate.Contact
- func UpdatedAtEQ(v time.Time) predicate.Contact
- func UpdatedAtGT(v time.Time) predicate.Contact
- func UpdatedAtGTE(v time.Time) predicate.Contact
- func UpdatedAtIn(vs ...time.Time) predicate.Contact
- func UpdatedAtIsNil() predicate.Contact
- func UpdatedAtLT(v time.Time) predicate.Contact
- func UpdatedAtLTE(v time.Time) predicate.Contact
- func UpdatedAtNEQ(v time.Time) predicate.Contact
- func UpdatedAtNotIn(vs ...time.Time) predicate.Contact
- func UpdatedAtNotNil() predicate.Contact
- func UpdatedBy(v string) predicate.Contact
- func UpdatedByContains(v string) predicate.Contact
- func UpdatedByContainsFold(v string) predicate.Contact
- func UpdatedByEQ(v string) predicate.Contact
- func UpdatedByEqualFold(v string) predicate.Contact
- func UpdatedByGT(v string) predicate.Contact
- func UpdatedByGTE(v string) predicate.Contact
- func UpdatedByHasPrefix(v string) predicate.Contact
- func UpdatedByHasSuffix(v string) predicate.Contact
- func UpdatedByIn(vs ...string) predicate.Contact
- func UpdatedByIsNil() predicate.Contact
- func UpdatedByLT(v string) predicate.Contact
- func UpdatedByLTE(v string) predicate.Contact
- func UpdatedByNEQ(v string) predicate.Contact
- func UpdatedByNotIn(vs ...string) predicate.Contact
- func UpdatedByNotNil() predicate.Contact
- func ValidColumn(column string) bool
- type OrderOption
- func ByAddress(opts ...sql.OrderTermOption) OrderOption
- func ByCompany(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByEntities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByEntitiesCount(opts ...sql.OrderTermOption) OrderOption
- func ByFullName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByPhoneNumber(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTitle(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the contact type in the database. Label = "contact" // 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" // FieldMappingID holds the string denoting the mapping_id field in the database. FieldMappingID = "mapping_id" // 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" // FieldTags holds the string denoting the tags field in the database. FieldTags = "tags" // FieldOwnerID holds the string denoting the owner_id field in the database. FieldOwnerID = "owner_id" // FieldFullName holds the string denoting the full_name field in the database. FieldFullName = "full_name" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldCompany holds the string denoting the company field in the database. FieldCompany = "company" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldPhoneNumber holds the string denoting the phone_number field in the database. FieldPhoneNumber = "phone_number" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // EdgeEntities holds the string denoting the entities edge name in mutations. EdgeEntities = "entities" // Table holds the table name of the contact in the database. Table = "contacts" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "contacts" // OwnerInverseTable is the table name for the Organization entity. // It exists in this package in order to avoid circular dependency with the "organization" package. OwnerInverseTable = "organizations" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "owner_id" // EntitiesTable is the table that holds the entities relation/edge. The primary key declared below. EntitiesTable = "entity_contacts" // EntitiesInverseTable is the table name for the Entity entity. // It exists in this package in order to avoid circular dependency with the "entity" package. EntitiesInverseTable = "entities" )
const DefaultStatus enums.UserStatus = "ACTIVE"
Variables ¶
var ( Hooks [4]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 // 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 // OwnerIDValidator is a validator for the "owner_id" field. It is called by the builders before save. OwnerIDValidator func(string) error // FullNameValidator is a validator for the "full_name" field. It is called by the builders before save. FullNameValidator func(string) error // EmailValidator is a validator for the "email" field. It is called by the builders before save. EmailValidator 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() 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/theopenlane/core/internal/ent/generated/runtime"
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldMappingID, FieldDeletedAt, FieldDeletedBy, FieldTags, FieldOwnerID, FieldFullName, FieldTitle, FieldCompany, FieldEmail, FieldPhoneNumber, FieldAddress, FieldStatus, }
Columns holds all SQL columns for contact fields.
var ( // EntitiesPrimaryKey and EntitiesColumn2 are the table columns denoting the // primary key for the entities relation (M2M). EntitiesPrimaryKey = []string{"entity_id", "contact_id"} )
Functions ¶
func Address ¶
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressContains ¶
AddressContains applies the Contains predicate on the "address" field.
func AddressContainsFold ¶
AddressContainsFold applies the ContainsFold predicate on the "address" field.
func AddressEqualFold ¶
AddressEqualFold applies the EqualFold predicate on the "address" field.
func AddressGTE ¶
AddressGTE applies the GTE predicate on the "address" field.
func AddressHasPrefix ¶
AddressHasPrefix applies the HasPrefix predicate on the "address" field.
func AddressHasSuffix ¶
AddressHasSuffix applies the HasSuffix predicate on the "address" field.
func AddressIsNil ¶
AddressIsNil applies the IsNil predicate on the "address" field.
func AddressLTE ¶
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
AddressNotIn applies the NotIn predicate on the "address" field.
func AddressNotNil ¶
AddressNotNil applies the NotNil predicate on the "address" field.
func Company ¶
Company applies equality check predicate on the "company" field. It's identical to CompanyEQ.
func CompanyContains ¶
CompanyContains applies the Contains predicate on the "company" field.
func CompanyContainsFold ¶
CompanyContainsFold applies the ContainsFold predicate on the "company" field.
func CompanyEqualFold ¶
CompanyEqualFold applies the EqualFold predicate on the "company" field.
func CompanyGTE ¶
CompanyGTE applies the GTE predicate on the "company" field.
func CompanyHasPrefix ¶
CompanyHasPrefix applies the HasPrefix predicate on the "company" field.
func CompanyHasSuffix ¶
CompanyHasSuffix applies the HasSuffix predicate on the "company" field.
func CompanyIsNil ¶
CompanyIsNil applies the IsNil predicate on the "company" field.
func CompanyLTE ¶
CompanyLTE applies the LTE predicate on the "company" field.
func CompanyNEQ ¶
CompanyNEQ applies the NEQ predicate on the "company" field.
func CompanyNotIn ¶
CompanyNotIn applies the NotIn predicate on the "company" field.
func CompanyNotNil ¶
CompanyNotNil applies the NotNil predicate on the "company" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
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 ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
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 ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func 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 ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
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 ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
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 ¶
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
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 ¶
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
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 ¶
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func FullName ¶
FullName applies equality check predicate on the "full_name" field. It's identical to FullNameEQ.
func FullNameContains ¶
FullNameContains applies the Contains predicate on the "full_name" field.
func FullNameContainsFold ¶
FullNameContainsFold applies the ContainsFold predicate on the "full_name" field.
func FullNameEQ ¶
FullNameEQ applies the EQ predicate on the "full_name" field.
func FullNameEqualFold ¶
FullNameEqualFold applies the EqualFold predicate on the "full_name" field.
func FullNameGT ¶
FullNameGT applies the GT predicate on the "full_name" field.
func FullNameGTE ¶
FullNameGTE applies the GTE predicate on the "full_name" field.
func FullNameHasPrefix ¶
FullNameHasPrefix applies the HasPrefix predicate on the "full_name" field.
func FullNameHasSuffix ¶
FullNameHasSuffix applies the HasSuffix predicate on the "full_name" field.
func FullNameIn ¶
FullNameIn applies the In predicate on the "full_name" field.
func FullNameLT ¶
FullNameLT applies the LT predicate on the "full_name" field.
func FullNameLTE ¶
FullNameLTE applies the LTE predicate on the "full_name" field.
func FullNameNEQ ¶
FullNameNEQ applies the NEQ predicate on the "full_name" field.
func FullNameNotIn ¶
FullNameNotIn applies the NotIn predicate on the "full_name" field.
func HasEntities ¶
HasEntities applies the HasEdge predicate on the "entities" edge.
func HasEntitiesWith ¶
HasEntitiesWith applies the HasEdge predicate on the "entities" edge with a given conditions (other predicates).
func HasOwnerWith ¶
func HasOwnerWith(preds ...predicate.Organization) predicate.Contact
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func MappingID ¶
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func OwnerID ¶
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGTE ¶
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIsNil ¶
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLTE ¶
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func PhoneNumber ¶
PhoneNumber applies equality check predicate on the "phone_number" field. It's identical to PhoneNumberEQ.
func PhoneNumberContains ¶
PhoneNumberContains applies the Contains predicate on the "phone_number" field.
func PhoneNumberContainsFold ¶
PhoneNumberContainsFold applies the ContainsFold predicate on the "phone_number" field.
func PhoneNumberEQ ¶
PhoneNumberEQ applies the EQ predicate on the "phone_number" field.
func PhoneNumberEqualFold ¶
PhoneNumberEqualFold applies the EqualFold predicate on the "phone_number" field.
func PhoneNumberGT ¶
PhoneNumberGT applies the GT predicate on the "phone_number" field.
func PhoneNumberGTE ¶
PhoneNumberGTE applies the GTE predicate on the "phone_number" field.
func PhoneNumberHasPrefix ¶
PhoneNumberHasPrefix applies the HasPrefix predicate on the "phone_number" field.
func PhoneNumberHasSuffix ¶
PhoneNumberHasSuffix applies the HasSuffix predicate on the "phone_number" field.
func PhoneNumberIn ¶
PhoneNumberIn applies the In predicate on the "phone_number" field.
func PhoneNumberIsNil ¶
PhoneNumberIsNil applies the IsNil predicate on the "phone_number" field.
func PhoneNumberLT ¶
PhoneNumberLT applies the LT predicate on the "phone_number" field.
func PhoneNumberLTE ¶
PhoneNumberLTE applies the LTE predicate on the "phone_number" field.
func PhoneNumberNEQ ¶
PhoneNumberNEQ applies the NEQ predicate on the "phone_number" field.
func PhoneNumberNotIn ¶
PhoneNumberNotIn applies the NotIn predicate on the "phone_number" field.
func PhoneNumberNotNil ¶
PhoneNumberNotNil applies the NotNil predicate on the "phone_number" field.
func StatusEQ ¶
func StatusEQ(v enums.UserStatus) predicate.Contact
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.UserStatus) predicate.Contact
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.UserStatus) predicate.Contact
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.UserStatus) predicate.Contact
StatusNotIn applies the NotIn predicate on the "status" field.
func StatusValidator ¶
func StatusValidator(s enums.UserStatus) error
StatusValidator is a validator for the "status" field enum values. It is called by the builders before save.
func TagsNotNil ¶
TagsNotNil applies the NotNil predicate on the "tags" field.
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIsNil ¶
TitleIsNil applies the IsNil predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
func TitleNotNil ¶
TitleNotNil applies the NotNil predicate on the "title" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
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 ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
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 ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Contact queries.
func ByAddress ¶
func ByAddress(opts ...sql.OrderTermOption) OrderOption
ByAddress orders the results by the address field.
func ByCompany ¶
func ByCompany(opts ...sql.OrderTermOption) OrderOption
ByCompany orders the results by the company 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 ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByEntities ¶
func ByEntities(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByEntities orders the results by entities terms.
func ByEntitiesCount ¶
func ByEntitiesCount(opts ...sql.OrderTermOption) OrderOption
ByEntitiesCount orders the results by entities count.
func ByFullName ¶
func ByFullName(opts ...sql.OrderTermOption) OrderOption
ByFullName orders the results by the full_name field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMappingID ¶
func ByMappingID(opts ...sql.OrderTermOption) OrderOption
ByMappingID orders the results by the mapping_id field.
func ByOwnerField ¶
func ByOwnerField(field string, opts ...sql.OrderTermOption) OrderOption
ByOwnerField orders the results by owner field.
func ByOwnerID ¶
func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
ByOwnerID orders the results by the owner_id field.
func ByPhoneNumber ¶
func ByPhoneNumber(opts ...sql.OrderTermOption) OrderOption
ByPhoneNumber orders the results by the phone_number field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTitle ¶
func ByTitle(opts ...sql.OrderTermOption) OrderOption
ByTitle orders the results by the title 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.