entitycontactpoint

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: May 7, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the entitycontactpoint type in the database.
	Label = "entity_contact_point"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldPrefix holds the string denoting the prefix field in the database.
	FieldPrefix = "prefix"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldSuffix holds the string denoting the suffix field in the database.
	FieldSuffix = "suffix"
	// FieldValue holds the string denoting the value field in the database.
	FieldValue = "value"
	// Table holds the table name of the entitycontactpoint in the database.
	Table = "entity_contact_points"
)

Variables

Columns holds all SQL columns for entitycontactpoint fields.

View Source
var ForeignKeys = []string{
	"entity_contact_points",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "entity_contact_points" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.EntityContactPoint

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.EntityContactPoint

IDNotIn applies the NotIn predicate on the ID field.

func Name

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

func NameContains

func NameContains(v string) predicate.EntityContactPoint

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

func NameContainsFold

func NameContainsFold(v string) predicate.EntityContactPoint

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

func NameEQ

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

func NameEqualFold

func NameEqualFold(v string) predicate.EntityContactPoint

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

func NameGT

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

func NameGTE

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.EntityContactPoint

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.EntityContactPoint

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

func NameIn

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

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

func NameLT

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

func NameLTE

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

func NameNEQ

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Prefix

Prefix applies equality check predicate on the "prefix" field. It's identical to PrefixEQ.

func PrefixContains

func PrefixContains(v string) predicate.EntityContactPoint

PrefixContains applies the Contains predicate on the "prefix" field.

func PrefixContainsFold

func PrefixContainsFold(v string) predicate.EntityContactPoint

PrefixContainsFold applies the ContainsFold predicate on the "prefix" field.

func PrefixEQ

PrefixEQ applies the EQ predicate on the "prefix" field.

func PrefixEqualFold

func PrefixEqualFold(v string) predicate.EntityContactPoint

PrefixEqualFold applies the EqualFold predicate on the "prefix" field.

func PrefixGT

PrefixGT applies the GT predicate on the "prefix" field.

func PrefixGTE

func PrefixGTE(v string) predicate.EntityContactPoint

PrefixGTE applies the GTE predicate on the "prefix" field.

func PrefixHasPrefix

func PrefixHasPrefix(v string) predicate.EntityContactPoint

PrefixHasPrefix applies the HasPrefix predicate on the "prefix" field.

func PrefixHasSuffix

func PrefixHasSuffix(v string) predicate.EntityContactPoint

PrefixHasSuffix applies the HasSuffix predicate on the "prefix" field.

func PrefixIn

func PrefixIn(vs ...string) predicate.EntityContactPoint

PrefixIn applies the In predicate on the "prefix" field.

func PrefixIsNil

func PrefixIsNil() predicate.EntityContactPoint

PrefixIsNil applies the IsNil predicate on the "prefix" field.

func PrefixLT

PrefixLT applies the LT predicate on the "prefix" field.

func PrefixLTE

func PrefixLTE(v string) predicate.EntityContactPoint

PrefixLTE applies the LTE predicate on the "prefix" field.

func PrefixNEQ

func PrefixNEQ(v string) predicate.EntityContactPoint

PrefixNEQ applies the NEQ predicate on the "prefix" field.

func PrefixNotIn

func PrefixNotIn(vs ...string) predicate.EntityContactPoint

PrefixNotIn applies the NotIn predicate on the "prefix" field.

func PrefixNotNil

func PrefixNotNil() predicate.EntityContactPoint

PrefixNotNil applies the NotNil predicate on the "prefix" field.

func Suffix

Suffix applies equality check predicate on the "suffix" field. It's identical to SuffixEQ.

func SuffixContains

func SuffixContains(v string) predicate.EntityContactPoint

SuffixContains applies the Contains predicate on the "suffix" field.

func SuffixContainsFold

func SuffixContainsFold(v string) predicate.EntityContactPoint

SuffixContainsFold applies the ContainsFold predicate on the "suffix" field.

func SuffixEQ

SuffixEQ applies the EQ predicate on the "suffix" field.

func SuffixEqualFold

func SuffixEqualFold(v string) predicate.EntityContactPoint

SuffixEqualFold applies the EqualFold predicate on the "suffix" field.

func SuffixGT

SuffixGT applies the GT predicate on the "suffix" field.

func SuffixGTE

func SuffixGTE(v string) predicate.EntityContactPoint

SuffixGTE applies the GTE predicate on the "suffix" field.

func SuffixHasPrefix

func SuffixHasPrefix(v string) predicate.EntityContactPoint

SuffixHasPrefix applies the HasPrefix predicate on the "suffix" field.

func SuffixHasSuffix

func SuffixHasSuffix(v string) predicate.EntityContactPoint

SuffixHasSuffix applies the HasSuffix predicate on the "suffix" field.

func SuffixIn

func SuffixIn(vs ...string) predicate.EntityContactPoint

SuffixIn applies the In predicate on the "suffix" field.

func SuffixIsNil

func SuffixIsNil() predicate.EntityContactPoint

SuffixIsNil applies the IsNil predicate on the "suffix" field.

func SuffixLT

SuffixLT applies the LT predicate on the "suffix" field.

func SuffixLTE

func SuffixLTE(v string) predicate.EntityContactPoint

SuffixLTE applies the LTE predicate on the "suffix" field.

func SuffixNEQ

func SuffixNEQ(v string) predicate.EntityContactPoint

SuffixNEQ applies the NEQ predicate on the "suffix" field.

func SuffixNotIn

func SuffixNotIn(vs ...string) predicate.EntityContactPoint

SuffixNotIn applies the NotIn predicate on the "suffix" field.

func SuffixNotNil

func SuffixNotNil() predicate.EntityContactPoint

SuffixNotNil applies the NotNil predicate on the "suffix" field.

func TypeEQ

TypeEQ applies the EQ predicate on the "type" field.

func TypeIn

func TypeIn(vs ...Type) predicate.EntityContactPoint

TypeIn applies the In predicate on the "type" field.

func TypeNEQ

TypeNEQ applies the NEQ predicate on the "type" field.

func TypeNotIn

func TypeNotIn(vs ...Type) predicate.EntityContactPoint

TypeNotIn applies the NotIn predicate on the "type" field.

func TypeValidator

func TypeValidator(_type Type) error

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

func ValidColumn

func ValidColumn(column string) bool

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

func Value

Value applies equality check predicate on the "value" field. It's identical to ValueEQ.

func ValueContains

func ValueContains(v string) predicate.EntityContactPoint

ValueContains applies the Contains predicate on the "value" field.

func ValueContainsFold

func ValueContainsFold(v string) predicate.EntityContactPoint

ValueContainsFold applies the ContainsFold predicate on the "value" field.

func ValueEQ

ValueEQ applies the EQ predicate on the "value" field.

func ValueEqualFold

func ValueEqualFold(v string) predicate.EntityContactPoint

ValueEqualFold applies the EqualFold predicate on the "value" field.

func ValueGT

ValueGT applies the GT predicate on the "value" field.

func ValueGTE

ValueGTE applies the GTE predicate on the "value" field.

func ValueHasPrefix

func ValueHasPrefix(v string) predicate.EntityContactPoint

ValueHasPrefix applies the HasPrefix predicate on the "value" field.

func ValueHasSuffix

func ValueHasSuffix(v string) predicate.EntityContactPoint

ValueHasSuffix applies the HasSuffix predicate on the "value" field.

func ValueIn

func ValueIn(vs ...string) predicate.EntityContactPoint

ValueIn applies the In predicate on the "value" field.

func ValueLT

ValueLT applies the LT predicate on the "value" field.

func ValueLTE

ValueLTE applies the LTE predicate on the "value" field.

func ValueNEQ

ValueNEQ applies the NEQ predicate on the "value" field.

func ValueNotIn

func ValueNotIn(vs ...string) predicate.EntityContactPoint

ValueNotIn applies the NotIn predicate on the "value" field.

Types

type Type

type Type string

Type defines the type for the "type" enum field.

const (
	TypeSMS   Type = "SMS"
	TypeEMAIL Type = "EMAIL"
	TypeVOICE Type = "VOICE"
)

Type values.

func (Type) String

func (_type Type) String() string

Jump to

Keyboard shortcuts

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