user

package
v0.0.0-...-6edac6f Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2020 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"
	// FieldIsAnonymous holds the string denoting the is_anonymous field in the database.
	FieldIsAnonymous = "is_anonymous"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldFirstName holds the string denoting the first_name field in the database.
	FieldFirstName = "first_name"
	// FieldLastName holds the string denoting the last_name field in the database.
	FieldLastName = "last_name"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldUsername holds the string denoting the username field in the database.
	FieldUsername = "username"
	// FieldAge holds the string denoting the age field in the database.
	FieldAge = "age"
	// FieldBirthday holds the string denoting the birthday field in the database.
	FieldBirthday = "birthday"
	// FieldGender holds the string denoting the gender field in the database.
	FieldGender = "gender"
	// FieldPhone holds the string denoting the phone field in the database.
	FieldPhone = "phone"
	// FieldWebsite holds the string denoting the website field in the database.
	FieldWebsite = "website"
	// FieldExtra holds the string denoting the extra field in the database.
	FieldExtra = "extra"

	// EdgeAliases holds the string denoting the aliases edge name in mutations.
	EdgeAliases = "aliases"
	// EdgeEvents holds the string denoting the events edge name in mutations.
	EdgeEvents = "events"
	// EdgeGroups holds the string denoting the groups edge name in mutations.
	EdgeGroups = "groups"

	// Table holds the table name of the user in the database.
	Table = "users"
	// AliasesTable is the table the holds the aliases relation/edge.
	AliasesTable = "alias"
	// AliasesInverseTable is the table name for the Alias entity.
	// It exists in this package in order to avoid circular dependency with the "alias" package.
	AliasesInverseTable = "alias"
	// AliasesColumn is the table column denoting the aliases relation/edge.
	AliasesColumn = "user_aliases"
	// EventsTable is the table the holds the events relation/edge.
	EventsTable = "events"
	// EventsInverseTable is the table name for the Event entity.
	// It exists in this package in order to avoid circular dependency with the "event" package.
	EventsInverseTable = "events"
	// EventsColumn is the table column denoting the events relation/edge.
	EventsColumn = "event_user"
	// GroupsTable is the table the holds the groups relation/edge. The primary key declared below.
	GroupsTable = "group_users"
	// GroupsInverseTable is the table name for the Group entity.
	// It exists in this package in order to avoid circular dependency with the "group" package.
	GroupsInverseTable = "groups"
)

Variables

Columns holds all SQL columns for user fields.

View Source
var (
	// GroupsPrimaryKey and GroupsColumn2 are the table columns denoting the
	// primary key for the groups relation (M2M).
	GroupsPrimaryKey = []string{"group_id", "user_id"}
)

Functions

func Age

func Age(v int) predicate.User

Age applies equality check predicate on the "age" field. It's identical to AgeEQ.

func AgeEQ

func AgeEQ(v int) predicate.User

AgeEQ applies the EQ predicate on the "age" field.

func AgeGT

func AgeGT(v int) predicate.User

AgeGT applies the GT predicate on the "age" field.

func AgeGTE

func AgeGTE(v int) predicate.User

AgeGTE applies the GTE predicate on the "age" field.

func AgeIn

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

AgeIn applies the In predicate on the "age" field.

func AgeIsNil

func AgeIsNil() predicate.User

AgeIsNil applies the IsNil predicate on the "age" field.

func AgeLT

func AgeLT(v int) predicate.User

AgeLT applies the LT predicate on the "age" field.

func AgeLTE

func AgeLTE(v int) predicate.User

AgeLTE applies the LTE predicate on the "age" field.

func AgeNEQ

func AgeNEQ(v int) predicate.User

AgeNEQ applies the NEQ predicate on the "age" field.

func AgeNotIn

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

AgeNotIn applies the NotIn predicate on the "age" field.

func AgeNotNil

func AgeNotNil() predicate.User

AgeNotNil applies the NotNil predicate on the "age" field.

func And

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

And groups list of predicates with the AND operator between them.

func Birthday

func Birthday(v time.Time) predicate.User

Birthday applies equality check predicate on the "birthday" field. It's identical to BirthdayEQ.

func BirthdayEQ

func BirthdayEQ(v time.Time) predicate.User

BirthdayEQ applies the EQ predicate on the "birthday" field.

func BirthdayGT

func BirthdayGT(v time.Time) predicate.User

BirthdayGT applies the GT predicate on the "birthday" field.

func BirthdayGTE

func BirthdayGTE(v time.Time) predicate.User

BirthdayGTE applies the GTE predicate on the "birthday" field.

func BirthdayIn

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

BirthdayIn applies the In predicate on the "birthday" field.

func BirthdayIsNil

func BirthdayIsNil() predicate.User

BirthdayIsNil applies the IsNil predicate on the "birthday" field.

func BirthdayLT

func BirthdayLT(v time.Time) predicate.User

BirthdayLT applies the LT predicate on the "birthday" field.

func BirthdayLTE

func BirthdayLTE(v time.Time) predicate.User

BirthdayLTE applies the LTE predicate on the "birthday" field.

func BirthdayNEQ

func BirthdayNEQ(v time.Time) predicate.User

BirthdayNEQ applies the NEQ predicate on the "birthday" field.

func BirthdayNotIn

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

BirthdayNotIn applies the NotIn predicate on the "birthday" field.

func BirthdayNotNil

func BirthdayNotNil() predicate.User

BirthdayNotNil applies the NotNil predicate on the "birthday" 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 EmailIsNil

func EmailIsNil() predicate.User

EmailIsNil applies the IsNil 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 EmailNotNil

func EmailNotNil() predicate.User

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

func ExtraIsNil

func ExtraIsNil() predicate.User

ExtraIsNil applies the IsNil predicate on the "extra" field.

func ExtraNotNil

func ExtraNotNil() predicate.User

ExtraNotNil applies the NotNil predicate on the "extra" field.

func FirstName

func FirstName(v string) predicate.User

FirstName applies equality check predicate on the "first_name" field. It's identical to FirstNameEQ.

func FirstNameContains

func FirstNameContains(v string) predicate.User

FirstNameContains applies the Contains predicate on the "first_name" field.

func FirstNameContainsFold

func FirstNameContainsFold(v string) predicate.User

FirstNameContainsFold applies the ContainsFold predicate on the "first_name" field.

func FirstNameEQ

func FirstNameEQ(v string) predicate.User

FirstNameEQ applies the EQ predicate on the "first_name" field.

func FirstNameEqualFold

func FirstNameEqualFold(v string) predicate.User

FirstNameEqualFold applies the EqualFold predicate on the "first_name" field.

func FirstNameGT

func FirstNameGT(v string) predicate.User

FirstNameGT applies the GT predicate on the "first_name" field.

func FirstNameGTE

func FirstNameGTE(v string) predicate.User

FirstNameGTE applies the GTE predicate on the "first_name" field.

func FirstNameHasPrefix

func FirstNameHasPrefix(v string) predicate.User

FirstNameHasPrefix applies the HasPrefix predicate on the "first_name" field.

func FirstNameHasSuffix

func FirstNameHasSuffix(v string) predicate.User

FirstNameHasSuffix applies the HasSuffix predicate on the "first_name" field.

func FirstNameIn

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

FirstNameIn applies the In predicate on the "first_name" field.

func FirstNameIsNil

func FirstNameIsNil() predicate.User

FirstNameIsNil applies the IsNil predicate on the "first_name" field.

func FirstNameLT

func FirstNameLT(v string) predicate.User

FirstNameLT applies the LT predicate on the "first_name" field.

func FirstNameLTE

func FirstNameLTE(v string) predicate.User

FirstNameLTE applies the LTE predicate on the "first_name" field.

func FirstNameNEQ

func FirstNameNEQ(v string) predicate.User

FirstNameNEQ applies the NEQ predicate on the "first_name" field.

func FirstNameNotIn

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

FirstNameNotIn applies the NotIn predicate on the "first_name" field.

func FirstNameNotNil

func FirstNameNotNil() predicate.User

FirstNameNotNil applies the NotNil predicate on the "first_name" field.

func GenderEQ

func GenderEQ(v Gender) predicate.User

GenderEQ applies the EQ predicate on the "gender" field.

func GenderIn

func GenderIn(vs ...Gender) predicate.User

GenderIn applies the In predicate on the "gender" field.

func GenderIsNil

func GenderIsNil() predicate.User

GenderIsNil applies the IsNil predicate on the "gender" field.

func GenderNEQ

func GenderNEQ(v Gender) predicate.User

GenderNEQ applies the NEQ predicate on the "gender" field.

func GenderNotIn

func GenderNotIn(vs ...Gender) predicate.User

GenderNotIn applies the NotIn predicate on the "gender" field.

func GenderNotNil

func GenderNotNil() predicate.User

GenderNotNil applies the NotNil predicate on the "gender" field.

func GenderValidator

func GenderValidator(ge Gender) error

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

func HasAliases

func HasAliases() predicate.User

HasAliases applies the HasEdge predicate on the "aliases" edge.

func HasAliasesWith

func HasAliasesWith(preds ...predicate.Alias) predicate.User

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

func HasEvents

func HasEvents() predicate.User

HasEvents applies the HasEdge predicate on the "events" edge.

func HasEventsWith

func HasEventsWith(preds ...predicate.Event) predicate.User

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

func HasGroups

func HasGroups() predicate.User

HasGroups applies the HasEdge predicate on the "groups" edge.

func HasGroupsWith

func HasGroupsWith(preds ...predicate.Group) predicate.User

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

func ID

func ID(id string) predicate.User

ID filters vertices based on their identifier.

func IDEQ

func IDEQ(id string) predicate.User

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id string) predicate.User

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id string) predicate.User

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id string) predicate.User

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id string) predicate.User

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id string) predicate.User

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsAnonymous

func IsAnonymous(v bool) predicate.User

IsAnonymous applies equality check predicate on the "is_anonymous" field. It's identical to IsAnonymousEQ.

func IsAnonymousEQ

func IsAnonymousEQ(v bool) predicate.User

IsAnonymousEQ applies the EQ predicate on the "is_anonymous" field.

func IsAnonymousNEQ

func IsAnonymousNEQ(v bool) predicate.User

IsAnonymousNEQ applies the NEQ predicate on the "is_anonymous" field.

func LastName

func LastName(v string) predicate.User

LastName applies equality check predicate on the "last_name" field. It's identical to LastNameEQ.

func LastNameContains

func LastNameContains(v string) predicate.User

LastNameContains applies the Contains predicate on the "last_name" field.

func LastNameContainsFold

func LastNameContainsFold(v string) predicate.User

LastNameContainsFold applies the ContainsFold predicate on the "last_name" field.

func LastNameEQ

func LastNameEQ(v string) predicate.User

LastNameEQ applies the EQ predicate on the "last_name" field.

func LastNameEqualFold

func LastNameEqualFold(v string) predicate.User

LastNameEqualFold applies the EqualFold predicate on the "last_name" field.

func LastNameGT

func LastNameGT(v string) predicate.User

LastNameGT applies the GT predicate on the "last_name" field.

func LastNameGTE

func LastNameGTE(v string) predicate.User

LastNameGTE applies the GTE predicate on the "last_name" field.

func LastNameHasPrefix

func LastNameHasPrefix(v string) predicate.User

LastNameHasPrefix applies the HasPrefix predicate on the "last_name" field.

func LastNameHasSuffix

func LastNameHasSuffix(v string) predicate.User

LastNameHasSuffix applies the HasSuffix predicate on the "last_name" field.

func LastNameIn

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

LastNameIn applies the In predicate on the "last_name" field.

func LastNameIsNil

func LastNameIsNil() predicate.User

LastNameIsNil applies the IsNil predicate on the "last_name" field.

func LastNameLT

func LastNameLT(v string) predicate.User

LastNameLT applies the LT predicate on the "last_name" field.

func LastNameLTE

func LastNameLTE(v string) predicate.User

LastNameLTE applies the LTE predicate on the "last_name" field.

func LastNameNEQ

func LastNameNEQ(v string) predicate.User

LastNameNEQ applies the NEQ predicate on the "last_name" field.

func LastNameNotIn

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

LastNameNotIn applies the NotIn predicate on the "last_name" field.

func LastNameNotNil

func LastNameNotNil() predicate.User

LastNameNotNil applies the NotNil predicate on the "last_name" 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 NameIsNil

func NameIsNil() predicate.User

NameIsNil applies the IsNil 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 NameNotNil

func NameNotNil() predicate.User

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.User) predicate.User

Or groups list of predicates with the OR operator between them.

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 Title

func Title(v string) predicate.User

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

func TitleContains

func TitleContains(v string) predicate.User

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

func TitleContainsFold

func TitleContainsFold(v string) predicate.User

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

func TitleEQ

func TitleEQ(v string) predicate.User

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

func TitleEqualFold

func TitleEqualFold(v string) predicate.User

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

func TitleGT

func TitleGT(v string) predicate.User

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

func TitleGTE

func TitleGTE(v string) predicate.User

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

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.User

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

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.User

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

func TitleIn

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

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

func TitleIsNil

func TitleIsNil() predicate.User

TitleIsNil applies the IsNil predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.User

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

func TitleLTE

func TitleLTE(v string) predicate.User

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

func TitleNEQ

func TitleNEQ(v string) predicate.User

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

func TitleNotIn

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

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

func TitleNotNil

func TitleNotNil() predicate.User

TitleNotNil applies the NotNil predicate on the "title" field.

func Username

func Username(v string) predicate.User

Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.

func UsernameContains

func UsernameContains(v string) predicate.User

UsernameContains applies the Contains predicate on the "username" field.

func UsernameContainsFold

func UsernameContainsFold(v string) predicate.User

UsernameContainsFold applies the ContainsFold predicate on the "username" field.

func UsernameEQ

func UsernameEQ(v string) predicate.User

UsernameEQ applies the EQ predicate on the "username" field.

func UsernameEqualFold

func UsernameEqualFold(v string) predicate.User

UsernameEqualFold applies the EqualFold predicate on the "username" field.

func UsernameGT

func UsernameGT(v string) predicate.User

UsernameGT applies the GT predicate on the "username" field.

func UsernameGTE

func UsernameGTE(v string) predicate.User

UsernameGTE applies the GTE predicate on the "username" field.

func UsernameHasPrefix

func UsernameHasPrefix(v string) predicate.User

UsernameHasPrefix applies the HasPrefix predicate on the "username" field.

func UsernameHasSuffix

func UsernameHasSuffix(v string) predicate.User

UsernameHasSuffix applies the HasSuffix predicate on the "username" field.

func UsernameIn

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

UsernameIn applies the In predicate on the "username" field.

func UsernameIsNil

func UsernameIsNil() predicate.User

UsernameIsNil applies the IsNil predicate on the "username" field.

func UsernameLT

func UsernameLT(v string) predicate.User

UsernameLT applies the LT predicate on the "username" field.

func UsernameLTE

func UsernameLTE(v string) predicate.User

UsernameLTE applies the LTE predicate on the "username" field.

func UsernameNEQ

func UsernameNEQ(v string) predicate.User

UsernameNEQ applies the NEQ predicate on the "username" field.

func UsernameNotIn

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

UsernameNotIn applies the NotIn predicate on the "username" field.

func UsernameNotNil

func UsernameNotNil() predicate.User

UsernameNotNil applies the NotNil predicate on the "username" field.

func Website

func Website(v string) predicate.User

Website applies equality check predicate on the "website" field. It's identical to WebsiteEQ.

func WebsiteContains

func WebsiteContains(v string) predicate.User

WebsiteContains applies the Contains predicate on the "website" field.

func WebsiteContainsFold

func WebsiteContainsFold(v string) predicate.User

WebsiteContainsFold applies the ContainsFold predicate on the "website" field.

func WebsiteEQ

func WebsiteEQ(v string) predicate.User

WebsiteEQ applies the EQ predicate on the "website" field.

func WebsiteEqualFold

func WebsiteEqualFold(v string) predicate.User

WebsiteEqualFold applies the EqualFold predicate on the "website" field.

func WebsiteGT

func WebsiteGT(v string) predicate.User

WebsiteGT applies the GT predicate on the "website" field.

func WebsiteGTE

func WebsiteGTE(v string) predicate.User

WebsiteGTE applies the GTE predicate on the "website" field.

func WebsiteHasPrefix

func WebsiteHasPrefix(v string) predicate.User

WebsiteHasPrefix applies the HasPrefix predicate on the "website" field.

func WebsiteHasSuffix

func WebsiteHasSuffix(v string) predicate.User

WebsiteHasSuffix applies the HasSuffix predicate on the "website" field.

func WebsiteIn

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

WebsiteIn applies the In predicate on the "website" field.

func WebsiteIsNil

func WebsiteIsNil() predicate.User

WebsiteIsNil applies the IsNil predicate on the "website" field.

func WebsiteLT

func WebsiteLT(v string) predicate.User

WebsiteLT applies the LT predicate on the "website" field.

func WebsiteLTE

func WebsiteLTE(v string) predicate.User

WebsiteLTE applies the LTE predicate on the "website" field.

func WebsiteNEQ

func WebsiteNEQ(v string) predicate.User

WebsiteNEQ applies the NEQ predicate on the "website" field.

func WebsiteNotIn

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

WebsiteNotIn applies the NotIn predicate on the "website" field.

func WebsiteNotNil

func WebsiteNotNil() predicate.User

WebsiteNotNil applies the NotNil predicate on the "website" field.

Types

type Gender

type Gender string

Gender defines the type for the gender enum field.

const (
	GenderMale   Gender = "M"
	GenderFemale Gender = "F"
	GenderOther  Gender = "O"
)

Gender values.

func (Gender) String

func (ge Gender) String() string

Jump to

Keyboard shortcuts

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