user

package
v0.0.0-...-7fa7ca5 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the user type in the database.
	Label = "user"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldPassword holds the string denoting the password field in the database.
	FieldPassword = "password"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldAvatar holds the string denoting the avatar field in the database.
	FieldAvatar = "avatar"
	// FieldPhone holds the string denoting the phone field in the database.
	FieldPhone = "phone"
	// FieldCity holds the string denoting the city field in the database.
	FieldCity = "city"
	// 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"
	// FieldAddress holds the string denoting the address field in the database.
	FieldAddress = "address"
	// FieldZipCode holds the string denoting the zip_code field in the database.
	FieldZipCode = "zip_code"
	// 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"
	// EdgeRoles holds the string denoting the roles edge name in mutations.
	EdgeRoles = "roles"
	// Table holds the table name of the user in the database.
	Table = "users"
	// RolesTable is the table that holds the roles relation/edge. The primary key declared below.
	RolesTable = "user_roles"
	// RolesInverseTable is the table name for the Role entity.
	// It exists in this package in order to avoid circular dependency with the "role" package.
	RolesInverseTable = "roles"
)

Variables

View Source
var (
	Hooks [2]ent.Hook
	// EmailValidator is a validator for the "email" field. It is called by the builders before save.
	EmailValidator func(string) error
	// PasswordValidator is a validator for the "password" field. It is called by the builders before save.
	PasswordValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
	// 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
)

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/efectn/library-management/pkg/database/ent/runtime"

Columns holds all SQL columns for user fields.

View Source
var (
	// RolesPrimaryKey and RolesColumn2 are the table columns denoting the
	// primary key for the roles relation (M2M).
	RolesPrimaryKey = []string{"user_id", "role_id"}
)

Functions

func Address

func Address(v string) predicate.User

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

func AddressContains

func AddressContains(v string) predicate.User

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

func AddressContainsFold

func AddressContainsFold(v string) predicate.User

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

func AddressEQ

func AddressEQ(v string) predicate.User

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

func AddressEqualFold

func AddressEqualFold(v string) predicate.User

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

func AddressGT

func AddressGT(v string) predicate.User

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

func AddressGTE

func AddressGTE(v string) predicate.User

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

func AddressHasPrefix

func AddressHasPrefix(v string) predicate.User

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

func AddressHasSuffix

func AddressHasSuffix(v string) predicate.User

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

func AddressIn

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

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

func AddressIsNil

func AddressIsNil() predicate.User

AddressIsNil applies the IsNil predicate on the "address" field.

func AddressLT

func AddressLT(v string) predicate.User

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

func AddressLTE

func AddressLTE(v string) predicate.User

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

func AddressNEQ

func AddressNEQ(v string) predicate.User

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

func AddressNotIn

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

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

func AddressNotNil

func AddressNotNil() predicate.User

AddressNotNil applies the NotNil predicate on the "address" field.

func And

func And(predicates ...predicate.User) predicate.User

And groups predicates with the AND operator between them.

func Avatar

func Avatar(v string) predicate.User

Avatar applies equality check predicate on the "avatar" field. It's identical to AvatarEQ.

func AvatarContains

func AvatarContains(v string) predicate.User

AvatarContains applies the Contains predicate on the "avatar" field.

func AvatarContainsFold

func AvatarContainsFold(v string) predicate.User

AvatarContainsFold applies the ContainsFold predicate on the "avatar" field.

func AvatarEQ

func AvatarEQ(v string) predicate.User

AvatarEQ applies the EQ predicate on the "avatar" field.

func AvatarEqualFold

func AvatarEqualFold(v string) predicate.User

AvatarEqualFold applies the EqualFold predicate on the "avatar" field.

func AvatarGT

func AvatarGT(v string) predicate.User

AvatarGT applies the GT predicate on the "avatar" field.

func AvatarGTE

func AvatarGTE(v string) predicate.User

AvatarGTE applies the GTE predicate on the "avatar" field.

func AvatarHasPrefix

func AvatarHasPrefix(v string) predicate.User

AvatarHasPrefix applies the HasPrefix predicate on the "avatar" field.

func AvatarHasSuffix

func AvatarHasSuffix(v string) predicate.User

AvatarHasSuffix applies the HasSuffix predicate on the "avatar" field.

func AvatarIn

func AvatarIn(vs ...string) predicate.User

AvatarIn applies the In predicate on the "avatar" field.

func AvatarIsNil

func AvatarIsNil() predicate.User

AvatarIsNil applies the IsNil predicate on the "avatar" field.

func AvatarLT

func AvatarLT(v string) predicate.User

AvatarLT applies the LT predicate on the "avatar" field.

func AvatarLTE

func AvatarLTE(v string) predicate.User

AvatarLTE applies the LTE predicate on the "avatar" field.

func AvatarNEQ

func AvatarNEQ(v string) predicate.User

AvatarNEQ applies the NEQ predicate on the "avatar" field.

func AvatarNotIn

func AvatarNotIn(vs ...string) predicate.User

AvatarNotIn applies the NotIn predicate on the "avatar" field.

func AvatarNotNil

func AvatarNotNil() predicate.User

AvatarNotNil applies the NotNil predicate on the "avatar" field.

func City

func City(v string) predicate.User

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

func CityContains

func CityContains(v string) predicate.User

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

func CityContainsFold

func CityContainsFold(v string) predicate.User

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

func CityEQ

func CityEQ(v string) predicate.User

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

func CityEqualFold

func CityEqualFold(v string) predicate.User

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

func CityGT

func CityGT(v string) predicate.User

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

func CityGTE

func CityGTE(v string) predicate.User

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

func CityHasPrefix

func CityHasPrefix(v string) predicate.User

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

func CityHasSuffix

func CityHasSuffix(v string) predicate.User

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

func CityIn

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

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

func CityIsNil

func CityIsNil() predicate.User

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

func CityLT

func CityLT(v string) predicate.User

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

func CityLTE

func CityLTE(v string) predicate.User

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

func CityNEQ

func CityNEQ(v string) predicate.User

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

func CityNotIn

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

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

func CityNotNil

func CityNotNil() predicate.User

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

func Country

func Country(v string) predicate.User

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

func CountryContains

func CountryContains(v string) predicate.User

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

func CountryContainsFold

func CountryContainsFold(v string) predicate.User

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

func CountryEQ

func CountryEQ(v string) predicate.User

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

func CountryEqualFold

func CountryEqualFold(v string) predicate.User

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

func CountryGT

func CountryGT(v string) predicate.User

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

func CountryGTE

func CountryGTE(v string) predicate.User

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

func CountryHasPrefix

func CountryHasPrefix(v string) predicate.User

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

func CountryHasSuffix

func CountryHasSuffix(v string) predicate.User

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

func CountryIn

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

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

func CountryIsNil

func CountryIsNil() predicate.User

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

func CountryLT

func CountryLT(v string) predicate.User

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

func CountryLTE

func CountryLTE(v string) predicate.User

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

func CountryNEQ

func CountryNEQ(v string) predicate.User

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

func CountryNotIn

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

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

func CountryNotNil

func CountryNotNil() predicate.User

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

func CreatedAt

func CreatedAt(v time.Time) predicate.User

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.User

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.User

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.User

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.User

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.User

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.User

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

func CreatedAtNotIn

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

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

func Email

func Email(v string) predicate.User

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

func EmailContains

func EmailContains(v string) predicate.User

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

func EmailContainsFold

func EmailContainsFold(v string) predicate.User

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

func EmailEQ

func EmailEQ(v string) predicate.User

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

func EmailEqualFold

func EmailEqualFold(v string) predicate.User

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

func EmailGT

func EmailGT(v string) predicate.User

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

func EmailGTE

func EmailGTE(v string) predicate.User

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

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.User

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

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.User

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

func EmailIn

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

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

func EmailLT

func EmailLT(v string) predicate.User

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

func EmailLTE

func EmailLTE(v string) predicate.User

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

func EmailNEQ

func EmailNEQ(v string) predicate.User

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

func EmailNotIn

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

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

func HasRoles

func HasRoles() predicate.User

HasRoles applies the HasEdge predicate on the "roles" edge.

func HasRolesWith

func HasRolesWith(preds ...predicate.Role) predicate.User

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

func ID

func ID(id int) predicate.User

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.User

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.User

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.User

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.User

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.User

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.User

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Name

func Name(v string) predicate.User

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

func NameContains

func NameContains(v string) predicate.User

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

func NameContainsFold

func NameContainsFold(v string) predicate.User

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

func NameEQ

func NameEQ(v string) predicate.User

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

func NameEqualFold

func NameEqualFold(v string) predicate.User

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

func NameGT

func NameGT(v string) predicate.User

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

func NameGTE

func NameGTE(v string) predicate.User

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.User

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.User

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.User

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

func NameLTE

func NameLTE(v string) predicate.User

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

func NameNEQ

func NameNEQ(v string) predicate.User

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

func NameNotIn

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

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

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.User) predicate.User

Or groups predicates with the OR operator between them.

func Password

func Password(v string) predicate.User

Password applies equality check predicate on the "password" field. It's identical to PasswordEQ.

func PasswordContains

func PasswordContains(v string) predicate.User

PasswordContains applies the Contains predicate on the "password" field.

func PasswordContainsFold

func PasswordContainsFold(v string) predicate.User

PasswordContainsFold applies the ContainsFold predicate on the "password" field.

func PasswordEQ

func PasswordEQ(v string) predicate.User

PasswordEQ applies the EQ predicate on the "password" field.

func PasswordEqualFold

func PasswordEqualFold(v string) predicate.User

PasswordEqualFold applies the EqualFold predicate on the "password" field.

func PasswordGT

func PasswordGT(v string) predicate.User

PasswordGT applies the GT predicate on the "password" field.

func PasswordGTE

func PasswordGTE(v string) predicate.User

PasswordGTE applies the GTE predicate on the "password" field.

func PasswordHasPrefix

func PasswordHasPrefix(v string) predicate.User

PasswordHasPrefix applies the HasPrefix predicate on the "password" field.

func PasswordHasSuffix

func PasswordHasSuffix(v string) predicate.User

PasswordHasSuffix applies the HasSuffix predicate on the "password" field.

func PasswordIn

func PasswordIn(vs ...string) predicate.User

PasswordIn applies the In predicate on the "password" field.

func PasswordLT

func PasswordLT(v string) predicate.User

PasswordLT applies the LT predicate on the "password" field.

func PasswordLTE

func PasswordLTE(v string) predicate.User

PasswordLTE applies the LTE predicate on the "password" field.

func PasswordNEQ

func PasswordNEQ(v string) predicate.User

PasswordNEQ applies the NEQ predicate on the "password" field.

func PasswordNotIn

func PasswordNotIn(vs ...string) predicate.User

PasswordNotIn applies the NotIn predicate on the "password" field.

func Phone

func Phone(v string) predicate.User

Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.

func PhoneContains

func PhoneContains(v string) predicate.User

PhoneContains applies the Contains predicate on the "phone" field.

func PhoneContainsFold

func PhoneContainsFold(v string) predicate.User

PhoneContainsFold applies the ContainsFold predicate on the "phone" field.

func PhoneEQ

func PhoneEQ(v string) predicate.User

PhoneEQ applies the EQ predicate on the "phone" field.

func PhoneEqualFold

func PhoneEqualFold(v string) predicate.User

PhoneEqualFold applies the EqualFold predicate on the "phone" field.

func PhoneGT

func PhoneGT(v string) predicate.User

PhoneGT applies the GT predicate on the "phone" field.

func PhoneGTE

func PhoneGTE(v string) predicate.User

PhoneGTE applies the GTE predicate on the "phone" field.

func PhoneHasPrefix

func PhoneHasPrefix(v string) predicate.User

PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.

func PhoneHasSuffix

func PhoneHasSuffix(v string) predicate.User

PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.

func PhoneIn

func PhoneIn(vs ...string) predicate.User

PhoneIn applies the In predicate on the "phone" field.

func PhoneIsNil

func PhoneIsNil() predicate.User

PhoneIsNil applies the IsNil predicate on the "phone" field.

func PhoneLT

func PhoneLT(v string) predicate.User

PhoneLT applies the LT predicate on the "phone" field.

func PhoneLTE

func PhoneLTE(v string) predicate.User

PhoneLTE applies the LTE predicate on the "phone" field.

func PhoneNEQ

func PhoneNEQ(v string) predicate.User

PhoneNEQ applies the NEQ predicate on the "phone" field.

func PhoneNotIn

func PhoneNotIn(vs ...string) predicate.User

PhoneNotIn applies the NotIn predicate on the "phone" field.

func PhoneNotNil

func PhoneNotNil() predicate.User

PhoneNotNil applies the NotNil predicate on the "phone" field.

func State

func State(v string) predicate.User

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

func StateContains

func StateContains(v string) predicate.User

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

func StateContainsFold

func StateContainsFold(v string) predicate.User

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

func StateEQ

func StateEQ(v string) predicate.User

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

func StateEqualFold

func StateEqualFold(v string) predicate.User

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

func StateGT

func StateGT(v string) predicate.User

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

func StateGTE

func StateGTE(v string) predicate.User

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

func StateHasPrefix

func StateHasPrefix(v string) predicate.User

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

func StateHasSuffix

func StateHasSuffix(v string) predicate.User

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

func StateIn

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

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

func StateIsNil

func StateIsNil() predicate.User

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

func StateLT

func StateLT(v string) predicate.User

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

func StateLTE

func StateLTE(v string) predicate.User

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

func StateNEQ

func StateNEQ(v string) predicate.User

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

func StateNotIn

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

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

func StateNotNil

func StateNotNil() predicate.User

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

func UpdatedAt

func UpdatedAt(v time.Time) predicate.User

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.User

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.User

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.User

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.User

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.User

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.User

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

func UpdatedAtNotIn

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

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 ZipCode

func ZipCode(v int) predicate.User

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

func ZipCodeEQ

func ZipCodeEQ(v int) predicate.User

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

func ZipCodeGT

func ZipCodeGT(v int) predicate.User

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

func ZipCodeGTE

func ZipCodeGTE(v int) predicate.User

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

func ZipCodeIn

func ZipCodeIn(vs ...int) predicate.User

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

func ZipCodeIsNil

func ZipCodeIsNil() predicate.User

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

func ZipCodeLT

func ZipCodeLT(v int) predicate.User

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

func ZipCodeLTE

func ZipCodeLTE(v int) predicate.User

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

func ZipCodeNEQ

func ZipCodeNEQ(v int) predicate.User

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

func ZipCodeNotIn

func ZipCodeNotIn(vs ...int) predicate.User

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

func ZipCodeNotNil

func ZipCodeNotNil() predicate.User

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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