address

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the address type in the database.
	Label = "address"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldAddition holds the string denoting the addition field in the database.
	FieldAddition = "addition"
	// FieldStreet holds the string denoting the street field in the database.
	FieldStreet = "street"
	// FieldCity holds the string denoting the city field in the database.
	FieldCity = "city"
	// FieldZip holds the string denoting the zip field in the database.
	FieldZip = "zip"
	// FieldState holds the string denoting the state field in the database.
	FieldState = "state"
	// FieldCountry holds the string denoting the country field in the database.
	FieldCountry = "country"
	// FieldLocale holds the string denoting the locale field in the database.
	FieldLocale = "locale"
	// FieldPrimary holds the string denoting the primary field in the database.
	FieldPrimary = "primary"
	// FieldTelephone holds the string denoting the telephone field in the database.
	FieldTelephone = "telephone"
	// FieldComment holds the string denoting the comment field in the database.
	FieldComment = "comment"
	// EdgeBusiness holds the string denoting the business edge name in mutations.
	EdgeBusiness = "business"
	// EdgeTimetables holds the string denoting the timetables edge name in mutations.
	EdgeTimetables = "timetables"
	// Table holds the table name of the address in the database.
	Table = "addresses"
	// BusinessTable is the table that holds the business relation/edge.
	BusinessTable = "addresses"
	// BusinessInverseTable is the table name for the Business entity.
	// It exists in this package in order to avoid circular dependency with the "business" package.
	BusinessInverseTable = "businesses"
	// BusinessColumn is the table column denoting the business relation/edge.
	BusinessColumn = "business_addresses"
	// TimetablesTable is the table that holds the timetables relation/edge.
	TimetablesTable = "timetables"
	// TimetablesInverseTable is the table name for the Timetable entity.
	// It exists in this package in order to avoid circular dependency with the "timetable" package.
	TimetablesInverseTable = "timetables"
	// TimetablesColumn is the table column denoting the timetables relation/edge.
	TimetablesColumn = "address_timetables"
)

Variables

View Source
var (
	Hooks [2]ent.Hook
	// 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
	// DefaultLocale holds the default value on creation for the "locale" field.
	DefaultLocale string
	// LocaleValidator is a validator for the "locale" field. It is called by the builders before save.
	LocaleValidator func(string) error
	// DefaultPrimary holds the default value on creation for the "primary" field.
	DefaultPrimary bool
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

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/hkonitzer/ohmab/ent/runtime"

Columns holds all SQL columns for address fields.

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

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

Functions

func Addition

func Addition(v string) predicate.Address

Addition applies equality check predicate on the "addition" field. It's identical to AdditionEQ.

func AdditionContains

func AdditionContains(v string) predicate.Address

AdditionContains applies the Contains predicate on the "addition" field.

func AdditionContainsFold

func AdditionContainsFold(v string) predicate.Address

AdditionContainsFold applies the ContainsFold predicate on the "addition" field.

func AdditionEQ

func AdditionEQ(v string) predicate.Address

AdditionEQ applies the EQ predicate on the "addition" field.

func AdditionEqualFold

func AdditionEqualFold(v string) predicate.Address

AdditionEqualFold applies the EqualFold predicate on the "addition" field.

func AdditionGT

func AdditionGT(v string) predicate.Address

AdditionGT applies the GT predicate on the "addition" field.

func AdditionGTE

func AdditionGTE(v string) predicate.Address

AdditionGTE applies the GTE predicate on the "addition" field.

func AdditionHasPrefix

func AdditionHasPrefix(v string) predicate.Address

AdditionHasPrefix applies the HasPrefix predicate on the "addition" field.

func AdditionHasSuffix

func AdditionHasSuffix(v string) predicate.Address

AdditionHasSuffix applies the HasSuffix predicate on the "addition" field.

func AdditionIn

func AdditionIn(vs ...string) predicate.Address

AdditionIn applies the In predicate on the "addition" field.

func AdditionIsNil

func AdditionIsNil() predicate.Address

AdditionIsNil applies the IsNil predicate on the "addition" field.

func AdditionLT

func AdditionLT(v string) predicate.Address

AdditionLT applies the LT predicate on the "addition" field.

func AdditionLTE

func AdditionLTE(v string) predicate.Address

AdditionLTE applies the LTE predicate on the "addition" field.

func AdditionNEQ

func AdditionNEQ(v string) predicate.Address

AdditionNEQ applies the NEQ predicate on the "addition" field.

func AdditionNotIn

func AdditionNotIn(vs ...string) predicate.Address

AdditionNotIn applies the NotIn predicate on the "addition" field.

func AdditionNotNil

func AdditionNotNil() predicate.Address

AdditionNotNil applies the NotNil predicate on the "addition" field.

func And

func And(predicates ...predicate.Address) predicate.Address

And groups predicates with the AND operator between them.

func City

func City(v string) predicate.Address

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

func CityContains

func CityContains(v string) predicate.Address

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

func CityContainsFold

func CityContainsFold(v string) predicate.Address

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

func CityEQ

func CityEQ(v string) predicate.Address

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

func CityEqualFold

func CityEqualFold(v string) predicate.Address

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

func CityGT

func CityGT(v string) predicate.Address

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

func CityGTE

func CityGTE(v string) predicate.Address

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

func CityHasPrefix

func CityHasPrefix(v string) predicate.Address

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

func CityHasSuffix

func CityHasSuffix(v string) predicate.Address

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

func CityIn

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

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

func CityIsNil

func CityIsNil() predicate.Address

CityIsNil applies the IsNil predicate on the "city" field.

func CityLT

func CityLT(v string) predicate.Address

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

func CityLTE

func CityLTE(v string) predicate.Address

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

func CityNEQ

func CityNEQ(v string) predicate.Address

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

func CityNotIn

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

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

func CityNotNil

func CityNotNil() predicate.Address

CityNotNil applies the NotNil predicate on the "city" field.

func Comment

func Comment(v string) predicate.Address

Comment applies equality check predicate on the "comment" field. It's identical to CommentEQ.

func CommentContains

func CommentContains(v string) predicate.Address

CommentContains applies the Contains predicate on the "comment" field.

func CommentContainsFold

func CommentContainsFold(v string) predicate.Address

CommentContainsFold applies the ContainsFold predicate on the "comment" field.

func CommentEQ

func CommentEQ(v string) predicate.Address

CommentEQ applies the EQ predicate on the "comment" field.

func CommentEqualFold

func CommentEqualFold(v string) predicate.Address

CommentEqualFold applies the EqualFold predicate on the "comment" field.

func CommentGT

func CommentGT(v string) predicate.Address

CommentGT applies the GT predicate on the "comment" field.

func CommentGTE

func CommentGTE(v string) predicate.Address

CommentGTE applies the GTE predicate on the "comment" field.

func CommentHasPrefix

func CommentHasPrefix(v string) predicate.Address

CommentHasPrefix applies the HasPrefix predicate on the "comment" field.

func CommentHasSuffix

func CommentHasSuffix(v string) predicate.Address

CommentHasSuffix applies the HasSuffix predicate on the "comment" field.

func CommentIn

func CommentIn(vs ...string) predicate.Address

CommentIn applies the In predicate on the "comment" field.

func CommentIsNil

func CommentIsNil() predicate.Address

CommentIsNil applies the IsNil predicate on the "comment" field.

func CommentLT

func CommentLT(v string) predicate.Address

CommentLT applies the LT predicate on the "comment" field.

func CommentLTE

func CommentLTE(v string) predicate.Address

CommentLTE applies the LTE predicate on the "comment" field.

func CommentNEQ

func CommentNEQ(v string) predicate.Address

CommentNEQ applies the NEQ predicate on the "comment" field.

func CommentNotIn

func CommentNotIn(vs ...string) predicate.Address

CommentNotIn applies the NotIn predicate on the "comment" field.

func CommentNotNil

func CommentNotNil() predicate.Address

CommentNotNil applies the NotNil predicate on the "comment" field.

func Country

func Country(v string) predicate.Address

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

func CountryContains

func CountryContains(v string) predicate.Address

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

func CountryContainsFold

func CountryContainsFold(v string) predicate.Address

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

func CountryEQ

func CountryEQ(v string) predicate.Address

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

func CountryEqualFold

func CountryEqualFold(v string) predicate.Address

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

func CountryGT

func CountryGT(v string) predicate.Address

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

func CountryGTE

func CountryGTE(v string) predicate.Address

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

func CountryHasPrefix

func CountryHasPrefix(v string) predicate.Address

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

func CountryHasSuffix

func CountryHasSuffix(v string) predicate.Address

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

func CountryIn

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

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

func CountryIsNil

func CountryIsNil() predicate.Address

CountryIsNil applies the IsNil predicate on the "country" field.

func CountryLT

func CountryLT(v string) predicate.Address

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

func CountryLTE

func CountryLTE(v string) predicate.Address

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

func CountryNEQ

func CountryNEQ(v string) predicate.Address

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

func CountryNotIn

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

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

func CountryNotNil

func CountryNotNil() predicate.Address

CountryNotNil applies the NotNil predicate on the "country" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Address

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Address

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Address

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Address

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Address

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Address

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Address

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Address

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Address

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func DeletedAt

func DeletedAt(v time.Time) predicate.Address

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.Address

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.Address

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.Address

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

func DeletedAtIn(vs ...time.Time) predicate.Address

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.Address

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.Address

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.Address

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.Address

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

func DeletedAtNotIn(vs ...time.Time) predicate.Address

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.Address

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func HasBusiness

func HasBusiness() predicate.Address

HasBusiness applies the HasEdge predicate on the "business" edge.

func HasBusinessWith

func HasBusinessWith(preds ...predicate.Business) predicate.Address

HasBusinessWith applies the HasEdge predicate on the "business" edge with a given conditions (other predicates).

func HasTimetables

func HasTimetables() predicate.Address

HasTimetables applies the HasEdge predicate on the "timetables" edge.

func HasTimetablesWith

func HasTimetablesWith(preds ...predicate.Timetable) predicate.Address

HasTimetablesWith applies the HasEdge predicate on the "timetables" edge with a given conditions (other predicates).

func ID

func ID(id uuid.UUID) predicate.Address

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Address

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Address

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Address

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.Address

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Address

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Address

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Address

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.Address

IDNotIn applies the NotIn predicate on the ID field.

func Locale

func Locale(v string) predicate.Address

Locale applies equality check predicate on the "locale" field. It's identical to LocaleEQ.

func LocaleContains

func LocaleContains(v string) predicate.Address

LocaleContains applies the Contains predicate on the "locale" field.

func LocaleContainsFold

func LocaleContainsFold(v string) predicate.Address

LocaleContainsFold applies the ContainsFold predicate on the "locale" field.

func LocaleEQ

func LocaleEQ(v string) predicate.Address

LocaleEQ applies the EQ predicate on the "locale" field.

func LocaleEqualFold

func LocaleEqualFold(v string) predicate.Address

LocaleEqualFold applies the EqualFold predicate on the "locale" field.

func LocaleGT

func LocaleGT(v string) predicate.Address

LocaleGT applies the GT predicate on the "locale" field.

func LocaleGTE

func LocaleGTE(v string) predicate.Address

LocaleGTE applies the GTE predicate on the "locale" field.

func LocaleHasPrefix

func LocaleHasPrefix(v string) predicate.Address

LocaleHasPrefix applies the HasPrefix predicate on the "locale" field.

func LocaleHasSuffix

func LocaleHasSuffix(v string) predicate.Address

LocaleHasSuffix applies the HasSuffix predicate on the "locale" field.

func LocaleIn

func LocaleIn(vs ...string) predicate.Address

LocaleIn applies the In predicate on the "locale" field.

func LocaleLT

func LocaleLT(v string) predicate.Address

LocaleLT applies the LT predicate on the "locale" field.

func LocaleLTE

func LocaleLTE(v string) predicate.Address

LocaleLTE applies the LTE predicate on the "locale" field.

func LocaleNEQ

func LocaleNEQ(v string) predicate.Address

LocaleNEQ applies the NEQ predicate on the "locale" field.

func LocaleNotIn

func LocaleNotIn(vs ...string) predicate.Address

LocaleNotIn applies the NotIn predicate on the "locale" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Address) predicate.Address

Or groups predicates with the OR operator between them.

func Primary

func Primary(v bool) predicate.Address

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

func PrimaryEQ

func PrimaryEQ(v bool) predicate.Address

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

func PrimaryNEQ

func PrimaryNEQ(v bool) predicate.Address

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

func State

func State(v string) predicate.Address

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

func StateContains

func StateContains(v string) predicate.Address

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

func StateContainsFold

func StateContainsFold(v string) predicate.Address

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

func StateEQ

func StateEQ(v string) predicate.Address

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

func StateEqualFold

func StateEqualFold(v string) predicate.Address

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

func StateGT

func StateGT(v string) predicate.Address

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

func StateGTE

func StateGTE(v string) predicate.Address

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

func StateHasPrefix

func StateHasPrefix(v string) predicate.Address

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

func StateHasSuffix

func StateHasSuffix(v string) predicate.Address

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

func StateIn

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

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

func StateIsNil

func StateIsNil() predicate.Address

StateIsNil applies the IsNil predicate on the "state" field.

func StateLT

func StateLT(v string) predicate.Address

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

func StateLTE

func StateLTE(v string) predicate.Address

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

func StateNEQ

func StateNEQ(v string) predicate.Address

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

func StateNotIn

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

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

func StateNotNil

func StateNotNil() predicate.Address

StateNotNil applies the NotNil predicate on the "state" field.

func Street

func Street(v string) predicate.Address

Street applies equality check predicate on the "street" field. It's identical to StreetEQ.

func StreetContains

func StreetContains(v string) predicate.Address

StreetContains applies the Contains predicate on the "street" field.

func StreetContainsFold

func StreetContainsFold(v string) predicate.Address

StreetContainsFold applies the ContainsFold predicate on the "street" field.

func StreetEQ

func StreetEQ(v string) predicate.Address

StreetEQ applies the EQ predicate on the "street" field.

func StreetEqualFold

func StreetEqualFold(v string) predicate.Address

StreetEqualFold applies the EqualFold predicate on the "street" field.

func StreetGT

func StreetGT(v string) predicate.Address

StreetGT applies the GT predicate on the "street" field.

func StreetGTE

func StreetGTE(v string) predicate.Address

StreetGTE applies the GTE predicate on the "street" field.

func StreetHasPrefix

func StreetHasPrefix(v string) predicate.Address

StreetHasPrefix applies the HasPrefix predicate on the "street" field.

func StreetHasSuffix

func StreetHasSuffix(v string) predicate.Address

StreetHasSuffix applies the HasSuffix predicate on the "street" field.

func StreetIn

func StreetIn(vs ...string) predicate.Address

StreetIn applies the In predicate on the "street" field.

func StreetIsNil

func StreetIsNil() predicate.Address

StreetIsNil applies the IsNil predicate on the "street" field.

func StreetLT

func StreetLT(v string) predicate.Address

StreetLT applies the LT predicate on the "street" field.

func StreetLTE

func StreetLTE(v string) predicate.Address

StreetLTE applies the LTE predicate on the "street" field.

func StreetNEQ

func StreetNEQ(v string) predicate.Address

StreetNEQ applies the NEQ predicate on the "street" field.

func StreetNotIn

func StreetNotIn(vs ...string) predicate.Address

StreetNotIn applies the NotIn predicate on the "street" field.

func StreetNotNil

func StreetNotNil() predicate.Address

StreetNotNil applies the NotNil predicate on the "street" field.

func Telephone

func Telephone(v string) predicate.Address

Telephone applies equality check predicate on the "telephone" field. It's identical to TelephoneEQ.

func TelephoneContains

func TelephoneContains(v string) predicate.Address

TelephoneContains applies the Contains predicate on the "telephone" field.

func TelephoneContainsFold

func TelephoneContainsFold(v string) predicate.Address

TelephoneContainsFold applies the ContainsFold predicate on the "telephone" field.

func TelephoneEQ

func TelephoneEQ(v string) predicate.Address

TelephoneEQ applies the EQ predicate on the "telephone" field.

func TelephoneEqualFold

func TelephoneEqualFold(v string) predicate.Address

TelephoneEqualFold applies the EqualFold predicate on the "telephone" field.

func TelephoneGT

func TelephoneGT(v string) predicate.Address

TelephoneGT applies the GT predicate on the "telephone" field.

func TelephoneGTE

func TelephoneGTE(v string) predicate.Address

TelephoneGTE applies the GTE predicate on the "telephone" field.

func TelephoneHasPrefix

func TelephoneHasPrefix(v string) predicate.Address

TelephoneHasPrefix applies the HasPrefix predicate on the "telephone" field.

func TelephoneHasSuffix

func TelephoneHasSuffix(v string) predicate.Address

TelephoneHasSuffix applies the HasSuffix predicate on the "telephone" field.

func TelephoneIn

func TelephoneIn(vs ...string) predicate.Address

TelephoneIn applies the In predicate on the "telephone" field.

func TelephoneIsNil

func TelephoneIsNil() predicate.Address

TelephoneIsNil applies the IsNil predicate on the "telephone" field.

func TelephoneLT

func TelephoneLT(v string) predicate.Address

TelephoneLT applies the LT predicate on the "telephone" field.

func TelephoneLTE

func TelephoneLTE(v string) predicate.Address

TelephoneLTE applies the LTE predicate on the "telephone" field.

func TelephoneNEQ

func TelephoneNEQ(v string) predicate.Address

TelephoneNEQ applies the NEQ predicate on the "telephone" field.

func TelephoneNotIn

func TelephoneNotIn(vs ...string) predicate.Address

TelephoneNotIn applies the NotIn predicate on the "telephone" field.

func TelephoneNotNil

func TelephoneNotNil() predicate.Address

TelephoneNotNil applies the NotNil predicate on the "telephone" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Address

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Address

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Address

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Address

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Address

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Address

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Address

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Address

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Address

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

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

func Zip

func Zip(v string) predicate.Address

Zip applies equality check predicate on the "zip" field. It's identical to ZipEQ.

func ZipContains

func ZipContains(v string) predicate.Address

ZipContains applies the Contains predicate on the "zip" field.

func ZipContainsFold

func ZipContainsFold(v string) predicate.Address

ZipContainsFold applies the ContainsFold predicate on the "zip" field.

func ZipEQ

func ZipEQ(v string) predicate.Address

ZipEQ applies the EQ predicate on the "zip" field.

func ZipEqualFold

func ZipEqualFold(v string) predicate.Address

ZipEqualFold applies the EqualFold predicate on the "zip" field.

func ZipGT

func ZipGT(v string) predicate.Address

ZipGT applies the GT predicate on the "zip" field.

func ZipGTE

func ZipGTE(v string) predicate.Address

ZipGTE applies the GTE predicate on the "zip" field.

func ZipHasPrefix

func ZipHasPrefix(v string) predicate.Address

ZipHasPrefix applies the HasPrefix predicate on the "zip" field.

func ZipHasSuffix

func ZipHasSuffix(v string) predicate.Address

ZipHasSuffix applies the HasSuffix predicate on the "zip" field.

func ZipIn

func ZipIn(vs ...string) predicate.Address

ZipIn applies the In predicate on the "zip" field.

func ZipIsNil

func ZipIsNil() predicate.Address

ZipIsNil applies the IsNil predicate on the "zip" field.

func ZipLT

func ZipLT(v string) predicate.Address

ZipLT applies the LT predicate on the "zip" field.

func ZipLTE

func ZipLTE(v string) predicate.Address

ZipLTE applies the LTE predicate on the "zip" field.

func ZipNEQ

func ZipNEQ(v string) predicate.Address

ZipNEQ applies the NEQ predicate on the "zip" field.

func ZipNotIn

func ZipNotIn(vs ...string) predicate.Address

ZipNotIn applies the NotIn predicate on the "zip" field.

func ZipNotNil

func ZipNotNil() predicate.Address

ZipNotNil applies the NotNil predicate on the "zip" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Address queries.

func ByAddition

func ByAddition(opts ...sql.OrderTermOption) OrderOption

ByAddition orders the results by the addition field.

func ByBusinessField

func ByBusinessField(field string, opts ...sql.OrderTermOption) OrderOption

ByBusinessField orders the results by business field.

func ByCity

func ByCity(opts ...sql.OrderTermOption) OrderOption

ByCity orders the results by the city field.

func ByComment

func ByComment(opts ...sql.OrderTermOption) OrderOption

ByComment orders the results by the comment field.

func ByCountry

func ByCountry(opts ...sql.OrderTermOption) OrderOption

ByCountry orders the results by the country field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDeletedAt

func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption

ByDeletedAt orders the results by the deleted_at field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByLocale

func ByLocale(opts ...sql.OrderTermOption) OrderOption

ByLocale orders the results by the locale field.

func ByPrimary

func ByPrimary(opts ...sql.OrderTermOption) OrderOption

ByPrimary orders the results by the primary field.

func ByState

func ByState(opts ...sql.OrderTermOption) OrderOption

ByState orders the results by the state field.

func ByStreet

func ByStreet(opts ...sql.OrderTermOption) OrderOption

ByStreet orders the results by the street field.

func ByTelephone

func ByTelephone(opts ...sql.OrderTermOption) OrderOption

ByTelephone orders the results by the telephone field.

func ByTimetables

func ByTimetables(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByTimetables orders the results by timetables terms.

func ByTimetablesCount

func ByTimetablesCount(opts ...sql.OrderTermOption) OrderOption

ByTimetablesCount orders the results by timetables count.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByZip

func ByZip(opts ...sql.OrderTermOption) OrderOption

ByZip orders the results by the zip field.

Jump to

Keyboard shortcuts

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