package
0.0.0-20241221063656-87887cf51946
Repository: https://github.com/lrstanley/spectrograph.git
Documentation: pkg.go.dev
# Functions
Admin applies equality check predicate on the "admin" field.
AdminEQ applies the EQ predicate on the "admin" field.
AdminIsNil applies the IsNil predicate on the "admin" field.
AdminNEQ applies the NEQ predicate on the "admin" field.
AdminNotNil applies the NotNil predicate on the "admin" field.
And groups predicates with the AND operator between them.
AvatarHash applies equality check predicate on the "avatar_hash" field.
AvatarHashContains applies the Contains predicate on the "avatar_hash" field.
AvatarHashContainsFold applies the ContainsFold predicate on the "avatar_hash" field.
AvatarHashEQ applies the EQ predicate on the "avatar_hash" field.
AvatarHashEqualFold applies the EqualFold predicate on the "avatar_hash" field.
AvatarHashGT applies the GT predicate on the "avatar_hash" field.
AvatarHashGTE applies the GTE predicate on the "avatar_hash" field.
AvatarHashHasPrefix applies the HasPrefix predicate on the "avatar_hash" field.
AvatarHashHasSuffix applies the HasSuffix predicate on the "avatar_hash" field.
AvatarHashIn applies the In predicate on the "avatar_hash" field.
AvatarHashIsNil applies the IsNil predicate on the "avatar_hash" field.
AvatarHashLT applies the LT predicate on the "avatar_hash" field.
AvatarHashLTE applies the LTE predicate on the "avatar_hash" field.
AvatarHashNEQ applies the NEQ predicate on the "avatar_hash" field.
AvatarHashNotIn applies the NotIn predicate on the "avatar_hash" field.
AvatarHashNotNil applies the NotNil predicate on the "avatar_hash" field.
AvatarURL applies equality check predicate on the "avatar_url" field.
AvatarURLContains applies the Contains predicate on the "avatar_url" field.
AvatarURLContainsFold applies the ContainsFold predicate on the "avatar_url" field.
AvatarURLEQ applies the EQ predicate on the "avatar_url" field.
AvatarURLEqualFold applies the EqualFold predicate on the "avatar_url" field.
AvatarURLGT applies the GT predicate on the "avatar_url" field.
AvatarURLGTE applies the GTE predicate on the "avatar_url" field.
AvatarURLHasPrefix applies the HasPrefix predicate on the "avatar_url" field.
AvatarURLHasSuffix applies the HasSuffix predicate on the "avatar_url" field.
AvatarURLIn applies the In predicate on the "avatar_url" field.
AvatarURLLT applies the LT predicate on the "avatar_url" field.
AvatarURLLTE applies the LTE predicate on the "avatar_url" field.
AvatarURLNEQ applies the NEQ predicate on the "avatar_url" field.
AvatarURLNotIn applies the NotIn predicate on the "avatar_url" field.
Banned applies equality check predicate on the "banned" field.
BannedEQ applies the EQ predicate on the "banned" field.
BannedIsNil applies the IsNil predicate on the "banned" field.
BannedNEQ applies the NEQ predicate on the "banned" field.
BannedNotNil applies the NotNil predicate on the "banned" field.
BanReason applies equality check predicate on the "ban_reason" field.
BanReasonContains applies the Contains predicate on the "ban_reason" field.
BanReasonContainsFold applies the ContainsFold predicate on the "ban_reason" field.
BanReasonEQ applies the EQ predicate on the "ban_reason" field.
BanReasonEqualFold applies the EqualFold predicate on the "ban_reason" field.
BanReasonGT applies the GT predicate on the "ban_reason" field.
BanReasonGTE applies the GTE predicate on the "ban_reason" field.
BanReasonHasPrefix applies the HasPrefix predicate on the "ban_reason" field.
BanReasonHasSuffix applies the HasSuffix predicate on the "ban_reason" field.
BanReasonIn applies the In predicate on the "ban_reason" field.
BanReasonIsNil applies the IsNil predicate on the "ban_reason" field.
BanReasonLT applies the LT predicate on the "ban_reason" field.
BanReasonLTE applies the LTE predicate on the "ban_reason" field.
BanReasonNEQ applies the NEQ predicate on the "ban_reason" field.
BanReasonNotIn applies the NotIn predicate on the "ban_reason" field.
BanReasonNotNil applies the NotNil predicate on the "ban_reason" field.
Bot applies equality check predicate on the "bot" field.
BotEQ applies the EQ predicate on the "bot" field.
BotIsNil applies the IsNil predicate on the "bot" field.
BotNEQ applies the NEQ predicate on the "bot" field.
BotNotNil applies the NotNil predicate on the "bot" field.
ByAdmin orders the results by the admin field.
ByAvatarHash orders the results by the avatar_hash field.
ByAvatarURL orders the results by the avatar_url field.
ByBanned orders the results by the banned field.
ByBannedByField orders the results by banned_by field.
ByBannedUsers orders the results by banned_users terms.
ByBannedUsersCount orders the results by banned_users count.
ByBanReason orders the results by the ban_reason field.
ByBot orders the results by the bot field.
ByCreateTime orders the results by the create_time field.
ByDiscriminator orders the results by the discriminator field.
ByEmail orders the results by the email field.
ByFlags orders the results by the flags field.
ByID orders the results by the id field.
ByLocale orders the results by the locale field.
ByMfaEnabled orders the results by the mfa_enabled field.
ByPremiumType orders the results by the premium_type field.
ByPublicFlags orders the results by the public_flags field.
BySystem orders the results by the system field.
ByUpdateTime orders the results by the update_time field.
ByUserGuilds orders the results by user_guilds terms.
ByUserGuildsCount orders the results by user_guilds count.
ByUserID orders the results by the user_id field.
ByUsername orders the results by the username field.
ByVerified orders the results by the verified field.
CreateTime applies equality check predicate on the "create_time" field.
CreateTimeEQ applies the EQ predicate on the "create_time" field.
CreateTimeGT applies the GT predicate on the "create_time" field.
CreateTimeGTE applies the GTE predicate on the "create_time" field.
CreateTimeIn applies the In predicate on the "create_time" field.
CreateTimeLT applies the LT predicate on the "create_time" field.
CreateTimeLTE applies the LTE predicate on the "create_time" field.
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
Discriminator applies equality check predicate on the "discriminator" field.
DiscriminatorContains applies the Contains predicate on the "discriminator" field.
DiscriminatorContainsFold applies the ContainsFold predicate on the "discriminator" field.
DiscriminatorEQ applies the EQ predicate on the "discriminator" field.
DiscriminatorEqualFold applies the EqualFold predicate on the "discriminator" field.
DiscriminatorGT applies the GT predicate on the "discriminator" field.
DiscriminatorGTE applies the GTE predicate on the "discriminator" field.
DiscriminatorHasPrefix applies the HasPrefix predicate on the "discriminator" field.
DiscriminatorHasSuffix applies the HasSuffix predicate on the "discriminator" field.
DiscriminatorIn applies the In predicate on the "discriminator" field.
DiscriminatorLT applies the LT predicate on the "discriminator" field.
DiscriminatorLTE applies the LTE predicate on the "discriminator" field.
DiscriminatorNEQ applies the NEQ predicate on the "discriminator" field.
DiscriminatorNotIn applies the NotIn predicate on the "discriminator" field.
Email applies equality check predicate on the "email" field.
EmailContains applies the Contains predicate on the "email" field.
EmailContainsFold applies the ContainsFold predicate on the "email" field.
EmailEQ applies the EQ predicate on the "email" field.
EmailEqualFold applies the EqualFold predicate on the "email" field.
EmailGT applies the GT predicate on the "email" field.
EmailGTE applies the GTE predicate on the "email" field.
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
EmailIn applies the In predicate on the "email" field.
EmailLT applies the LT predicate on the "email" field.
EmailLTE applies the LTE predicate on the "email" field.
EmailNEQ applies the NEQ predicate on the "email" field.
EmailNotIn applies the NotIn predicate on the "email" field.
Flags applies equality check predicate on the "flags" field.
FlagsEQ applies the EQ predicate on the "flags" field.
FlagsGT applies the GT predicate on the "flags" field.
FlagsGTE applies the GTE predicate on the "flags" field.
FlagsIn applies the In predicate on the "flags" field.
FlagsIsNil applies the IsNil predicate on the "flags" field.
FlagsLT applies the LT predicate on the "flags" field.
FlagsLTE applies the LTE predicate on the "flags" field.
FlagsNEQ applies the NEQ predicate on the "flags" field.
FlagsNotIn applies the NotIn predicate on the "flags" field.
FlagsNotNil applies the NotNil predicate on the "flags" field.
HasBannedBy applies the HasEdge predicate on the "banned_by" edge.
HasBannedByWith applies the HasEdge predicate on the "banned_by" edge with a given conditions (other predicates).
HasBannedUsers applies the HasEdge predicate on the "banned_users" edge.
HasBannedUsersWith applies the HasEdge predicate on the "banned_users" edge with a given conditions (other predicates).
HasUserGuilds applies the HasEdge predicate on the "user_guilds" edge.
HasUserGuildsWith applies the HasEdge predicate on the "user_guilds" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Locale applies equality check predicate on the "locale" field.
LocaleContains applies the Contains predicate on the "locale" field.
LocaleContainsFold applies the ContainsFold predicate on the "locale" field.
LocaleEQ applies the EQ predicate on the "locale" field.
LocaleEqualFold applies the EqualFold predicate on the "locale" field.
LocaleGT applies the GT predicate on the "locale" field.
LocaleGTE applies the GTE predicate on the "locale" field.
LocaleHasPrefix applies the HasPrefix predicate on the "locale" field.
LocaleHasSuffix applies the HasSuffix predicate on the "locale" field.
LocaleIn applies the In predicate on the "locale" field.
LocaleIsNil applies the IsNil predicate on the "locale" field.
LocaleLT applies the LT predicate on the "locale" field.
LocaleLTE applies the LTE predicate on the "locale" field.
LocaleNEQ applies the NEQ predicate on the "locale" field.
LocaleNotIn applies the NotIn predicate on the "locale" field.
LocaleNotNil applies the NotNil predicate on the "locale" field.
MfaEnabled applies equality check predicate on the "mfa_enabled" field.
MfaEnabledEQ applies the EQ predicate on the "mfa_enabled" field.
MfaEnabledIsNil applies the IsNil predicate on the "mfa_enabled" field.
MfaEnabledNEQ applies the NEQ predicate on the "mfa_enabled" field.
MfaEnabledNotNil applies the NotNil predicate on the "mfa_enabled" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
PremiumType applies equality check predicate on the "premium_type" field.
PremiumTypeEQ applies the EQ predicate on the "premium_type" field.
PremiumTypeGT applies the GT predicate on the "premium_type" field.
PremiumTypeGTE applies the GTE predicate on the "premium_type" field.
PremiumTypeIn applies the In predicate on the "premium_type" field.
PremiumTypeIsNil applies the IsNil predicate on the "premium_type" field.
PremiumTypeLT applies the LT predicate on the "premium_type" field.
PremiumTypeLTE applies the LTE predicate on the "premium_type" field.
PremiumTypeNEQ applies the NEQ predicate on the "premium_type" field.
PremiumTypeNotIn applies the NotIn predicate on the "premium_type" field.
PremiumTypeNotNil applies the NotNil predicate on the "premium_type" field.
PublicFlags applies equality check predicate on the "public_flags" field.
PublicFlagsEQ applies the EQ predicate on the "public_flags" field.
PublicFlagsGT applies the GT predicate on the "public_flags" field.
PublicFlagsGTE applies the GTE predicate on the "public_flags" field.
PublicFlagsIn applies the In predicate on the "public_flags" field.
PublicFlagsIsNil applies the IsNil predicate on the "public_flags" field.
PublicFlagsLT applies the LT predicate on the "public_flags" field.
PublicFlagsLTE applies the LTE predicate on the "public_flags" field.
PublicFlagsNEQ applies the NEQ predicate on the "public_flags" field.
PublicFlagsNotIn applies the NotIn predicate on the "public_flags" field.
PublicFlagsNotNil applies the NotNil predicate on the "public_flags" field.
System applies equality check predicate on the "system" field.
SystemEQ applies the EQ predicate on the "system" field.
SystemIsNil applies the IsNil predicate on the "system" field.
SystemNEQ applies the NEQ predicate on the "system" field.
SystemNotNil applies the NotNil predicate on the "system" field.
UpdateTime applies equality check predicate on the "update_time" field.
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
UpdateTimeGT applies the GT predicate on the "update_time" field.
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
UpdateTimeIn applies the In predicate on the "update_time" field.
UpdateTimeLT applies the LT predicate on the "update_time" field.
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
UserID applies equality check predicate on the "user_id" field.
UserIDContains applies the Contains predicate on the "user_id" field.
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
UserIDEQ applies the EQ predicate on the "user_id" field.
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
UserIDGT applies the GT predicate on the "user_id" field.
UserIDGTE applies the GTE predicate on the "user_id" field.
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
UserIDIn applies the In predicate on the "user_id" field.
UserIDLT applies the LT predicate on the "user_id" field.
UserIDLTE applies the LTE predicate on the "user_id" field.
UserIDNEQ applies the NEQ predicate on the "user_id" field.
UserIDNotIn applies the NotIn predicate on the "user_id" field.
Username applies equality check predicate on the "username" field.
UsernameContains applies the Contains predicate on the "username" field.
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
UsernameEQ applies the EQ predicate on the "username" field.
UsernameEqualFold applies the EqualFold predicate on the "username" field.
UsernameGT applies the GT predicate on the "username" field.
UsernameGTE applies the GTE predicate on the "username" field.
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
UsernameIn applies the In predicate on the "username" field.
UsernameLT applies the LT predicate on the "username" field.
UsernameLTE applies the LTE predicate on the "username" field.
UsernameNEQ applies the NEQ predicate on the "username" field.
UsernameNotIn applies the NotIn predicate on the "username" field.
ValidColumn reports if the column name is valid (part of the table columns).
Verified applies equality check predicate on the "verified" field.
VerifiedEQ applies the EQ predicate on the "verified" field.
VerifiedIsNil applies the IsNil predicate on the "verified" field.
VerifiedNEQ applies the NEQ predicate on the "verified" field.
VerifiedNotNil applies the NotNil predicate on the "verified" field.
# Constants
BannedByColumn is the table column denoting the banned_by relation/edge.
BannedByTable is the table that holds the banned_by relation/edge.
BannedUsersColumn is the table column denoting the banned_users relation/edge.
BannedUsersTable is the table that holds the banned_users relation/edge.
EdgeBannedBy holds the string denoting the banned_by edge name in mutations.
EdgeBannedUsers holds the string denoting the banned_users edge name in mutations.
EdgeUserGuilds holds the string denoting the user_guilds edge name in mutations.
FieldAdmin holds the string denoting the admin field in the database.
FieldAvatarHash holds the string denoting the avatar_hash field in the database.
FieldAvatarURL holds the string denoting the avatar_url field in the database.
FieldBanned holds the string denoting the banned field in the database.
FieldBanReason holds the string denoting the ban_reason field in the database.
FieldBot holds the string denoting the bot field in the database.
FieldCreateTime holds the string denoting the create_time field in the database.
FieldDiscriminator holds the string denoting the discriminator field in the database.
FieldEmail holds the string denoting the email field in the database.
FieldFlags holds the string denoting the flags field in the database.
FieldID holds the string denoting the id field in the database.
FieldLocale holds the string denoting the locale field in the database.
FieldMfaEnabled holds the string denoting the mfa_enabled field in the database.
FieldPremiumType holds the string denoting the premium_type field in the database.
FieldPublicFlags holds the string denoting the public_flags field in the database.
FieldSystem holds the string denoting the system field in the database.
FieldUpdateTime holds the string denoting the update_time field in the database.
FieldUserID holds the string denoting the user_id field in the database.
FieldUsername holds the string denoting the username field in the database.
FieldVerified holds the string denoting the verified field in the database.
Label holds the string label denoting the user type in the database.
Table holds the table name of the user in the database.
UserGuildsInverseTable is the table name for the Guild entity.
UserGuildsTable is the table that holds the user_guilds relation/edge.
# Variables
AvatarHashValidator is a validator for the "avatar_hash" field.
AvatarURLValidator is a validator for the "avatar_url" field.
Columns holds all SQL columns for user fields.
DefaultCreateTime holds the default value on creation for the "create_time" field.
DefaultUpdateTime holds the default value on creation for the "update_time" field.
DiscriminatorValidator is a validator for the "discriminator" field.
EmailValidator is a validator for the "email" field.
ForeignKeys holds the SQL foreign-keys that are owned by the "users" table and are not defined as standalone fields in the schema.
Note that the variables below are initialized by the runtime package on the initialization of the application.
LocaleValidator is a validator for the "locale" field.
Note that the variables below are initialized by the runtime package on the initialization of the application.
UpdateDefaultUpdateTime holds the default value on update for the "update_time" field.
UserGuildsPrimaryKey and UserGuildsColumn2 are the table columns denoting the primary key for the user_guilds relation (M2M).
# Type aliases
OrderOption defines the ordering options for the User queries.