entityaddress

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 entityaddress type in the database.
	Label = "entity_address"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCountry holds the string denoting the country field in the database.
	FieldCountry = "country"
	// FieldCity holds the string denoting the city field in the database.
	FieldCity = "city"
	// FieldPostalCode holds the string denoting the postalcode field in the database.
	FieldPostalCode = "postal_code"
	// FieldState holds the string denoting the state field in the database.
	FieldState = "state"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldLine1 holds the string denoting the line1 field in the database.
	FieldLine1 = "line1"
	// FieldLine2 holds the string denoting the line2 field in the database.
	FieldLine2 = "line2"
	// FieldLine3 holds the string denoting the line3 field in the database.
	FieldLine3 = "line3"
	// FieldPrimary holds the string denoting the primary field in the database.
	FieldPrimary = "primary"
	// Table holds the table name of the entityaddress in the database.
	Table = "entity_addresses"
)

Variables

Columns holds all SQL columns for entityaddress fields.

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

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

Functions

func And

And groups predicates with the AND operator between them.

func City

City applies equality check predicate on the "city" field. It's identical to CityEQ.

func CityContains

func CityContains(v string) predicate.EntityAddress

CityContains applies the Contains predicate on the "city" field.

func CityContainsFold

func CityContainsFold(v string) predicate.EntityAddress

CityContainsFold applies the ContainsFold predicate on the "city" field.

func CityEQ

func CityEQ(v string) predicate.EntityAddress

CityEQ applies the EQ predicate on the "city" field.

func CityEqualFold

func CityEqualFold(v string) predicate.EntityAddress

CityEqualFold applies the EqualFold predicate on the "city" field.

func CityGT

func CityGT(v string) predicate.EntityAddress

CityGT applies the GT predicate on the "city" field.

func CityGTE

func CityGTE(v string) predicate.EntityAddress

CityGTE applies the GTE predicate on the "city" field.

func CityHasPrefix

func CityHasPrefix(v string) predicate.EntityAddress

CityHasPrefix applies the HasPrefix predicate on the "city" field.

func CityHasSuffix

func CityHasSuffix(v string) predicate.EntityAddress

CityHasSuffix applies the HasSuffix predicate on the "city" field.

func CityIn

func CityIn(vs ...string) predicate.EntityAddress

CityIn applies the In predicate on the "city" field.

func CityLT

func CityLT(v string) predicate.EntityAddress

CityLT applies the LT predicate on the "city" field.

func CityLTE

func CityLTE(v string) predicate.EntityAddress

CityLTE applies the LTE predicate on the "city" field.

func CityNEQ

func CityNEQ(v string) predicate.EntityAddress

CityNEQ applies the NEQ predicate on the "city" field.

func CityNotIn

func CityNotIn(vs ...string) predicate.EntityAddress

CityNotIn applies the NotIn predicate on the "city" field.

func Country

func Country(v string) predicate.EntityAddress

Country applies equality check predicate on the "country" field. It's identical to CountryEQ.

func CountryContains

func CountryContains(v string) predicate.EntityAddress

CountryContains applies the Contains predicate on the "country" field.

func CountryContainsFold

func CountryContainsFold(v string) predicate.EntityAddress

CountryContainsFold applies the ContainsFold predicate on the "country" field.

func CountryEQ

func CountryEQ(v string) predicate.EntityAddress

CountryEQ applies the EQ predicate on the "country" field.

func CountryEqualFold

func CountryEqualFold(v string) predicate.EntityAddress

CountryEqualFold applies the EqualFold predicate on the "country" field.

func CountryGT

func CountryGT(v string) predicate.EntityAddress

CountryGT applies the GT predicate on the "country" field.

func CountryGTE

func CountryGTE(v string) predicate.EntityAddress

CountryGTE applies the GTE predicate on the "country" field.

func CountryHasPrefix

func CountryHasPrefix(v string) predicate.EntityAddress

CountryHasPrefix applies the HasPrefix predicate on the "country" field.

func CountryHasSuffix

func CountryHasSuffix(v string) predicate.EntityAddress

CountryHasSuffix applies the HasSuffix predicate on the "country" field.

func CountryIn

func CountryIn(vs ...string) predicate.EntityAddress

CountryIn applies the In predicate on the "country" field.

func CountryLT

func CountryLT(v string) predicate.EntityAddress

CountryLT applies the LT predicate on the "country" field.

func CountryLTE

func CountryLTE(v string) predicate.EntityAddress

CountryLTE applies the LTE predicate on the "country" field.

func CountryNEQ

func CountryNEQ(v string) predicate.EntityAddress

CountryNEQ applies the NEQ predicate on the "country" field.

func CountryNotIn

func CountryNotIn(vs ...string) predicate.EntityAddress

CountryNotIn applies the NotIn predicate on the "country" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.EntityAddress

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.EntityAddress

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.EntityAddress

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.EntityAddress

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.EntityAddress

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.EntityAddress

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Line1

Line1 applies equality check predicate on the "line1" field. It's identical to Line1EQ.

func Line1Contains

func Line1Contains(v string) predicate.EntityAddress

Line1Contains applies the Contains predicate on the "line1" field.

func Line1ContainsFold

func Line1ContainsFold(v string) predicate.EntityAddress

Line1ContainsFold applies the ContainsFold predicate on the "line1" field.

func Line1EQ

func Line1EQ(v string) predicate.EntityAddress

Line1EQ applies the EQ predicate on the "line1" field.

func Line1EqualFold

func Line1EqualFold(v string) predicate.EntityAddress

Line1EqualFold applies the EqualFold predicate on the "line1" field.

func Line1GT

func Line1GT(v string) predicate.EntityAddress

Line1GT applies the GT predicate on the "line1" field.

func Line1GTE

func Line1GTE(v string) predicate.EntityAddress

Line1GTE applies the GTE predicate on the "line1" field.

func Line1HasPrefix

func Line1HasPrefix(v string) predicate.EntityAddress

Line1HasPrefix applies the HasPrefix predicate on the "line1" field.

func Line1HasSuffix

func Line1HasSuffix(v string) predicate.EntityAddress

Line1HasSuffix applies the HasSuffix predicate on the "line1" field.

func Line1In

func Line1In(vs ...string) predicate.EntityAddress

Line1In applies the In predicate on the "line1" field.

func Line1LT

func Line1LT(v string) predicate.EntityAddress

Line1LT applies the LT predicate on the "line1" field.

func Line1LTE

func Line1LTE(v string) predicate.EntityAddress

Line1LTE applies the LTE predicate on the "line1" field.

func Line1NEQ

func Line1NEQ(v string) predicate.EntityAddress

Line1NEQ applies the NEQ predicate on the "line1" field.

func Line1NotIn

func Line1NotIn(vs ...string) predicate.EntityAddress

Line1NotIn applies the NotIn predicate on the "line1" field.

func Line2

Line2 applies equality check predicate on the "line2" field. It's identical to Line2EQ.

func Line2Contains

func Line2Contains(v string) predicate.EntityAddress

Line2Contains applies the Contains predicate on the "line2" field.

func Line2ContainsFold

func Line2ContainsFold(v string) predicate.EntityAddress

Line2ContainsFold applies the ContainsFold predicate on the "line2" field.

func Line2EQ

func Line2EQ(v string) predicate.EntityAddress

Line2EQ applies the EQ predicate on the "line2" field.

func Line2EqualFold

func Line2EqualFold(v string) predicate.EntityAddress

Line2EqualFold applies the EqualFold predicate on the "line2" field.

func Line2GT

func Line2GT(v string) predicate.EntityAddress

Line2GT applies the GT predicate on the "line2" field.

func Line2GTE

func Line2GTE(v string) predicate.EntityAddress

Line2GTE applies the GTE predicate on the "line2" field.

func Line2HasPrefix

func Line2HasPrefix(v string) predicate.EntityAddress

Line2HasPrefix applies the HasPrefix predicate on the "line2" field.

func Line2HasSuffix

func Line2HasSuffix(v string) predicate.EntityAddress

Line2HasSuffix applies the HasSuffix predicate on the "line2" field.

func Line2In

func Line2In(vs ...string) predicate.EntityAddress

Line2In applies the In predicate on the "line2" field.

func Line2IsNil

func Line2IsNil() predicate.EntityAddress

Line2IsNil applies the IsNil predicate on the "line2" field.

func Line2LT

func Line2LT(v string) predicate.EntityAddress

Line2LT applies the LT predicate on the "line2" field.

func Line2LTE

func Line2LTE(v string) predicate.EntityAddress

Line2LTE applies the LTE predicate on the "line2" field.

func Line2NEQ

func Line2NEQ(v string) predicate.EntityAddress

Line2NEQ applies the NEQ predicate on the "line2" field.

func Line2NotIn

func Line2NotIn(vs ...string) predicate.EntityAddress

Line2NotIn applies the NotIn predicate on the "line2" field.

func Line2NotNil

func Line2NotNil() predicate.EntityAddress

Line2NotNil applies the NotNil predicate on the "line2" field.

func Line3

Line3 applies equality check predicate on the "line3" field. It's identical to Line3EQ.

func Line3Contains

func Line3Contains(v string) predicate.EntityAddress

Line3Contains applies the Contains predicate on the "line3" field.

func Line3ContainsFold

func Line3ContainsFold(v string) predicate.EntityAddress

Line3ContainsFold applies the ContainsFold predicate on the "line3" field.

func Line3EQ

func Line3EQ(v string) predicate.EntityAddress

Line3EQ applies the EQ predicate on the "line3" field.

func Line3EqualFold

func Line3EqualFold(v string) predicate.EntityAddress

Line3EqualFold applies the EqualFold predicate on the "line3" field.

func Line3GT

func Line3GT(v string) predicate.EntityAddress

Line3GT applies the GT predicate on the "line3" field.

func Line3GTE

func Line3GTE(v string) predicate.EntityAddress

Line3GTE applies the GTE predicate on the "line3" field.

func Line3HasPrefix

func Line3HasPrefix(v string) predicate.EntityAddress

Line3HasPrefix applies the HasPrefix predicate on the "line3" field.

func Line3HasSuffix

func Line3HasSuffix(v string) predicate.EntityAddress

Line3HasSuffix applies the HasSuffix predicate on the "line3" field.

func Line3In

func Line3In(vs ...string) predicate.EntityAddress

Line3In applies the In predicate on the "line3" field.

func Line3IsNil

func Line3IsNil() predicate.EntityAddress

Line3IsNil applies the IsNil predicate on the "line3" field.

func Line3LT

func Line3LT(v string) predicate.EntityAddress

Line3LT applies the LT predicate on the "line3" field.

func Line3LTE

func Line3LTE(v string) predicate.EntityAddress

Line3LTE applies the LTE predicate on the "line3" field.

func Line3NEQ

func Line3NEQ(v string) predicate.EntityAddress

Line3NEQ applies the NEQ predicate on the "line3" field.

func Line3NotIn

func Line3NotIn(vs ...string) predicate.EntityAddress

Line3NotIn applies the NotIn predicate on the "line3" field.

func Line3NotNil

func Line3NotNil() predicate.EntityAddress

Line3NotNil applies the NotNil predicate on the "line3" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func PostalCode

func PostalCode(v string) predicate.EntityAddress

PostalCode applies equality check predicate on the "postalCode" field. It's identical to PostalCodeEQ.

func PostalCodeContains

func PostalCodeContains(v string) predicate.EntityAddress

PostalCodeContains applies the Contains predicate on the "postalCode" field.

func PostalCodeContainsFold

func PostalCodeContainsFold(v string) predicate.EntityAddress

PostalCodeContainsFold applies the ContainsFold predicate on the "postalCode" field.

func PostalCodeEQ

func PostalCodeEQ(v string) predicate.EntityAddress

PostalCodeEQ applies the EQ predicate on the "postalCode" field.

func PostalCodeEqualFold

func PostalCodeEqualFold(v string) predicate.EntityAddress

PostalCodeEqualFold applies the EqualFold predicate on the "postalCode" field.

func PostalCodeGT

func PostalCodeGT(v string) predicate.EntityAddress

PostalCodeGT applies the GT predicate on the "postalCode" field.

func PostalCodeGTE

func PostalCodeGTE(v string) predicate.EntityAddress

PostalCodeGTE applies the GTE predicate on the "postalCode" field.

func PostalCodeHasPrefix

func PostalCodeHasPrefix(v string) predicate.EntityAddress

PostalCodeHasPrefix applies the HasPrefix predicate on the "postalCode" field.

func PostalCodeHasSuffix

func PostalCodeHasSuffix(v string) predicate.EntityAddress

PostalCodeHasSuffix applies the HasSuffix predicate on the "postalCode" field.

func PostalCodeIn

func PostalCodeIn(vs ...string) predicate.EntityAddress

PostalCodeIn applies the In predicate on the "postalCode" field.

func PostalCodeLT

func PostalCodeLT(v string) predicate.EntityAddress

PostalCodeLT applies the LT predicate on the "postalCode" field.

func PostalCodeLTE

func PostalCodeLTE(v string) predicate.EntityAddress

PostalCodeLTE applies the LTE predicate on the "postalCode" field.

func PostalCodeNEQ

func PostalCodeNEQ(v string) predicate.EntityAddress

PostalCodeNEQ applies the NEQ predicate on the "postalCode" field.

func PostalCodeNotIn

func PostalCodeNotIn(vs ...string) predicate.EntityAddress

PostalCodeNotIn applies the NotIn predicate on the "postalCode" field.

func Primary

func Primary(v bool) predicate.EntityAddress

Primary applies equality check predicate on the "primary" field. It's identical to PrimaryEQ.

func PrimaryEQ

func PrimaryEQ(v bool) predicate.EntityAddress

PrimaryEQ applies the EQ predicate on the "primary" field.

func PrimaryNEQ

func PrimaryNEQ(v bool) predicate.EntityAddress

PrimaryNEQ applies the NEQ predicate on the "primary" field.

func State

State applies equality check predicate on the "state" field. It's identical to StateEQ.

func StateContains

func StateContains(v string) predicate.EntityAddress

StateContains applies the Contains predicate on the "state" field.

func StateContainsFold

func StateContainsFold(v string) predicate.EntityAddress

StateContainsFold applies the ContainsFold predicate on the "state" field.

func StateEQ

func StateEQ(v string) predicate.EntityAddress

StateEQ applies the EQ predicate on the "state" field.

func StateEqualFold

func StateEqualFold(v string) predicate.EntityAddress

StateEqualFold applies the EqualFold predicate on the "state" field.

func StateGT

func StateGT(v string) predicate.EntityAddress

StateGT applies the GT predicate on the "state" field.

func StateGTE

func StateGTE(v string) predicate.EntityAddress

StateGTE applies the GTE predicate on the "state" field.

func StateHasPrefix

func StateHasPrefix(v string) predicate.EntityAddress

StateHasPrefix applies the HasPrefix predicate on the "state" field.

func StateHasSuffix

func StateHasSuffix(v string) predicate.EntityAddress

StateHasSuffix applies the HasSuffix predicate on the "state" field.

func StateIn

func StateIn(vs ...string) predicate.EntityAddress

StateIn applies the In predicate on the "state" field.

func StateLT

func StateLT(v string) predicate.EntityAddress

StateLT applies the LT predicate on the "state" field.

func StateLTE

func StateLTE(v string) predicate.EntityAddress

StateLTE applies the LTE predicate on the "state" field.

func StateNEQ

func StateNEQ(v string) predicate.EntityAddress

StateNEQ applies the NEQ predicate on the "state" field.

func StateNotIn

func StateNotIn(vs ...string) predicate.EntityAddress

StateNotIn applies the NotIn predicate on the "state" field.

func TypeEQ

func TypeEQ(v Type) predicate.EntityAddress

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

func TypeIn

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

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

func TypeNEQ

func TypeNEQ(v Type) predicate.EntityAddress

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

func TypeNotIn

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

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).

Types

type Type

type Type string

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

const (
	TypeBUSINESS    Type = "BUSINESS"
	TypeRESIDENTIAL Type = "RESIDENTIAL"
	TypePOBOX       Type = "POBOX"
)

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