useraddr

package
v0.0.0-...-38edf11 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the useraddr type in the database.
	Label = "user_addr"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldAddrType holds the string denoting the addr_type field in the database.
	FieldAddrType = "addr_type"
	// FieldRegionID holds the string denoting the region_id field in the database.
	FieldRegionID = "region_id"
	// FieldAddr holds the string denoting the addr field in the database.
	FieldAddr = "addr"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldFax holds the string denoting the fax field in the database.
	FieldFax = "fax"
	// FieldZipCode holds the string denoting the zip_code field in the database.
	FieldZipCode = "zip_code"
	// FieldTel holds the string denoting the tel field in the database.
	FieldTel = "tel"
	// FieldMobile holds the string denoting the mobile field in the database.
	FieldMobile = "mobile"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldIsDefault holds the string denoting the is_default field in the database.
	FieldIsDefault = "is_default"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// Table holds the table name of the useraddr in the database.
	Table = "user_addr"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "user_addr"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "user"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_id"
)

Variables

View Source
var (
	Hooks [1]ent.Hook
	// EmailValidator is a validator for the "email" field. It is called by the builders before save.
	EmailValidator func(string) error
	// FaxValidator is a validator for the "fax" field. It is called by the builders before save.
	FaxValidator func(string) error
	// ZipCodeValidator is a validator for the "zip_code" field. It is called by the builders before save.
	ZipCodeValidator func(string) error
	// TelValidator is a validator for the "tel" field. It is called by the builders before save.
	TelValidator func(string) error
	// MobileValidator is a validator for the "mobile" field. It is called by the builders before save.
	MobileValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// DefaultIsDefault holds the default value on creation for the "is_default" field.
	DefaultIsDefault bool
)

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/woocoos/msgcenter/ent/runtime"

Columns holds all SQL columns for useraddr fields.

Functions

func Addr

func Addr(v string) predicate.UserAddr

Addr applies equality check predicate on the "addr" field. It's identical to AddrEQ.

func AddrContains

func AddrContains(v string) predicate.UserAddr

AddrContains applies the Contains predicate on the "addr" field.

func AddrContainsFold

func AddrContainsFold(v string) predicate.UserAddr

AddrContainsFold applies the ContainsFold predicate on the "addr" field.

func AddrEQ

func AddrEQ(v string) predicate.UserAddr

AddrEQ applies the EQ predicate on the "addr" field.

func AddrEqualFold

func AddrEqualFold(v string) predicate.UserAddr

AddrEqualFold applies the EqualFold predicate on the "addr" field.

func AddrGT

func AddrGT(v string) predicate.UserAddr

AddrGT applies the GT predicate on the "addr" field.

func AddrGTE

func AddrGTE(v string) predicate.UserAddr

AddrGTE applies the GTE predicate on the "addr" field.

func AddrHasPrefix

func AddrHasPrefix(v string) predicate.UserAddr

AddrHasPrefix applies the HasPrefix predicate on the "addr" field.

func AddrHasSuffix

func AddrHasSuffix(v string) predicate.UserAddr

AddrHasSuffix applies the HasSuffix predicate on the "addr" field.

func AddrIn

func AddrIn(vs ...string) predicate.UserAddr

AddrIn applies the In predicate on the "addr" field.

func AddrIsNil

func AddrIsNil() predicate.UserAddr

AddrIsNil applies the IsNil predicate on the "addr" field.

func AddrLT

func AddrLT(v string) predicate.UserAddr

AddrLT applies the LT predicate on the "addr" field.

func AddrLTE

func AddrLTE(v string) predicate.UserAddr

AddrLTE applies the LTE predicate on the "addr" field.

func AddrNEQ

func AddrNEQ(v string) predicate.UserAddr

AddrNEQ applies the NEQ predicate on the "addr" field.

func AddrNotIn

func AddrNotIn(vs ...string) predicate.UserAddr

AddrNotIn applies the NotIn predicate on the "addr" field.

func AddrNotNil

func AddrNotNil() predicate.UserAddr

AddrNotNil applies the NotNil predicate on the "addr" field.

func AddrTypeEQ

func AddrTypeEQ(v AddrType) predicate.UserAddr

AddrTypeEQ applies the EQ predicate on the "addr_type" field.

func AddrTypeIn

func AddrTypeIn(vs ...AddrType) predicate.UserAddr

AddrTypeIn applies the In predicate on the "addr_type" field.

func AddrTypeNEQ

func AddrTypeNEQ(v AddrType) predicate.UserAddr

AddrTypeNEQ applies the NEQ predicate on the "addr_type" field.

func AddrTypeNotIn

func AddrTypeNotIn(vs ...AddrType) predicate.UserAddr

AddrTypeNotIn applies the NotIn predicate on the "addr_type" field.

func AddrTypeValidator

func AddrTypeValidator(at AddrType) error

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

func And

func And(predicates ...predicate.UserAddr) predicate.UserAddr

And groups predicates with the AND operator between them.

func Email

func Email(v string) predicate.UserAddr

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.UserAddr

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.UserAddr

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.UserAddr

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.UserAddr

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.UserAddr

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.UserAddr

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.UserAddr

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.UserAddr

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.UserAddr

EmailIn applies the In predicate on the "email" field.

func EmailIsNil

func EmailIsNil() predicate.UserAddr

EmailIsNil applies the IsNil predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.UserAddr

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.UserAddr

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.UserAddr

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.UserAddr

EmailNotIn applies the NotIn predicate on the "email" field.

func EmailNotNil

func EmailNotNil() predicate.UserAddr

EmailNotNil applies the NotNil predicate on the "email" field.

func Fax

func Fax(v string) predicate.UserAddr

Fax applies equality check predicate on the "fax" field. It's identical to FaxEQ.

func FaxContains

func FaxContains(v string) predicate.UserAddr

FaxContains applies the Contains predicate on the "fax" field.

func FaxContainsFold

func FaxContainsFold(v string) predicate.UserAddr

FaxContainsFold applies the ContainsFold predicate on the "fax" field.

func FaxEQ

func FaxEQ(v string) predicate.UserAddr

FaxEQ applies the EQ predicate on the "fax" field.

func FaxEqualFold

func FaxEqualFold(v string) predicate.UserAddr

FaxEqualFold applies the EqualFold predicate on the "fax" field.

func FaxGT

func FaxGT(v string) predicate.UserAddr

FaxGT applies the GT predicate on the "fax" field.

func FaxGTE

func FaxGTE(v string) predicate.UserAddr

FaxGTE applies the GTE predicate on the "fax" field.

func FaxHasPrefix

func FaxHasPrefix(v string) predicate.UserAddr

FaxHasPrefix applies the HasPrefix predicate on the "fax" field.

func FaxHasSuffix

func FaxHasSuffix(v string) predicate.UserAddr

FaxHasSuffix applies the HasSuffix predicate on the "fax" field.

func FaxIn

func FaxIn(vs ...string) predicate.UserAddr

FaxIn applies the In predicate on the "fax" field.

func FaxIsNil

func FaxIsNil() predicate.UserAddr

FaxIsNil applies the IsNil predicate on the "fax" field.

func FaxLT

func FaxLT(v string) predicate.UserAddr

FaxLT applies the LT predicate on the "fax" field.

func FaxLTE

func FaxLTE(v string) predicate.UserAddr

FaxLTE applies the LTE predicate on the "fax" field.

func FaxNEQ

func FaxNEQ(v string) predicate.UserAddr

FaxNEQ applies the NEQ predicate on the "fax" field.

func FaxNotIn

func FaxNotIn(vs ...string) predicate.UserAddr

FaxNotIn applies the NotIn predicate on the "fax" field.

func FaxNotNil

func FaxNotNil() predicate.UserAddr

FaxNotNil applies the NotNil predicate on the "fax" field.

func HasUser

func HasUser() predicate.UserAddr

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.UserAddr

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

func ID

func ID(id int) predicate.UserAddr

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.UserAddr

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.UserAddr

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.UserAddr

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.UserAddr

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.UserAddr

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.UserAddr

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsDefault

func IsDefault(v bool) predicate.UserAddr

IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.

func IsDefaultEQ

func IsDefaultEQ(v bool) predicate.UserAddr

IsDefaultEQ applies the EQ predicate on the "is_default" field.

func IsDefaultNEQ

func IsDefaultNEQ(v bool) predicate.UserAddr

IsDefaultNEQ applies the NEQ predicate on the "is_default" field.

func Mobile

func Mobile(v string) predicate.UserAddr

Mobile applies equality check predicate on the "mobile" field. It's identical to MobileEQ.

func MobileContains

func MobileContains(v string) predicate.UserAddr

MobileContains applies the Contains predicate on the "mobile" field.

func MobileContainsFold

func MobileContainsFold(v string) predicate.UserAddr

MobileContainsFold applies the ContainsFold predicate on the "mobile" field.

func MobileEQ

func MobileEQ(v string) predicate.UserAddr

MobileEQ applies the EQ predicate on the "mobile" field.

func MobileEqualFold

func MobileEqualFold(v string) predicate.UserAddr

MobileEqualFold applies the EqualFold predicate on the "mobile" field.

func MobileGT

func MobileGT(v string) predicate.UserAddr

MobileGT applies the GT predicate on the "mobile" field.

func MobileGTE

func MobileGTE(v string) predicate.UserAddr

MobileGTE applies the GTE predicate on the "mobile" field.

func MobileHasPrefix

func MobileHasPrefix(v string) predicate.UserAddr

MobileHasPrefix applies the HasPrefix predicate on the "mobile" field.

func MobileHasSuffix

func MobileHasSuffix(v string) predicate.UserAddr

MobileHasSuffix applies the HasSuffix predicate on the "mobile" field.

func MobileIn

func MobileIn(vs ...string) predicate.UserAddr

MobileIn applies the In predicate on the "mobile" field.

func MobileIsNil

func MobileIsNil() predicate.UserAddr

MobileIsNil applies the IsNil predicate on the "mobile" field.

func MobileLT

func MobileLT(v string) predicate.UserAddr

MobileLT applies the LT predicate on the "mobile" field.

func MobileLTE

func MobileLTE(v string) predicate.UserAddr

MobileLTE applies the LTE predicate on the "mobile" field.

func MobileNEQ

func MobileNEQ(v string) predicate.UserAddr

MobileNEQ applies the NEQ predicate on the "mobile" field.

func MobileNotIn

func MobileNotIn(vs ...string) predicate.UserAddr

MobileNotIn applies the NotIn predicate on the "mobile" field.

func MobileNotNil

func MobileNotNil() predicate.UserAddr

MobileNotNil applies the NotNil predicate on the "mobile" field.

func Name

func Name(v string) predicate.UserAddr

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

func NameContains

func NameContains(v string) predicate.UserAddr

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

func NameContainsFold

func NameContainsFold(v string) predicate.UserAddr

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

func NameEQ

func NameEQ(v string) predicate.UserAddr

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

func NameEqualFold

func NameEqualFold(v string) predicate.UserAddr

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

func NameGT

func NameGT(v string) predicate.UserAddr

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

func NameGTE

func NameGTE(v string) predicate.UserAddr

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.UserAddr

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.UserAddr

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

func NameIn

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

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

func NameIsNil

func NameIsNil() predicate.UserAddr

NameIsNil applies the IsNil predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.UserAddr

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

func NameLTE

func NameLTE(v string) predicate.UserAddr

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

func NameNEQ

func NameNEQ(v string) predicate.UserAddr

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

func NameNotIn

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

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

func NameNotNil

func NameNotNil() predicate.UserAddr

NameNotNil applies the NotNil predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.UserAddr) predicate.UserAddr

Or groups predicates with the OR operator between them.

func RegionID

func RegionID(v int) predicate.UserAddr

RegionID applies equality check predicate on the "region_id" field. It's identical to RegionIDEQ.

func RegionIDEQ

func RegionIDEQ(v int) predicate.UserAddr

RegionIDEQ applies the EQ predicate on the "region_id" field.

func RegionIDGT

func RegionIDGT(v int) predicate.UserAddr

RegionIDGT applies the GT predicate on the "region_id" field.

func RegionIDGTE

func RegionIDGTE(v int) predicate.UserAddr

RegionIDGTE applies the GTE predicate on the "region_id" field.

func RegionIDIn

func RegionIDIn(vs ...int) predicate.UserAddr

RegionIDIn applies the In predicate on the "region_id" field.

func RegionIDIsNil

func RegionIDIsNil() predicate.UserAddr

RegionIDIsNil applies the IsNil predicate on the "region_id" field.

func RegionIDLT

func RegionIDLT(v int) predicate.UserAddr

RegionIDLT applies the LT predicate on the "region_id" field.

func RegionIDLTE

func RegionIDLTE(v int) predicate.UserAddr

RegionIDLTE applies the LTE predicate on the "region_id" field.

func RegionIDNEQ

func RegionIDNEQ(v int) predicate.UserAddr

RegionIDNEQ applies the NEQ predicate on the "region_id" field.

func RegionIDNotIn

func RegionIDNotIn(vs ...int) predicate.UserAddr

RegionIDNotIn applies the NotIn predicate on the "region_id" field.

func RegionIDNotNil

func RegionIDNotNil() predicate.UserAddr

RegionIDNotNil applies the NotNil predicate on the "region_id" field.

func Tel

func Tel(v string) predicate.UserAddr

Tel applies equality check predicate on the "tel" field. It's identical to TelEQ.

func TelContains

func TelContains(v string) predicate.UserAddr

TelContains applies the Contains predicate on the "tel" field.

func TelContainsFold

func TelContainsFold(v string) predicate.UserAddr

TelContainsFold applies the ContainsFold predicate on the "tel" field.

func TelEQ

func TelEQ(v string) predicate.UserAddr

TelEQ applies the EQ predicate on the "tel" field.

func TelEqualFold

func TelEqualFold(v string) predicate.UserAddr

TelEqualFold applies the EqualFold predicate on the "tel" field.

func TelGT

func TelGT(v string) predicate.UserAddr

TelGT applies the GT predicate on the "tel" field.

func TelGTE

func TelGTE(v string) predicate.UserAddr

TelGTE applies the GTE predicate on the "tel" field.

func TelHasPrefix

func TelHasPrefix(v string) predicate.UserAddr

TelHasPrefix applies the HasPrefix predicate on the "tel" field.

func TelHasSuffix

func TelHasSuffix(v string) predicate.UserAddr

TelHasSuffix applies the HasSuffix predicate on the "tel" field.

func TelIn

func TelIn(vs ...string) predicate.UserAddr

TelIn applies the In predicate on the "tel" field.

func TelIsNil

func TelIsNil() predicate.UserAddr

TelIsNil applies the IsNil predicate on the "tel" field.

func TelLT

func TelLT(v string) predicate.UserAddr

TelLT applies the LT predicate on the "tel" field.

func TelLTE

func TelLTE(v string) predicate.UserAddr

TelLTE applies the LTE predicate on the "tel" field.

func TelNEQ

func TelNEQ(v string) predicate.UserAddr

TelNEQ applies the NEQ predicate on the "tel" field.

func TelNotIn

func TelNotIn(vs ...string) predicate.UserAddr

TelNotIn applies the NotIn predicate on the "tel" field.

func TelNotNil

func TelNotNil() predicate.UserAddr

TelNotNil applies the NotNil predicate on the "tel" field.

func UserID

func UserID(v int) predicate.UserAddr

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v int) predicate.UserAddr

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...int) predicate.UserAddr

UserIDIn applies the In predicate on the "user_id" field.

func UserIDIsNil

func UserIDIsNil() predicate.UserAddr

UserIDIsNil applies the IsNil predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v int) predicate.UserAddr

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...int) predicate.UserAddr

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func UserIDNotNil

func UserIDNotNil() predicate.UserAddr

UserIDNotNil applies the NotNil predicate on the "user_id" field.

func ValidColumn

func ValidColumn(column string) bool

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

func ZipCode

func ZipCode(v string) predicate.UserAddr

ZipCode applies equality check predicate on the "zip_code" field. It's identical to ZipCodeEQ.

func ZipCodeContains

func ZipCodeContains(v string) predicate.UserAddr

ZipCodeContains applies the Contains predicate on the "zip_code" field.

func ZipCodeContainsFold

func ZipCodeContainsFold(v string) predicate.UserAddr

ZipCodeContainsFold applies the ContainsFold predicate on the "zip_code" field.

func ZipCodeEQ

func ZipCodeEQ(v string) predicate.UserAddr

ZipCodeEQ applies the EQ predicate on the "zip_code" field.

func ZipCodeEqualFold

func ZipCodeEqualFold(v string) predicate.UserAddr

ZipCodeEqualFold applies the EqualFold predicate on the "zip_code" field.

func ZipCodeGT

func ZipCodeGT(v string) predicate.UserAddr

ZipCodeGT applies the GT predicate on the "zip_code" field.

func ZipCodeGTE

func ZipCodeGTE(v string) predicate.UserAddr

ZipCodeGTE applies the GTE predicate on the "zip_code" field.

func ZipCodeHasPrefix

func ZipCodeHasPrefix(v string) predicate.UserAddr

ZipCodeHasPrefix applies the HasPrefix predicate on the "zip_code" field.

func ZipCodeHasSuffix

func ZipCodeHasSuffix(v string) predicate.UserAddr

ZipCodeHasSuffix applies the HasSuffix predicate on the "zip_code" field.

func ZipCodeIn

func ZipCodeIn(vs ...string) predicate.UserAddr

ZipCodeIn applies the In predicate on the "zip_code" field.

func ZipCodeIsNil

func ZipCodeIsNil() predicate.UserAddr

ZipCodeIsNil applies the IsNil predicate on the "zip_code" field.

func ZipCodeLT

func ZipCodeLT(v string) predicate.UserAddr

ZipCodeLT applies the LT predicate on the "zip_code" field.

func ZipCodeLTE

func ZipCodeLTE(v string) predicate.UserAddr

ZipCodeLTE applies the LTE predicate on the "zip_code" field.

func ZipCodeNEQ

func ZipCodeNEQ(v string) predicate.UserAddr

ZipCodeNEQ applies the NEQ predicate on the "zip_code" field.

func ZipCodeNotIn

func ZipCodeNotIn(vs ...string) predicate.UserAddr

ZipCodeNotIn applies the NotIn predicate on the "zip_code" field.

func ZipCodeNotNil

func ZipCodeNotNil() predicate.UserAddr

ZipCodeNotNil applies the NotNil predicate on the "zip_code" field.

Types

type AddrType

type AddrType string

AddrType defines the type for the "addr_type" enum field.

const (
	AddrTypeContact  AddrType = "contact"
	AddrTypeDelivery AddrType = "delivery"
)

AddrType values.

func (AddrType) MarshalGQL

func (e AddrType) MarshalGQL(w io.Writer)

MarshalGQL implements graphql.Marshaler interface.

func (AddrType) String

func (at AddrType) String() string

func (*AddrType) UnmarshalGQL

func (e *AddrType) UnmarshalGQL(val interface{}) error

UnmarshalGQL implements graphql.Unmarshaler interface.

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the UserAddr queries.

func ByAddr

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

ByAddr orders the results by the addr field.

func ByAddrType

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

ByAddrType orders the results by the addr_type field.

func ByEmail

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

ByEmail orders the results by the email field.

func ByFax

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

ByFax orders the results by the fax field.

func ByID

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

ByID orders the results by the id field.

func ByIsDefault

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

ByIsDefault orders the results by the is_default field.

func ByMobile

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

ByMobile orders the results by the mobile field.

func ByName

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

ByName orders the results by the name field.

func ByRegionID

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

ByRegionID orders the results by the region_id field.

func ByTel

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

ByTel orders the results by the tel field.

func ByUserField

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

ByUserField orders the results by user field.

func ByUserID

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

ByUserID orders the results by the user_id field.

func ByZipCode

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

ByZipCode orders the results by the zip_code field.

Jump to

Keyboard shortcuts

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