contact

package
v0.0.0-...-3da28a4 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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"
	// FieldToUserID holds the string denoting the to_user_id field in the database.
	FieldToUserID = "to_user_id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldDetail holds the string denoting the detail field in the database.
	FieldDetail = "detail"
	// FieldMail holds the string denoting the mail field in the database.
	FieldMail = "mail"
	// FieldIP holds the string denoting the ip field in the database.
	FieldIP = "ip"
	// FieldLang holds the string denoting the lang field in the database.
	FieldLang = "lang"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldCategory holds the string denoting the category field in the database.
	FieldCategory = "category"
	// FieldCustomTitle holds the string denoting the custom_title field in the database.
	FieldCustomTitle = "custom_title"
	// FieldCustomValue holds the string denoting the custom_value field in the database.
	FieldCustomValue = "custom_value"
	// FieldDeviceName holds the string denoting the device_name field in the database.
	FieldDeviceName = "device_name"
	// FieldOs holds the string denoting the os field in the database.
	FieldOs = "os"
	// FieldBrowserName holds the string denoting the browser_name field in the database.
	FieldBrowserName = "browser_name"
	// FieldIsMobile holds the string denoting the is_mobile field in the database.
	FieldIsMobile = "is_mobile"
	// FieldCreated holds the string denoting the created field in the database.
	FieldCreated = "created"
	// FieldModified holds the string denoting the modified field in the database.
	FieldModified = "modified"
	// Table holds the table name of the contact in the database.
	Table = "contacts"
)

Variables

View Source
var (
	// DefaultCreated holds the default value on creation for the "created" field.
	DefaultCreated func() time.Time
	// DefaultModified holds the default value on creation for the "modified" field.
	DefaultModified func() time.Time
	// UpdateDefaultModified holds the default value on update for the "modified" field.
	UpdateDefaultModified func() time.Time
)

Columns holds all SQL columns for contact fields.

Functions

func And

func And(predicates ...predicate.Contact) predicate.Contact

And groups predicates with the AND operator between them.

func BrowserName

func BrowserName(v string) predicate.Contact

BrowserName applies equality check predicate on the "browser_name" field. It's identical to BrowserNameEQ.

func BrowserNameContains

func BrowserNameContains(v string) predicate.Contact

BrowserNameContains applies the Contains predicate on the "browser_name" field.

func BrowserNameContainsFold

func BrowserNameContainsFold(v string) predicate.Contact

BrowserNameContainsFold applies the ContainsFold predicate on the "browser_name" field.

func BrowserNameEQ

func BrowserNameEQ(v string) predicate.Contact

BrowserNameEQ applies the EQ predicate on the "browser_name" field.

func BrowserNameEqualFold

func BrowserNameEqualFold(v string) predicate.Contact

BrowserNameEqualFold applies the EqualFold predicate on the "browser_name" field.

func BrowserNameGT

func BrowserNameGT(v string) predicate.Contact

BrowserNameGT applies the GT predicate on the "browser_name" field.

func BrowserNameGTE

func BrowserNameGTE(v string) predicate.Contact

BrowserNameGTE applies the GTE predicate on the "browser_name" field.

func BrowserNameHasPrefix

func BrowserNameHasPrefix(v string) predicate.Contact

BrowserNameHasPrefix applies the HasPrefix predicate on the "browser_name" field.

func BrowserNameHasSuffix

func BrowserNameHasSuffix(v string) predicate.Contact

BrowserNameHasSuffix applies the HasSuffix predicate on the "browser_name" field.

func BrowserNameIn

func BrowserNameIn(vs ...string) predicate.Contact

BrowserNameIn applies the In predicate on the "browser_name" field.

func BrowserNameIsNil

func BrowserNameIsNil() predicate.Contact

BrowserNameIsNil applies the IsNil predicate on the "browser_name" field.

func BrowserNameLT

func BrowserNameLT(v string) predicate.Contact

BrowserNameLT applies the LT predicate on the "browser_name" field.

func BrowserNameLTE

func BrowserNameLTE(v string) predicate.Contact

BrowserNameLTE applies the LTE predicate on the "browser_name" field.

func BrowserNameNEQ

func BrowserNameNEQ(v string) predicate.Contact

BrowserNameNEQ applies the NEQ predicate on the "browser_name" field.

func BrowserNameNotIn

func BrowserNameNotIn(vs ...string) predicate.Contact

BrowserNameNotIn applies the NotIn predicate on the "browser_name" field.

func BrowserNameNotNil

func BrowserNameNotNil() predicate.Contact

BrowserNameNotNil applies the NotNil predicate on the "browser_name" field.

func Category

func Category(v string) predicate.Contact

Category applies equality check predicate on the "category" field. It's identical to CategoryEQ.

func CategoryContains

func CategoryContains(v string) predicate.Contact

CategoryContains applies the Contains predicate on the "category" field.

func CategoryContainsFold

func CategoryContainsFold(v string) predicate.Contact

CategoryContainsFold applies the ContainsFold predicate on the "category" field.

func CategoryEQ

func CategoryEQ(v string) predicate.Contact

CategoryEQ applies the EQ predicate on the "category" field.

func CategoryEqualFold

func CategoryEqualFold(v string) predicate.Contact

CategoryEqualFold applies the EqualFold predicate on the "category" field.

func CategoryGT

func CategoryGT(v string) predicate.Contact

CategoryGT applies the GT predicate on the "category" field.

func CategoryGTE

func CategoryGTE(v string) predicate.Contact

CategoryGTE applies the GTE predicate on the "category" field.

func CategoryHasPrefix

func CategoryHasPrefix(v string) predicate.Contact

CategoryHasPrefix applies the HasPrefix predicate on the "category" field.

func CategoryHasSuffix

func CategoryHasSuffix(v string) predicate.Contact

CategoryHasSuffix applies the HasSuffix predicate on the "category" field.

func CategoryIn

func CategoryIn(vs ...string) predicate.Contact

CategoryIn applies the In predicate on the "category" field.

func CategoryIsNil

func CategoryIsNil() predicate.Contact

CategoryIsNil applies the IsNil predicate on the "category" field.

func CategoryLT

func CategoryLT(v string) predicate.Contact

CategoryLT applies the LT predicate on the "category" field.

func CategoryLTE

func CategoryLTE(v string) predicate.Contact

CategoryLTE applies the LTE predicate on the "category" field.

func CategoryNEQ

func CategoryNEQ(v string) predicate.Contact

CategoryNEQ applies the NEQ predicate on the "category" field.

func CategoryNotIn

func CategoryNotIn(vs ...string) predicate.Contact

CategoryNotIn applies the NotIn predicate on the "category" field.

func CategoryNotNil

func CategoryNotNil() predicate.Contact

CategoryNotNil applies the NotNil predicate on the "category" field.

func Created

func Created(v time.Time) predicate.Contact

Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.

func CreatedEQ

func CreatedEQ(v time.Time) predicate.Contact

CreatedEQ applies the EQ predicate on the "created" field.

func CreatedGT

func CreatedGT(v time.Time) predicate.Contact

CreatedGT applies the GT predicate on the "created" field.

func CreatedGTE

func CreatedGTE(v time.Time) predicate.Contact

CreatedGTE applies the GTE predicate on the "created" field.

func CreatedIn

func CreatedIn(vs ...time.Time) predicate.Contact

CreatedIn applies the In predicate on the "created" field.

func CreatedLT

func CreatedLT(v time.Time) predicate.Contact

CreatedLT applies the LT predicate on the "created" field.

func CreatedLTE

func CreatedLTE(v time.Time) predicate.Contact

CreatedLTE applies the LTE predicate on the "created" field.

func CreatedNEQ

func CreatedNEQ(v time.Time) predicate.Contact

CreatedNEQ applies the NEQ predicate on the "created" field.

func CreatedNotIn

func CreatedNotIn(vs ...time.Time) predicate.Contact

CreatedNotIn applies the NotIn predicate on the "created" field.

func CustomTitle

func CustomTitle(v string) predicate.Contact

CustomTitle applies equality check predicate on the "custom_title" field. It's identical to CustomTitleEQ.

func CustomTitleContains

func CustomTitleContains(v string) predicate.Contact

CustomTitleContains applies the Contains predicate on the "custom_title" field.

func CustomTitleContainsFold

func CustomTitleContainsFold(v string) predicate.Contact

CustomTitleContainsFold applies the ContainsFold predicate on the "custom_title" field.

func CustomTitleEQ

func CustomTitleEQ(v string) predicate.Contact

CustomTitleEQ applies the EQ predicate on the "custom_title" field.

func CustomTitleEqualFold

func CustomTitleEqualFold(v string) predicate.Contact

CustomTitleEqualFold applies the EqualFold predicate on the "custom_title" field.

func CustomTitleGT

func CustomTitleGT(v string) predicate.Contact

CustomTitleGT applies the GT predicate on the "custom_title" field.

func CustomTitleGTE

func CustomTitleGTE(v string) predicate.Contact

CustomTitleGTE applies the GTE predicate on the "custom_title" field.

func CustomTitleHasPrefix

func CustomTitleHasPrefix(v string) predicate.Contact

CustomTitleHasPrefix applies the HasPrefix predicate on the "custom_title" field.

func CustomTitleHasSuffix

func CustomTitleHasSuffix(v string) predicate.Contact

CustomTitleHasSuffix applies the HasSuffix predicate on the "custom_title" field.

func CustomTitleIn

func CustomTitleIn(vs ...string) predicate.Contact

CustomTitleIn applies the In predicate on the "custom_title" field.

func CustomTitleIsNil

func CustomTitleIsNil() predicate.Contact

CustomTitleIsNil applies the IsNil predicate on the "custom_title" field.

func CustomTitleLT

func CustomTitleLT(v string) predicate.Contact

CustomTitleLT applies the LT predicate on the "custom_title" field.

func CustomTitleLTE

func CustomTitleLTE(v string) predicate.Contact

CustomTitleLTE applies the LTE predicate on the "custom_title" field.

func CustomTitleNEQ

func CustomTitleNEQ(v string) predicate.Contact

CustomTitleNEQ applies the NEQ predicate on the "custom_title" field.

func CustomTitleNotIn

func CustomTitleNotIn(vs ...string) predicate.Contact

CustomTitleNotIn applies the NotIn predicate on the "custom_title" field.

func CustomTitleNotNil

func CustomTitleNotNil() predicate.Contact

CustomTitleNotNil applies the NotNil predicate on the "custom_title" field.

func CustomValue

func CustomValue(v string) predicate.Contact

CustomValue applies equality check predicate on the "custom_value" field. It's identical to CustomValueEQ.

func CustomValueContains

func CustomValueContains(v string) predicate.Contact

CustomValueContains applies the Contains predicate on the "custom_value" field.

func CustomValueContainsFold

func CustomValueContainsFold(v string) predicate.Contact

CustomValueContainsFold applies the ContainsFold predicate on the "custom_value" field.

func CustomValueEQ

func CustomValueEQ(v string) predicate.Contact

CustomValueEQ applies the EQ predicate on the "custom_value" field.

func CustomValueEqualFold

func CustomValueEqualFold(v string) predicate.Contact

CustomValueEqualFold applies the EqualFold predicate on the "custom_value" field.

func CustomValueGT

func CustomValueGT(v string) predicate.Contact

CustomValueGT applies the GT predicate on the "custom_value" field.

func CustomValueGTE

func CustomValueGTE(v string) predicate.Contact

CustomValueGTE applies the GTE predicate on the "custom_value" field.

func CustomValueHasPrefix

func CustomValueHasPrefix(v string) predicate.Contact

CustomValueHasPrefix applies the HasPrefix predicate on the "custom_value" field.

func CustomValueHasSuffix

func CustomValueHasSuffix(v string) predicate.Contact

CustomValueHasSuffix applies the HasSuffix predicate on the "custom_value" field.

func CustomValueIn

func CustomValueIn(vs ...string) predicate.Contact

CustomValueIn applies the In predicate on the "custom_value" field.

func CustomValueIsNil

func CustomValueIsNil() predicate.Contact

CustomValueIsNil applies the IsNil predicate on the "custom_value" field.

func CustomValueLT

func CustomValueLT(v string) predicate.Contact

CustomValueLT applies the LT predicate on the "custom_value" field.

func CustomValueLTE

func CustomValueLTE(v string) predicate.Contact

CustomValueLTE applies the LTE predicate on the "custom_value" field.

func CustomValueNEQ

func CustomValueNEQ(v string) predicate.Contact

CustomValueNEQ applies the NEQ predicate on the "custom_value" field.

func CustomValueNotIn

func CustomValueNotIn(vs ...string) predicate.Contact

CustomValueNotIn applies the NotIn predicate on the "custom_value" field.

func CustomValueNotNil

func CustomValueNotNil() predicate.Contact

CustomValueNotNil applies the NotNil predicate on the "custom_value" field.

func Detail

func Detail(v string) predicate.Contact

Detail applies equality check predicate on the "detail" field. It's identical to DetailEQ.

func DetailContains

func DetailContains(v string) predicate.Contact

DetailContains applies the Contains predicate on the "detail" field.

func DetailContainsFold

func DetailContainsFold(v string) predicate.Contact

DetailContainsFold applies the ContainsFold predicate on the "detail" field.

func DetailEQ

func DetailEQ(v string) predicate.Contact

DetailEQ applies the EQ predicate on the "detail" field.

func DetailEqualFold

func DetailEqualFold(v string) predicate.Contact

DetailEqualFold applies the EqualFold predicate on the "detail" field.

func DetailGT

func DetailGT(v string) predicate.Contact

DetailGT applies the GT predicate on the "detail" field.

func DetailGTE

func DetailGTE(v string) predicate.Contact

DetailGTE applies the GTE predicate on the "detail" field.

func DetailHasPrefix

func DetailHasPrefix(v string) predicate.Contact

DetailHasPrefix applies the HasPrefix predicate on the "detail" field.

func DetailHasSuffix

func DetailHasSuffix(v string) predicate.Contact

DetailHasSuffix applies the HasSuffix predicate on the "detail" field.

func DetailIn

func DetailIn(vs ...string) predicate.Contact

DetailIn applies the In predicate on the "detail" field.

func DetailLT

func DetailLT(v string) predicate.Contact

DetailLT applies the LT predicate on the "detail" field.

func DetailLTE

func DetailLTE(v string) predicate.Contact

DetailLTE applies the LTE predicate on the "detail" field.

func DetailNEQ

func DetailNEQ(v string) predicate.Contact

DetailNEQ applies the NEQ predicate on the "detail" field.

func DetailNotIn

func DetailNotIn(vs ...string) predicate.Contact

DetailNotIn applies the NotIn predicate on the "detail" field.

func DeviceName

func DeviceName(v string) predicate.Contact

DeviceName applies equality check predicate on the "device_name" field. It's identical to DeviceNameEQ.

func DeviceNameContains

func DeviceNameContains(v string) predicate.Contact

DeviceNameContains applies the Contains predicate on the "device_name" field.

func DeviceNameContainsFold

func DeviceNameContainsFold(v string) predicate.Contact

DeviceNameContainsFold applies the ContainsFold predicate on the "device_name" field.

func DeviceNameEQ

func DeviceNameEQ(v string) predicate.Contact

DeviceNameEQ applies the EQ predicate on the "device_name" field.

func DeviceNameEqualFold

func DeviceNameEqualFold(v string) predicate.Contact

DeviceNameEqualFold applies the EqualFold predicate on the "device_name" field.

func DeviceNameGT

func DeviceNameGT(v string) predicate.Contact

DeviceNameGT applies the GT predicate on the "device_name" field.

func DeviceNameGTE

func DeviceNameGTE(v string) predicate.Contact

DeviceNameGTE applies the GTE predicate on the "device_name" field.

func DeviceNameHasPrefix

func DeviceNameHasPrefix(v string) predicate.Contact

DeviceNameHasPrefix applies the HasPrefix predicate on the "device_name" field.

func DeviceNameHasSuffix

func DeviceNameHasSuffix(v string) predicate.Contact

DeviceNameHasSuffix applies the HasSuffix predicate on the "device_name" field.

func DeviceNameIn

func DeviceNameIn(vs ...string) predicate.Contact

DeviceNameIn applies the In predicate on the "device_name" field.

func DeviceNameIsNil

func DeviceNameIsNil() predicate.Contact

DeviceNameIsNil applies the IsNil predicate on the "device_name" field.

func DeviceNameLT

func DeviceNameLT(v string) predicate.Contact

DeviceNameLT applies the LT predicate on the "device_name" field.

func DeviceNameLTE

func DeviceNameLTE(v string) predicate.Contact

DeviceNameLTE applies the LTE predicate on the "device_name" field.

func DeviceNameNEQ

func DeviceNameNEQ(v string) predicate.Contact

DeviceNameNEQ applies the NEQ predicate on the "device_name" field.

func DeviceNameNotIn

func DeviceNameNotIn(vs ...string) predicate.Contact

DeviceNameNotIn applies the NotIn predicate on the "device_name" field.

func DeviceNameNotNil

func DeviceNameNotNil() predicate.Contact

DeviceNameNotNil applies the NotNil predicate on the "device_name" field.

func ID

func ID(id uint32) predicate.Contact

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uint32) predicate.Contact

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uint32) predicate.Contact

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uint32) predicate.Contact

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uint32) predicate.Contact

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uint32) predicate.Contact

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uint32) predicate.Contact

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uint32) predicate.Contact

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uint32) predicate.Contact

IDNotIn applies the NotIn predicate on the ID field.

func IP

func IP(v string) predicate.Contact

IP applies equality check predicate on the "ip" field. It's identical to IPEQ.

func IPContains

func IPContains(v string) predicate.Contact

IPContains applies the Contains predicate on the "ip" field.

func IPContainsFold

func IPContainsFold(v string) predicate.Contact

IPContainsFold applies the ContainsFold predicate on the "ip" field.

func IPEQ

func IPEQ(v string) predicate.Contact

IPEQ applies the EQ predicate on the "ip" field.

func IPEqualFold

func IPEqualFold(v string) predicate.Contact

IPEqualFold applies the EqualFold predicate on the "ip" field.

func IPGT

func IPGT(v string) predicate.Contact

IPGT applies the GT predicate on the "ip" field.

func IPGTE

func IPGTE(v string) predicate.Contact

IPGTE applies the GTE predicate on the "ip" field.

func IPHasPrefix

func IPHasPrefix(v string) predicate.Contact

IPHasPrefix applies the HasPrefix predicate on the "ip" field.

func IPHasSuffix

func IPHasSuffix(v string) predicate.Contact

IPHasSuffix applies the HasSuffix predicate on the "ip" field.

func IPIn

func IPIn(vs ...string) predicate.Contact

IPIn applies the In predicate on the "ip" field.

func IPLT

func IPLT(v string) predicate.Contact

IPLT applies the LT predicate on the "ip" field.

func IPLTE

func IPLTE(v string) predicate.Contact

IPLTE applies the LTE predicate on the "ip" field.

func IPNEQ

func IPNEQ(v string) predicate.Contact

IPNEQ applies the NEQ predicate on the "ip" field.

func IPNotIn

func IPNotIn(vs ...string) predicate.Contact

IPNotIn applies the NotIn predicate on the "ip" field.

func IsMobile

func IsMobile(v bool) predicate.Contact

IsMobile applies equality check predicate on the "is_mobile" field. It's identical to IsMobileEQ.

func IsMobileEQ

func IsMobileEQ(v bool) predicate.Contact

IsMobileEQ applies the EQ predicate on the "is_mobile" field.

func IsMobileIsNil

func IsMobileIsNil() predicate.Contact

IsMobileIsNil applies the IsNil predicate on the "is_mobile" field.

func IsMobileNEQ

func IsMobileNEQ(v bool) predicate.Contact

IsMobileNEQ applies the NEQ predicate on the "is_mobile" field.

func IsMobileNotNil

func IsMobileNotNil() predicate.Contact

IsMobileNotNil applies the NotNil predicate on the "is_mobile" field.

func Lang

func Lang(v string) predicate.Contact

Lang applies equality check predicate on the "lang" field. It's identical to LangEQ.

func LangContains

func LangContains(v string) predicate.Contact

LangContains applies the Contains predicate on the "lang" field.

func LangContainsFold

func LangContainsFold(v string) predicate.Contact

LangContainsFold applies the ContainsFold predicate on the "lang" field.

func LangEQ

func LangEQ(v string) predicate.Contact

LangEQ applies the EQ predicate on the "lang" field.

func LangEqualFold

func LangEqualFold(v string) predicate.Contact

LangEqualFold applies the EqualFold predicate on the "lang" field.

func LangGT

func LangGT(v string) predicate.Contact

LangGT applies the GT predicate on the "lang" field.

func LangGTE

func LangGTE(v string) predicate.Contact

LangGTE applies the GTE predicate on the "lang" field.

func LangHasPrefix

func LangHasPrefix(v string) predicate.Contact

LangHasPrefix applies the HasPrefix predicate on the "lang" field.

func LangHasSuffix

func LangHasSuffix(v string) predicate.Contact

LangHasSuffix applies the HasSuffix predicate on the "lang" field.

func LangIn

func LangIn(vs ...string) predicate.Contact

LangIn applies the In predicate on the "lang" field.

func LangLT

func LangLT(v string) predicate.Contact

LangLT applies the LT predicate on the "lang" field.

func LangLTE

func LangLTE(v string) predicate.Contact

LangLTE applies the LTE predicate on the "lang" field.

func LangNEQ

func LangNEQ(v string) predicate.Contact

LangNEQ applies the NEQ predicate on the "lang" field.

func LangNotIn

func LangNotIn(vs ...string) predicate.Contact

LangNotIn applies the NotIn predicate on the "lang" field.

func Mail

func Mail(v string) predicate.Contact

Mail applies equality check predicate on the "mail" field. It's identical to MailEQ.

func MailContains

func MailContains(v string) predicate.Contact

MailContains applies the Contains predicate on the "mail" field.

func MailContainsFold

func MailContainsFold(v string) predicate.Contact

MailContainsFold applies the ContainsFold predicate on the "mail" field.

func MailEQ

func MailEQ(v string) predicate.Contact

MailEQ applies the EQ predicate on the "mail" field.

func MailEqualFold

func MailEqualFold(v string) predicate.Contact

MailEqualFold applies the EqualFold predicate on the "mail" field.

func MailGT

func MailGT(v string) predicate.Contact

MailGT applies the GT predicate on the "mail" field.

func MailGTE

func MailGTE(v string) predicate.Contact

MailGTE applies the GTE predicate on the "mail" field.

func MailHasPrefix

func MailHasPrefix(v string) predicate.Contact

MailHasPrefix applies the HasPrefix predicate on the "mail" field.

func MailHasSuffix

func MailHasSuffix(v string) predicate.Contact

MailHasSuffix applies the HasSuffix predicate on the "mail" field.

func MailIn

func MailIn(vs ...string) predicate.Contact

MailIn applies the In predicate on the "mail" field.

func MailLT

func MailLT(v string) predicate.Contact

MailLT applies the LT predicate on the "mail" field.

func MailLTE

func MailLTE(v string) predicate.Contact

MailLTE applies the LTE predicate on the "mail" field.

func MailNEQ

func MailNEQ(v string) predicate.Contact

MailNEQ applies the NEQ predicate on the "mail" field.

func MailNotIn

func MailNotIn(vs ...string) predicate.Contact

MailNotIn applies the NotIn predicate on the "mail" field.

func Modified

func Modified(v time.Time) predicate.Contact

Modified applies equality check predicate on the "modified" field. It's identical to ModifiedEQ.

func ModifiedEQ

func ModifiedEQ(v time.Time) predicate.Contact

ModifiedEQ applies the EQ predicate on the "modified" field.

func ModifiedGT

func ModifiedGT(v time.Time) predicate.Contact

ModifiedGT applies the GT predicate on the "modified" field.

func ModifiedGTE

func ModifiedGTE(v time.Time) predicate.Contact

ModifiedGTE applies the GTE predicate on the "modified" field.

func ModifiedIn

func ModifiedIn(vs ...time.Time) predicate.Contact

ModifiedIn applies the In predicate on the "modified" field.

func ModifiedLT

func ModifiedLT(v time.Time) predicate.Contact

ModifiedLT applies the LT predicate on the "modified" field.

func ModifiedLTE

func ModifiedLTE(v time.Time) predicate.Contact

ModifiedLTE applies the LTE predicate on the "modified" field.

func ModifiedNEQ

func ModifiedNEQ(v time.Time) predicate.Contact

ModifiedNEQ applies the NEQ predicate on the "modified" field.

func ModifiedNotIn

func ModifiedNotIn(vs ...time.Time) predicate.Contact

ModifiedNotIn applies the NotIn predicate on the "modified" field.

func Name

func Name(v string) predicate.Contact

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Contact

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Contact

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.Contact

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Contact

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.Contact

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Contact

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Contact

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Contact

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Contact

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.Contact

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Contact

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Contact

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Contact

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Contact) predicate.Contact

Or groups predicates with the OR operator between them.

func Os

func Os(v string) predicate.Contact

Os applies equality check predicate on the "os" field. It's identical to OsEQ.

func OsContains

func OsContains(v string) predicate.Contact

OsContains applies the Contains predicate on the "os" field.

func OsContainsFold

func OsContainsFold(v string) predicate.Contact

OsContainsFold applies the ContainsFold predicate on the "os" field.

func OsEQ

func OsEQ(v string) predicate.Contact

OsEQ applies the EQ predicate on the "os" field.

func OsEqualFold

func OsEqualFold(v string) predicate.Contact

OsEqualFold applies the EqualFold predicate on the "os" field.

func OsGT

func OsGT(v string) predicate.Contact

OsGT applies the GT predicate on the "os" field.

func OsGTE

func OsGTE(v string) predicate.Contact

OsGTE applies the GTE predicate on the "os" field.

func OsHasPrefix

func OsHasPrefix(v string) predicate.Contact

OsHasPrefix applies the HasPrefix predicate on the "os" field.

func OsHasSuffix

func OsHasSuffix(v string) predicate.Contact

OsHasSuffix applies the HasSuffix predicate on the "os" field.

func OsIn

func OsIn(vs ...string) predicate.Contact

OsIn applies the In predicate on the "os" field.

func OsIsNil

func OsIsNil() predicate.Contact

OsIsNil applies the IsNil predicate on the "os" field.

func OsLT

func OsLT(v string) predicate.Contact

OsLT applies the LT predicate on the "os" field.

func OsLTE

func OsLTE(v string) predicate.Contact

OsLTE applies the LTE predicate on the "os" field.

func OsNEQ

func OsNEQ(v string) predicate.Contact

OsNEQ applies the NEQ predicate on the "os" field.

func OsNotIn

func OsNotIn(vs ...string) predicate.Contact

OsNotIn applies the NotIn predicate on the "os" field.

func OsNotNil

func OsNotNil() predicate.Contact

OsNotNil applies the NotNil predicate on the "os" field.

func Title

func Title(v string) predicate.Contact

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.Contact

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.Contact

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.Contact

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.Contact

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.Contact

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.Contact

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Contact

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Contact

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

func TitleIn(vs ...string) predicate.Contact

TitleIn applies the In predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.Contact

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.Contact

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.Contact

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

func TitleNotIn(vs ...string) predicate.Contact

TitleNotIn applies the NotIn predicate on the "title" field.

func ToUserID

func ToUserID(v uint32) predicate.Contact

ToUserID applies equality check predicate on the "to_user_id" field. It's identical to ToUserIDEQ.

func ToUserIDEQ

func ToUserIDEQ(v uint32) predicate.Contact

ToUserIDEQ applies the EQ predicate on the "to_user_id" field.

func ToUserIDGT

func ToUserIDGT(v uint32) predicate.Contact

ToUserIDGT applies the GT predicate on the "to_user_id" field.

func ToUserIDGTE

func ToUserIDGTE(v uint32) predicate.Contact

ToUserIDGTE applies the GTE predicate on the "to_user_id" field.

func ToUserIDIn

func ToUserIDIn(vs ...uint32) predicate.Contact

ToUserIDIn applies the In predicate on the "to_user_id" field.

func ToUserIDLT

func ToUserIDLT(v uint32) predicate.Contact

ToUserIDLT applies the LT predicate on the "to_user_id" field.

func ToUserIDLTE

func ToUserIDLTE(v uint32) predicate.Contact

ToUserIDLTE applies the LTE predicate on the "to_user_id" field.

func ToUserIDNEQ

func ToUserIDNEQ(v uint32) predicate.Contact

ToUserIDNEQ applies the NEQ predicate on the "to_user_id" field.

func ToUserIDNotIn

func ToUserIDNotIn(vs ...uint32) predicate.Contact

ToUserIDNotIn applies the NotIn predicate on the "to_user_id" field.

func URL

func URL(v string) predicate.Contact

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.Contact

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.Contact

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

func URLEQ(v string) predicate.Contact

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.Contact

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

func URLGT(v string) predicate.Contact

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.Contact

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.Contact

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.Contact

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.Contact

URLIn applies the In predicate on the "url" field.

func URLIsNil

func URLIsNil() predicate.Contact

URLIsNil applies the IsNil predicate on the "url" field.

func URLLT

func URLLT(v string) predicate.Contact

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.Contact

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.Contact

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.Contact

URLNotIn applies the NotIn predicate on the "url" field.

func URLNotNil

func URLNotNil() predicate.Contact

URLNotNil applies the NotNil predicate on the "url" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL