Documentation ¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.ContactHistory
- func AddressContains(v string) predicate.ContactHistory
- func AddressContainsFold(v string) predicate.ContactHistory
- func AddressEQ(v string) predicate.ContactHistory
- func AddressEqualFold(v string) predicate.ContactHistory
- func AddressGT(v string) predicate.ContactHistory
- func AddressGTE(v string) predicate.ContactHistory
- func AddressHasPrefix(v string) predicate.ContactHistory
- func AddressHasSuffix(v string) predicate.ContactHistory
- func AddressIn(vs ...string) predicate.ContactHistory
- func AddressIsNil() predicate.ContactHistory
- func AddressLT(v string) predicate.ContactHistory
- func AddressLTE(v string) predicate.ContactHistory
- func AddressNEQ(v string) predicate.ContactHistory
- func AddressNotIn(vs ...string) predicate.ContactHistory
- func AddressNotNil() predicate.ContactHistory
- func And(predicates ...predicate.ContactHistory) predicate.ContactHistory
- func Company(v string) predicate.ContactHistory
- func CompanyContains(v string) predicate.ContactHistory
- func CompanyContainsFold(v string) predicate.ContactHistory
- func CompanyEQ(v string) predicate.ContactHistory
- func CompanyEqualFold(v string) predicate.ContactHistory
- func CompanyGT(v string) predicate.ContactHistory
- func CompanyGTE(v string) predicate.ContactHistory
- func CompanyHasPrefix(v string) predicate.ContactHistory
- func CompanyHasSuffix(v string) predicate.ContactHistory
- func CompanyIn(vs ...string) predicate.ContactHistory
- func CompanyIsNil() predicate.ContactHistory
- func CompanyLT(v string) predicate.ContactHistory
- func CompanyLTE(v string) predicate.ContactHistory
- func CompanyNEQ(v string) predicate.ContactHistory
- func CompanyNotIn(vs ...string) predicate.ContactHistory
- func CompanyNotNil() predicate.ContactHistory
- func CreatedAt(v time.Time) predicate.ContactHistory
- func CreatedAtEQ(v time.Time) predicate.ContactHistory
- func CreatedAtGT(v time.Time) predicate.ContactHistory
- func CreatedAtGTE(v time.Time) predicate.ContactHistory
- func CreatedAtIn(vs ...time.Time) predicate.ContactHistory
- func CreatedAtIsNil() predicate.ContactHistory
- func CreatedAtLT(v time.Time) predicate.ContactHistory
- func CreatedAtLTE(v time.Time) predicate.ContactHistory
- func CreatedAtNEQ(v time.Time) predicate.ContactHistory
- func CreatedAtNotIn(vs ...time.Time) predicate.ContactHistory
- func CreatedAtNotNil() predicate.ContactHistory
- func CreatedBy(v string) predicate.ContactHistory
- func CreatedByContains(v string) predicate.ContactHistory
- func CreatedByContainsFold(v string) predicate.ContactHistory
- func CreatedByEQ(v string) predicate.ContactHistory
- func CreatedByEqualFold(v string) predicate.ContactHistory
- func CreatedByGT(v string) predicate.ContactHistory
- func CreatedByGTE(v string) predicate.ContactHistory
- func CreatedByHasPrefix(v string) predicate.ContactHistory
- func CreatedByHasSuffix(v string) predicate.ContactHistory
- func CreatedByIn(vs ...string) predicate.ContactHistory
- func CreatedByIsNil() predicate.ContactHistory
- func CreatedByLT(v string) predicate.ContactHistory
- func CreatedByLTE(v string) predicate.ContactHistory
- func CreatedByNEQ(v string) predicate.ContactHistory
- func CreatedByNotIn(vs ...string) predicate.ContactHistory
- func CreatedByNotNil() predicate.ContactHistory
- func DeletedAt(v time.Time) predicate.ContactHistory
- func DeletedAtEQ(v time.Time) predicate.ContactHistory
- func DeletedAtGT(v time.Time) predicate.ContactHistory
- func DeletedAtGTE(v time.Time) predicate.ContactHistory
- func DeletedAtIn(vs ...time.Time) predicate.ContactHistory
- func DeletedAtIsNil() predicate.ContactHistory
- func DeletedAtLT(v time.Time) predicate.ContactHistory
- func DeletedAtLTE(v time.Time) predicate.ContactHistory
- func DeletedAtNEQ(v time.Time) predicate.ContactHistory
- func DeletedAtNotIn(vs ...time.Time) predicate.ContactHistory
- func DeletedAtNotNil() predicate.ContactHistory
- func DeletedBy(v string) predicate.ContactHistory
- func DeletedByContains(v string) predicate.ContactHistory
- func DeletedByContainsFold(v string) predicate.ContactHistory
- func DeletedByEQ(v string) predicate.ContactHistory
- func DeletedByEqualFold(v string) predicate.ContactHistory
- func DeletedByGT(v string) predicate.ContactHistory
- func DeletedByGTE(v string) predicate.ContactHistory
- func DeletedByHasPrefix(v string) predicate.ContactHistory
- func DeletedByHasSuffix(v string) predicate.ContactHistory
- func DeletedByIn(vs ...string) predicate.ContactHistory
- func DeletedByIsNil() predicate.ContactHistory
- func DeletedByLT(v string) predicate.ContactHistory
- func DeletedByLTE(v string) predicate.ContactHistory
- func DeletedByNEQ(v string) predicate.ContactHistory
- func DeletedByNotIn(vs ...string) predicate.ContactHistory
- func DeletedByNotNil() predicate.ContactHistory
- func Email(v string) predicate.ContactHistory
- func EmailContains(v string) predicate.ContactHistory
- func EmailContainsFold(v string) predicate.ContactHistory
- func EmailEQ(v string) predicate.ContactHistory
- func EmailEqualFold(v string) predicate.ContactHistory
- func EmailGT(v string) predicate.ContactHistory
- func EmailGTE(v string) predicate.ContactHistory
- func EmailHasPrefix(v string) predicate.ContactHistory
- func EmailHasSuffix(v string) predicate.ContactHistory
- func EmailIn(vs ...string) predicate.ContactHistory
- func EmailIsNil() predicate.ContactHistory
- func EmailLT(v string) predicate.ContactHistory
- func EmailLTE(v string) predicate.ContactHistory
- func EmailNEQ(v string) predicate.ContactHistory
- func EmailNotIn(vs ...string) predicate.ContactHistory
- func EmailNotNil() predicate.ContactHistory
- func FullName(v string) predicate.ContactHistory
- func FullNameContains(v string) predicate.ContactHistory
- func FullNameContainsFold(v string) predicate.ContactHistory
- func FullNameEQ(v string) predicate.ContactHistory
- func FullNameEqualFold(v string) predicate.ContactHistory
- func FullNameGT(v string) predicate.ContactHistory
- func FullNameGTE(v string) predicate.ContactHistory
- func FullNameHasPrefix(v string) predicate.ContactHistory
- func FullNameHasSuffix(v string) predicate.ContactHistory
- func FullNameIn(vs ...string) predicate.ContactHistory
- func FullNameLT(v string) predicate.ContactHistory
- func FullNameLTE(v string) predicate.ContactHistory
- func FullNameNEQ(v string) predicate.ContactHistory
- func FullNameNotIn(vs ...string) predicate.ContactHistory
- func HistoryTime(v time.Time) predicate.ContactHistory
- func HistoryTimeEQ(v time.Time) predicate.ContactHistory
- func HistoryTimeGT(v time.Time) predicate.ContactHistory
- func HistoryTimeGTE(v time.Time) predicate.ContactHistory
- func HistoryTimeIn(vs ...time.Time) predicate.ContactHistory
- func HistoryTimeLT(v time.Time) predicate.ContactHistory
- func HistoryTimeLTE(v time.Time) predicate.ContactHistory
- func HistoryTimeNEQ(v time.Time) predicate.ContactHistory
- func HistoryTimeNotIn(vs ...time.Time) predicate.ContactHistory
- func ID(id string) predicate.ContactHistory
- func IDContainsFold(id string) predicate.ContactHistory
- func IDEQ(id string) predicate.ContactHistory
- func IDEqualFold(id string) predicate.ContactHistory
- func IDGT(id string) predicate.ContactHistory
- func IDGTE(id string) predicate.ContactHistory
- func IDIn(ids ...string) predicate.ContactHistory
- func IDLT(id string) predicate.ContactHistory
- func IDLTE(id string) predicate.ContactHistory
- func IDNEQ(id string) predicate.ContactHistory
- func IDNotIn(ids ...string) predicate.ContactHistory
- func MappingID(v string) predicate.ContactHistory
- func MappingIDContains(v string) predicate.ContactHistory
- func MappingIDContainsFold(v string) predicate.ContactHistory
- func MappingIDEQ(v string) predicate.ContactHistory
- func MappingIDEqualFold(v string) predicate.ContactHistory
- func MappingIDGT(v string) predicate.ContactHistory
- func MappingIDGTE(v string) predicate.ContactHistory
- func MappingIDHasPrefix(v string) predicate.ContactHistory
- func MappingIDHasSuffix(v string) predicate.ContactHistory
- func MappingIDIn(vs ...string) predicate.ContactHistory
- func MappingIDLT(v string) predicate.ContactHistory
- func MappingIDLTE(v string) predicate.ContactHistory
- func MappingIDNEQ(v string) predicate.ContactHistory
- func MappingIDNotIn(vs ...string) predicate.ContactHistory
- func Not(p predicate.ContactHistory) predicate.ContactHistory
- func OperationEQ(v enthistory.OpType) predicate.ContactHistory
- func OperationIn(vs ...enthistory.OpType) predicate.ContactHistory
- func OperationNEQ(v enthistory.OpType) predicate.ContactHistory
- func OperationNotIn(vs ...enthistory.OpType) predicate.ContactHistory
- func OperationValidator(o enthistory.OpType) error
- func Or(predicates ...predicate.ContactHistory) predicate.ContactHistory
- func OwnerID(v string) predicate.ContactHistory
- func OwnerIDContains(v string) predicate.ContactHistory
- func OwnerIDContainsFold(v string) predicate.ContactHistory
- func OwnerIDEQ(v string) predicate.ContactHistory
- func OwnerIDEqualFold(v string) predicate.ContactHistory
- func OwnerIDGT(v string) predicate.ContactHistory
- func OwnerIDGTE(v string) predicate.ContactHistory
- func OwnerIDHasPrefix(v string) predicate.ContactHistory
- func OwnerIDHasSuffix(v string) predicate.ContactHistory
- func OwnerIDIn(vs ...string) predicate.ContactHistory
- func OwnerIDIsNil() predicate.ContactHistory
- func OwnerIDLT(v string) predicate.ContactHistory
- func OwnerIDLTE(v string) predicate.ContactHistory
- func OwnerIDNEQ(v string) predicate.ContactHistory
- func OwnerIDNotIn(vs ...string) predicate.ContactHistory
- func OwnerIDNotNil() predicate.ContactHistory
- func PhoneNumber(v string) predicate.ContactHistory
- func PhoneNumberContains(v string) predicate.ContactHistory
- func PhoneNumberContainsFold(v string) predicate.ContactHistory
- func PhoneNumberEQ(v string) predicate.ContactHistory
- func PhoneNumberEqualFold(v string) predicate.ContactHistory
- func PhoneNumberGT(v string) predicate.ContactHistory
- func PhoneNumberGTE(v string) predicate.ContactHistory
- func PhoneNumberHasPrefix(v string) predicate.ContactHistory
- func PhoneNumberHasSuffix(v string) predicate.ContactHistory
- func PhoneNumberIn(vs ...string) predicate.ContactHistory
- func PhoneNumberIsNil() predicate.ContactHistory
- func PhoneNumberLT(v string) predicate.ContactHistory
- func PhoneNumberLTE(v string) predicate.ContactHistory
- func PhoneNumberNEQ(v string) predicate.ContactHistory
- func PhoneNumberNotIn(vs ...string) predicate.ContactHistory
- func PhoneNumberNotNil() predicate.ContactHistory
- func Ref(v string) predicate.ContactHistory
- func RefContains(v string) predicate.ContactHistory
- func RefContainsFold(v string) predicate.ContactHistory
- func RefEQ(v string) predicate.ContactHistory
- func RefEqualFold(v string) predicate.ContactHistory
- func RefGT(v string) predicate.ContactHistory
- func RefGTE(v string) predicate.ContactHistory
- func RefHasPrefix(v string) predicate.ContactHistory
- func RefHasSuffix(v string) predicate.ContactHistory
- func RefIn(vs ...string) predicate.ContactHistory
- func RefIsNil() predicate.ContactHistory
- func RefLT(v string) predicate.ContactHistory
- func RefLTE(v string) predicate.ContactHistory
- func RefNEQ(v string) predicate.ContactHistory
- func RefNotIn(vs ...string) predicate.ContactHistory
- func RefNotNil() predicate.ContactHistory
- func StatusEQ(v enums.UserStatus) predicate.ContactHistory
- func StatusIn(vs ...enums.UserStatus) predicate.ContactHistory
- func StatusNEQ(v enums.UserStatus) predicate.ContactHistory
- func StatusNotIn(vs ...enums.UserStatus) predicate.ContactHistory
- func StatusValidator(s enums.UserStatus) error
- func TagsIsNil() predicate.ContactHistory
- func TagsNotNil() predicate.ContactHistory
- func Title(v string) predicate.ContactHistory
- func TitleContains(v string) predicate.ContactHistory
- func TitleContainsFold(v string) predicate.ContactHistory
- func TitleEQ(v string) predicate.ContactHistory
- func TitleEqualFold(v string) predicate.ContactHistory
- func TitleGT(v string) predicate.ContactHistory
- func TitleGTE(v string) predicate.ContactHistory
- func TitleHasPrefix(v string) predicate.ContactHistory
- func TitleHasSuffix(v string) predicate.ContactHistory
- func TitleIn(vs ...string) predicate.ContactHistory
- func TitleIsNil() predicate.ContactHistory
- func TitleLT(v string) predicate.ContactHistory
- func TitleLTE(v string) predicate.ContactHistory
- func TitleNEQ(v string) predicate.ContactHistory
- func TitleNotIn(vs ...string) predicate.ContactHistory
- func TitleNotNil() predicate.ContactHistory
- func UpdatedAt(v time.Time) predicate.ContactHistory
- func UpdatedAtEQ(v time.Time) predicate.ContactHistory
- func UpdatedAtGT(v time.Time) predicate.ContactHistory
- func UpdatedAtGTE(v time.Time) predicate.ContactHistory
- func UpdatedAtIn(vs ...time.Time) predicate.ContactHistory
- func UpdatedAtIsNil() predicate.ContactHistory
- func UpdatedAtLT(v time.Time) predicate.ContactHistory
- func UpdatedAtLTE(v time.Time) predicate.ContactHistory
- func UpdatedAtNEQ(v time.Time) predicate.ContactHistory
- func UpdatedAtNotIn(vs ...time.Time) predicate.ContactHistory
- func UpdatedAtNotNil() predicate.ContactHistory
- func UpdatedBy(v string) predicate.ContactHistory
- func UpdatedByContains(v string) predicate.ContactHistory
- func UpdatedByContainsFold(v string) predicate.ContactHistory
- func UpdatedByEQ(v string) predicate.ContactHistory
- func UpdatedByEqualFold(v string) predicate.ContactHistory
- func UpdatedByGT(v string) predicate.ContactHistory
- func UpdatedByGTE(v string) predicate.ContactHistory
- func UpdatedByHasPrefix(v string) predicate.ContactHistory
- func UpdatedByHasSuffix(v string) predicate.ContactHistory
- func UpdatedByIn(vs ...string) predicate.ContactHistory
- func UpdatedByIsNil() predicate.ContactHistory
- func UpdatedByLT(v string) predicate.ContactHistory
- func UpdatedByLTE(v string) predicate.ContactHistory
- func UpdatedByNEQ(v string) predicate.ContactHistory
- func UpdatedByNotIn(vs ...string) predicate.ContactHistory
- func UpdatedByNotNil() predicate.ContactHistory
- 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 ByFullName(opts ...sql.OrderTermOption) OrderOption
- func ByHistoryTime(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByMappingID(opts ...sql.OrderTermOption) OrderOption
- func ByOperation(opts ...sql.OrderTermOption) OrderOption
- func ByOwnerID(opts ...sql.OrderTermOption) OrderOption
- func ByPhoneNumber(opts ...sql.OrderTermOption) OrderOption
- func ByRef(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 contacthistory type in the database. Label = "contact_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" // 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" // Table holds the table name of the contacthistory in the database. Table = "contact_history" )
const DefaultStatus enums.UserStatus = "ACTIVE"
Variables ¶
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"
var Columns = []string{ FieldID, FieldHistoryTime, FieldRef, FieldOperation, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldMappingID, FieldDeletedAt, FieldDeletedBy, FieldTags, FieldOwnerID, FieldFullName, FieldTitle, FieldCompany, FieldEmail, FieldPhoneNumber, FieldAddress, FieldStatus, }
Columns holds all SQL columns for contacthistory fields.
Functions ¶
func Address ¶
func Address(v string) predicate.ContactHistory
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressContains ¶
func AddressContains(v string) predicate.ContactHistory
AddressContains applies the Contains predicate on the "address" field.
func AddressContainsFold ¶
func AddressContainsFold(v string) predicate.ContactHistory
AddressContainsFold applies the ContainsFold predicate on the "address" field.
func AddressEQ ¶
func AddressEQ(v string) predicate.ContactHistory
AddressEQ applies the EQ predicate on the "address" field.
func AddressEqualFold ¶
func AddressEqualFold(v string) predicate.ContactHistory
AddressEqualFold applies the EqualFold predicate on the "address" field.
func AddressGT ¶
func AddressGT(v string) predicate.ContactHistory
AddressGT applies the GT predicate on the "address" field.
func AddressGTE ¶
func AddressGTE(v string) predicate.ContactHistory
AddressGTE applies the GTE predicate on the "address" field.
func AddressHasPrefix ¶
func AddressHasPrefix(v string) predicate.ContactHistory
AddressHasPrefix applies the HasPrefix predicate on the "address" field.
func AddressHasSuffix ¶
func AddressHasSuffix(v string) predicate.ContactHistory
AddressHasSuffix applies the HasSuffix predicate on the "address" field.
func AddressIn ¶
func AddressIn(vs ...string) predicate.ContactHistory
AddressIn applies the In predicate on the "address" field.
func AddressIsNil ¶
func AddressIsNil() predicate.ContactHistory
AddressIsNil applies the IsNil predicate on the "address" field.
func AddressLT ¶
func AddressLT(v string) predicate.ContactHistory
AddressLT applies the LT predicate on the "address" field.
func AddressLTE ¶
func AddressLTE(v string) predicate.ContactHistory
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
func AddressNEQ(v string) predicate.ContactHistory
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
func AddressNotIn(vs ...string) predicate.ContactHistory
AddressNotIn applies the NotIn predicate on the "address" field.
func AddressNotNil ¶
func AddressNotNil() predicate.ContactHistory
AddressNotNil applies the NotNil predicate on the "address" field.
func And ¶
func And(predicates ...predicate.ContactHistory) predicate.ContactHistory
And groups predicates with the AND operator between them.
func Company ¶
func Company(v string) predicate.ContactHistory
Company applies equality check predicate on the "company" field. It's identical to CompanyEQ.
func CompanyContains ¶
func CompanyContains(v string) predicate.ContactHistory
CompanyContains applies the Contains predicate on the "company" field.
func CompanyContainsFold ¶
func CompanyContainsFold(v string) predicate.ContactHistory
CompanyContainsFold applies the ContainsFold predicate on the "company" field.
func CompanyEQ ¶
func CompanyEQ(v string) predicate.ContactHistory
CompanyEQ applies the EQ predicate on the "company" field.
func CompanyEqualFold ¶
func CompanyEqualFold(v string) predicate.ContactHistory
CompanyEqualFold applies the EqualFold predicate on the "company" field.
func CompanyGT ¶
func CompanyGT(v string) predicate.ContactHistory
CompanyGT applies the GT predicate on the "company" field.
func CompanyGTE ¶
func CompanyGTE(v string) predicate.ContactHistory
CompanyGTE applies the GTE predicate on the "company" field.
func CompanyHasPrefix ¶
func CompanyHasPrefix(v string) predicate.ContactHistory
CompanyHasPrefix applies the HasPrefix predicate on the "company" field.
func CompanyHasSuffix ¶
func CompanyHasSuffix(v string) predicate.ContactHistory
CompanyHasSuffix applies the HasSuffix predicate on the "company" field.
func CompanyIn ¶
func CompanyIn(vs ...string) predicate.ContactHistory
CompanyIn applies the In predicate on the "company" field.
func CompanyIsNil ¶
func CompanyIsNil() predicate.ContactHistory
CompanyIsNil applies the IsNil predicate on the "company" field.
func CompanyLT ¶
func CompanyLT(v string) predicate.ContactHistory
CompanyLT applies the LT predicate on the "company" field.
func CompanyLTE ¶
func CompanyLTE(v string) predicate.ContactHistory
CompanyLTE applies the LTE predicate on the "company" field.
func CompanyNEQ ¶
func CompanyNEQ(v string) predicate.ContactHistory
CompanyNEQ applies the NEQ predicate on the "company" field.
func CompanyNotIn ¶
func CompanyNotIn(vs ...string) predicate.ContactHistory
CompanyNotIn applies the NotIn predicate on the "company" field.
func CompanyNotNil ¶
func CompanyNotNil() predicate.ContactHistory
CompanyNotNil applies the NotNil predicate on the "company" field.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.ContactHistory
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.ContactHistory
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.ContactHistory
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.ContactHistory
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.ContactHistory
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtIsNil ¶
func CreatedAtIsNil() predicate.ContactHistory
CreatedAtIsNil applies the IsNil predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.ContactHistory
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.ContactHistory
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.ContactHistory
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.ContactHistory
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedAtNotNil ¶
func CreatedAtNotNil() predicate.ContactHistory
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func CreatedBy ¶
func CreatedBy(v string) predicate.ContactHistory
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
func CreatedByContains(v string) predicate.ContactHistory
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
func CreatedByContainsFold(v string) predicate.ContactHistory
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
func CreatedByEQ(v string) predicate.ContactHistory
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
func CreatedByEqualFold(v string) predicate.ContactHistory
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
func CreatedByGT(v string) predicate.ContactHistory
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
func CreatedByGTE(v string) predicate.ContactHistory
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
func CreatedByHasPrefix(v string) predicate.ContactHistory
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
func CreatedByHasSuffix(v string) predicate.ContactHistory
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
func CreatedByIn(vs ...string) predicate.ContactHistory
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
func CreatedByIsNil() predicate.ContactHistory
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
func CreatedByLT(v string) predicate.ContactHistory
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
func CreatedByLTE(v string) predicate.ContactHistory
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
func CreatedByNEQ(v string) predicate.ContactHistory
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
func CreatedByNotIn(vs ...string) predicate.ContactHistory
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
func CreatedByNotNil() predicate.ContactHistory
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func DeletedAt ¶
func DeletedAt(v time.Time) predicate.ContactHistory
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
func DeletedAtEQ(v time.Time) predicate.ContactHistory
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
func DeletedAtGT(v time.Time) predicate.ContactHistory
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
func DeletedAtGTE(v time.Time) predicate.ContactHistory
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
func DeletedAtIn(vs ...time.Time) predicate.ContactHistory
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
func DeletedAtIsNil() predicate.ContactHistory
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
func DeletedAtLT(v time.Time) predicate.ContactHistory
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
func DeletedAtLTE(v time.Time) predicate.ContactHistory
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
func DeletedAtNEQ(v time.Time) predicate.ContactHistory
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
func DeletedAtNotIn(vs ...time.Time) predicate.ContactHistory
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
func DeletedAtNotNil() predicate.ContactHistory
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func DeletedBy ¶
func DeletedBy(v string) predicate.ContactHistory
DeletedBy applies equality check predicate on the "deleted_by" field. It's identical to DeletedByEQ.
func DeletedByContains ¶
func DeletedByContains(v string) predicate.ContactHistory
DeletedByContains applies the Contains predicate on the "deleted_by" field.
func DeletedByContainsFold ¶
func DeletedByContainsFold(v string) predicate.ContactHistory
DeletedByContainsFold applies the ContainsFold predicate on the "deleted_by" field.
func DeletedByEQ ¶
func DeletedByEQ(v string) predicate.ContactHistory
DeletedByEQ applies the EQ predicate on the "deleted_by" field.
func DeletedByEqualFold ¶
func DeletedByEqualFold(v string) predicate.ContactHistory
DeletedByEqualFold applies the EqualFold predicate on the "deleted_by" field.
func DeletedByGT ¶
func DeletedByGT(v string) predicate.ContactHistory
DeletedByGT applies the GT predicate on the "deleted_by" field.
func DeletedByGTE ¶
func DeletedByGTE(v string) predicate.ContactHistory
DeletedByGTE applies the GTE predicate on the "deleted_by" field.
func DeletedByHasPrefix ¶
func DeletedByHasPrefix(v string) predicate.ContactHistory
DeletedByHasPrefix applies the HasPrefix predicate on the "deleted_by" field.
func DeletedByHasSuffix ¶
func DeletedByHasSuffix(v string) predicate.ContactHistory
DeletedByHasSuffix applies the HasSuffix predicate on the "deleted_by" field.
func DeletedByIn ¶
func DeletedByIn(vs ...string) predicate.ContactHistory
DeletedByIn applies the In predicate on the "deleted_by" field.
func DeletedByIsNil ¶
func DeletedByIsNil() predicate.ContactHistory
DeletedByIsNil applies the IsNil predicate on the "deleted_by" field.
func DeletedByLT ¶
func DeletedByLT(v string) predicate.ContactHistory
DeletedByLT applies the LT predicate on the "deleted_by" field.
func DeletedByLTE ¶
func DeletedByLTE(v string) predicate.ContactHistory
DeletedByLTE applies the LTE predicate on the "deleted_by" field.
func DeletedByNEQ ¶
func DeletedByNEQ(v string) predicate.ContactHistory
DeletedByNEQ applies the NEQ predicate on the "deleted_by" field.
func DeletedByNotIn ¶
func DeletedByNotIn(vs ...string) predicate.ContactHistory
DeletedByNotIn applies the NotIn predicate on the "deleted_by" field.
func DeletedByNotNil ¶
func DeletedByNotNil() predicate.ContactHistory
DeletedByNotNil applies the NotNil predicate on the "deleted_by" field.
func Email ¶
func Email(v string) predicate.ContactHistory
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
func EmailContains(v string) predicate.ContactHistory
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
func EmailContainsFold(v string) predicate.ContactHistory
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEQ ¶
func EmailEQ(v string) predicate.ContactHistory
EmailEQ applies the EQ predicate on the "email" field.
func EmailEqualFold ¶
func EmailEqualFold(v string) predicate.ContactHistory
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailGT ¶
func EmailGT(v string) predicate.ContactHistory
EmailGT applies the GT predicate on the "email" field.
func EmailGTE ¶
func EmailGTE(v string) predicate.ContactHistory
EmailGTE applies the GTE predicate on the "email" field.
func EmailHasPrefix ¶
func EmailHasPrefix(v string) predicate.ContactHistory
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
func EmailHasSuffix(v string) predicate.ContactHistory
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIn ¶
func EmailIn(vs ...string) predicate.ContactHistory
EmailIn applies the In predicate on the "email" field.
func EmailIsNil ¶
func EmailIsNil() predicate.ContactHistory
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailLT ¶
func EmailLT(v string) predicate.ContactHistory
EmailLT applies the LT predicate on the "email" field.
func EmailLTE ¶
func EmailLTE(v string) predicate.ContactHistory
EmailLTE applies the LTE predicate on the "email" field.
func EmailNEQ ¶
func EmailNEQ(v string) predicate.ContactHistory
EmailNEQ applies the NEQ predicate on the "email" field.
func EmailNotIn ¶
func EmailNotIn(vs ...string) predicate.ContactHistory
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
func EmailNotNil() predicate.ContactHistory
EmailNotNil applies the NotNil predicate on the "email" field.
func FullName ¶
func FullName(v string) predicate.ContactHistory
FullName applies equality check predicate on the "full_name" field. It's identical to FullNameEQ.
func FullNameContains ¶
func FullNameContains(v string) predicate.ContactHistory
FullNameContains applies the Contains predicate on the "full_name" field.
func FullNameContainsFold ¶
func FullNameContainsFold(v string) predicate.ContactHistory
FullNameContainsFold applies the ContainsFold predicate on the "full_name" field.
func FullNameEQ ¶
func FullNameEQ(v string) predicate.ContactHistory
FullNameEQ applies the EQ predicate on the "full_name" field.
func FullNameEqualFold ¶
func FullNameEqualFold(v string) predicate.ContactHistory
FullNameEqualFold applies the EqualFold predicate on the "full_name" field.
func FullNameGT ¶
func FullNameGT(v string) predicate.ContactHistory
FullNameGT applies the GT predicate on the "full_name" field.
func FullNameGTE ¶
func FullNameGTE(v string) predicate.ContactHistory
FullNameGTE applies the GTE predicate on the "full_name" field.
func FullNameHasPrefix ¶
func FullNameHasPrefix(v string) predicate.ContactHistory
FullNameHasPrefix applies the HasPrefix predicate on the "full_name" field.
func FullNameHasSuffix ¶
func FullNameHasSuffix(v string) predicate.ContactHistory
FullNameHasSuffix applies the HasSuffix predicate on the "full_name" field.
func FullNameIn ¶
func FullNameIn(vs ...string) predicate.ContactHistory
FullNameIn applies the In predicate on the "full_name" field.
func FullNameLT ¶
func FullNameLT(v string) predicate.ContactHistory
FullNameLT applies the LT predicate on the "full_name" field.
func FullNameLTE ¶
func FullNameLTE(v string) predicate.ContactHistory
FullNameLTE applies the LTE predicate on the "full_name" field.
func FullNameNEQ ¶
func FullNameNEQ(v string) predicate.ContactHistory
FullNameNEQ applies the NEQ predicate on the "full_name" field.
func FullNameNotIn ¶
func FullNameNotIn(vs ...string) predicate.ContactHistory
FullNameNotIn applies the NotIn predicate on the "full_name" field.
func HistoryTime ¶
func HistoryTime(v time.Time) predicate.ContactHistory
HistoryTime applies equality check predicate on the "history_time" field. It's identical to HistoryTimeEQ.
func HistoryTimeEQ ¶
func HistoryTimeEQ(v time.Time) predicate.ContactHistory
HistoryTimeEQ applies the EQ predicate on the "history_time" field.
func HistoryTimeGT ¶
func HistoryTimeGT(v time.Time) predicate.ContactHistory
HistoryTimeGT applies the GT predicate on the "history_time" field.
func HistoryTimeGTE ¶
func HistoryTimeGTE(v time.Time) predicate.ContactHistory
HistoryTimeGTE applies the GTE predicate on the "history_time" field.
func HistoryTimeIn ¶
func HistoryTimeIn(vs ...time.Time) predicate.ContactHistory
HistoryTimeIn applies the In predicate on the "history_time" field.
func HistoryTimeLT ¶
func HistoryTimeLT(v time.Time) predicate.ContactHistory
HistoryTimeLT applies the LT predicate on the "history_time" field.
func HistoryTimeLTE ¶
func HistoryTimeLTE(v time.Time) predicate.ContactHistory
HistoryTimeLTE applies the LTE predicate on the "history_time" field.
func HistoryTimeNEQ ¶
func HistoryTimeNEQ(v time.Time) predicate.ContactHistory
HistoryTimeNEQ applies the NEQ predicate on the "history_time" field.
func HistoryTimeNotIn ¶
func HistoryTimeNotIn(vs ...time.Time) predicate.ContactHistory
HistoryTimeNotIn applies the NotIn predicate on the "history_time" field.
func IDContainsFold ¶
func IDContainsFold(id string) predicate.ContactHistory
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEQ ¶
func IDEQ(id string) predicate.ContactHistory
IDEQ applies the EQ predicate on the ID field.
func IDEqualFold ¶
func IDEqualFold(id string) predicate.ContactHistory
IDEqualFold applies the EqualFold predicate on the ID field.
func IDGT ¶
func IDGT(id string) predicate.ContactHistory
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id string) predicate.ContactHistory
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...string) predicate.ContactHistory
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id string) predicate.ContactHistory
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id string) predicate.ContactHistory
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id string) predicate.ContactHistory
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...string) predicate.ContactHistory
IDNotIn applies the NotIn predicate on the ID field.
func MappingID ¶
func MappingID(v string) predicate.ContactHistory
MappingID applies equality check predicate on the "mapping_id" field. It's identical to MappingIDEQ.
func MappingIDContains ¶
func MappingIDContains(v string) predicate.ContactHistory
MappingIDContains applies the Contains predicate on the "mapping_id" field.
func MappingIDContainsFold ¶
func MappingIDContainsFold(v string) predicate.ContactHistory
MappingIDContainsFold applies the ContainsFold predicate on the "mapping_id" field.
func MappingIDEQ ¶
func MappingIDEQ(v string) predicate.ContactHistory
MappingIDEQ applies the EQ predicate on the "mapping_id" field.
func MappingIDEqualFold ¶
func MappingIDEqualFold(v string) predicate.ContactHistory
MappingIDEqualFold applies the EqualFold predicate on the "mapping_id" field.
func MappingIDGT ¶
func MappingIDGT(v string) predicate.ContactHistory
MappingIDGT applies the GT predicate on the "mapping_id" field.
func MappingIDGTE ¶
func MappingIDGTE(v string) predicate.ContactHistory
MappingIDGTE applies the GTE predicate on the "mapping_id" field.
func MappingIDHasPrefix ¶
func MappingIDHasPrefix(v string) predicate.ContactHistory
MappingIDHasPrefix applies the HasPrefix predicate on the "mapping_id" field.
func MappingIDHasSuffix ¶
func MappingIDHasSuffix(v string) predicate.ContactHistory
MappingIDHasSuffix applies the HasSuffix predicate on the "mapping_id" field.
func MappingIDIn ¶
func MappingIDIn(vs ...string) predicate.ContactHistory
MappingIDIn applies the In predicate on the "mapping_id" field.
func MappingIDLT ¶
func MappingIDLT(v string) predicate.ContactHistory
MappingIDLT applies the LT predicate on the "mapping_id" field.
func MappingIDLTE ¶
func MappingIDLTE(v string) predicate.ContactHistory
MappingIDLTE applies the LTE predicate on the "mapping_id" field.
func MappingIDNEQ ¶
func MappingIDNEQ(v string) predicate.ContactHistory
MappingIDNEQ applies the NEQ predicate on the "mapping_id" field.
func MappingIDNotIn ¶
func MappingIDNotIn(vs ...string) predicate.ContactHistory
MappingIDNotIn applies the NotIn predicate on the "mapping_id" field.
func Not ¶
func Not(p predicate.ContactHistory) predicate.ContactHistory
Not applies the not operator on the given predicate.
func OperationEQ ¶
func OperationEQ(v enthistory.OpType) predicate.ContactHistory
OperationEQ applies the EQ predicate on the "operation" field.
func OperationIn ¶
func OperationIn(vs ...enthistory.OpType) predicate.ContactHistory
OperationIn applies the In predicate on the "operation" field.
func OperationNEQ ¶
func OperationNEQ(v enthistory.OpType) predicate.ContactHistory
OperationNEQ applies the NEQ predicate on the "operation" field.
func OperationNotIn ¶
func OperationNotIn(vs ...enthistory.OpType) predicate.ContactHistory
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 ¶
func Or(predicates ...predicate.ContactHistory) predicate.ContactHistory
Or groups predicates with the OR operator between them.
func OwnerID ¶
func OwnerID(v string) predicate.ContactHistory
OwnerID applies equality check predicate on the "owner_id" field. It's identical to OwnerIDEQ.
func OwnerIDContains ¶
func OwnerIDContains(v string) predicate.ContactHistory
OwnerIDContains applies the Contains predicate on the "owner_id" field.
func OwnerIDContainsFold ¶
func OwnerIDContainsFold(v string) predicate.ContactHistory
OwnerIDContainsFold applies the ContainsFold predicate on the "owner_id" field.
func OwnerIDEQ ¶
func OwnerIDEQ(v string) predicate.ContactHistory
OwnerIDEQ applies the EQ predicate on the "owner_id" field.
func OwnerIDEqualFold ¶
func OwnerIDEqualFold(v string) predicate.ContactHistory
OwnerIDEqualFold applies the EqualFold predicate on the "owner_id" field.
func OwnerIDGT ¶
func OwnerIDGT(v string) predicate.ContactHistory
OwnerIDGT applies the GT predicate on the "owner_id" field.
func OwnerIDGTE ¶
func OwnerIDGTE(v string) predicate.ContactHistory
OwnerIDGTE applies the GTE predicate on the "owner_id" field.
func OwnerIDHasPrefix ¶
func OwnerIDHasPrefix(v string) predicate.ContactHistory
OwnerIDHasPrefix applies the HasPrefix predicate on the "owner_id" field.
func OwnerIDHasSuffix ¶
func OwnerIDHasSuffix(v string) predicate.ContactHistory
OwnerIDHasSuffix applies the HasSuffix predicate on the "owner_id" field.
func OwnerIDIn ¶
func OwnerIDIn(vs ...string) predicate.ContactHistory
OwnerIDIn applies the In predicate on the "owner_id" field.
func OwnerIDIsNil ¶
func OwnerIDIsNil() predicate.ContactHistory
OwnerIDIsNil applies the IsNil predicate on the "owner_id" field.
func OwnerIDLT ¶
func OwnerIDLT(v string) predicate.ContactHistory
OwnerIDLT applies the LT predicate on the "owner_id" field.
func OwnerIDLTE ¶
func OwnerIDLTE(v string) predicate.ContactHistory
OwnerIDLTE applies the LTE predicate on the "owner_id" field.
func OwnerIDNEQ ¶
func OwnerIDNEQ(v string) predicate.ContactHistory
OwnerIDNEQ applies the NEQ predicate on the "owner_id" field.
func OwnerIDNotIn ¶
func OwnerIDNotIn(vs ...string) predicate.ContactHistory
OwnerIDNotIn applies the NotIn predicate on the "owner_id" field.
func OwnerIDNotNil ¶
func OwnerIDNotNil() predicate.ContactHistory
OwnerIDNotNil applies the NotNil predicate on the "owner_id" field.
func PhoneNumber ¶
func PhoneNumber(v string) predicate.ContactHistory
PhoneNumber applies equality check predicate on the "phone_number" field. It's identical to PhoneNumberEQ.
func PhoneNumberContains ¶
func PhoneNumberContains(v string) predicate.ContactHistory
PhoneNumberContains applies the Contains predicate on the "phone_number" field.
func PhoneNumberContainsFold ¶
func PhoneNumberContainsFold(v string) predicate.ContactHistory
PhoneNumberContainsFold applies the ContainsFold predicate on the "phone_number" field.
func PhoneNumberEQ ¶
func PhoneNumberEQ(v string) predicate.ContactHistory
PhoneNumberEQ applies the EQ predicate on the "phone_number" field.
func PhoneNumberEqualFold ¶
func PhoneNumberEqualFold(v string) predicate.ContactHistory
PhoneNumberEqualFold applies the EqualFold predicate on the "phone_number" field.
func PhoneNumberGT ¶
func PhoneNumberGT(v string) predicate.ContactHistory
PhoneNumberGT applies the GT predicate on the "phone_number" field.
func PhoneNumberGTE ¶
func PhoneNumberGTE(v string) predicate.ContactHistory
PhoneNumberGTE applies the GTE predicate on the "phone_number" field.
func PhoneNumberHasPrefix ¶
func PhoneNumberHasPrefix(v string) predicate.ContactHistory
PhoneNumberHasPrefix applies the HasPrefix predicate on the "phone_number" field.
func PhoneNumberHasSuffix ¶
func PhoneNumberHasSuffix(v string) predicate.ContactHistory
PhoneNumberHasSuffix applies the HasSuffix predicate on the "phone_number" field.
func PhoneNumberIn ¶
func PhoneNumberIn(vs ...string) predicate.ContactHistory
PhoneNumberIn applies the In predicate on the "phone_number" field.
func PhoneNumberIsNil ¶
func PhoneNumberIsNil() predicate.ContactHistory
PhoneNumberIsNil applies the IsNil predicate on the "phone_number" field.
func PhoneNumberLT ¶
func PhoneNumberLT(v string) predicate.ContactHistory
PhoneNumberLT applies the LT predicate on the "phone_number" field.
func PhoneNumberLTE ¶
func PhoneNumberLTE(v string) predicate.ContactHistory
PhoneNumberLTE applies the LTE predicate on the "phone_number" field.
func PhoneNumberNEQ ¶
func PhoneNumberNEQ(v string) predicate.ContactHistory
PhoneNumberNEQ applies the NEQ predicate on the "phone_number" field.
func PhoneNumberNotIn ¶
func PhoneNumberNotIn(vs ...string) predicate.ContactHistory
PhoneNumberNotIn applies the NotIn predicate on the "phone_number" field.
func PhoneNumberNotNil ¶
func PhoneNumberNotNil() predicate.ContactHistory
PhoneNumberNotNil applies the NotNil predicate on the "phone_number" field.
func Ref ¶
func Ref(v string) predicate.ContactHistory
Ref applies equality check predicate on the "ref" field. It's identical to RefEQ.
func RefContains ¶
func RefContains(v string) predicate.ContactHistory
RefContains applies the Contains predicate on the "ref" field.
func RefContainsFold ¶
func RefContainsFold(v string) predicate.ContactHistory
RefContainsFold applies the ContainsFold predicate on the "ref" field.
func RefEQ ¶
func RefEQ(v string) predicate.ContactHistory
RefEQ applies the EQ predicate on the "ref" field.
func RefEqualFold ¶
func RefEqualFold(v string) predicate.ContactHistory
RefEqualFold applies the EqualFold predicate on the "ref" field.
func RefGT ¶
func RefGT(v string) predicate.ContactHistory
RefGT applies the GT predicate on the "ref" field.
func RefGTE ¶
func RefGTE(v string) predicate.ContactHistory
RefGTE applies the GTE predicate on the "ref" field.
func RefHasPrefix ¶
func RefHasPrefix(v string) predicate.ContactHistory
RefHasPrefix applies the HasPrefix predicate on the "ref" field.
func RefHasSuffix ¶
func RefHasSuffix(v string) predicate.ContactHistory
RefHasSuffix applies the HasSuffix predicate on the "ref" field.
func RefIn ¶
func RefIn(vs ...string) predicate.ContactHistory
RefIn applies the In predicate on the "ref" field.
func RefIsNil ¶
func RefIsNil() predicate.ContactHistory
RefIsNil applies the IsNil predicate on the "ref" field.
func RefLT ¶
func RefLT(v string) predicate.ContactHistory
RefLT applies the LT predicate on the "ref" field.
func RefLTE ¶
func RefLTE(v string) predicate.ContactHistory
RefLTE applies the LTE predicate on the "ref" field.
func RefNEQ ¶
func RefNEQ(v string) predicate.ContactHistory
RefNEQ applies the NEQ predicate on the "ref" field.
func RefNotIn ¶
func RefNotIn(vs ...string) predicate.ContactHistory
RefNotIn applies the NotIn predicate on the "ref" field.
func RefNotNil ¶
func RefNotNil() predicate.ContactHistory
RefNotNil applies the NotNil predicate on the "ref" field.
func StatusEQ ¶
func StatusEQ(v enums.UserStatus) predicate.ContactHistory
StatusEQ applies the EQ predicate on the "status" field.
func StatusIn ¶
func StatusIn(vs ...enums.UserStatus) predicate.ContactHistory
StatusIn applies the In predicate on the "status" field.
func StatusNEQ ¶
func StatusNEQ(v enums.UserStatus) predicate.ContactHistory
StatusNEQ applies the NEQ predicate on the "status" field.
func StatusNotIn ¶
func StatusNotIn(vs ...enums.UserStatus) predicate.ContactHistory
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 TagsIsNil ¶
func TagsIsNil() predicate.ContactHistory
TagsIsNil applies the IsNil predicate on the "tags" field.
func TagsNotNil ¶
func TagsNotNil() predicate.ContactHistory
TagsNotNil applies the NotNil predicate on the "tags" field.
func Title ¶
func Title(v string) predicate.ContactHistory
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
func TitleContains(v string) predicate.ContactHistory
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
func TitleContainsFold(v string) predicate.ContactHistory
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEQ ¶
func TitleEQ(v string) predicate.ContactHistory
TitleEQ applies the EQ predicate on the "title" field.
func TitleEqualFold ¶
func TitleEqualFold(v string) predicate.ContactHistory
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleGT ¶
func TitleGT(v string) predicate.ContactHistory
TitleGT applies the GT predicate on the "title" field.
func TitleGTE ¶
func TitleGTE(v string) predicate.ContactHistory
TitleGTE applies the GTE predicate on the "title" field.
func TitleHasPrefix ¶
func TitleHasPrefix(v string) predicate.ContactHistory
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
func TitleHasSuffix(v string) predicate.ContactHistory
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIn ¶
func TitleIn(vs ...string) predicate.ContactHistory
TitleIn applies the In predicate on the "title" field.
func TitleIsNil ¶
func TitleIsNil() predicate.ContactHistory
TitleIsNil applies the IsNil predicate on the "title" field.
func TitleLT ¶
func TitleLT(v string) predicate.ContactHistory
TitleLT applies the LT predicate on the "title" field.
func TitleLTE ¶
func TitleLTE(v string) predicate.ContactHistory
TitleLTE applies the LTE predicate on the "title" field.
func TitleNEQ ¶
func TitleNEQ(v string) predicate.ContactHistory
TitleNEQ applies the NEQ predicate on the "title" field.
func TitleNotIn ¶
func TitleNotIn(vs ...string) predicate.ContactHistory
TitleNotIn applies the NotIn predicate on the "title" field.
func TitleNotNil ¶
func TitleNotNil() predicate.ContactHistory
TitleNotNil applies the NotNil predicate on the "title" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.ContactHistory
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.ContactHistory
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.ContactHistory
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.ContactHistory
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.ContactHistory
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
func UpdatedAtIsNil() predicate.ContactHistory
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.ContactHistory
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.ContactHistory
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.ContactHistory
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.ContactHistory
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
func UpdatedAtNotNil() predicate.ContactHistory
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
func UpdatedBy(v string) predicate.ContactHistory
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
func UpdatedByContains(v string) predicate.ContactHistory
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
func UpdatedByContainsFold(v string) predicate.ContactHistory
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
func UpdatedByEQ(v string) predicate.ContactHistory
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
func UpdatedByEqualFold(v string) predicate.ContactHistory
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
func UpdatedByGT(v string) predicate.ContactHistory
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
func UpdatedByGTE(v string) predicate.ContactHistory
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
func UpdatedByHasPrefix(v string) predicate.ContactHistory
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
func UpdatedByHasSuffix(v string) predicate.ContactHistory
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
func UpdatedByIn(vs ...string) predicate.ContactHistory
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
func UpdatedByIsNil() predicate.ContactHistory
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
func UpdatedByLT(v string) predicate.ContactHistory
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
func UpdatedByLTE(v string) predicate.ContactHistory
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
func UpdatedByNEQ(v string) predicate.ContactHistory
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
func UpdatedByNotIn(vs ...string) predicate.ContactHistory
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
func UpdatedByNotNil() predicate.ContactHistory
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 ContactHistory 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 ByFullName ¶
func ByFullName(opts ...sql.OrderTermOption) OrderOption
ByFullName orders the results by the full_name 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 ¶
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 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 ByRef ¶
func ByRef(opts ...sql.OrderTermOption) OrderOption
ByRef orders the results by the ref 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.