location

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the location type in the database.
	Label = "location"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldDescription holds the string denoting the description field in the database.
	FieldDescription = "description"
	// FieldLatitude holds the string denoting the latitude field in the database.
	FieldLatitude = "latitude"
	// FieldLongitude holds the string denoting the longitude field in the database.
	FieldLongitude = "longitude"
	// FieldAddress holds the string denoting the address field in the database.
	FieldAddress = "address"
	// FieldPostcode holds the string denoting the postcode field in the database.
	FieldPostcode = "postcode"
	// FieldType holds the string denoting the type field in the database.
	FieldType = "type"
	// FieldState holds the string denoting the state field in the database.
	FieldState = "state"
	// FieldSuburb holds the string denoting the suburb field in the database.
	FieldSuburb = "suburb"
	// FieldStreetType holds the string denoting the street_type field in the database.
	FieldStreetType = "street_type"
	// FieldStreetName holds the string denoting the street_name field in the database.
	FieldStreetName = "street_name"
	// EdgeCompany holds the string denoting the company edge name in mutations.
	EdgeCompany = "company"
	// EdgeCountry holds the string denoting the country edge name in mutations.
	EdgeCountry = "country"
	// Table holds the table name of the location in the database.
	Table = "locations"
	// CompanyTable is the table that holds the company relation/edge.
	CompanyTable = "locations"
	// CompanyInverseTable is the table name for the Company entity.
	// It exists in this package in order to avoid circular dependency with the "company" package.
	CompanyInverseTable = "companies"
	// CompanyColumn is the table column denoting the company relation/edge.
	CompanyColumn = "company_locations"
	// CountryTable is the table that holds the country relation/edge.
	CountryTable = "locations"
	// CountryInverseTable is the table name for the Country entity.
	// It exists in this package in order to avoid circular dependency with the "country" package.
	CountryInverseTable = "countries"
	// CountryColumn is the table column denoting the country relation/edge.
	CountryColumn = "country_locations"
)

Variables

View Source
var (
	// TitleValidator is a validator for the "title" field. It is called by the builders before save.
	TitleValidator func(string) error
	// DescriptionValidator is a validator for the "description" field. It is called by the builders before save.
	DescriptionValidator func(string) error
	// AddressValidator is a validator for the "address" field. It is called by the builders before save.
	AddressValidator func(string) error
	// PostcodeValidator is a validator for the "postcode" field. It is called by the builders before save.
	PostcodeValidator func(string) error
	// TypeValidator is a validator for the "type" field. It is called by the builders before save.
	TypeValidator func(string) error
	// StateValidator is a validator for the "state" field. It is called by the builders before save.
	StateValidator func(string) error
	// SuburbValidator is a validator for the "suburb" field. It is called by the builders before save.
	SuburbValidator func(string) error
	// StreetTypeValidator is a validator for the "street_type" field. It is called by the builders before save.
	StreetTypeValidator func(string) error
	// StreetNameValidator is a validator for the "street_name" field. It is called by the builders before save.
	StreetNameValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for location fields.

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

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

Functions

func Address

func Address(v string) predicate.Location

Address applies equality check predicate on the "address" field. It's identical to AddressEQ.

func AddressContains

func AddressContains(v string) predicate.Location

AddressContains applies the Contains predicate on the "address" field.

func AddressContainsFold

func AddressContainsFold(v string) predicate.Location

AddressContainsFold applies the ContainsFold predicate on the "address" field.

func AddressEQ

func AddressEQ(v string) predicate.Location

AddressEQ applies the EQ predicate on the "address" field.

func AddressEqualFold

func AddressEqualFold(v string) predicate.Location

AddressEqualFold applies the EqualFold predicate on the "address" field.

func AddressGT

func AddressGT(v string) predicate.Location

AddressGT applies the GT predicate on the "address" field.

func AddressGTE

func AddressGTE(v string) predicate.Location

AddressGTE applies the GTE predicate on the "address" field.

func AddressHasPrefix

func AddressHasPrefix(v string) predicate.Location

AddressHasPrefix applies the HasPrefix predicate on the "address" field.

func AddressHasSuffix

func AddressHasSuffix(v string) predicate.Location

AddressHasSuffix applies the HasSuffix predicate on the "address" field.

func AddressIn

func AddressIn(vs ...string) predicate.Location

AddressIn applies the In predicate on the "address" field.

func AddressLT

func AddressLT(v string) predicate.Location

AddressLT applies the LT predicate on the "address" field.

func AddressLTE

func AddressLTE(v string) predicate.Location

AddressLTE applies the LTE predicate on the "address" field.

func AddressNEQ

func AddressNEQ(v string) predicate.Location

AddressNEQ applies the NEQ predicate on the "address" field.

func AddressNotIn

func AddressNotIn(vs ...string) predicate.Location

AddressNotIn applies the NotIn predicate on the "address" field.

func And

func And(predicates ...predicate.Location) predicate.Location

And groups predicates with the AND operator between them.

func Description

func Description(v string) predicate.Location

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Location

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Location

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Location

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Location

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Location

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Location

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Location

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Location

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Location

DescriptionIn applies the In predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Location

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Location

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Location

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Location

DescriptionNotIn applies the NotIn predicate on the "description" field.

func HasCompany

func HasCompany() predicate.Location

HasCompany applies the HasEdge predicate on the "company" edge.

func HasCompanyWith

func HasCompanyWith(preds ...predicate.Company) predicate.Location

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

func HasCountry

func HasCountry() predicate.Location

HasCountry applies the HasEdge predicate on the "country" edge.

func HasCountryWith

func HasCountryWith(preds ...predicate.Country) predicate.Location

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

func ID

func ID(id uuid.UUID) predicate.Location

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.Location

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.Location

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.Location

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.Location

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.Location

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.Location

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Latitude

func Latitude(v float64) predicate.Location

Latitude applies equality check predicate on the "latitude" field. It's identical to LatitudeEQ.

func LatitudeEQ

func LatitudeEQ(v float64) predicate.Location

LatitudeEQ applies the EQ predicate on the "latitude" field.

func LatitudeGT

func LatitudeGT(v float64) predicate.Location

LatitudeGT applies the GT predicate on the "latitude" field.

func LatitudeGTE

func LatitudeGTE(v float64) predicate.Location

LatitudeGTE applies the GTE predicate on the "latitude" field.

func LatitudeIn

func LatitudeIn(vs ...float64) predicate.Location

LatitudeIn applies the In predicate on the "latitude" field.

func LatitudeLT

func LatitudeLT(v float64) predicate.Location

LatitudeLT applies the LT predicate on the "latitude" field.

func LatitudeLTE

func LatitudeLTE(v float64) predicate.Location

LatitudeLTE applies the LTE predicate on the "latitude" field.

func LatitudeNEQ

func LatitudeNEQ(v float64) predicate.Location

LatitudeNEQ applies the NEQ predicate on the "latitude" field.

func LatitudeNotIn

func LatitudeNotIn(vs ...float64) predicate.Location

LatitudeNotIn applies the NotIn predicate on the "latitude" field.

func Longitude

func Longitude(v float64) predicate.Location

Longitude applies equality check predicate on the "longitude" field. It's identical to LongitudeEQ.

func LongitudeEQ

func LongitudeEQ(v float64) predicate.Location

LongitudeEQ applies the EQ predicate on the "longitude" field.

func LongitudeGT

func LongitudeGT(v float64) predicate.Location

LongitudeGT applies the GT predicate on the "longitude" field.

func LongitudeGTE

func LongitudeGTE(v float64) predicate.Location

LongitudeGTE applies the GTE predicate on the "longitude" field.

func LongitudeIn

func LongitudeIn(vs ...float64) predicate.Location

LongitudeIn applies the In predicate on the "longitude" field.

func LongitudeLT

func LongitudeLT(v float64) predicate.Location

LongitudeLT applies the LT predicate on the "longitude" field.

func LongitudeLTE

func LongitudeLTE(v float64) predicate.Location

LongitudeLTE applies the LTE predicate on the "longitude" field.

func LongitudeNEQ

func LongitudeNEQ(v float64) predicate.Location

LongitudeNEQ applies the NEQ predicate on the "longitude" field.

func LongitudeNotIn

func LongitudeNotIn(vs ...float64) predicate.Location

LongitudeNotIn applies the NotIn predicate on the "longitude" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.Location) predicate.Location

Or groups predicates with the OR operator between them.

func Postcode

func Postcode(v string) predicate.Location

Postcode applies equality check predicate on the "postcode" field. It's identical to PostcodeEQ.

func PostcodeContains

func PostcodeContains(v string) predicate.Location

PostcodeContains applies the Contains predicate on the "postcode" field.

func PostcodeContainsFold

func PostcodeContainsFold(v string) predicate.Location

PostcodeContainsFold applies the ContainsFold predicate on the "postcode" field.

func PostcodeEQ

func PostcodeEQ(v string) predicate.Location

PostcodeEQ applies the EQ predicate on the "postcode" field.

func PostcodeEqualFold

func PostcodeEqualFold(v string) predicate.Location

PostcodeEqualFold applies the EqualFold predicate on the "postcode" field.

func PostcodeGT

func PostcodeGT(v string) predicate.Location

PostcodeGT applies the GT predicate on the "postcode" field.

func PostcodeGTE

func PostcodeGTE(v string) predicate.Location

PostcodeGTE applies the GTE predicate on the "postcode" field.

func PostcodeHasPrefix

func PostcodeHasPrefix(v string) predicate.Location

PostcodeHasPrefix applies the HasPrefix predicate on the "postcode" field.

func PostcodeHasSuffix

func PostcodeHasSuffix(v string) predicate.Location

PostcodeHasSuffix applies the HasSuffix predicate on the "postcode" field.

func PostcodeIn

func PostcodeIn(vs ...string) predicate.Location

PostcodeIn applies the In predicate on the "postcode" field.

func PostcodeLT

func PostcodeLT(v string) predicate.Location

PostcodeLT applies the LT predicate on the "postcode" field.

func PostcodeLTE

func PostcodeLTE(v string) predicate.Location

PostcodeLTE applies the LTE predicate on the "postcode" field.

func PostcodeNEQ

func PostcodeNEQ(v string) predicate.Location

PostcodeNEQ applies the NEQ predicate on the "postcode" field.

func PostcodeNotIn

func PostcodeNotIn(vs ...string) predicate.Location

PostcodeNotIn applies the NotIn predicate on the "postcode" field.

func State

func State(v string) predicate.Location

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

func StateContains

func StateContains(v string) predicate.Location

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

func StateContainsFold

func StateContainsFold(v string) predicate.Location

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

func StateEQ

func StateEQ(v string) predicate.Location

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

func StateEqualFold

func StateEqualFold(v string) predicate.Location

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

func StateGT

func StateGT(v string) predicate.Location

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

func StateGTE

func StateGTE(v string) predicate.Location

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

func StateHasPrefix

func StateHasPrefix(v string) predicate.Location

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

func StateHasSuffix

func StateHasSuffix(v string) predicate.Location

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

func StateIn

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

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

func StateLT

func StateLT(v string) predicate.Location

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

func StateLTE

func StateLTE(v string) predicate.Location

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

func StateNEQ

func StateNEQ(v string) predicate.Location

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

func StateNotIn

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

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

func StreetName

func StreetName(v string) predicate.Location

StreetName applies equality check predicate on the "street_name" field. It's identical to StreetNameEQ.

func StreetNameContains

func StreetNameContains(v string) predicate.Location

StreetNameContains applies the Contains predicate on the "street_name" field.

func StreetNameContainsFold

func StreetNameContainsFold(v string) predicate.Location

StreetNameContainsFold applies the ContainsFold predicate on the "street_name" field.

func StreetNameEQ

func StreetNameEQ(v string) predicate.Location

StreetNameEQ applies the EQ predicate on the "street_name" field.

func StreetNameEqualFold

func StreetNameEqualFold(v string) predicate.Location

StreetNameEqualFold applies the EqualFold predicate on the "street_name" field.

func StreetNameGT

func StreetNameGT(v string) predicate.Location

StreetNameGT applies the GT predicate on the "street_name" field.

func StreetNameGTE

func StreetNameGTE(v string) predicate.Location

StreetNameGTE applies the GTE predicate on the "street_name" field.

func StreetNameHasPrefix

func StreetNameHasPrefix(v string) predicate.Location

StreetNameHasPrefix applies the HasPrefix predicate on the "street_name" field.

func StreetNameHasSuffix

func StreetNameHasSuffix(v string) predicate.Location

StreetNameHasSuffix applies the HasSuffix predicate on the "street_name" field.

func StreetNameIn

func StreetNameIn(vs ...string) predicate.Location

StreetNameIn applies the In predicate on the "street_name" field.

func StreetNameLT

func StreetNameLT(v string) predicate.Location

StreetNameLT applies the LT predicate on the "street_name" field.

func StreetNameLTE

func StreetNameLTE(v string) predicate.Location

StreetNameLTE applies the LTE predicate on the "street_name" field.

func StreetNameNEQ

func StreetNameNEQ(v string) predicate.Location

StreetNameNEQ applies the NEQ predicate on the "street_name" field.

func StreetNameNotIn

func StreetNameNotIn(vs ...string) predicate.Location

StreetNameNotIn applies the NotIn predicate on the "street_name" field.

func StreetType

func StreetType(v string) predicate.Location

StreetType applies equality check predicate on the "street_type" field. It's identical to StreetTypeEQ.

func StreetTypeContains

func StreetTypeContains(v string) predicate.Location

StreetTypeContains applies the Contains predicate on the "street_type" field.

func StreetTypeContainsFold

func StreetTypeContainsFold(v string) predicate.Location

StreetTypeContainsFold applies the ContainsFold predicate on the "street_type" field.

func StreetTypeEQ

func StreetTypeEQ(v string) predicate.Location

StreetTypeEQ applies the EQ predicate on the "street_type" field.

func StreetTypeEqualFold

func StreetTypeEqualFold(v string) predicate.Location

StreetTypeEqualFold applies the EqualFold predicate on the "street_type" field.

func StreetTypeGT

func StreetTypeGT(v string) predicate.Location

StreetTypeGT applies the GT predicate on the "street_type" field.

func StreetTypeGTE

func StreetTypeGTE(v string) predicate.Location

StreetTypeGTE applies the GTE predicate on the "street_type" field.

func StreetTypeHasPrefix

func StreetTypeHasPrefix(v string) predicate.Location

StreetTypeHasPrefix applies the HasPrefix predicate on the "street_type" field.

func StreetTypeHasSuffix

func StreetTypeHasSuffix(v string) predicate.Location

StreetTypeHasSuffix applies the HasSuffix predicate on the "street_type" field.

func StreetTypeIn

func StreetTypeIn(vs ...string) predicate.Location

StreetTypeIn applies the In predicate on the "street_type" field.

func StreetTypeLT

func StreetTypeLT(v string) predicate.Location

StreetTypeLT applies the LT predicate on the "street_type" field.

func StreetTypeLTE

func StreetTypeLTE(v string) predicate.Location

StreetTypeLTE applies the LTE predicate on the "street_type" field.

func StreetTypeNEQ

func StreetTypeNEQ(v string) predicate.Location

StreetTypeNEQ applies the NEQ predicate on the "street_type" field.

func StreetTypeNotIn

func StreetTypeNotIn(vs ...string) predicate.Location

StreetTypeNotIn applies the NotIn predicate on the "street_type" field.

func Suburb

func Suburb(v string) predicate.Location

Suburb applies equality check predicate on the "suburb" field. It's identical to SuburbEQ.

func SuburbContains

func SuburbContains(v string) predicate.Location

SuburbContains applies the Contains predicate on the "suburb" field.

func SuburbContainsFold

func SuburbContainsFold(v string) predicate.Location

SuburbContainsFold applies the ContainsFold predicate on the "suburb" field.

func SuburbEQ

func SuburbEQ(v string) predicate.Location

SuburbEQ applies the EQ predicate on the "suburb" field.

func SuburbEqualFold

func SuburbEqualFold(v string) predicate.Location

SuburbEqualFold applies the EqualFold predicate on the "suburb" field.

func SuburbGT

func SuburbGT(v string) predicate.Location

SuburbGT applies the GT predicate on the "suburb" field.

func SuburbGTE

func SuburbGTE(v string) predicate.Location

SuburbGTE applies the GTE predicate on the "suburb" field.

func SuburbHasPrefix

func SuburbHasPrefix(v string) predicate.Location

SuburbHasPrefix applies the HasPrefix predicate on the "suburb" field.

func SuburbHasSuffix

func SuburbHasSuffix(v string) predicate.Location

SuburbHasSuffix applies the HasSuffix predicate on the "suburb" field.

func SuburbIn

func SuburbIn(vs ...string) predicate.Location

SuburbIn applies the In predicate on the "suburb" field.

func SuburbLT

func SuburbLT(v string) predicate.Location

SuburbLT applies the LT predicate on the "suburb" field.

func SuburbLTE

func SuburbLTE(v string) predicate.Location

SuburbLTE applies the LTE predicate on the "suburb" field.

func SuburbNEQ

func SuburbNEQ(v string) predicate.Location

SuburbNEQ applies the NEQ predicate on the "suburb" field.

func SuburbNotIn

func SuburbNotIn(vs ...string) predicate.Location

SuburbNotIn applies the NotIn predicate on the "suburb" field.

func Title

func Title(v string) predicate.Location

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

func TitleContains

func TitleContains(v string) predicate.Location

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

func TitleContainsFold

func TitleContainsFold(v string) predicate.Location

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

func TitleEQ

func TitleEQ(v string) predicate.Location

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

func TitleEqualFold

func TitleEqualFold(v string) predicate.Location

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

func TitleGT

func TitleGT(v string) predicate.Location

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

func TitleGTE

func TitleGTE(v string) predicate.Location

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

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Location

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

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Location

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

func TitleIn

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

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

func TitleLT

func TitleLT(v string) predicate.Location

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

func TitleLTE

func TitleLTE(v string) predicate.Location

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

func TitleNEQ

func TitleNEQ(v string) predicate.Location

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

func TitleNotIn

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

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

func Type

func Type(v string) predicate.Location

Type applies equality check predicate on the "type" field. It's identical to TypeEQ.

func TypeContains

func TypeContains(v string) predicate.Location

TypeContains applies the Contains predicate on the "type" field.

func TypeContainsFold

func TypeContainsFold(v string) predicate.Location

TypeContainsFold applies the ContainsFold predicate on the "type" field.

func TypeEQ

func TypeEQ(v string) predicate.Location

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

func TypeEqualFold

func TypeEqualFold(v string) predicate.Location

TypeEqualFold applies the EqualFold predicate on the "type" field.

func TypeGT

func TypeGT(v string) predicate.Location

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

func TypeGTE(v string) predicate.Location

TypeGTE applies the GTE predicate on the "type" field.

func TypeHasPrefix

func TypeHasPrefix(v string) predicate.Location

TypeHasPrefix applies the HasPrefix predicate on the "type" field.

func TypeHasSuffix

func TypeHasSuffix(v string) predicate.Location

TypeHasSuffix applies the HasSuffix predicate on the "type" field.

func TypeIn

func TypeIn(vs ...string) predicate.Location

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

func TypeLT

func TypeLT(v string) predicate.Location

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

func TypeLTE(v string) predicate.Location

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

func TypeNEQ(v string) predicate.Location

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

func TypeNotIn

func TypeNotIn(vs ...string) predicate.Location

TypeNotIn applies the NotIn predicate on the "type" 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