Documentation
¶
Index ¶
- Constants
- Variables
- func Addr(v string) predicate.UserAddr
- func AddrContains(v string) predicate.UserAddr
- func AddrContainsFold(v string) predicate.UserAddr
- func AddrEQ(v string) predicate.UserAddr
- func AddrEqualFold(v string) predicate.UserAddr
- func AddrGT(v string) predicate.UserAddr
- func AddrGTE(v string) predicate.UserAddr
- func AddrHasPrefix(v string) predicate.UserAddr
- func AddrHasSuffix(v string) predicate.UserAddr
- func AddrIn(vs ...string) predicate.UserAddr
- func AddrIsNil() predicate.UserAddr
- func AddrLT(v string) predicate.UserAddr
- func AddrLTE(v string) predicate.UserAddr
- func AddrNEQ(v string) predicate.UserAddr
- func AddrNotIn(vs ...string) predicate.UserAddr
- func AddrNotNil() predicate.UserAddr
- func AddrTypeEQ(v AddrType) predicate.UserAddr
- func AddrTypeIn(vs ...AddrType) predicate.UserAddr
- func AddrTypeNEQ(v AddrType) predicate.UserAddr
- func AddrTypeNotIn(vs ...AddrType) predicate.UserAddr
- func AddrTypeValidator(at AddrType) error
- func And(predicates ...predicate.UserAddr) predicate.UserAddr
- func CreatedAt(v time.Time) predicate.UserAddr
- func CreatedAtEQ(v time.Time) predicate.UserAddr
- func CreatedAtGT(v time.Time) predicate.UserAddr
- func CreatedAtGTE(v time.Time) predicate.UserAddr
- func CreatedAtIn(vs ...time.Time) predicate.UserAddr
- func CreatedAtLT(v time.Time) predicate.UserAddr
- func CreatedAtLTE(v time.Time) predicate.UserAddr
- func CreatedAtNEQ(v time.Time) predicate.UserAddr
- func CreatedAtNotIn(vs ...time.Time) predicate.UserAddr
- func CreatedBy(v int) predicate.UserAddr
- func CreatedByEQ(v int) predicate.UserAddr
- func CreatedByGT(v int) predicate.UserAddr
- func CreatedByGTE(v int) predicate.UserAddr
- func CreatedByIn(vs ...int) predicate.UserAddr
- func CreatedByLT(v int) predicate.UserAddr
- func CreatedByLTE(v int) predicate.UserAddr
- func CreatedByNEQ(v int) predicate.UserAddr
- func CreatedByNotIn(vs ...int) predicate.UserAddr
- func Email(v string) predicate.UserAddr
- func EmailContains(v string) predicate.UserAddr
- func EmailContainsFold(v string) predicate.UserAddr
- func EmailEQ(v string) predicate.UserAddr
- func EmailEqualFold(v string) predicate.UserAddr
- func EmailGT(v string) predicate.UserAddr
- func EmailGTE(v string) predicate.UserAddr
- func EmailHasPrefix(v string) predicate.UserAddr
- func EmailHasSuffix(v string) predicate.UserAddr
- func EmailIn(vs ...string) predicate.UserAddr
- func EmailIsNil() predicate.UserAddr
- func EmailLT(v string) predicate.UserAddr
- func EmailLTE(v string) predicate.UserAddr
- func EmailNEQ(v string) predicate.UserAddr
- func EmailNotIn(vs ...string) predicate.UserAddr
- func EmailNotNil() predicate.UserAddr
- func Fax(v string) predicate.UserAddr
- func FaxContains(v string) predicate.UserAddr
- func FaxContainsFold(v string) predicate.UserAddr
- func FaxEQ(v string) predicate.UserAddr
- func FaxEqualFold(v string) predicate.UserAddr
- func FaxGT(v string) predicate.UserAddr
- func FaxGTE(v string) predicate.UserAddr
- func FaxHasPrefix(v string) predicate.UserAddr
- func FaxHasSuffix(v string) predicate.UserAddr
- func FaxIn(vs ...string) predicate.UserAddr
- func FaxIsNil() predicate.UserAddr
- func FaxLT(v string) predicate.UserAddr
- func FaxLTE(v string) predicate.UserAddr
- func FaxNEQ(v string) predicate.UserAddr
- func FaxNotIn(vs ...string) predicate.UserAddr
- func FaxNotNil() predicate.UserAddr
- func HasRegion() predicate.UserAddr
- func HasRegionWith(preds ...predicate.Region) predicate.UserAddr
- func HasUser() predicate.UserAddr
- func HasUserWith(preds ...predicate.User) predicate.UserAddr
- func ID(id int) predicate.UserAddr
- func IDEQ(id int) predicate.UserAddr
- func IDGT(id int) predicate.UserAddr
- func IDGTE(id int) predicate.UserAddr
- func IDIn(ids ...int) predicate.UserAddr
- func IDLT(id int) predicate.UserAddr
- func IDLTE(id int) predicate.UserAddr
- func IDNEQ(id int) predicate.UserAddr
- func IDNotIn(ids ...int) predicate.UserAddr
- func IsDefault(v bool) predicate.UserAddr
- func IsDefaultEQ(v bool) predicate.UserAddr
- func IsDefaultNEQ(v bool) predicate.UserAddr
- func Mobile(v string) predicate.UserAddr
- func MobileContains(v string) predicate.UserAddr
- func MobileContainsFold(v string) predicate.UserAddr
- func MobileEQ(v string) predicate.UserAddr
- func MobileEqualFold(v string) predicate.UserAddr
- func MobileGT(v string) predicate.UserAddr
- func MobileGTE(v string) predicate.UserAddr
- func MobileHasPrefix(v string) predicate.UserAddr
- func MobileHasSuffix(v string) predicate.UserAddr
- func MobileIn(vs ...string) predicate.UserAddr
- func MobileIsNil() predicate.UserAddr
- func MobileLT(v string) predicate.UserAddr
- func MobileLTE(v string) predicate.UserAddr
- func MobileNEQ(v string) predicate.UserAddr
- func MobileNotIn(vs ...string) predicate.UserAddr
- func MobileNotNil() predicate.UserAddr
- func Name(v string) predicate.UserAddr
- func NameContains(v string) predicate.UserAddr
- func NameContainsFold(v string) predicate.UserAddr
- func NameEQ(v string) predicate.UserAddr
- func NameEqualFold(v string) predicate.UserAddr
- func NameGT(v string) predicate.UserAddr
- func NameGTE(v string) predicate.UserAddr
- func NameHasPrefix(v string) predicate.UserAddr
- func NameHasSuffix(v string) predicate.UserAddr
- func NameIn(vs ...string) predicate.UserAddr
- func NameIsNil() predicate.UserAddr
- func NameLT(v string) predicate.UserAddr
- func NameLTE(v string) predicate.UserAddr
- func NameNEQ(v string) predicate.UserAddr
- func NameNotIn(vs ...string) predicate.UserAddr
- func NameNotNil() predicate.UserAddr
- func Not(p predicate.UserAddr) predicate.UserAddr
- func Or(predicates ...predicate.UserAddr) predicate.UserAddr
- func RegionID(v int) predicate.UserAddr
- func RegionIDEQ(v int) predicate.UserAddr
- func RegionIDIn(vs ...int) predicate.UserAddr
- func RegionIDIsNil() predicate.UserAddr
- func RegionIDNEQ(v int) predicate.UserAddr
- func RegionIDNotIn(vs ...int) predicate.UserAddr
- func RegionIDNotNil() predicate.UserAddr
- func Tel(v string) predicate.UserAddr
- func TelContains(v string) predicate.UserAddr
- func TelContainsFold(v string) predicate.UserAddr
- func TelEQ(v string) predicate.UserAddr
- func TelEqualFold(v string) predicate.UserAddr
- func TelGT(v string) predicate.UserAddr
- func TelGTE(v string) predicate.UserAddr
- func TelHasPrefix(v string) predicate.UserAddr
- func TelHasSuffix(v string) predicate.UserAddr
- func TelIn(vs ...string) predicate.UserAddr
- func TelIsNil() predicate.UserAddr
- func TelLT(v string) predicate.UserAddr
- func TelLTE(v string) predicate.UserAddr
- func TelNEQ(v string) predicate.UserAddr
- func TelNotIn(vs ...string) predicate.UserAddr
- func TelNotNil() predicate.UserAddr
- func UpdatedAt(v time.Time) predicate.UserAddr
- func UpdatedAtEQ(v time.Time) predicate.UserAddr
- func UpdatedAtGT(v time.Time) predicate.UserAddr
- func UpdatedAtGTE(v time.Time) predicate.UserAddr
- func UpdatedAtIn(vs ...time.Time) predicate.UserAddr
- func UpdatedAtIsNil() predicate.UserAddr
- func UpdatedAtLT(v time.Time) predicate.UserAddr
- func UpdatedAtLTE(v time.Time) predicate.UserAddr
- func UpdatedAtNEQ(v time.Time) predicate.UserAddr
- func UpdatedAtNotIn(vs ...time.Time) predicate.UserAddr
- func UpdatedAtNotNil() predicate.UserAddr
- func UpdatedBy(v int) predicate.UserAddr
- func UpdatedByEQ(v int) predicate.UserAddr
- func UpdatedByGT(v int) predicate.UserAddr
- func UpdatedByGTE(v int) predicate.UserAddr
- func UpdatedByIn(vs ...int) predicate.UserAddr
- func UpdatedByIsNil() predicate.UserAddr
- func UpdatedByLT(v int) predicate.UserAddr
- func UpdatedByLTE(v int) predicate.UserAddr
- func UpdatedByNEQ(v int) predicate.UserAddr
- func UpdatedByNotIn(vs ...int) predicate.UserAddr
- func UpdatedByNotNil() predicate.UserAddr
- func UserID(v int) predicate.UserAddr
- func UserIDEQ(v int) predicate.UserAddr
- func UserIDIn(vs ...int) predicate.UserAddr
- func UserIDIsNil() predicate.UserAddr
- func UserIDNEQ(v int) predicate.UserAddr
- func UserIDNotIn(vs ...int) predicate.UserAddr
- func UserIDNotNil() predicate.UserAddr
- func ValidColumn(column string) bool
- func ZipCode(v string) predicate.UserAddr
- func ZipCodeContains(v string) predicate.UserAddr
- func ZipCodeContainsFold(v string) predicate.UserAddr
- func ZipCodeEQ(v string) predicate.UserAddr
- func ZipCodeEqualFold(v string) predicate.UserAddr
- func ZipCodeGT(v string) predicate.UserAddr
- func ZipCodeGTE(v string) predicate.UserAddr
- func ZipCodeHasPrefix(v string) predicate.UserAddr
- func ZipCodeHasSuffix(v string) predicate.UserAddr
- func ZipCodeIn(vs ...string) predicate.UserAddr
- func ZipCodeIsNil() predicate.UserAddr
- func ZipCodeLT(v string) predicate.UserAddr
- func ZipCodeLTE(v string) predicate.UserAddr
- func ZipCodeNEQ(v string) predicate.UserAddr
- func ZipCodeNotIn(vs ...string) predicate.UserAddr
- func ZipCodeNotNil() predicate.UserAddr
- type AddrType
- type OrderOption
- func ByAddr(opts ...sql.OrderTermOption) OrderOption
- func ByAddrType(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByFax(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsDefault(opts ...sql.OrderTermOption) OrderOption
- func ByMobile(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRegionField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByRegionID(opts ...sql.OrderTermOption) OrderOption
- func ByTel(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByZipCode(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // 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" // EdgeRegion holds the string denoting the region edge name in mutations. EdgeRegion = "region" // 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" // RegionTable is the table that holds the region relation/edge. RegionTable = "user_addr" // RegionInverseTable is the table name for the Region entity. // It exists in this package in order to avoid circular dependency with the "region" package. RegionInverseTable = "region" // RegionColumn is the table column denoting the region relation/edge. RegionColumn = "region_id" )
Variables ¶
var ( Hooks [3]ent.Hook // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // 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/knockout/ent/runtime"
var Columns = []string{ FieldID, FieldCreatedBy, FieldCreatedAt, FieldUpdatedBy, FieldUpdatedAt, FieldUserID, FieldAddrType, FieldRegionID, FieldAddr, FieldEmail, FieldFax, FieldZipCode, FieldTel, FieldMobile, FieldName, FieldIsDefault, }
Columns holds all SQL columns for useraddr fields.
Functions ¶
func AddrContains ¶
AddrContains applies the Contains predicate on the "addr" field.
func AddrContainsFold ¶
AddrContainsFold applies the ContainsFold predicate on the "addr" field.
func AddrEqualFold ¶
AddrEqualFold applies the EqualFold predicate on the "addr" field.
func AddrHasPrefix ¶
AddrHasPrefix applies the HasPrefix predicate on the "addr" field.
func AddrHasSuffix ¶
AddrHasSuffix applies the HasSuffix predicate on the "addr" field.
func AddrNotNil ¶
AddrNotNil applies the NotNil predicate on the "addr" field.
func AddrTypeEQ ¶
AddrTypeEQ applies the EQ predicate on the "addr_type" field.
func AddrTypeIn ¶
AddrTypeIn applies the In predicate on the "addr_type" field.
func AddrTypeNEQ ¶
AddrTypeNEQ applies the NEQ predicate on the "addr_type" field.
func AddrTypeNotIn ¶
AddrTypeNotIn applies the NotIn predicate on the "addr_type" field.
func AddrTypeValidator ¶
AddrTypeValidator is a validator for the "addr_type" field enum values. It is called by the builders before save.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func FaxContains ¶
FaxContains applies the Contains predicate on the "fax" field.
func FaxContainsFold ¶
FaxContainsFold applies the ContainsFold predicate on the "fax" field.
func FaxEqualFold ¶
FaxEqualFold applies the EqualFold predicate on the "fax" field.
func FaxHasPrefix ¶
FaxHasPrefix applies the HasPrefix predicate on the "fax" field.
func FaxHasSuffix ¶
FaxHasSuffix applies the HasSuffix predicate on the "fax" field.
func HasRegionWith ¶
HasRegionWith applies the HasEdge predicate on the "region" edge with a given conditions (other predicates).
func HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IsDefault ¶
IsDefault applies equality check predicate on the "is_default" field. It's identical to IsDefaultEQ.
func IsDefaultEQ ¶
IsDefaultEQ applies the EQ predicate on the "is_default" field.
func IsDefaultNEQ ¶
IsDefaultNEQ applies the NEQ predicate on the "is_default" field.
func Mobile ¶
Mobile applies equality check predicate on the "mobile" field. It's identical to MobileEQ.
func MobileContains ¶
MobileContains applies the Contains predicate on the "mobile" field.
func MobileContainsFold ¶
MobileContainsFold applies the ContainsFold predicate on the "mobile" field.
func MobileEqualFold ¶
MobileEqualFold applies the EqualFold predicate on the "mobile" field.
func MobileHasPrefix ¶
MobileHasPrefix applies the HasPrefix predicate on the "mobile" field.
func MobileHasSuffix ¶
MobileHasSuffix applies the HasSuffix predicate on the "mobile" field.
func MobileIsNil ¶
MobileIsNil applies the IsNil predicate on the "mobile" field.
func MobileNotIn ¶
MobileNotIn applies the NotIn predicate on the "mobile" field.
func MobileNotNil ¶
MobileNotNil applies the NotNil predicate on the "mobile" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func RegionID ¶
RegionID applies equality check predicate on the "region_id" field. It's identical to RegionIDEQ.
func RegionIDEQ ¶
RegionIDEQ applies the EQ predicate on the "region_id" field.
func RegionIDIn ¶
RegionIDIn applies the In predicate on the "region_id" field.
func RegionIDIsNil ¶
RegionIDIsNil applies the IsNil predicate on the "region_id" field.
func RegionIDNEQ ¶
RegionIDNEQ applies the NEQ predicate on the "region_id" field.
func RegionIDNotIn ¶
RegionIDNotIn applies the NotIn predicate on the "region_id" field.
func RegionIDNotNil ¶
RegionIDNotNil applies the NotNil predicate on the "region_id" field.
func TelContains ¶
TelContains applies the Contains predicate on the "tel" field.
func TelContainsFold ¶
TelContainsFold applies the ContainsFold predicate on the "tel" field.
func TelEqualFold ¶
TelEqualFold applies the EqualFold predicate on the "tel" field.
func TelHasPrefix ¶
TelHasPrefix applies the HasPrefix predicate on the "tel" field.
func TelHasSuffix ¶
TelHasSuffix applies the HasSuffix predicate on the "tel" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDIsNil ¶
UserIDIsNil applies the IsNil predicate on the "user_id" field.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func UserIDNotNil ¶
UserIDNotNil applies the NotNil predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func ZipCode ¶
ZipCode applies equality check predicate on the "zip_code" field. It's identical to ZipCodeEQ.
func ZipCodeContains ¶
ZipCodeContains applies the Contains predicate on the "zip_code" field.
func ZipCodeContainsFold ¶
ZipCodeContainsFold applies the ContainsFold predicate on the "zip_code" field.
func ZipCodeEqualFold ¶
ZipCodeEqualFold applies the EqualFold predicate on the "zip_code" field.
func ZipCodeGTE ¶
ZipCodeGTE applies the GTE predicate on the "zip_code" field.
func ZipCodeHasPrefix ¶
ZipCodeHasPrefix applies the HasPrefix predicate on the "zip_code" field.
func ZipCodeHasSuffix ¶
ZipCodeHasSuffix applies the HasSuffix predicate on the "zip_code" field.
func ZipCodeIsNil ¶
ZipCodeIsNil applies the IsNil predicate on the "zip_code" field.
func ZipCodeLTE ¶
ZipCodeLTE applies the LTE predicate on the "zip_code" field.
func ZipCodeNEQ ¶
ZipCodeNEQ applies the NEQ predicate on the "zip_code" field.
func ZipCodeNotIn ¶
ZipCodeNotIn applies the NotIn predicate on the "zip_code" field.
func ZipCodeNotNil ¶
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.
AddrType values.
func (AddrType) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*AddrType) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.
type OrderOption ¶
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 ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by 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 ByRegionField ¶
func ByRegionField(field string, opts ...sql.OrderTermOption) OrderOption
ByRegionField orders the results by region 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 ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by 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.