Documentation
¶
Index ¶
- Constants
- Variables
- func ActiveProductID(v string) predicate.User
- func ActiveProductIDContains(v string) predicate.User
- func ActiveProductIDContainsFold(v string) predicate.User
- func ActiveProductIDEQ(v string) predicate.User
- func ActiveProductIDEqualFold(v string) predicate.User
- func ActiveProductIDGT(v string) predicate.User
- func ActiveProductIDGTE(v string) predicate.User
- func ActiveProductIDHasPrefix(v string) predicate.User
- func ActiveProductIDHasSuffix(v string) predicate.User
- func ActiveProductIDIn(vs ...string) predicate.User
- func ActiveProductIDIsNil() predicate.User
- func ActiveProductIDLT(v string) predicate.User
- func ActiveProductIDLTE(v string) predicate.User
- func ActiveProductIDNEQ(v string) predicate.User
- func ActiveProductIDNotIn(vs ...string) predicate.User
- func ActiveProductIDNotNil() predicate.User
- func And(predicates ...predicate.User) predicate.User
- func BannedAt(v time.Time) predicate.User
- func BannedAtEQ(v time.Time) predicate.User
- func BannedAtGT(v time.Time) predicate.User
- func BannedAtGTE(v time.Time) predicate.User
- func BannedAtIn(vs ...time.Time) predicate.User
- func BannedAtIsNil() predicate.User
- func BannedAtLT(v time.Time) predicate.User
- func BannedAtLTE(v time.Time) predicate.User
- func BannedAtNEQ(v time.Time) predicate.User
- func BannedAtNotIn(vs ...time.Time) predicate.User
- func BannedAtNotNil() predicate.User
- func CreatedAt(v time.Time) predicate.User
- func CreatedAtEQ(v time.Time) predicate.User
- func CreatedAtGT(v time.Time) predicate.User
- func CreatedAtGTE(v time.Time) predicate.User
- func CreatedAtIn(vs ...time.Time) predicate.User
- func CreatedAtLT(v time.Time) predicate.User
- func CreatedAtLTE(v time.Time) predicate.User
- func CreatedAtNEQ(v time.Time) predicate.User
- func CreatedAtNotIn(vs ...time.Time) predicate.User
- func DataDeletedAt(v time.Time) predicate.User
- func DataDeletedAtEQ(v time.Time) predicate.User
- func DataDeletedAtGT(v time.Time) predicate.User
- func DataDeletedAtGTE(v time.Time) predicate.User
- func DataDeletedAtIn(vs ...time.Time) predicate.User
- func DataDeletedAtIsNil() predicate.User
- func DataDeletedAtLT(v time.Time) predicate.User
- func DataDeletedAtLTE(v time.Time) predicate.User
- func DataDeletedAtNEQ(v time.Time) predicate.User
- func DataDeletedAtNotIn(vs ...time.Time) predicate.User
- func DataDeletedAtNotNil() predicate.User
- func DiscordID(v string) predicate.User
- func DiscordIDContains(v string) predicate.User
- func DiscordIDContainsFold(v string) predicate.User
- func DiscordIDEQ(v string) predicate.User
- func DiscordIDEqualFold(v string) predicate.User
- func DiscordIDGT(v string) predicate.User
- func DiscordIDGTE(v string) predicate.User
- func DiscordIDHasPrefix(v string) predicate.User
- func DiscordIDHasSuffix(v string) predicate.User
- func DiscordIDIn(vs ...string) predicate.User
- func DiscordIDIsNil() predicate.User
- func DiscordIDLT(v string) predicate.User
- func DiscordIDLTE(v string) predicate.User
- func DiscordIDNEQ(v string) predicate.User
- func DiscordIDNotIn(vs ...string) predicate.User
- func DiscordIDNotNil() predicate.User
- func Email(v string) predicate.User
- func EmailContains(v string) predicate.User
- func EmailContainsFold(v string) predicate.User
- func EmailEQ(v string) predicate.User
- func EmailEqualFold(v string) predicate.User
- func EmailGT(v string) predicate.User
- func EmailGTE(v string) predicate.User
- func EmailHasPrefix(v string) predicate.User
- func EmailHasSuffix(v string) predicate.User
- func EmailIn(vs ...string) predicate.User
- func EmailLT(v string) predicate.User
- func EmailLTE(v string) predicate.User
- func EmailNEQ(v string) predicate.User
- func EmailNormalized(v string) predicate.User
- func EmailNormalizedContains(v string) predicate.User
- func EmailNormalizedContainsFold(v string) predicate.User
- func EmailNormalizedEQ(v string) predicate.User
- func EmailNormalizedEqualFold(v string) predicate.User
- func EmailNormalizedGT(v string) predicate.User
- func EmailNormalizedGTE(v string) predicate.User
- func EmailNormalizedHasPrefix(v string) predicate.User
- func EmailNormalizedHasSuffix(v string) predicate.User
- func EmailNormalizedIn(vs ...string) predicate.User
- func EmailNormalizedIsNil() predicate.User
- func EmailNormalizedLT(v string) predicate.User
- func EmailNormalizedLTE(v string) predicate.User
- func EmailNormalizedNEQ(v string) predicate.User
- func EmailNormalizedNotIn(vs ...string) predicate.User
- func EmailNormalizedNotNil() predicate.User
- func EmailNotIn(vs ...string) predicate.User
- func HasAPITokens() predicate.User
- func HasAPITokensWith(preds ...predicate.ApiToken) predicate.User
- func HasCredits() predicate.User
- func HasCreditsWith(preds ...predicate.Credit) predicate.User
- func HasGenerationOutputLikes() predicate.User
- func HasGenerationOutputLikesWith(preds ...predicate.GenerationOutputLike) predicate.User
- func HasGenerations() predicate.User
- func HasGenerationsWith(preds ...predicate.Generation) predicate.User
- func HasRoles() predicate.User
- func HasRolesWith(preds ...predicate.Role) predicate.User
- func HasTipsGiven() predicate.User
- func HasTipsGivenWith(preds ...predicate.TipLog) predicate.User
- func HasTipsReceived() predicate.User
- func HasTipsReceivedWith(preds ...predicate.TipLog) predicate.User
- func HasUpscales() predicate.User
- func HasUpscalesWith(preds ...predicate.Upscale) predicate.User
- func HasVoiceovers() predicate.User
- func HasVoiceoversWith(preds ...predicate.Voiceover) predicate.User
- func ID(id uuid.UUID) predicate.User
- func IDEQ(id uuid.UUID) predicate.User
- func IDGT(id uuid.UUID) predicate.User
- func IDGTE(id uuid.UUID) predicate.User
- func IDIn(ids ...uuid.UUID) predicate.User
- func IDLT(id uuid.UUID) predicate.User
- func IDLTE(id uuid.UUID) predicate.User
- func IDNEQ(id uuid.UUID) predicate.User
- func IDNotIn(ids ...uuid.UUID) predicate.User
- func LastSeenAt(v time.Time) predicate.User
- func LastSeenAtEQ(v time.Time) predicate.User
- func LastSeenAtGT(v time.Time) predicate.User
- func LastSeenAtGTE(v time.Time) predicate.User
- func LastSeenAtIn(vs ...time.Time) predicate.User
- func LastSeenAtLT(v time.Time) predicate.User
- func LastSeenAtLTE(v time.Time) predicate.User
- func LastSeenAtNEQ(v time.Time) predicate.User
- func LastSeenAtNotIn(vs ...time.Time) predicate.User
- func LastSignInAt(v time.Time) predicate.User
- func LastSignInAtEQ(v time.Time) predicate.User
- func LastSignInAtGT(v time.Time) predicate.User
- func LastSignInAtGTE(v time.Time) predicate.User
- func LastSignInAtIn(vs ...time.Time) predicate.User
- func LastSignInAtIsNil() predicate.User
- func LastSignInAtLT(v time.Time) predicate.User
- func LastSignInAtLTE(v time.Time) predicate.User
- func LastSignInAtNEQ(v time.Time) predicate.User
- func LastSignInAtNotIn(vs ...time.Time) predicate.User
- func LastSignInAtNotNil() predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func ScheduledForDeletionOn(v time.Time) predicate.User
- func ScheduledForDeletionOnEQ(v time.Time) predicate.User
- func ScheduledForDeletionOnGT(v time.Time) predicate.User
- func ScheduledForDeletionOnGTE(v time.Time) predicate.User
- func ScheduledForDeletionOnIn(vs ...time.Time) predicate.User
- func ScheduledForDeletionOnIsNil() predicate.User
- func ScheduledForDeletionOnLT(v time.Time) predicate.User
- func ScheduledForDeletionOnLTE(v time.Time) predicate.User
- func ScheduledForDeletionOnNEQ(v time.Time) predicate.User
- func ScheduledForDeletionOnNotIn(vs ...time.Time) predicate.User
- func ScheduledForDeletionOnNotNil() predicate.User
- func StripeCancelsAt(v time.Time) predicate.User
- func StripeCancelsAtEQ(v time.Time) predicate.User
- func StripeCancelsAtGT(v time.Time) predicate.User
- func StripeCancelsAtGTE(v time.Time) predicate.User
- func StripeCancelsAtIn(vs ...time.Time) predicate.User
- func StripeCancelsAtIsNil() predicate.User
- func StripeCancelsAtLT(v time.Time) predicate.User
- func StripeCancelsAtLTE(v time.Time) predicate.User
- func StripeCancelsAtNEQ(v time.Time) predicate.User
- func StripeCancelsAtNotIn(vs ...time.Time) predicate.User
- func StripeCancelsAtNotNil() predicate.User
- func StripeCustomerID(v string) predicate.User
- func StripeCustomerIDContains(v string) predicate.User
- func StripeCustomerIDContainsFold(v string) predicate.User
- func StripeCustomerIDEQ(v string) predicate.User
- func StripeCustomerIDEqualFold(v string) predicate.User
- func StripeCustomerIDGT(v string) predicate.User
- func StripeCustomerIDGTE(v string) predicate.User
- func StripeCustomerIDHasPrefix(v string) predicate.User
- func StripeCustomerIDHasSuffix(v string) predicate.User
- func StripeCustomerIDIn(vs ...string) predicate.User
- func StripeCustomerIDLT(v string) predicate.User
- func StripeCustomerIDLTE(v string) predicate.User
- func StripeCustomerIDNEQ(v string) predicate.User
- func StripeCustomerIDNotIn(vs ...string) predicate.User
- func StripeHighestPriceID(v string) predicate.User
- func StripeHighestPriceIDContains(v string) predicate.User
- func StripeHighestPriceIDContainsFold(v string) predicate.User
- func StripeHighestPriceIDEQ(v string) predicate.User
- func StripeHighestPriceIDEqualFold(v string) predicate.User
- func StripeHighestPriceIDGT(v string) predicate.User
- func StripeHighestPriceIDGTE(v string) predicate.User
- func StripeHighestPriceIDHasPrefix(v string) predicate.User
- func StripeHighestPriceIDHasSuffix(v string) predicate.User
- func StripeHighestPriceIDIn(vs ...string) predicate.User
- func StripeHighestPriceIDIsNil() predicate.User
- func StripeHighestPriceIDLT(v string) predicate.User
- func StripeHighestPriceIDLTE(v string) predicate.User
- func StripeHighestPriceIDNEQ(v string) predicate.User
- func StripeHighestPriceIDNotIn(vs ...string) predicate.User
- func StripeHighestPriceIDNotNil() predicate.User
- func StripeHighestProductID(v string) predicate.User
- func StripeHighestProductIDContains(v string) predicate.User
- func StripeHighestProductIDContainsFold(v string) predicate.User
- func StripeHighestProductIDEQ(v string) predicate.User
- func StripeHighestProductIDEqualFold(v string) predicate.User
- func StripeHighestProductIDGT(v string) predicate.User
- func StripeHighestProductIDGTE(v string) predicate.User
- func StripeHighestProductIDHasPrefix(v string) predicate.User
- func StripeHighestProductIDHasSuffix(v string) predicate.User
- func StripeHighestProductIDIn(vs ...string) predicate.User
- func StripeHighestProductIDIsNil() predicate.User
- func StripeHighestProductIDLT(v string) predicate.User
- func StripeHighestProductIDLTE(v string) predicate.User
- func StripeHighestProductIDNEQ(v string) predicate.User
- func StripeHighestProductIDNotIn(vs ...string) predicate.User
- func StripeHighestProductIDNotNil() predicate.User
- func StripeRenewsAt(v time.Time) predicate.User
- func StripeRenewsAtEQ(v time.Time) predicate.User
- func StripeRenewsAtGT(v time.Time) predicate.User
- func StripeRenewsAtGTE(v time.Time) predicate.User
- func StripeRenewsAtIn(vs ...time.Time) predicate.User
- func StripeRenewsAtIsNil() predicate.User
- func StripeRenewsAtLT(v time.Time) predicate.User
- func StripeRenewsAtLTE(v time.Time) predicate.User
- func StripeRenewsAtNEQ(v time.Time) predicate.User
- func StripeRenewsAtNotIn(vs ...time.Time) predicate.User
- func StripeRenewsAtNotNil() predicate.User
- func StripeSyncedAt(v time.Time) predicate.User
- func StripeSyncedAtEQ(v time.Time) predicate.User
- func StripeSyncedAtGT(v time.Time) predicate.User
- func StripeSyncedAtGTE(v time.Time) predicate.User
- func StripeSyncedAtIn(vs ...time.Time) predicate.User
- func StripeSyncedAtIsNil() predicate.User
- func StripeSyncedAtLT(v time.Time) predicate.User
- func StripeSyncedAtLTE(v time.Time) predicate.User
- func StripeSyncedAtNEQ(v time.Time) predicate.User
- func StripeSyncedAtNotIn(vs ...time.Time) predicate.User
- func StripeSyncedAtNotNil() predicate.User
- func UpdatedAt(v time.Time) predicate.User
- func UpdatedAtEQ(v time.Time) predicate.User
- func UpdatedAtGT(v time.Time) predicate.User
- func UpdatedAtGTE(v time.Time) predicate.User
- func UpdatedAtIn(vs ...time.Time) predicate.User
- func UpdatedAtLT(v time.Time) predicate.User
- func UpdatedAtLTE(v time.Time) predicate.User
- func UpdatedAtNEQ(v time.Time) predicate.User
- func UpdatedAtNotIn(vs ...time.Time) predicate.User
- func Username(v string) predicate.User
- func UsernameChangedAt(v time.Time) predicate.User
- func UsernameChangedAtEQ(v time.Time) predicate.User
- func UsernameChangedAtGT(v time.Time) predicate.User
- func UsernameChangedAtGTE(v time.Time) predicate.User
- func UsernameChangedAtIn(vs ...time.Time) predicate.User
- func UsernameChangedAtIsNil() predicate.User
- func UsernameChangedAtLT(v time.Time) predicate.User
- func UsernameChangedAtLTE(v time.Time) predicate.User
- func UsernameChangedAtNEQ(v time.Time) predicate.User
- func UsernameChangedAtNotIn(vs ...time.Time) predicate.User
- func UsernameChangedAtNotNil() predicate.User
- func UsernameContains(v string) predicate.User
- func UsernameContainsFold(v string) predicate.User
- func UsernameEQ(v string) predicate.User
- func UsernameEqualFold(v string) predicate.User
- func UsernameGT(v string) predicate.User
- func UsernameGTE(v string) predicate.User
- func UsernameHasPrefix(v string) predicate.User
- func UsernameHasSuffix(v string) predicate.User
- func UsernameIn(vs ...string) predicate.User
- func UsernameLT(v string) predicate.User
- func UsernameLTE(v string) predicate.User
- func UsernameNEQ(v string) predicate.User
- func UsernameNotIn(vs ...string) predicate.User
- func ValidColumn(column string) bool
- func WantsEmail(v bool) predicate.User
- func WantsEmailEQ(v bool) predicate.User
- func WantsEmailIsNil() predicate.User
- func WantsEmailNEQ(v bool) predicate.User
- func WantsEmailNotNil() predicate.User
- type OrderOption
- func ByAPITokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAPITokensCount(opts ...sql.OrderTermOption) OrderOption
- func ByActiveProductID(opts ...sql.OrderTermOption) OrderOption
- func ByBannedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCredits(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCreditsCount(opts ...sql.OrderTermOption) OrderOption
- func ByDataDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDiscordID(opts ...sql.OrderTermOption) OrderOption
- func ByEmail(opts ...sql.OrderTermOption) OrderOption
- func ByEmailNormalized(opts ...sql.OrderTermOption) OrderOption
- func ByGenerationOutputLikes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGenerationOutputLikesCount(opts ...sql.OrderTermOption) OrderOption
- func ByGenerations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGenerationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByLastSeenAt(opts ...sql.OrderTermOption) OrderOption
- func ByLastSignInAt(opts ...sql.OrderTermOption) OrderOption
- func ByRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRolesCount(opts ...sql.OrderTermOption) OrderOption
- func ByScheduledForDeletionOn(opts ...sql.OrderTermOption) OrderOption
- func ByStripeCancelsAt(opts ...sql.OrderTermOption) OrderOption
- func ByStripeCustomerID(opts ...sql.OrderTermOption) OrderOption
- func ByStripeHighestPriceID(opts ...sql.OrderTermOption) OrderOption
- func ByStripeHighestProductID(opts ...sql.OrderTermOption) OrderOption
- func ByStripeRenewsAt(opts ...sql.OrderTermOption) OrderOption
- func ByStripeSyncedAt(opts ...sql.OrderTermOption) OrderOption
- func ByTipsGiven(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTipsGivenCount(opts ...sql.OrderTermOption) OrderOption
- func ByTipsReceived(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTipsReceivedCount(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpscales(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByUpscalesCount(opts ...sql.OrderTermOption) OrderOption
- func ByUsername(opts ...sql.OrderTermOption) OrderOption
- func ByUsernameChangedAt(opts ...sql.OrderTermOption) OrderOption
- func ByVoiceovers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByVoiceoversCount(opts ...sql.OrderTermOption) OrderOption
- func ByWantsEmail(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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" // FieldEmailNormalized holds the string denoting the email_normalized field in the database. FieldEmailNormalized = "email_normalized" // 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" // FieldStripeHighestProductID holds the string denoting the stripe_highest_product_id field in the database. FieldStripeHighestProductID = "stripe_highest_product_id" // FieldStripeHighestPriceID holds the string denoting the stripe_highest_price_id field in the database. FieldStripeHighestPriceID = "stripe_highest_price_id" // FieldStripeCancelsAt holds the string denoting the stripe_cancels_at field in the database. FieldStripeCancelsAt = "stripe_cancels_at" // FieldStripeSyncedAt holds the string denoting the stripe_synced_at field in the database. FieldStripeSyncedAt = "stripe_synced_at" // FieldStripeRenewsAt holds the string denoting the stripe_renews_at field in the database. FieldStripeRenewsAt = "stripe_renews_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 ¶
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 )
var Columns = []string{ FieldID, FieldEmail, FieldEmailNormalized, FieldStripeCustomerID, FieldActiveProductID, FieldLastSignInAt, FieldLastSeenAt, FieldBannedAt, FieldScheduledForDeletionOn, FieldDataDeletedAt, FieldWantsEmail, FieldDiscordID, FieldUsername, FieldUsernameChangedAt, FieldStripeHighestProductID, FieldStripeHighestPriceID, FieldStripeCancelsAt, FieldStripeSyncedAt, FieldStripeRenewsAt, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for user fields.
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 ¶
ActiveProductID applies equality check predicate on the "active_product_id" field. It's identical to ActiveProductIDEQ.
func ActiveProductIDContains ¶
ActiveProductIDContains applies the Contains predicate on the "active_product_id" field.
func ActiveProductIDContainsFold ¶
ActiveProductIDContainsFold applies the ContainsFold predicate on the "active_product_id" field.
func ActiveProductIDEQ ¶
ActiveProductIDEQ applies the EQ predicate on the "active_product_id" field.
func ActiveProductIDEqualFold ¶
ActiveProductIDEqualFold applies the EqualFold predicate on the "active_product_id" field.
func ActiveProductIDGT ¶
ActiveProductIDGT applies the GT predicate on the "active_product_id" field.
func ActiveProductIDGTE ¶
ActiveProductIDGTE applies the GTE predicate on the "active_product_id" field.
func ActiveProductIDHasPrefix ¶
ActiveProductIDHasPrefix applies the HasPrefix predicate on the "active_product_id" field.
func ActiveProductIDHasSuffix ¶
ActiveProductIDHasSuffix applies the HasSuffix predicate on the "active_product_id" field.
func ActiveProductIDIn ¶
ActiveProductIDIn applies the In predicate on the "active_product_id" field.
func ActiveProductIDIsNil ¶
ActiveProductIDIsNil applies the IsNil predicate on the "active_product_id" field.
func ActiveProductIDLT ¶
ActiveProductIDLT applies the LT predicate on the "active_product_id" field.
func ActiveProductIDLTE ¶
ActiveProductIDLTE applies the LTE predicate on the "active_product_id" field.
func ActiveProductIDNEQ ¶
ActiveProductIDNEQ applies the NEQ predicate on the "active_product_id" field.
func ActiveProductIDNotIn ¶
ActiveProductIDNotIn applies the NotIn predicate on the "active_product_id" field.
func ActiveProductIDNotNil ¶
ActiveProductIDNotNil applies the NotNil predicate on the "active_product_id" field.
func BannedAt ¶
BannedAt applies equality check predicate on the "banned_at" field. It's identical to BannedAtEQ.
func BannedAtEQ ¶
BannedAtEQ applies the EQ predicate on the "banned_at" field.
func BannedAtGT ¶
BannedAtGT applies the GT predicate on the "banned_at" field.
func BannedAtGTE ¶
BannedAtGTE applies the GTE predicate on the "banned_at" field.
func BannedAtIn ¶
BannedAtIn applies the In predicate on the "banned_at" field.
func BannedAtIsNil ¶
BannedAtIsNil applies the IsNil predicate on the "banned_at" field.
func BannedAtLT ¶
BannedAtLT applies the LT predicate on the "banned_at" field.
func BannedAtLTE ¶
BannedAtLTE applies the LTE predicate on the "banned_at" field.
func BannedAtNEQ ¶
BannedAtNEQ applies the NEQ predicate on the "banned_at" field.
func BannedAtNotIn ¶
BannedAtNotIn applies the NotIn predicate on the "banned_at" field.
func BannedAtNotNil ¶
BannedAtNotNil applies the NotNil predicate on the "banned_at" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DataDeletedAt ¶
DataDeletedAt applies equality check predicate on the "data_deleted_at" field. It's identical to DataDeletedAtEQ.
func DataDeletedAtEQ ¶
DataDeletedAtEQ applies the EQ predicate on the "data_deleted_at" field.
func DataDeletedAtGT ¶
DataDeletedAtGT applies the GT predicate on the "data_deleted_at" field.
func DataDeletedAtGTE ¶
DataDeletedAtGTE applies the GTE predicate on the "data_deleted_at" field.
func DataDeletedAtIn ¶
DataDeletedAtIn applies the In predicate on the "data_deleted_at" field.
func DataDeletedAtIsNil ¶
DataDeletedAtIsNil applies the IsNil predicate on the "data_deleted_at" field.
func DataDeletedAtLT ¶
DataDeletedAtLT applies the LT predicate on the "data_deleted_at" field.
func DataDeletedAtLTE ¶
DataDeletedAtLTE applies the LTE predicate on the "data_deleted_at" field.
func DataDeletedAtNEQ ¶
DataDeletedAtNEQ applies the NEQ predicate on the "data_deleted_at" field.
func DataDeletedAtNotIn ¶
DataDeletedAtNotIn applies the NotIn predicate on the "data_deleted_at" field.
func DataDeletedAtNotNil ¶
DataDeletedAtNotNil applies the NotNil predicate on the "data_deleted_at" field.
func DiscordID ¶
DiscordID applies equality check predicate on the "discord_id" field. It's identical to DiscordIDEQ.
func DiscordIDContains ¶
DiscordIDContains applies the Contains predicate on the "discord_id" field.
func DiscordIDContainsFold ¶
DiscordIDContainsFold applies the ContainsFold predicate on the "discord_id" field.
func DiscordIDEQ ¶
DiscordIDEQ applies the EQ predicate on the "discord_id" field.
func DiscordIDEqualFold ¶
DiscordIDEqualFold applies the EqualFold predicate on the "discord_id" field.
func DiscordIDGT ¶
DiscordIDGT applies the GT predicate on the "discord_id" field.
func DiscordIDGTE ¶
DiscordIDGTE applies the GTE predicate on the "discord_id" field.
func DiscordIDHasPrefix ¶
DiscordIDHasPrefix applies the HasPrefix predicate on the "discord_id" field.
func DiscordIDHasSuffix ¶
DiscordIDHasSuffix applies the HasSuffix predicate on the "discord_id" field.
func DiscordIDIn ¶
DiscordIDIn applies the In predicate on the "discord_id" field.
func DiscordIDIsNil ¶
DiscordIDIsNil applies the IsNil predicate on the "discord_id" field.
func DiscordIDLT ¶
DiscordIDLT applies the LT predicate on the "discord_id" field.
func DiscordIDLTE ¶
DiscordIDLTE applies the LTE predicate on the "discord_id" field.
func DiscordIDNEQ ¶
DiscordIDNEQ applies the NEQ predicate on the "discord_id" field.
func DiscordIDNotIn ¶
DiscordIDNotIn applies the NotIn predicate on the "discord_id" field.
func DiscordIDNotNil ¶
DiscordIDNotNil applies the NotNil predicate on the "discord_id" field.
func Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailNormalized ¶
EmailNormalized applies equality check predicate on the "email_normalized" field. It's identical to EmailNormalizedEQ.
func EmailNormalizedContains ¶
EmailNormalizedContains applies the Contains predicate on the "email_normalized" field.
func EmailNormalizedContainsFold ¶
EmailNormalizedContainsFold applies the ContainsFold predicate on the "email_normalized" field.
func EmailNormalizedEQ ¶
EmailNormalizedEQ applies the EQ predicate on the "email_normalized" field.
func EmailNormalizedEqualFold ¶
EmailNormalizedEqualFold applies the EqualFold predicate on the "email_normalized" field.
func EmailNormalizedGT ¶
EmailNormalizedGT applies the GT predicate on the "email_normalized" field.
func EmailNormalizedGTE ¶
EmailNormalizedGTE applies the GTE predicate on the "email_normalized" field.
func EmailNormalizedHasPrefix ¶
EmailNormalizedHasPrefix applies the HasPrefix predicate on the "email_normalized" field.
func EmailNormalizedHasSuffix ¶
EmailNormalizedHasSuffix applies the HasSuffix predicate on the "email_normalized" field.
func EmailNormalizedIn ¶
EmailNormalizedIn applies the In predicate on the "email_normalized" field.
func EmailNormalizedIsNil ¶
EmailNormalizedIsNil applies the IsNil predicate on the "email_normalized" field.
func EmailNormalizedLT ¶
EmailNormalizedLT applies the LT predicate on the "email_normalized" field.
func EmailNormalizedLTE ¶
EmailNormalizedLTE applies the LTE predicate on the "email_normalized" field.
func EmailNormalizedNEQ ¶
EmailNormalizedNEQ applies the NEQ predicate on the "email_normalized" field.
func EmailNormalizedNotIn ¶
EmailNormalizedNotIn applies the NotIn predicate on the "email_normalized" field.
func EmailNormalizedNotNil ¶
EmailNormalizedNotNil applies the NotNil predicate on the "email_normalized" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func HasAPITokens ¶
HasAPITokens applies the HasEdge predicate on the "api_tokens" edge.
func HasAPITokensWith ¶
HasAPITokensWith applies the HasEdge predicate on the "api_tokens" edge with a given conditions (other predicates).
func HasCredits ¶
HasCredits applies the HasEdge predicate on the "credits" edge.
func HasCreditsWith ¶
HasCreditsWith applies the HasEdge predicate on the "credits" edge with a given conditions (other predicates).
func HasGenerationOutputLikes ¶
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 ¶
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 HasRolesWith ¶
HasRolesWith applies the HasEdge predicate on the "roles" edge with a given conditions (other predicates).
func HasTipsGiven ¶
HasTipsGiven applies the HasEdge predicate on the "tips_given" edge.
func HasTipsGivenWith ¶
HasTipsGivenWith applies the HasEdge predicate on the "tips_given" edge with a given conditions (other predicates).
func HasTipsReceived ¶
HasTipsReceived applies the HasEdge predicate on the "tips_received" edge.
func HasTipsReceivedWith ¶
HasTipsReceivedWith applies the HasEdge predicate on the "tips_received" edge with a given conditions (other predicates).
func HasUpscales ¶
HasUpscales applies the HasEdge predicate on the "upscales" edge.
func HasUpscalesWith ¶
HasUpscalesWith applies the HasEdge predicate on the "upscales" edge with a given conditions (other predicates).
func HasVoiceovers ¶
HasVoiceovers applies the HasEdge predicate on the "voiceovers" edge.
func HasVoiceoversWith ¶
HasVoiceoversWith applies the HasEdge predicate on the "voiceovers" edge with a given conditions (other predicates).
func LastSeenAt ¶
LastSeenAt applies equality check predicate on the "last_seen_at" field. It's identical to LastSeenAtEQ.
func LastSeenAtEQ ¶
LastSeenAtEQ applies the EQ predicate on the "last_seen_at" field.
func LastSeenAtGT ¶
LastSeenAtGT applies the GT predicate on the "last_seen_at" field.
func LastSeenAtGTE ¶
LastSeenAtGTE applies the GTE predicate on the "last_seen_at" field.
func LastSeenAtIn ¶
LastSeenAtIn applies the In predicate on the "last_seen_at" field.
func LastSeenAtLT ¶
LastSeenAtLT applies the LT predicate on the "last_seen_at" field.
func LastSeenAtLTE ¶
LastSeenAtLTE applies the LTE predicate on the "last_seen_at" field.
func LastSeenAtNEQ ¶
LastSeenAtNEQ applies the NEQ predicate on the "last_seen_at" field.
func LastSeenAtNotIn ¶
LastSeenAtNotIn applies the NotIn predicate on the "last_seen_at" field.
func LastSignInAt ¶
LastSignInAt applies equality check predicate on the "last_sign_in_at" field. It's identical to LastSignInAtEQ.
func LastSignInAtEQ ¶
LastSignInAtEQ applies the EQ predicate on the "last_sign_in_at" field.
func LastSignInAtGT ¶
LastSignInAtGT applies the GT predicate on the "last_sign_in_at" field.
func LastSignInAtGTE ¶
LastSignInAtGTE applies the GTE predicate on the "last_sign_in_at" field.
func LastSignInAtIn ¶
LastSignInAtIn applies the In predicate on the "last_sign_in_at" field.
func LastSignInAtIsNil ¶
LastSignInAtIsNil applies the IsNil predicate on the "last_sign_in_at" field.
func LastSignInAtLT ¶
LastSignInAtLT applies the LT predicate on the "last_sign_in_at" field.
func LastSignInAtLTE ¶
LastSignInAtLTE applies the LTE predicate on the "last_sign_in_at" field.
func LastSignInAtNEQ ¶
LastSignInAtNEQ applies the NEQ predicate on the "last_sign_in_at" field.
func LastSignInAtNotIn ¶
LastSignInAtNotIn applies the NotIn predicate on the "last_sign_in_at" field.
func LastSignInAtNotNil ¶
LastSignInAtNotNil applies the NotNil predicate on the "last_sign_in_at" field.
func ScheduledForDeletionOn ¶
ScheduledForDeletionOn applies equality check predicate on the "scheduled_for_deletion_on" field. It's identical to ScheduledForDeletionOnEQ.
func ScheduledForDeletionOnEQ ¶
ScheduledForDeletionOnEQ applies the EQ predicate on the "scheduled_for_deletion_on" field.
func ScheduledForDeletionOnGT ¶
ScheduledForDeletionOnGT applies the GT predicate on the "scheduled_for_deletion_on" field.
func ScheduledForDeletionOnGTE ¶
ScheduledForDeletionOnGTE applies the GTE predicate on the "scheduled_for_deletion_on" field.
func ScheduledForDeletionOnIn ¶
ScheduledForDeletionOnIn applies the In predicate on the "scheduled_for_deletion_on" field.
func ScheduledForDeletionOnIsNil ¶
ScheduledForDeletionOnIsNil applies the IsNil predicate on the "scheduled_for_deletion_on" field.
func ScheduledForDeletionOnLT ¶
ScheduledForDeletionOnLT applies the LT predicate on the "scheduled_for_deletion_on" field.
func ScheduledForDeletionOnLTE ¶
ScheduledForDeletionOnLTE applies the LTE predicate on the "scheduled_for_deletion_on" field.
func ScheduledForDeletionOnNEQ ¶
ScheduledForDeletionOnNEQ applies the NEQ predicate on the "scheduled_for_deletion_on" field.
func ScheduledForDeletionOnNotIn ¶
ScheduledForDeletionOnNotIn applies the NotIn predicate on the "scheduled_for_deletion_on" field.
func ScheduledForDeletionOnNotNil ¶
ScheduledForDeletionOnNotNil applies the NotNil predicate on the "scheduled_for_deletion_on" field.
func StripeCancelsAt ¶
StripeCancelsAt applies equality check predicate on the "stripe_cancels_at" field. It's identical to StripeCancelsAtEQ.
func StripeCancelsAtEQ ¶
StripeCancelsAtEQ applies the EQ predicate on the "stripe_cancels_at" field.
func StripeCancelsAtGT ¶
StripeCancelsAtGT applies the GT predicate on the "stripe_cancels_at" field.
func StripeCancelsAtGTE ¶
StripeCancelsAtGTE applies the GTE predicate on the "stripe_cancels_at" field.
func StripeCancelsAtIn ¶
StripeCancelsAtIn applies the In predicate on the "stripe_cancels_at" field.
func StripeCancelsAtIsNil ¶
StripeCancelsAtIsNil applies the IsNil predicate on the "stripe_cancels_at" field.
func StripeCancelsAtLT ¶
StripeCancelsAtLT applies the LT predicate on the "stripe_cancels_at" field.
func StripeCancelsAtLTE ¶
StripeCancelsAtLTE applies the LTE predicate on the "stripe_cancels_at" field.
func StripeCancelsAtNEQ ¶
StripeCancelsAtNEQ applies the NEQ predicate on the "stripe_cancels_at" field.
func StripeCancelsAtNotIn ¶
StripeCancelsAtNotIn applies the NotIn predicate on the "stripe_cancels_at" field.
func StripeCancelsAtNotNil ¶
StripeCancelsAtNotNil applies the NotNil predicate on the "stripe_cancels_at" field.
func StripeCustomerID ¶
StripeCustomerID applies equality check predicate on the "stripe_customer_id" field. It's identical to StripeCustomerIDEQ.
func StripeCustomerIDContains ¶
StripeCustomerIDContains applies the Contains predicate on the "stripe_customer_id" field.
func StripeCustomerIDContainsFold ¶
StripeCustomerIDContainsFold applies the ContainsFold predicate on the "stripe_customer_id" field.
func StripeCustomerIDEQ ¶
StripeCustomerIDEQ applies the EQ predicate on the "stripe_customer_id" field.
func StripeCustomerIDEqualFold ¶
StripeCustomerIDEqualFold applies the EqualFold predicate on the "stripe_customer_id" field.
func StripeCustomerIDGT ¶
StripeCustomerIDGT applies the GT predicate on the "stripe_customer_id" field.
func StripeCustomerIDGTE ¶
StripeCustomerIDGTE applies the GTE predicate on the "stripe_customer_id" field.
func StripeCustomerIDHasPrefix ¶
StripeCustomerIDHasPrefix applies the HasPrefix predicate on the "stripe_customer_id" field.
func StripeCustomerIDHasSuffix ¶
StripeCustomerIDHasSuffix applies the HasSuffix predicate on the "stripe_customer_id" field.
func StripeCustomerIDIn ¶
StripeCustomerIDIn applies the In predicate on the "stripe_customer_id" field.
func StripeCustomerIDLT ¶
StripeCustomerIDLT applies the LT predicate on the "stripe_customer_id" field.
func StripeCustomerIDLTE ¶
StripeCustomerIDLTE applies the LTE predicate on the "stripe_customer_id" field.
func StripeCustomerIDNEQ ¶
StripeCustomerIDNEQ applies the NEQ predicate on the "stripe_customer_id" field.
func StripeCustomerIDNotIn ¶
StripeCustomerIDNotIn applies the NotIn predicate on the "stripe_customer_id" field.
func StripeHighestPriceID ¶
StripeHighestPriceID applies equality check predicate on the "stripe_highest_price_id" field. It's identical to StripeHighestPriceIDEQ.
func StripeHighestPriceIDContains ¶
StripeHighestPriceIDContains applies the Contains predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDContainsFold ¶
StripeHighestPriceIDContainsFold applies the ContainsFold predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDEQ ¶
StripeHighestPriceIDEQ applies the EQ predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDEqualFold ¶
StripeHighestPriceIDEqualFold applies the EqualFold predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDGT ¶
StripeHighestPriceIDGT applies the GT predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDGTE ¶
StripeHighestPriceIDGTE applies the GTE predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDHasPrefix ¶
StripeHighestPriceIDHasPrefix applies the HasPrefix predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDHasSuffix ¶
StripeHighestPriceIDHasSuffix applies the HasSuffix predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDIn ¶
StripeHighestPriceIDIn applies the In predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDIsNil ¶
StripeHighestPriceIDIsNil applies the IsNil predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDLT ¶
StripeHighestPriceIDLT applies the LT predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDLTE ¶
StripeHighestPriceIDLTE applies the LTE predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDNEQ ¶
StripeHighestPriceIDNEQ applies the NEQ predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDNotIn ¶
StripeHighestPriceIDNotIn applies the NotIn predicate on the "stripe_highest_price_id" field.
func StripeHighestPriceIDNotNil ¶
StripeHighestPriceIDNotNil applies the NotNil predicate on the "stripe_highest_price_id" field.
func StripeHighestProductID ¶
StripeHighestProductID applies equality check predicate on the "stripe_highest_product_id" field. It's identical to StripeHighestProductIDEQ.
func StripeHighestProductIDContains ¶
StripeHighestProductIDContains applies the Contains predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDContainsFold ¶
StripeHighestProductIDContainsFold applies the ContainsFold predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDEQ ¶
StripeHighestProductIDEQ applies the EQ predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDEqualFold ¶
StripeHighestProductIDEqualFold applies the EqualFold predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDGT ¶
StripeHighestProductIDGT applies the GT predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDGTE ¶
StripeHighestProductIDGTE applies the GTE predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDHasPrefix ¶
StripeHighestProductIDHasPrefix applies the HasPrefix predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDHasSuffix ¶
StripeHighestProductIDHasSuffix applies the HasSuffix predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDIn ¶
StripeHighestProductIDIn applies the In predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDIsNil ¶
StripeHighestProductIDIsNil applies the IsNil predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDLT ¶
StripeHighestProductIDLT applies the LT predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDLTE ¶
StripeHighestProductIDLTE applies the LTE predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDNEQ ¶
StripeHighestProductIDNEQ applies the NEQ predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDNotIn ¶
StripeHighestProductIDNotIn applies the NotIn predicate on the "stripe_highest_product_id" field.
func StripeHighestProductIDNotNil ¶
StripeHighestProductIDNotNil applies the NotNil predicate on the "stripe_highest_product_id" field.
func StripeRenewsAt ¶
StripeRenewsAt applies equality check predicate on the "stripe_renews_at" field. It's identical to StripeRenewsAtEQ.
func StripeRenewsAtEQ ¶
StripeRenewsAtEQ applies the EQ predicate on the "stripe_renews_at" field.
func StripeRenewsAtGT ¶
StripeRenewsAtGT applies the GT predicate on the "stripe_renews_at" field.
func StripeRenewsAtGTE ¶
StripeRenewsAtGTE applies the GTE predicate on the "stripe_renews_at" field.
func StripeRenewsAtIn ¶
StripeRenewsAtIn applies the In predicate on the "stripe_renews_at" field.
func StripeRenewsAtIsNil ¶
StripeRenewsAtIsNil applies the IsNil predicate on the "stripe_renews_at" field.
func StripeRenewsAtLT ¶
StripeRenewsAtLT applies the LT predicate on the "stripe_renews_at" field.
func StripeRenewsAtLTE ¶
StripeRenewsAtLTE applies the LTE predicate on the "stripe_renews_at" field.
func StripeRenewsAtNEQ ¶
StripeRenewsAtNEQ applies the NEQ predicate on the "stripe_renews_at" field.
func StripeRenewsAtNotIn ¶
StripeRenewsAtNotIn applies the NotIn predicate on the "stripe_renews_at" field.
func StripeRenewsAtNotNil ¶
StripeRenewsAtNotNil applies the NotNil predicate on the "stripe_renews_at" field.
func StripeSyncedAt ¶
StripeSyncedAt applies equality check predicate on the "stripe_synced_at" field. It's identical to StripeSyncedAtEQ.
func StripeSyncedAtEQ ¶
StripeSyncedAtEQ applies the EQ predicate on the "stripe_synced_at" field.
func StripeSyncedAtGT ¶
StripeSyncedAtGT applies the GT predicate on the "stripe_synced_at" field.
func StripeSyncedAtGTE ¶
StripeSyncedAtGTE applies the GTE predicate on the "stripe_synced_at" field.
func StripeSyncedAtIn ¶
StripeSyncedAtIn applies the In predicate on the "stripe_synced_at" field.
func StripeSyncedAtIsNil ¶
StripeSyncedAtIsNil applies the IsNil predicate on the "stripe_synced_at" field.
func StripeSyncedAtLT ¶
StripeSyncedAtLT applies the LT predicate on the "stripe_synced_at" field.
func StripeSyncedAtLTE ¶
StripeSyncedAtLTE applies the LTE predicate on the "stripe_synced_at" field.
func StripeSyncedAtNEQ ¶
StripeSyncedAtNEQ applies the NEQ predicate on the "stripe_synced_at" field.
func StripeSyncedAtNotIn ¶
StripeSyncedAtNotIn applies the NotIn predicate on the "stripe_synced_at" field.
func StripeSyncedAtNotNil ¶
StripeSyncedAtNotNil applies the NotNil predicate on the "stripe_synced_at" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func Username ¶
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameChangedAt ¶
UsernameChangedAt applies equality check predicate on the "username_changed_at" field. It's identical to UsernameChangedAtEQ.
func UsernameChangedAtEQ ¶
UsernameChangedAtEQ applies the EQ predicate on the "username_changed_at" field.
func UsernameChangedAtGT ¶
UsernameChangedAtGT applies the GT predicate on the "username_changed_at" field.
func UsernameChangedAtGTE ¶
UsernameChangedAtGTE applies the GTE predicate on the "username_changed_at" field.
func UsernameChangedAtIn ¶
UsernameChangedAtIn applies the In predicate on the "username_changed_at" field.
func UsernameChangedAtIsNil ¶
UsernameChangedAtIsNil applies the IsNil predicate on the "username_changed_at" field.
func UsernameChangedAtLT ¶
UsernameChangedAtLT applies the LT predicate on the "username_changed_at" field.
func UsernameChangedAtLTE ¶
UsernameChangedAtLTE applies the LTE predicate on the "username_changed_at" field.
func UsernameChangedAtNEQ ¶
UsernameChangedAtNEQ applies the NEQ predicate on the "username_changed_at" field.
func UsernameChangedAtNotIn ¶
UsernameChangedAtNotIn applies the NotIn predicate on the "username_changed_at" field.
func UsernameChangedAtNotNil ¶
UsernameChangedAtNotNil applies the NotNil predicate on the "username_changed_at" field.
func UsernameContains ¶
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WantsEmail ¶
WantsEmail applies equality check predicate on the "wants_email" field. It's identical to WantsEmailEQ.
func WantsEmailEQ ¶
WantsEmailEQ applies the EQ predicate on the "wants_email" field.
func WantsEmailIsNil ¶
WantsEmailIsNil applies the IsNil predicate on the "wants_email" field.
func WantsEmailNEQ ¶
WantsEmailNEQ applies the NEQ predicate on the "wants_email" field.
func WantsEmailNotNil ¶
WantsEmailNotNil applies the NotNil predicate on the "wants_email" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the User queries.
func ByAPITokens ¶
func ByAPITokens(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAPITokens orders the results by api_tokens terms.
func ByAPITokensCount ¶
func ByAPITokensCount(opts ...sql.OrderTermOption) OrderOption
ByAPITokensCount orders the results by api_tokens count.
func ByActiveProductID ¶
func ByActiveProductID(opts ...sql.OrderTermOption) OrderOption
ByActiveProductID orders the results by the active_product_id field.
func ByBannedAt ¶
func ByBannedAt(opts ...sql.OrderTermOption) OrderOption
ByBannedAt orders the results by the banned_at field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCredits ¶
func ByCredits(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCredits orders the results by credits terms.
func ByCreditsCount ¶
func ByCreditsCount(opts ...sql.OrderTermOption) OrderOption
ByCreditsCount orders the results by credits count.
func ByDataDeletedAt ¶
func ByDataDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDataDeletedAt orders the results by the data_deleted_at field.
func ByDiscordID ¶
func ByDiscordID(opts ...sql.OrderTermOption) OrderOption
ByDiscordID orders the results by the discord_id field.
func ByEmail ¶
func ByEmail(opts ...sql.OrderTermOption) OrderOption
ByEmail orders the results by the email field.
func ByEmailNormalized ¶
func ByEmailNormalized(opts ...sql.OrderTermOption) OrderOption
ByEmailNormalized orders the results by the email_normalized field.
func ByGenerationOutputLikes ¶
func ByGenerationOutputLikes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGenerationOutputLikes orders the results by generation_output_likes terms.
func ByGenerationOutputLikesCount ¶
func ByGenerationOutputLikesCount(opts ...sql.OrderTermOption) OrderOption
ByGenerationOutputLikesCount orders the results by generation_output_likes count.
func ByGenerations ¶
func ByGenerations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByGenerations orders the results by generations terms.
func ByGenerationsCount ¶
func ByGenerationsCount(opts ...sql.OrderTermOption) OrderOption
ByGenerationsCount orders the results by generations count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByLastSeenAt ¶
func ByLastSeenAt(opts ...sql.OrderTermOption) OrderOption
ByLastSeenAt orders the results by the last_seen_at field.
func ByLastSignInAt ¶
func ByLastSignInAt(opts ...sql.OrderTermOption) OrderOption
ByLastSignInAt orders the results by the last_sign_in_at field.
func ByRoles ¶
func ByRoles(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRoles orders the results by roles terms.
func ByRolesCount ¶
func ByRolesCount(opts ...sql.OrderTermOption) OrderOption
ByRolesCount orders the results by roles count.
func ByScheduledForDeletionOn ¶
func ByScheduledForDeletionOn(opts ...sql.OrderTermOption) OrderOption
ByScheduledForDeletionOn orders the results by the scheduled_for_deletion_on field.
func ByStripeCancelsAt ¶
func ByStripeCancelsAt(opts ...sql.OrderTermOption) OrderOption
ByStripeCancelsAt orders the results by the stripe_cancels_at field.
func ByStripeCustomerID ¶
func ByStripeCustomerID(opts ...sql.OrderTermOption) OrderOption
ByStripeCustomerID orders the results by the stripe_customer_id field.
func ByStripeHighestPriceID ¶
func ByStripeHighestPriceID(opts ...sql.OrderTermOption) OrderOption
ByStripeHighestPriceID orders the results by the stripe_highest_price_id field.
func ByStripeHighestProductID ¶
func ByStripeHighestProductID(opts ...sql.OrderTermOption) OrderOption
ByStripeHighestProductID orders the results by the stripe_highest_product_id field.
func ByStripeRenewsAt ¶
func ByStripeRenewsAt(opts ...sql.OrderTermOption) OrderOption
ByStripeRenewsAt orders the results by the stripe_renews_at field.
func ByStripeSyncedAt ¶
func ByStripeSyncedAt(opts ...sql.OrderTermOption) OrderOption
ByStripeSyncedAt orders the results by the stripe_synced_at field.
func ByTipsGiven ¶
func ByTipsGiven(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTipsGiven orders the results by tips_given terms.
func ByTipsGivenCount ¶
func ByTipsGivenCount(opts ...sql.OrderTermOption) OrderOption
ByTipsGivenCount orders the results by tips_given count.
func ByTipsReceived ¶
func ByTipsReceived(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByTipsReceived orders the results by tips_received terms.
func ByTipsReceivedCount ¶
func ByTipsReceivedCount(opts ...sql.OrderTermOption) OrderOption
ByTipsReceivedCount orders the results by tips_received count.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpscales ¶
func ByUpscales(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByUpscales orders the results by upscales terms.
func ByUpscalesCount ¶
func ByUpscalesCount(opts ...sql.OrderTermOption) OrderOption
ByUpscalesCount orders the results by upscales count.
func ByUsername ¶
func ByUsername(opts ...sql.OrderTermOption) OrderOption
ByUsername orders the results by the username field.
func ByUsernameChangedAt ¶
func ByUsernameChangedAt(opts ...sql.OrderTermOption) OrderOption
ByUsernameChangedAt orders the results by the username_changed_at field.
func ByVoiceovers ¶
func ByVoiceovers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByVoiceovers orders the results by voiceovers terms.
func ByVoiceoversCount ¶
func ByVoiceoversCount(opts ...sql.OrderTermOption) OrderOption
ByVoiceoversCount orders the results by voiceovers count.
func ByWantsEmail ¶
func ByWantsEmail(opts ...sql.OrderTermOption) OrderOption
ByWantsEmail orders the results by the wants_email field.