user

package
v0.0.7-alpha Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MIT Imports: 4 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"
	// 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"
	// FieldDeletedAt holds the string denoting the deleted_at field in the database.
	FieldDeletedAt = "deleted_at"
	// FieldUsername holds the string denoting the username field in the database.
	FieldUsername = "username"
	// FieldDisplayName holds the string denoting the display_name field in the database.
	FieldDisplayName = "display_name"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldProvider holds the string denoting the provider field in the database.
	FieldProvider = "provider"
	// FieldProviderID holds the string denoting the provider_id field in the database.
	FieldProviderID = "provider_id"
	// FieldProviderUsername holds the string denoting the provider_username field in the database.
	FieldProviderUsername = "provider_username"
	// FieldProviderAvatar holds the string denoting the provider_avatar field in the database.
	FieldProviderAvatar = "provider_avatar"
	// 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"
	// FieldBio holds the string denoting the bio field in the database.
	FieldBio = "bio"
	// FieldBioHTML holds the string denoting the bio_html field in the database.
	FieldBioHTML = "bio_html"
	// FieldActive holds the string denoting the active field in the database.
	FieldActive = "active"
	// FieldAvatarImageID holds the string denoting the avatar_image_id field in the database.
	FieldAvatarImageID = "avatar_image_id"
	// EdgePosts holds the string denoting the posts edge name in mutations.
	EdgePosts = "posts"
	// EdgeFiles holds the string denoting the files edge name in mutations.
	EdgeFiles = "files"
	// EdgeComments holds the string denoting the comments edge name in mutations.
	EdgeComments = "comments"
	// EdgeRoles holds the string denoting the roles edge name in mutations.
	EdgeRoles = "roles"
	// EdgeAvatarImage holds the string denoting the avatar_image edge name in mutations.
	EdgeAvatarImage = "avatar_image"
	// Table holds the table name of the user in the database.
	Table = "users"
	// PostsTable is the table that holds the posts relation/edge.
	PostsTable = "posts"
	// PostsInverseTable is the table name for the Post entity.
	// It exists in this package in order to avoid circular dependency with the "post" package.
	PostsInverseTable = "posts"
	// PostsColumn is the table column denoting the posts relation/edge.
	PostsColumn = "user_id"
	// FilesTable is the table that holds the files relation/edge.
	FilesTable = "files"
	// FilesInverseTable is the table name for the File entity.
	// It exists in this package in order to avoid circular dependency with the "file" package.
	FilesInverseTable = "files"
	// FilesColumn is the table column denoting the files relation/edge.
	FilesColumn = "user_id"
	// CommentsTable is the table that holds the comments relation/edge.
	CommentsTable = "comments"
	// CommentsInverseTable is the table name for the Comment entity.
	// It exists in this package in order to avoid circular dependency with the "comment" package.
	CommentsInverseTable = "comments"
	// CommentsColumn is the table column denoting the comments relation/edge.
	CommentsColumn = "user_id"
	// RolesTable is the table that holds the roles relation/edge. The primary key declared below.
	RolesTable = "role_users"
	// 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"
	// AvatarImageTable is the table that holds the avatar_image relation/edge.
	AvatarImageTable = "users"
	// AvatarImageInverseTable is the table name for the File entity.
	// It exists in this package in order to avoid circular dependency with the "file" package.
	AvatarImageInverseTable = "files"
	// AvatarImageColumn is the table column denoting the avatar_image relation/edge.
	AvatarImageColumn = "avatar_image_id"
)

Variables

View Source
var (
	// 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
	// DefaultActive holds the default value on creation for the "active" field.
	DefaultActive bool
)

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{"role_id", "user_id"}
)

Functions

func Active

func Active(v bool) predicate.User

Active applies equality check predicate on the "active" field. It's identical to ActiveEQ.

func ActiveEQ

func ActiveEQ(v bool) predicate.User

ActiveEQ applies the EQ predicate on the "active" field.

func ActiveNEQ

func ActiveNEQ(v bool) predicate.User

ActiveNEQ applies the NEQ predicate on the "active" field.

func And

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

And groups predicates with the AND operator between them.

func AvatarImageID

func AvatarImageID(v int) predicate.User

AvatarImageID applies equality check predicate on the "avatar_image_id" field. It's identical to AvatarImageIDEQ.

func AvatarImageIDEQ

func AvatarImageIDEQ(v int) predicate.User

AvatarImageIDEQ applies the EQ predicate on the "avatar_image_id" field.

func AvatarImageIDIn

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

AvatarImageIDIn applies the In predicate on the "avatar_image_id" field.

func AvatarImageIDIsNil

func AvatarImageIDIsNil() predicate.User

AvatarImageIDIsNil applies the IsNil predicate on the "avatar_image_id" field.

func AvatarImageIDNEQ

func AvatarImageIDNEQ(v int) predicate.User

AvatarImageIDNEQ applies the NEQ predicate on the "avatar_image_id" field.

func AvatarImageIDNotIn

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

AvatarImageIDNotIn applies the NotIn predicate on the "avatar_image_id" field.

func AvatarImageIDNotNil

func AvatarImageIDNotNil() predicate.User

AvatarImageIDNotNil applies the NotNil predicate on the "avatar_image_id" field.

func Bio

func Bio(v string) predicate.User

Bio applies equality check predicate on the "bio" field. It's identical to BioEQ.

func BioContains

func BioContains(v string) predicate.User

BioContains applies the Contains predicate on the "bio" field.

func BioContainsFold

func BioContainsFold(v string) predicate.User

BioContainsFold applies the ContainsFold predicate on the "bio" field.

func BioEQ

func BioEQ(v string) predicate.User

BioEQ applies the EQ predicate on the "bio" field.

func BioEqualFold

func BioEqualFold(v string) predicate.User

BioEqualFold applies the EqualFold predicate on the "bio" field.

func BioGT

func BioGT(v string) predicate.User

BioGT applies the GT predicate on the "bio" field.

func BioGTE

func BioGTE(v string) predicate.User

BioGTE applies the GTE predicate on the "bio" field.

func BioHTML

func BioHTML(v string) predicate.User

BioHTML applies equality check predicate on the "bio_html" field. It's identical to BioHTMLEQ.

func BioHTMLContains

func BioHTMLContains(v string) predicate.User

BioHTMLContains applies the Contains predicate on the "bio_html" field.

func BioHTMLContainsFold

func BioHTMLContainsFold(v string) predicate.User

BioHTMLContainsFold applies the ContainsFold predicate on the "bio_html" field.

func BioHTMLEQ

func BioHTMLEQ(v string) predicate.User

BioHTMLEQ applies the EQ predicate on the "bio_html" field.

func BioHTMLEqualFold

func BioHTMLEqualFold(v string) predicate.User

BioHTMLEqualFold applies the EqualFold predicate on the "bio_html" field.

func BioHTMLGT

func BioHTMLGT(v string) predicate.User

BioHTMLGT applies the GT predicate on the "bio_html" field.

func BioHTMLGTE

func BioHTMLGTE(v string) predicate.User

BioHTMLGTE applies the GTE predicate on the "bio_html" field.

func BioHTMLHasPrefix

func BioHTMLHasPrefix(v string) predicate.User

BioHTMLHasPrefix applies the HasPrefix predicate on the "bio_html" field.

func BioHTMLHasSuffix

func BioHTMLHasSuffix(v string) predicate.User

BioHTMLHasSuffix applies the HasSuffix predicate on the "bio_html" field.

func BioHTMLIn

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

BioHTMLIn applies the In predicate on the "bio_html" field.

func BioHTMLIsNil

func BioHTMLIsNil() predicate.User

BioHTMLIsNil applies the IsNil predicate on the "bio_html" field.

func BioHTMLLT

func BioHTMLLT(v string) predicate.User

BioHTMLLT applies the LT predicate on the "bio_html" field.

func BioHTMLLTE

func BioHTMLLTE(v string) predicate.User

BioHTMLLTE applies the LTE predicate on the "bio_html" field.

func BioHTMLNEQ

func BioHTMLNEQ(v string) predicate.User

BioHTMLNEQ applies the NEQ predicate on the "bio_html" field.

func BioHTMLNotIn

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

BioHTMLNotIn applies the NotIn predicate on the "bio_html" field.

func BioHTMLNotNil

func BioHTMLNotNil() predicate.User

BioHTMLNotNil applies the NotNil predicate on the "bio_html" field.

func BioHasPrefix

func BioHasPrefix(v string) predicate.User

BioHasPrefix applies the HasPrefix predicate on the "bio" field.

func BioHasSuffix

func BioHasSuffix(v string) predicate.User

BioHasSuffix applies the HasSuffix predicate on the "bio" field.

func BioIn

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

BioIn applies the In predicate on the "bio" field.

func BioIsNil

func BioIsNil() predicate.User

BioIsNil applies the IsNil predicate on the "bio" field.

func BioLT

func BioLT(v string) predicate.User

BioLT applies the LT predicate on the "bio" field.

func BioLTE

func BioLTE(v string) predicate.User

BioLTE applies the LTE predicate on the "bio" field.

func BioNEQ

func BioNEQ(v string) predicate.User

BioNEQ applies the NEQ predicate on the "bio" field.

func BioNotIn

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

BioNotIn applies the NotIn predicate on the "bio" field.

func BioNotNil

func BioNotNil() predicate.User

BioNotNil applies the NotNil predicate on the "bio" 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 DeletedAt

func DeletedAt(v time.Time) predicate.User

DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.

func DeletedAtEQ

func DeletedAtEQ(v time.Time) predicate.User

DeletedAtEQ applies the EQ predicate on the "deleted_at" field.

func DeletedAtGT

func DeletedAtGT(v time.Time) predicate.User

DeletedAtGT applies the GT predicate on the "deleted_at" field.

func DeletedAtGTE

func DeletedAtGTE(v time.Time) predicate.User

DeletedAtGTE applies the GTE predicate on the "deleted_at" field.

func DeletedAtIn

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

DeletedAtIn applies the In predicate on the "deleted_at" field.

func DeletedAtIsNil

func DeletedAtIsNil() predicate.User

DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.

func DeletedAtLT

func DeletedAtLT(v time.Time) predicate.User

DeletedAtLT applies the LT predicate on the "deleted_at" field.

func DeletedAtLTE

func DeletedAtLTE(v time.Time) predicate.User

DeletedAtLTE applies the LTE predicate on the "deleted_at" field.

func DeletedAtNEQ

func DeletedAtNEQ(v time.Time) predicate.User

DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.

func DeletedAtNotIn

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

DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.

func DeletedAtNotNil

func DeletedAtNotNil() predicate.User

DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.

func DisplayName

func DisplayName(v string) predicate.User

DisplayName applies equality check predicate on the "display_name" field. It's identical to DisplayNameEQ.

func DisplayNameContains

func DisplayNameContains(v string) predicate.User

DisplayNameContains applies the Contains predicate on the "display_name" field.

func DisplayNameContainsFold

func DisplayNameContainsFold(v string) predicate.User

DisplayNameContainsFold applies the ContainsFold predicate on the "display_name" field.

func DisplayNameEQ

func DisplayNameEQ(v string) predicate.User

DisplayNameEQ applies the EQ predicate on the "display_name" field.

func DisplayNameEqualFold

func DisplayNameEqualFold(v string) predicate.User

DisplayNameEqualFold applies the EqualFold predicate on the "display_name" field.

func DisplayNameGT

func DisplayNameGT(v string) predicate.User

DisplayNameGT applies the GT predicate on the "display_name" field.

func DisplayNameGTE

func DisplayNameGTE(v string) predicate.User

DisplayNameGTE applies the GTE predicate on the "display_name" field.

func DisplayNameHasPrefix

func DisplayNameHasPrefix(v string) predicate.User

DisplayNameHasPrefix applies the HasPrefix predicate on the "display_name" field.

func DisplayNameHasSuffix

func DisplayNameHasSuffix(v string) predicate.User

DisplayNameHasSuffix applies the HasSuffix predicate on the "display_name" field.

func DisplayNameIn

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

DisplayNameIn applies the In predicate on the "display_name" field.

func DisplayNameIsNil

func DisplayNameIsNil() predicate.User

DisplayNameIsNil applies the IsNil predicate on the "display_name" field.

func DisplayNameLT

func DisplayNameLT(v string) predicate.User

DisplayNameLT applies the LT predicate on the "display_name" field.

func DisplayNameLTE

func DisplayNameLTE(v string) predicate.User

DisplayNameLTE applies the LTE predicate on the "display_name" field.

func DisplayNameNEQ

func DisplayNameNEQ(v string) predicate.User

DisplayNameNEQ applies the NEQ predicate on the "display_name" field.

func DisplayNameNotIn

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

DisplayNameNotIn applies the NotIn predicate on the "display_name" field.

func DisplayNameNotNil

func DisplayNameNotNil() predicate.User

DisplayNameNotNil applies the NotNil predicate on the "display_name" 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 HasAvatarImage

func HasAvatarImage() predicate.User

HasAvatarImage applies the HasEdge predicate on the "avatar_image" edge.

func HasAvatarImageWith

func HasAvatarImageWith(preds ...predicate.File) predicate.User

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

func HasComments

func HasComments() predicate.User

HasComments applies the HasEdge predicate on the "comments" edge.

func HasCommentsWith

func HasCommentsWith(preds ...predicate.Comment) predicate.User

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

func HasFiles

func HasFiles() predicate.User

HasFiles applies the HasEdge predicate on the "files" edge.

func HasFilesWith

func HasFilesWith(preds ...predicate.File) predicate.User

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

func HasPosts

func HasPosts() predicate.User

HasPosts applies the HasEdge predicate on the "posts" edge.

func HasPostsWith

func HasPostsWith(preds ...predicate.Post) predicate.User

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

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 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 PasswordIsNil

func PasswordIsNil() predicate.User

PasswordIsNil applies the IsNil 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 PasswordNotNil

func PasswordNotNil() predicate.User

PasswordNotNil applies the NotNil predicate on the "password" field.

func Provider

func Provider(v string) predicate.User

Provider applies equality check predicate on the "provider" field. It's identical to ProviderEQ.

func ProviderAvatar

func ProviderAvatar(v string) predicate.User

ProviderAvatar applies equality check predicate on the "provider_avatar" field. It's identical to ProviderAvatarEQ.

func ProviderAvatarContains

func ProviderAvatarContains(v string) predicate.User

ProviderAvatarContains applies the Contains predicate on the "provider_avatar" field.

func ProviderAvatarContainsFold

func ProviderAvatarContainsFold(v string) predicate.User

ProviderAvatarContainsFold applies the ContainsFold predicate on the "provider_avatar" field.

func ProviderAvatarEQ

func ProviderAvatarEQ(v string) predicate.User

ProviderAvatarEQ applies the EQ predicate on the "provider_avatar" field.

func ProviderAvatarEqualFold

func ProviderAvatarEqualFold(v string) predicate.User

ProviderAvatarEqualFold applies the EqualFold predicate on the "provider_avatar" field.

func ProviderAvatarGT

func ProviderAvatarGT(v string) predicate.User

ProviderAvatarGT applies the GT predicate on the "provider_avatar" field.

func ProviderAvatarGTE

func ProviderAvatarGTE(v string) predicate.User

ProviderAvatarGTE applies the GTE predicate on the "provider_avatar" field.

func ProviderAvatarHasPrefix

func ProviderAvatarHasPrefix(v string) predicate.User

ProviderAvatarHasPrefix applies the HasPrefix predicate on the "provider_avatar" field.

func ProviderAvatarHasSuffix

func ProviderAvatarHasSuffix(v string) predicate.User

ProviderAvatarHasSuffix applies the HasSuffix predicate on the "provider_avatar" field.

func ProviderAvatarIn

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

ProviderAvatarIn applies the In predicate on the "provider_avatar" field.

func ProviderAvatarIsNil

func ProviderAvatarIsNil() predicate.User

ProviderAvatarIsNil applies the IsNil predicate on the "provider_avatar" field.

func ProviderAvatarLT

func ProviderAvatarLT(v string) predicate.User

ProviderAvatarLT applies the LT predicate on the "provider_avatar" field.

func ProviderAvatarLTE

func ProviderAvatarLTE(v string) predicate.User

ProviderAvatarLTE applies the LTE predicate on the "provider_avatar" field.

func ProviderAvatarNEQ

func ProviderAvatarNEQ(v string) predicate.User

ProviderAvatarNEQ applies the NEQ predicate on the "provider_avatar" field.

func ProviderAvatarNotIn

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

ProviderAvatarNotIn applies the NotIn predicate on the "provider_avatar" field.

func ProviderAvatarNotNil

func ProviderAvatarNotNil() predicate.User

ProviderAvatarNotNil applies the NotNil predicate on the "provider_avatar" field.

func ProviderContains

func ProviderContains(v string) predicate.User

ProviderContains applies the Contains predicate on the "provider" field.

func ProviderContainsFold

func ProviderContainsFold(v string) predicate.User

ProviderContainsFold applies the ContainsFold predicate on the "provider" field.

func ProviderEQ

func ProviderEQ(v string) predicate.User

ProviderEQ applies the EQ predicate on the "provider" field.

func ProviderEqualFold

func ProviderEqualFold(v string) predicate.User

ProviderEqualFold applies the EqualFold predicate on the "provider" field.

func ProviderGT

func ProviderGT(v string) predicate.User

ProviderGT applies the GT predicate on the "provider" field.

func ProviderGTE

func ProviderGTE(v string) predicate.User

ProviderGTE applies the GTE predicate on the "provider" field.

func ProviderHasPrefix

func ProviderHasPrefix(v string) predicate.User

ProviderHasPrefix applies the HasPrefix predicate on the "provider" field.

func ProviderHasSuffix

func ProviderHasSuffix(v string) predicate.User

ProviderHasSuffix applies the HasSuffix predicate on the "provider" field.

func ProviderID

func ProviderID(v string) predicate.User

ProviderID applies equality check predicate on the "provider_id" field. It's identical to ProviderIDEQ.

func ProviderIDContains

func ProviderIDContains(v string) predicate.User

ProviderIDContains applies the Contains predicate on the "provider_id" field.

func ProviderIDContainsFold

func ProviderIDContainsFold(v string) predicate.User

ProviderIDContainsFold applies the ContainsFold predicate on the "provider_id" field.

func ProviderIDEQ

func ProviderIDEQ(v string) predicate.User

ProviderIDEQ applies the EQ predicate on the "provider_id" field.

func ProviderIDEqualFold

func ProviderIDEqualFold(v string) predicate.User

ProviderIDEqualFold applies the EqualFold predicate on the "provider_id" field.

func ProviderIDGT

func ProviderIDGT(v string) predicate.User

ProviderIDGT applies the GT predicate on the "provider_id" field.

func ProviderIDGTE

func ProviderIDGTE(v string) predicate.User

ProviderIDGTE applies the GTE predicate on the "provider_id" field.

func ProviderIDHasPrefix

func ProviderIDHasPrefix(v string) predicate.User

ProviderIDHasPrefix applies the HasPrefix predicate on the "provider_id" field.

func ProviderIDHasSuffix

func ProviderIDHasSuffix(v string) predicate.User

ProviderIDHasSuffix applies the HasSuffix predicate on the "provider_id" field.

func ProviderIDIn

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

ProviderIDIn applies the In predicate on the "provider_id" field.

func ProviderIDIsNil

func ProviderIDIsNil() predicate.User

ProviderIDIsNil applies the IsNil predicate on the "provider_id" field.

func ProviderIDLT

func ProviderIDLT(v string) predicate.User

ProviderIDLT applies the LT predicate on the "provider_id" field.

func ProviderIDLTE

func ProviderIDLTE(v string) predicate.User

ProviderIDLTE applies the LTE predicate on the "provider_id" field.

func ProviderIDNEQ

func ProviderIDNEQ(v string) predicate.User

ProviderIDNEQ applies the NEQ predicate on the "provider_id" field.

func ProviderIDNotIn

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

ProviderIDNotIn applies the NotIn predicate on the "provider_id" field.

func ProviderIDNotNil

func ProviderIDNotNil() predicate.User

ProviderIDNotNil applies the NotNil predicate on the "provider_id" field.

func ProviderIn

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

ProviderIn applies the In predicate on the "provider" field.

func ProviderIsNil

func ProviderIsNil() predicate.User

ProviderIsNil applies the IsNil predicate on the "provider" field.

func ProviderLT

func ProviderLT(v string) predicate.User

ProviderLT applies the LT predicate on the "provider" field.

func ProviderLTE

func ProviderLTE(v string) predicate.User

ProviderLTE applies the LTE predicate on the "provider" field.

func ProviderNEQ

func ProviderNEQ(v string) predicate.User

ProviderNEQ applies the NEQ predicate on the "provider" field.

func ProviderNotIn

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

ProviderNotIn applies the NotIn predicate on the "provider" field.

func ProviderNotNil

func ProviderNotNil() predicate.User

ProviderNotNil applies the NotNil predicate on the "provider" field.

func ProviderUsername

func ProviderUsername(v string) predicate.User

ProviderUsername applies equality check predicate on the "provider_username" field. It's identical to ProviderUsernameEQ.

func ProviderUsernameContains

func ProviderUsernameContains(v string) predicate.User

ProviderUsernameContains applies the Contains predicate on the "provider_username" field.

func ProviderUsernameContainsFold

func ProviderUsernameContainsFold(v string) predicate.User

ProviderUsernameContainsFold applies the ContainsFold predicate on the "provider_username" field.

func ProviderUsernameEQ

func ProviderUsernameEQ(v string) predicate.User

ProviderUsernameEQ applies the EQ predicate on the "provider_username" field.

func ProviderUsernameEqualFold

func ProviderUsernameEqualFold(v string) predicate.User

ProviderUsernameEqualFold applies the EqualFold predicate on the "provider_username" field.

func ProviderUsernameGT

func ProviderUsernameGT(v string) predicate.User

ProviderUsernameGT applies the GT predicate on the "provider_username" field.

func ProviderUsernameGTE

func ProviderUsernameGTE(v string) predicate.User

ProviderUsernameGTE applies the GTE predicate on the "provider_username" field.

func ProviderUsernameHasPrefix

func ProviderUsernameHasPrefix(v string) predicate.User

ProviderUsernameHasPrefix applies the HasPrefix predicate on the "provider_username" field.

func ProviderUsernameHasSuffix

func ProviderUsernameHasSuffix(v string) predicate.User

ProviderUsernameHasSuffix applies the HasSuffix predicate on the "provider_username" field.

func ProviderUsernameIn

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

ProviderUsernameIn applies the In predicate on the "provider_username" field.

func ProviderUsernameIsNil

func ProviderUsernameIsNil() predicate.User

ProviderUsernameIsNil applies the IsNil predicate on the "provider_username" field.

func ProviderUsernameLT

func ProviderUsernameLT(v string) predicate.User

ProviderUsernameLT applies the LT predicate on the "provider_username" field.

func ProviderUsernameLTE

func ProviderUsernameLTE(v string) predicate.User

ProviderUsernameLTE applies the LTE predicate on the "provider_username" field.

func ProviderUsernameNEQ

func ProviderUsernameNEQ(v string) predicate.User

ProviderUsernameNEQ applies the NEQ predicate on the "provider_username" field.

func ProviderUsernameNotIn

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

ProviderUsernameNotIn applies the NotIn predicate on the "provider_username" field.

func ProviderUsernameNotNil

func ProviderUsernameNotNil() predicate.User

ProviderUsernameNotNil applies the NotNil predicate on the "provider_username" field.

func URL

func URL(v string) predicate.User

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.User

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.User

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

func URLEQ(v string) predicate.User

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.User

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

func URLGT(v string) predicate.User

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.User

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.User

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.User

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

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

URLIn applies the In predicate on the "url" field.

func URLIsNil

func URLIsNil() predicate.User

URLIsNil applies the IsNil predicate on the "url" field.

func URLLT

func URLLT(v string) predicate.User

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.User

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.User

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

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

URLNotIn applies the NotIn predicate on the "url" field.

func URLNotNil

func URLNotNil() predicate.User

URLNotNil applies the NotNil predicate on the "url" 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 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 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 ValidColumn

func ValidColumn(column string) bool

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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