user

package
v0.0.0-...-bfbcaf2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 5 Imported by: 1

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"
	// FieldStripeCustomerID holds the string denoting the stripe_customer_id field in the database.
	FieldStripeCustomerID = "stripe_customer_id"
	// FieldActiveProductID holds the string denoting the active_product_id field in the database.
	FieldActiveProductID = "active_product_id"
	// FieldLastSignInAt holds the string denoting the last_sign_in_at field in the database.
	FieldLastSignInAt = "last_sign_in_at"
	// FieldLastSeenAt holds the string denoting the last_seen_at field in the database.
	FieldLastSeenAt = "last_seen_at"
	// FieldBannedAt holds the string denoting the banned_at field in the database.
	FieldBannedAt = "banned_at"
	// FieldScheduledForDeletionOn holds the string denoting the scheduled_for_deletion_on field in the database.
	FieldScheduledForDeletionOn = "scheduled_for_deletion_on"
	// FieldDataDeletedAt holds the string denoting the data_deleted_at field in the database.
	FieldDataDeletedAt = "data_deleted_at"
	// FieldWantsEmail holds the string denoting the wants_email field in the database.
	FieldWantsEmail = "wants_email"
	// FieldDiscordID holds the string denoting the discord_id field in the database.
	FieldDiscordID = "discord_id"
	// FieldUsername holds the string denoting the username field in the database.
	FieldUsername = "username"
	// FieldUsernameChangedAt holds the string denoting the username_changed_at field in the database.
	FieldUsernameChangedAt = "username_changed_at"
	// 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"
	// EdgeGenerations holds the string denoting the generations edge name in mutations.
	EdgeGenerations = "generations"
	// EdgeUpscales holds the string denoting the upscales edge name in mutations.
	EdgeUpscales = "upscales"
	// EdgeVoiceovers holds the string denoting the voiceovers edge name in mutations.
	EdgeVoiceovers = "voiceovers"
	// EdgeCredits holds the string denoting the credits edge name in mutations.
	EdgeCredits = "credits"
	// EdgeAPITokens holds the string denoting the api_tokens edge name in mutations.
	EdgeAPITokens = "api_tokens"
	// EdgeTipsGiven holds the string denoting the tips_given edge name in mutations.
	EdgeTipsGiven = "tips_given"
	// EdgeTipsReceived holds the string denoting the tips_received edge name in mutations.
	EdgeTipsReceived = "tips_received"
	// EdgeRoles holds the string denoting the roles edge name in mutations.
	EdgeRoles = "roles"
	// EdgeGenerationOutputLikes holds the string denoting the generation_output_likes edge name in mutations.
	EdgeGenerationOutputLikes = "generation_output_likes"
	// Table holds the table name of the user in the database.
	Table = "users"
	// GenerationsTable is the table that holds the generations relation/edge.
	GenerationsTable = "generations"
	// GenerationsInverseTable is the table name for the Generation entity.
	// It exists in this package in order to avoid circular dependency with the "generation" package.
	GenerationsInverseTable = "generations"
	// GenerationsColumn is the table column denoting the generations relation/edge.
	GenerationsColumn = "user_id"
	// UpscalesTable is the table that holds the upscales relation/edge.
	UpscalesTable = "upscales"
	// UpscalesInverseTable is the table name for the Upscale entity.
	// It exists in this package in order to avoid circular dependency with the "upscale" package.
	UpscalesInverseTable = "upscales"
	// UpscalesColumn is the table column denoting the upscales relation/edge.
	UpscalesColumn = "user_id"
	// VoiceoversTable is the table that holds the voiceovers relation/edge.
	VoiceoversTable = "voiceovers"
	// VoiceoversInverseTable is the table name for the Voiceover entity.
	// It exists in this package in order to avoid circular dependency with the "voiceover" package.
	VoiceoversInverseTable = "voiceovers"
	// VoiceoversColumn is the table column denoting the voiceovers relation/edge.
	VoiceoversColumn = "user_id"
	// CreditsTable is the table that holds the credits relation/edge.
	CreditsTable = "credits"
	// CreditsInverseTable is the table name for the Credit entity.
	// It exists in this package in order to avoid circular dependency with the "credit" package.
	CreditsInverseTable = "credits"
	// CreditsColumn is the table column denoting the credits relation/edge.
	CreditsColumn = "user_id"
	// APITokensTable is the table that holds the api_tokens relation/edge.
	APITokensTable = "api_tokens"
	// APITokensInverseTable is the table name for the ApiToken entity.
	// It exists in this package in order to avoid circular dependency with the "apitoken" package.
	APITokensInverseTable = "api_tokens"
	// APITokensColumn is the table column denoting the api_tokens relation/edge.
	APITokensColumn = "user_id"
	// TipsGivenTable is the table that holds the tips_given relation/edge.
	TipsGivenTable = "tip_log"
	// TipsGivenInverseTable is the table name for the TipLog entity.
	// It exists in this package in order to avoid circular dependency with the "tiplog" package.
	TipsGivenInverseTable = "tip_log"
	// TipsGivenColumn is the table column denoting the tips_given relation/edge.
	TipsGivenColumn = "tipped_by"
	// TipsReceivedTable is the table that holds the tips_received relation/edge.
	TipsReceivedTable = "tip_log"
	// TipsReceivedInverseTable is the table name for the TipLog entity.
	// It exists in this package in order to avoid circular dependency with the "tiplog" package.
	TipsReceivedInverseTable = "tip_log"
	// TipsReceivedColumn is the table column denoting the tips_received relation/edge.
	TipsReceivedColumn = "tipped_to"
	// RolesTable is the table that holds the roles relation/edge. The primary key declared below.
	RolesTable = "user_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"
	// GenerationOutputLikesTable is the table that holds the generation_output_likes relation/edge.
	GenerationOutputLikesTable = "generation_output_likes"
	// GenerationOutputLikesInverseTable is the table name for the GenerationOutputLike entity.
	// It exists in this package in order to avoid circular dependency with the "generationoutputlike" package.
	GenerationOutputLikesInverseTable = "generation_output_likes"
	// GenerationOutputLikesColumn is the table column denoting the generation_output_likes relation/edge.
	GenerationOutputLikesColumn = "liked_by_user_id"
)

Variables

View Source
var (
	// DefaultLastSeenAt holds the default value on creation for the "last_seen_at" field.
	DefaultLastSeenAt func() time.Time
	// 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
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

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 ActiveProductID

func ActiveProductID(v string) predicate.User

ActiveProductID applies equality check predicate on the "active_product_id" field. It's identical to ActiveProductIDEQ.

func ActiveProductIDContains

func ActiveProductIDContains(v string) predicate.User

ActiveProductIDContains applies the Contains predicate on the "active_product_id" field.

func ActiveProductIDContainsFold

func ActiveProductIDContainsFold(v string) predicate.User

ActiveProductIDContainsFold applies the ContainsFold predicate on the "active_product_id" field.

func ActiveProductIDEQ

func ActiveProductIDEQ(v string) predicate.User

ActiveProductIDEQ applies the EQ predicate on the "active_product_id" field.

func ActiveProductIDEqualFold

func ActiveProductIDEqualFold(v string) predicate.User

ActiveProductIDEqualFold applies the EqualFold predicate on the "active_product_id" field.

func ActiveProductIDGT

func ActiveProductIDGT(v string) predicate.User

ActiveProductIDGT applies the GT predicate on the "active_product_id" field.

func ActiveProductIDGTE

func ActiveProductIDGTE(v string) predicate.User

ActiveProductIDGTE applies the GTE predicate on the "active_product_id" field.

func ActiveProductIDHasPrefix

func ActiveProductIDHasPrefix(v string) predicate.User

ActiveProductIDHasPrefix applies the HasPrefix predicate on the "active_product_id" field.

func ActiveProductIDHasSuffix

func ActiveProductIDHasSuffix(v string) predicate.User

ActiveProductIDHasSuffix applies the HasSuffix predicate on the "active_product_id" field.

func ActiveProductIDIn

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

ActiveProductIDIn applies the In predicate on the "active_product_id" field.

func ActiveProductIDIsNil

func ActiveProductIDIsNil() predicate.User

ActiveProductIDIsNil applies the IsNil predicate on the "active_product_id" field.

func ActiveProductIDLT

func ActiveProductIDLT(v string) predicate.User

ActiveProductIDLT applies the LT predicate on the "active_product_id" field.

func ActiveProductIDLTE

func ActiveProductIDLTE(v string) predicate.User

ActiveProductIDLTE applies the LTE predicate on the "active_product_id" field.

func ActiveProductIDNEQ

func ActiveProductIDNEQ(v string) predicate.User

ActiveProductIDNEQ applies the NEQ predicate on the "active_product_id" field.

func ActiveProductIDNotIn

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

ActiveProductIDNotIn applies the NotIn predicate on the "active_product_id" field.

func ActiveProductIDNotNil

func ActiveProductIDNotNil() predicate.User

ActiveProductIDNotNil applies the NotNil predicate on the "active_product_id" field.

func And

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

And groups predicates with the AND operator between them.

func BannedAt

func BannedAt(v time.Time) predicate.User

BannedAt applies equality check predicate on the "banned_at" field. It's identical to BannedAtEQ.

func BannedAtEQ

func BannedAtEQ(v time.Time) predicate.User

BannedAtEQ applies the EQ predicate on the "banned_at" field.

func BannedAtGT

func BannedAtGT(v time.Time) predicate.User

BannedAtGT applies the GT predicate on the "banned_at" field.

func BannedAtGTE

func BannedAtGTE(v time.Time) predicate.User

BannedAtGTE applies the GTE predicate on the "banned_at" field.

func BannedAtIn

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

BannedAtIn applies the In predicate on the "banned_at" field.

func BannedAtIsNil

func BannedAtIsNil() predicate.User

BannedAtIsNil applies the IsNil predicate on the "banned_at" field.

func BannedAtLT

func BannedAtLT(v time.Time) predicate.User

BannedAtLT applies the LT predicate on the "banned_at" field.

func BannedAtLTE

func BannedAtLTE(v time.Time) predicate.User

BannedAtLTE applies the LTE predicate on the "banned_at" field.

func BannedAtNEQ

func BannedAtNEQ(v time.Time) predicate.User

BannedAtNEQ applies the NEQ predicate on the "banned_at" field.

func BannedAtNotIn

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

BannedAtNotIn applies the NotIn predicate on the "banned_at" field.

func BannedAtNotNil

func BannedAtNotNil() predicate.User

BannedAtNotNil applies the NotNil predicate on the "banned_at" 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 DataDeletedAt

func DataDeletedAt(v time.Time) predicate.User

DataDeletedAt applies equality check predicate on the "data_deleted_at" field. It's identical to DataDeletedAtEQ.

func DataDeletedAtEQ

func DataDeletedAtEQ(v time.Time) predicate.User

DataDeletedAtEQ applies the EQ predicate on the "data_deleted_at" field.

func DataDeletedAtGT

func DataDeletedAtGT(v time.Time) predicate.User

DataDeletedAtGT applies the GT predicate on the "data_deleted_at" field.

func DataDeletedAtGTE

func DataDeletedAtGTE(v time.Time) predicate.User

DataDeletedAtGTE applies the GTE predicate on the "data_deleted_at" field.

func DataDeletedAtIn

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

DataDeletedAtIn applies the In predicate on the "data_deleted_at" field.

func DataDeletedAtIsNil

func DataDeletedAtIsNil() predicate.User

DataDeletedAtIsNil applies the IsNil predicate on the "data_deleted_at" field.

func DataDeletedAtLT

func DataDeletedAtLT(v time.Time) predicate.User

DataDeletedAtLT applies the LT predicate on the "data_deleted_at" field.

func DataDeletedAtLTE

func DataDeletedAtLTE(v time.Time) predicate.User

DataDeletedAtLTE applies the LTE predicate on the "data_deleted_at" field.

func DataDeletedAtNEQ

func DataDeletedAtNEQ(v time.Time) predicate.User

DataDeletedAtNEQ applies the NEQ predicate on the "data_deleted_at" field.

func DataDeletedAtNotIn

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

DataDeletedAtNotIn applies the NotIn predicate on the "data_deleted_at" field.

func DataDeletedAtNotNil

func DataDeletedAtNotNil() predicate.User

DataDeletedAtNotNil applies the NotNil predicate on the "data_deleted_at" field.

func DiscordID

func DiscordID(v string) predicate.User

DiscordID applies equality check predicate on the "discord_id" field. It's identical to DiscordIDEQ.

func DiscordIDContains

func DiscordIDContains(v string) predicate.User

DiscordIDContains applies the Contains predicate on the "discord_id" field.

func DiscordIDContainsFold

func DiscordIDContainsFold(v string) predicate.User

DiscordIDContainsFold applies the ContainsFold predicate on the "discord_id" field.

func DiscordIDEQ

func DiscordIDEQ(v string) predicate.User

DiscordIDEQ applies the EQ predicate on the "discord_id" field.

func DiscordIDEqualFold

func DiscordIDEqualFold(v string) predicate.User

DiscordIDEqualFold applies the EqualFold predicate on the "discord_id" field.

func DiscordIDGT

func DiscordIDGT(v string) predicate.User

DiscordIDGT applies the GT predicate on the "discord_id" field.

func DiscordIDGTE

func DiscordIDGTE(v string) predicate.User

DiscordIDGTE applies the GTE predicate on the "discord_id" field.

func DiscordIDHasPrefix

func DiscordIDHasPrefix(v string) predicate.User

DiscordIDHasPrefix applies the HasPrefix predicate on the "discord_id" field.

func DiscordIDHasSuffix

func DiscordIDHasSuffix(v string) predicate.User

DiscordIDHasSuffix applies the HasSuffix predicate on the "discord_id" field.

func DiscordIDIn

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

DiscordIDIn applies the In predicate on the "discord_id" field.

func DiscordIDIsNil

func DiscordIDIsNil() predicate.User

DiscordIDIsNil applies the IsNil predicate on the "discord_id" field.

func DiscordIDLT

func DiscordIDLT(v string) predicate.User

DiscordIDLT applies the LT predicate on the "discord_id" field.

func DiscordIDLTE

func DiscordIDLTE(v string) predicate.User

DiscordIDLTE applies the LTE predicate on the "discord_id" field.

func DiscordIDNEQ

func DiscordIDNEQ(v string) predicate.User

DiscordIDNEQ applies the NEQ predicate on the "discord_id" field.

func DiscordIDNotIn

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

DiscordIDNotIn applies the NotIn predicate on the "discord_id" field.

func DiscordIDNotNil

func DiscordIDNotNil() predicate.User

DiscordIDNotNil applies the NotNil predicate on the "discord_id" 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 HasAPITokens

func HasAPITokens() predicate.User

HasAPITokens applies the HasEdge predicate on the "api_tokens" edge.

func HasAPITokensWith

func HasAPITokensWith(preds ...predicate.ApiToken) predicate.User

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

func HasCredits

func HasCredits() predicate.User

HasCredits applies the HasEdge predicate on the "credits" edge.

func HasCreditsWith

func HasCreditsWith(preds ...predicate.Credit) predicate.User

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

func HasGenerationOutputLikes

func HasGenerationOutputLikes() predicate.User

HasGenerationOutputLikes applies the HasEdge predicate on the "generation_output_likes" edge.

func HasGenerationOutputLikesWith

func HasGenerationOutputLikesWith(preds ...predicate.GenerationOutputLike) predicate.User

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

func HasGenerations

func HasGenerations() predicate.User

HasGenerations applies the HasEdge predicate on the "generations" edge.

func HasGenerationsWith

func HasGenerationsWith(preds ...predicate.Generation) predicate.User

HasGenerationsWith applies the HasEdge predicate on the "generations" 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 HasTipsGiven

func HasTipsGiven() predicate.User

HasTipsGiven applies the HasEdge predicate on the "tips_given" edge.

func HasTipsGivenWith

func HasTipsGivenWith(preds ...predicate.TipLog) predicate.User

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

func HasTipsReceived

func HasTipsReceived() predicate.User

HasTipsReceived applies the HasEdge predicate on the "tips_received" edge.

func HasTipsReceivedWith

func HasTipsReceivedWith(preds ...predicate.TipLog) predicate.User

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

func HasUpscales

func HasUpscales() predicate.User

HasUpscales applies the HasEdge predicate on the "upscales" edge.

func HasUpscalesWith

func HasUpscalesWith(preds ...predicate.Upscale) predicate.User

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

func HasVoiceovers

func HasVoiceovers() predicate.User

HasVoiceovers applies the HasEdge predicate on the "voiceovers" edge.

func HasVoiceoversWith

func HasVoiceoversWith(preds ...predicate.Voiceover) predicate.User

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

func ID

func ID(id uuid.UUID) predicate.User

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.User

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.User

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.User

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.User

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.User

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.User

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.User

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.User

IDNotIn applies the NotIn predicate on the ID field.

func LastSeenAt

func LastSeenAt(v time.Time) predicate.User

LastSeenAt applies equality check predicate on the "last_seen_at" field. It's identical to LastSeenAtEQ.

func LastSeenAtEQ

func LastSeenAtEQ(v time.Time) predicate.User

LastSeenAtEQ applies the EQ predicate on the "last_seen_at" field.

func LastSeenAtGT

func LastSeenAtGT(v time.Time) predicate.User

LastSeenAtGT applies the GT predicate on the "last_seen_at" field.

func LastSeenAtGTE

func LastSeenAtGTE(v time.Time) predicate.User

LastSeenAtGTE applies the GTE predicate on the "last_seen_at" field.

func LastSeenAtIn

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

LastSeenAtIn applies the In predicate on the "last_seen_at" field.

func LastSeenAtLT

func LastSeenAtLT(v time.Time) predicate.User

LastSeenAtLT applies the LT predicate on the "last_seen_at" field.

func LastSeenAtLTE

func LastSeenAtLTE(v time.Time) predicate.User

LastSeenAtLTE applies the LTE predicate on the "last_seen_at" field.

func LastSeenAtNEQ

func LastSeenAtNEQ(v time.Time) predicate.User

LastSeenAtNEQ applies the NEQ predicate on the "last_seen_at" field.

func LastSeenAtNotIn

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

LastSeenAtNotIn applies the NotIn predicate on the "last_seen_at" field.

func LastSignInAt

func LastSignInAt(v time.Time) predicate.User

LastSignInAt applies equality check predicate on the "last_sign_in_at" field. It's identical to LastSignInAtEQ.

func LastSignInAtEQ

func LastSignInAtEQ(v time.Time) predicate.User

LastSignInAtEQ applies the EQ predicate on the "last_sign_in_at" field.

func LastSignInAtGT

func LastSignInAtGT(v time.Time) predicate.User

LastSignInAtGT applies the GT predicate on the "last_sign_in_at" field.

func LastSignInAtGTE

func LastSignInAtGTE(v time.Time) predicate.User

LastSignInAtGTE applies the GTE predicate on the "last_sign_in_at" field.

func LastSignInAtIn

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

LastSignInAtIn applies the In predicate on the "last_sign_in_at" field.

func LastSignInAtIsNil

func LastSignInAtIsNil() predicate.User

LastSignInAtIsNil applies the IsNil predicate on the "last_sign_in_at" field.

func LastSignInAtLT

func LastSignInAtLT(v time.Time) predicate.User

LastSignInAtLT applies the LT predicate on the "last_sign_in_at" field.

func LastSignInAtLTE

func LastSignInAtLTE(v time.Time) predicate.User

LastSignInAtLTE applies the LTE predicate on the "last_sign_in_at" field.

func LastSignInAtNEQ

func LastSignInAtNEQ(v time.Time) predicate.User

LastSignInAtNEQ applies the NEQ predicate on the "last_sign_in_at" field.

func LastSignInAtNotIn

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

LastSignInAtNotIn applies the NotIn predicate on the "last_sign_in_at" field.

func LastSignInAtNotNil

func LastSignInAtNotNil() predicate.User

LastSignInAtNotNil applies the NotNil predicate on the "last_sign_in_at" 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 ScheduledForDeletionOn

func ScheduledForDeletionOn(v time.Time) predicate.User

ScheduledForDeletionOn applies equality check predicate on the "scheduled_for_deletion_on" field. It's identical to ScheduledForDeletionOnEQ.

func ScheduledForDeletionOnEQ

func ScheduledForDeletionOnEQ(v time.Time) predicate.User

ScheduledForDeletionOnEQ applies the EQ predicate on the "scheduled_for_deletion_on" field.

func ScheduledForDeletionOnGT

func ScheduledForDeletionOnGT(v time.Time) predicate.User

ScheduledForDeletionOnGT applies the GT predicate on the "scheduled_for_deletion_on" field.

func ScheduledForDeletionOnGTE

func ScheduledForDeletionOnGTE(v time.Time) predicate.User

ScheduledForDeletionOnGTE applies the GTE predicate on the "scheduled_for_deletion_on" field.

func ScheduledForDeletionOnIn

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

ScheduledForDeletionOnIn applies the In predicate on the "scheduled_for_deletion_on" field.

func ScheduledForDeletionOnIsNil

func ScheduledForDeletionOnIsNil() predicate.User

ScheduledForDeletionOnIsNil applies the IsNil predicate on the "scheduled_for_deletion_on" field.

func ScheduledForDeletionOnLT

func ScheduledForDeletionOnLT(v time.Time) predicate.User

ScheduledForDeletionOnLT applies the LT predicate on the "scheduled_for_deletion_on" field.

func ScheduledForDeletionOnLTE

func ScheduledForDeletionOnLTE(v time.Time) predicate.User

ScheduledForDeletionOnLTE applies the LTE predicate on the "scheduled_for_deletion_on" field.

func ScheduledForDeletionOnNEQ

func ScheduledForDeletionOnNEQ(v time.Time) predicate.User

ScheduledForDeletionOnNEQ applies the NEQ predicate on the "scheduled_for_deletion_on" field.

func ScheduledForDeletionOnNotIn

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

ScheduledForDeletionOnNotIn applies the NotIn predicate on the "scheduled_for_deletion_on" field.

func ScheduledForDeletionOnNotNil

func ScheduledForDeletionOnNotNil() predicate.User

ScheduledForDeletionOnNotNil applies the NotNil predicate on the "scheduled_for_deletion_on" field.

func StripeCustomerID

func StripeCustomerID(v string) predicate.User

StripeCustomerID applies equality check predicate on the "stripe_customer_id" field. It's identical to StripeCustomerIDEQ.

func StripeCustomerIDContains

func StripeCustomerIDContains(v string) predicate.User

StripeCustomerIDContains applies the Contains predicate on the "stripe_customer_id" field.

func StripeCustomerIDContainsFold

func StripeCustomerIDContainsFold(v string) predicate.User

StripeCustomerIDContainsFold applies the ContainsFold predicate on the "stripe_customer_id" field.

func StripeCustomerIDEQ

func StripeCustomerIDEQ(v string) predicate.User

StripeCustomerIDEQ applies the EQ predicate on the "stripe_customer_id" field.

func StripeCustomerIDEqualFold

func StripeCustomerIDEqualFold(v string) predicate.User

StripeCustomerIDEqualFold applies the EqualFold predicate on the "stripe_customer_id" field.

func StripeCustomerIDGT

func StripeCustomerIDGT(v string) predicate.User

StripeCustomerIDGT applies the GT predicate on the "stripe_customer_id" field.

func StripeCustomerIDGTE

func StripeCustomerIDGTE(v string) predicate.User

StripeCustomerIDGTE applies the GTE predicate on the "stripe_customer_id" field.

func StripeCustomerIDHasPrefix

func StripeCustomerIDHasPrefix(v string) predicate.User

StripeCustomerIDHasPrefix applies the HasPrefix predicate on the "stripe_customer_id" field.

func StripeCustomerIDHasSuffix

func StripeCustomerIDHasSuffix(v string) predicate.User

StripeCustomerIDHasSuffix applies the HasSuffix predicate on the "stripe_customer_id" field.

func StripeCustomerIDIn

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

StripeCustomerIDIn applies the In predicate on the "stripe_customer_id" field.

func StripeCustomerIDLT

func StripeCustomerIDLT(v string) predicate.User

StripeCustomerIDLT applies the LT predicate on the "stripe_customer_id" field.

func StripeCustomerIDLTE

func StripeCustomerIDLTE(v string) predicate.User

StripeCustomerIDLTE applies the LTE predicate on the "stripe_customer_id" field.

func StripeCustomerIDNEQ

func StripeCustomerIDNEQ(v string) predicate.User

StripeCustomerIDNEQ applies the NEQ predicate on the "stripe_customer_id" field.

func StripeCustomerIDNotIn

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

StripeCustomerIDNotIn applies the NotIn predicate on the "stripe_customer_id" 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 UsernameChangedAt

func UsernameChangedAt(v time.Time) predicate.User

UsernameChangedAt applies equality check predicate on the "username_changed_at" field. It's identical to UsernameChangedAtEQ.

func UsernameChangedAtEQ

func UsernameChangedAtEQ(v time.Time) predicate.User

UsernameChangedAtEQ applies the EQ predicate on the "username_changed_at" field.

func UsernameChangedAtGT

func UsernameChangedAtGT(v time.Time) predicate.User

UsernameChangedAtGT applies the GT predicate on the "username_changed_at" field.

func UsernameChangedAtGTE

func UsernameChangedAtGTE(v time.Time) predicate.User

UsernameChangedAtGTE applies the GTE predicate on the "username_changed_at" field.

func UsernameChangedAtIn

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

UsernameChangedAtIn applies the In predicate on the "username_changed_at" field.

func UsernameChangedAtIsNil

func UsernameChangedAtIsNil() predicate.User

UsernameChangedAtIsNil applies the IsNil predicate on the "username_changed_at" field.

func UsernameChangedAtLT

func UsernameChangedAtLT(v time.Time) predicate.User

UsernameChangedAtLT applies the LT predicate on the "username_changed_at" field.

func UsernameChangedAtLTE

func UsernameChangedAtLTE(v time.Time) predicate.User

UsernameChangedAtLTE applies the LTE predicate on the "username_changed_at" field.

func UsernameChangedAtNEQ

func UsernameChangedAtNEQ(v time.Time) predicate.User

UsernameChangedAtNEQ applies the NEQ predicate on the "username_changed_at" field.

func UsernameChangedAtNotIn

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

UsernameChangedAtNotIn applies the NotIn predicate on the "username_changed_at" field.

func UsernameChangedAtNotNil

func UsernameChangedAtNotNil() predicate.User

UsernameChangedAtNotNil applies the NotNil predicate on the "username_changed_at" field.

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

func WantsEmail

func WantsEmail(v bool) predicate.User

WantsEmail applies equality check predicate on the "wants_email" field. It's identical to WantsEmailEQ.

func WantsEmailEQ

func WantsEmailEQ(v bool) predicate.User

WantsEmailEQ applies the EQ predicate on the "wants_email" field.

func WantsEmailIsNil

func WantsEmailIsNil() predicate.User

WantsEmailIsNil applies the IsNil predicate on the "wants_email" field.

func WantsEmailNEQ

func WantsEmailNEQ(v bool) predicate.User

WantsEmailNEQ applies the NEQ predicate on the "wants_email" field.

func WantsEmailNotNil

func WantsEmailNotNil() predicate.User

WantsEmailNotNil applies the NotNil predicate on the "wants_email" field.

Types

This section is empty.

Jump to

Keyboard shortcuts

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