apitoken

package
v0.0.0-...-d236baf Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the apitoken type in the database.
	Label = "api_token"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldHashedToken holds the string denoting the hashed_token field in the database.
	FieldHashedToken = "hashed_token"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldShortString holds the string denoting the short_string field in the database.
	FieldShortString = "short_string"
	// FieldIsActive holds the string denoting the is_active field in the database.
	FieldIsActive = "is_active"
	// FieldUses holds the string denoting the uses field in the database.
	FieldUses = "uses"
	// FieldCreditsSpent holds the string denoting the credits_spent field in the database.
	FieldCreditsSpent = "credits_spent"
	// FieldUserID holds the string denoting the user_id field in the database.
	FieldUserID = "user_id"
	// FieldAuthClientID holds the string denoting the auth_client_id field in the database.
	FieldAuthClientID = "auth_client_id"
	// FieldLastUsedAt holds the string denoting the last_used_at field in the database.
	FieldLastUsedAt = "last_used_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"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// 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"
	// EdgeAuthClients holds the string denoting the auth_clients edge name in mutations.
	EdgeAuthClients = "auth_clients"
	// Table holds the table name of the apitoken in the database.
	Table = "api_tokens"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "api_tokens"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_id"
	// 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 = "api_token_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 = "api_token_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 = "api_token_id"
	// AuthClientsTable is the table that holds the auth_clients relation/edge.
	AuthClientsTable = "api_tokens"
	// AuthClientsInverseTable is the table name for the AuthClient entity.
	// It exists in this package in order to avoid circular dependency with the "authclient" package.
	AuthClientsInverseTable = "auth_clients"
	// AuthClientsColumn is the table column denoting the auth_clients relation/edge.
	AuthClientsColumn = "auth_client_id"
)

Variables

View Source
var (
	// DefaultIsActive holds the default value on creation for the "is_active" field.
	DefaultIsActive bool
	// DefaultUses holds the default value on creation for the "uses" field.
	DefaultUses int
	// DefaultCreditsSpent holds the default value on creation for the "credits_spent" field.
	DefaultCreditsSpent int
	// 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 apitoken fields.

Functions

func And

func And(predicates ...predicate.ApiToken) predicate.ApiToken

And groups predicates with the AND operator between them.

func AuthClientID

func AuthClientID(v uuid.UUID) predicate.ApiToken

AuthClientID applies equality check predicate on the "auth_client_id" field. It's identical to AuthClientIDEQ.

func AuthClientIDEQ

func AuthClientIDEQ(v uuid.UUID) predicate.ApiToken

AuthClientIDEQ applies the EQ predicate on the "auth_client_id" field.

func AuthClientIDIn

func AuthClientIDIn(vs ...uuid.UUID) predicate.ApiToken

AuthClientIDIn applies the In predicate on the "auth_client_id" field.

func AuthClientIDIsNil

func AuthClientIDIsNil() predicate.ApiToken

AuthClientIDIsNil applies the IsNil predicate on the "auth_client_id" field.

func AuthClientIDNEQ

func AuthClientIDNEQ(v uuid.UUID) predicate.ApiToken

AuthClientIDNEQ applies the NEQ predicate on the "auth_client_id" field.

func AuthClientIDNotIn

func AuthClientIDNotIn(vs ...uuid.UUID) predicate.ApiToken

AuthClientIDNotIn applies the NotIn predicate on the "auth_client_id" field.

func AuthClientIDNotNil

func AuthClientIDNotNil() predicate.ApiToken

AuthClientIDNotNil applies the NotNil predicate on the "auth_client_id" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ApiToken

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ApiToken

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ApiToken

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ApiToken

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.ApiToken

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ApiToken

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ApiToken

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ApiToken

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.ApiToken

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func CreditsSpent

func CreditsSpent(v int) predicate.ApiToken

CreditsSpent applies equality check predicate on the "credits_spent" field. It's identical to CreditsSpentEQ.

func CreditsSpentEQ

func CreditsSpentEQ(v int) predicate.ApiToken

CreditsSpentEQ applies the EQ predicate on the "credits_spent" field.

func CreditsSpentGT

func CreditsSpentGT(v int) predicate.ApiToken

CreditsSpentGT applies the GT predicate on the "credits_spent" field.

func CreditsSpentGTE

func CreditsSpentGTE(v int) predicate.ApiToken

CreditsSpentGTE applies the GTE predicate on the "credits_spent" field.

func CreditsSpentIn

func CreditsSpentIn(vs ...int) predicate.ApiToken

CreditsSpentIn applies the In predicate on the "credits_spent" field.

func CreditsSpentLT

func CreditsSpentLT(v int) predicate.ApiToken

CreditsSpentLT applies the LT predicate on the "credits_spent" field.

func CreditsSpentLTE

func CreditsSpentLTE(v int) predicate.ApiToken

CreditsSpentLTE applies the LTE predicate on the "credits_spent" field.

func CreditsSpentNEQ

func CreditsSpentNEQ(v int) predicate.ApiToken

CreditsSpentNEQ applies the NEQ predicate on the "credits_spent" field.

func CreditsSpentNotIn

func CreditsSpentNotIn(vs ...int) predicate.ApiToken

CreditsSpentNotIn applies the NotIn predicate on the "credits_spent" field.

func HasAuthClients

func HasAuthClients() predicate.ApiToken

HasAuthClients applies the HasEdge predicate on the "auth_clients" edge.

func HasAuthClientsWith

func HasAuthClientsWith(preds ...predicate.AuthClient) predicate.ApiToken

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

func HasGenerations

func HasGenerations() predicate.ApiToken

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

func HasGenerationsWith

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

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

func HasUpscales

func HasUpscales() predicate.ApiToken

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

func HasUpscalesWith

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

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

func HasUser

func HasUser() predicate.ApiToken

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

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

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

func HasVoiceovers

func HasVoiceovers() predicate.ApiToken

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

func HasVoiceoversWith

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

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

func HashedToken

func HashedToken(v string) predicate.ApiToken

HashedToken applies equality check predicate on the "hashed_token" field. It's identical to HashedTokenEQ.

func HashedTokenContains

func HashedTokenContains(v string) predicate.ApiToken

HashedTokenContains applies the Contains predicate on the "hashed_token" field.

func HashedTokenContainsFold

func HashedTokenContainsFold(v string) predicate.ApiToken

HashedTokenContainsFold applies the ContainsFold predicate on the "hashed_token" field.

func HashedTokenEQ

func HashedTokenEQ(v string) predicate.ApiToken

HashedTokenEQ applies the EQ predicate on the "hashed_token" field.

func HashedTokenEqualFold

func HashedTokenEqualFold(v string) predicate.ApiToken

HashedTokenEqualFold applies the EqualFold predicate on the "hashed_token" field.

func HashedTokenGT

func HashedTokenGT(v string) predicate.ApiToken

HashedTokenGT applies the GT predicate on the "hashed_token" field.

func HashedTokenGTE

func HashedTokenGTE(v string) predicate.ApiToken

HashedTokenGTE applies the GTE predicate on the "hashed_token" field.

func HashedTokenHasPrefix

func HashedTokenHasPrefix(v string) predicate.ApiToken

HashedTokenHasPrefix applies the HasPrefix predicate on the "hashed_token" field.

func HashedTokenHasSuffix

func HashedTokenHasSuffix(v string) predicate.ApiToken

HashedTokenHasSuffix applies the HasSuffix predicate on the "hashed_token" field.

func HashedTokenIn

func HashedTokenIn(vs ...string) predicate.ApiToken

HashedTokenIn applies the In predicate on the "hashed_token" field.

func HashedTokenLT

func HashedTokenLT(v string) predicate.ApiToken

HashedTokenLT applies the LT predicate on the "hashed_token" field.

func HashedTokenLTE

func HashedTokenLTE(v string) predicate.ApiToken

HashedTokenLTE applies the LTE predicate on the "hashed_token" field.

func HashedTokenNEQ

func HashedTokenNEQ(v string) predicate.ApiToken

HashedTokenNEQ applies the NEQ predicate on the "hashed_token" field.

func HashedTokenNotIn

func HashedTokenNotIn(vs ...string) predicate.ApiToken

HashedTokenNotIn applies the NotIn predicate on the "hashed_token" field.

func ID

func ID(id uuid.UUID) predicate.ApiToken

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id uuid.UUID) predicate.ApiToken

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id uuid.UUID) predicate.ApiToken

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.ApiToken

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id uuid.UUID) predicate.ApiToken

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.ApiToken

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.ApiToken

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsActive

func IsActive(v bool) predicate.ApiToken

IsActive applies equality check predicate on the "is_active" field. It's identical to IsActiveEQ.

func IsActiveEQ

func IsActiveEQ(v bool) predicate.ApiToken

IsActiveEQ applies the EQ predicate on the "is_active" field.

func IsActiveNEQ

func IsActiveNEQ(v bool) predicate.ApiToken

IsActiveNEQ applies the NEQ predicate on the "is_active" field.

func LastUsedAt

func LastUsedAt(v time.Time) predicate.ApiToken

LastUsedAt applies equality check predicate on the "last_used_at" field. It's identical to LastUsedAtEQ.

func LastUsedAtEQ

func LastUsedAtEQ(v time.Time) predicate.ApiToken

LastUsedAtEQ applies the EQ predicate on the "last_used_at" field.

func LastUsedAtGT

func LastUsedAtGT(v time.Time) predicate.ApiToken

LastUsedAtGT applies the GT predicate on the "last_used_at" field.

func LastUsedAtGTE

func LastUsedAtGTE(v time.Time) predicate.ApiToken

LastUsedAtGTE applies the GTE predicate on the "last_used_at" field.

func LastUsedAtIn

func LastUsedAtIn(vs ...time.Time) predicate.ApiToken

LastUsedAtIn applies the In predicate on the "last_used_at" field.

func LastUsedAtIsNil

func LastUsedAtIsNil() predicate.ApiToken

LastUsedAtIsNil applies the IsNil predicate on the "last_used_at" field.

func LastUsedAtLT

func LastUsedAtLT(v time.Time) predicate.ApiToken

LastUsedAtLT applies the LT predicate on the "last_used_at" field.

func LastUsedAtLTE

func LastUsedAtLTE(v time.Time) predicate.ApiToken

LastUsedAtLTE applies the LTE predicate on the "last_used_at" field.

func LastUsedAtNEQ

func LastUsedAtNEQ(v time.Time) predicate.ApiToken

LastUsedAtNEQ applies the NEQ predicate on the "last_used_at" field.

func LastUsedAtNotIn

func LastUsedAtNotIn(vs ...time.Time) predicate.ApiToken

LastUsedAtNotIn applies the NotIn predicate on the "last_used_at" field.

func LastUsedAtNotNil

func LastUsedAtNotNil() predicate.ApiToken

LastUsedAtNotNil applies the NotNil predicate on the "last_used_at" field.

func Name

func Name(v string) predicate.ApiToken

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.ApiToken

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.ApiToken

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

func NameEQ(v string) predicate.ApiToken

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.ApiToken

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

func NameGT(v string) predicate.ApiToken

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.ApiToken

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.ApiToken

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.ApiToken

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.ApiToken

NameIn applies the In predicate on the "name" field.

func NameLT

func NameLT(v string) predicate.ApiToken

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.ApiToken

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.ApiToken

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.ApiToken

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.ApiToken) predicate.ApiToken

Or groups predicates with the OR operator between them.

func ShortString

func ShortString(v string) predicate.ApiToken

ShortString applies equality check predicate on the "short_string" field. It's identical to ShortStringEQ.

func ShortStringContains

func ShortStringContains(v string) predicate.ApiToken

ShortStringContains applies the Contains predicate on the "short_string" field.

func ShortStringContainsFold

func ShortStringContainsFold(v string) predicate.ApiToken

ShortStringContainsFold applies the ContainsFold predicate on the "short_string" field.

func ShortStringEQ

func ShortStringEQ(v string) predicate.ApiToken

ShortStringEQ applies the EQ predicate on the "short_string" field.

func ShortStringEqualFold

func ShortStringEqualFold(v string) predicate.ApiToken

ShortStringEqualFold applies the EqualFold predicate on the "short_string" field.

func ShortStringGT

func ShortStringGT(v string) predicate.ApiToken

ShortStringGT applies the GT predicate on the "short_string" field.

func ShortStringGTE

func ShortStringGTE(v string) predicate.ApiToken

ShortStringGTE applies the GTE predicate on the "short_string" field.

func ShortStringHasPrefix

func ShortStringHasPrefix(v string) predicate.ApiToken

ShortStringHasPrefix applies the HasPrefix predicate on the "short_string" field.

func ShortStringHasSuffix

func ShortStringHasSuffix(v string) predicate.ApiToken

ShortStringHasSuffix applies the HasSuffix predicate on the "short_string" field.

func ShortStringIn

func ShortStringIn(vs ...string) predicate.ApiToken

ShortStringIn applies the In predicate on the "short_string" field.

func ShortStringLT

func ShortStringLT(v string) predicate.ApiToken

ShortStringLT applies the LT predicate on the "short_string" field.

func ShortStringLTE

func ShortStringLTE(v string) predicate.ApiToken

ShortStringLTE applies the LTE predicate on the "short_string" field.

func ShortStringNEQ

func ShortStringNEQ(v string) predicate.ApiToken

ShortStringNEQ applies the NEQ predicate on the "short_string" field.

func ShortStringNotIn

func ShortStringNotIn(vs ...string) predicate.ApiToken

ShortStringNotIn applies the NotIn predicate on the "short_string" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.ApiToken

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.ApiToken

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.ApiToken

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.ApiToken

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.ApiToken

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.ApiToken

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.ApiToken

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.ApiToken

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.ApiToken

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func UserID

func UserID(v uuid.UUID) predicate.ApiToken

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v uuid.UUID) predicate.ApiToken

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...uuid.UUID) predicate.ApiToken

UserIDIn applies the In predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v uuid.UUID) predicate.ApiToken

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...uuid.UUID) predicate.ApiToken

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func Uses

func Uses(v int) predicate.ApiToken

Uses applies equality check predicate on the "uses" field. It's identical to UsesEQ.

func UsesEQ

func UsesEQ(v int) predicate.ApiToken

UsesEQ applies the EQ predicate on the "uses" field.

func UsesGT

func UsesGT(v int) predicate.ApiToken

UsesGT applies the GT predicate on the "uses" field.

func UsesGTE

func UsesGTE(v int) predicate.ApiToken

UsesGTE applies the GTE predicate on the "uses" field.

func UsesIn

func UsesIn(vs ...int) predicate.ApiToken

UsesIn applies the In predicate on the "uses" field.

func UsesLT

func UsesLT(v int) predicate.ApiToken

UsesLT applies the LT predicate on the "uses" field.

func UsesLTE

func UsesLTE(v int) predicate.ApiToken

UsesLTE applies the LTE predicate on the "uses" field.

func UsesNEQ

func UsesNEQ(v int) predicate.ApiToken

UsesNEQ applies the NEQ predicate on the "uses" field.

func UsesNotIn

func UsesNotIn(vs ...int) predicate.ApiToken

UsesNotIn applies the NotIn predicate on the "uses" field.

func ValidColumn

func ValidColumn(column string) bool

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

Types

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the ApiToken queries.

func ByAuthClientID

func ByAuthClientID(opts ...sql.OrderTermOption) OrderOption

ByAuthClientID orders the results by the auth_client_id field.

func ByAuthClientsField

func ByAuthClientsField(field string, opts ...sql.OrderTermOption) OrderOption

ByAuthClientsField orders the results by auth_clients field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByCreditsSpent

func ByCreditsSpent(opts ...sql.OrderTermOption) OrderOption

ByCreditsSpent orders the results by the credits_spent field.

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 ByHashedToken

func ByHashedToken(opts ...sql.OrderTermOption) OrderOption

ByHashedToken orders the results by the hashed_token field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByIsActive

func ByIsActive(opts ...sql.OrderTermOption) OrderOption

ByIsActive orders the results by the is_active field.

func ByLastUsedAt

func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption

ByLastUsedAt orders the results by the last_used_at field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByShortString

func ByShortString(opts ...sql.OrderTermOption) OrderOption

ByShortString orders the results by the short_string field.

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 ByUserField

func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption

ByUserField orders the results by user field.

func ByUserID

func ByUserID(opts ...sql.OrderTermOption) OrderOption

ByUserID orders the results by the user_id field.

func ByUses

func ByUses(opts ...sql.OrderTermOption) OrderOption

ByUses orders the results by the uses 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.

Jump to

Keyboard shortcuts

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