Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.ApiToken) predicate.ApiToken
- func AuthClientID(v uuid.UUID) predicate.ApiToken
- func AuthClientIDEQ(v uuid.UUID) predicate.ApiToken
- func AuthClientIDIn(vs ...uuid.UUID) predicate.ApiToken
- func AuthClientIDIsNil() predicate.ApiToken
- func AuthClientIDNEQ(v uuid.UUID) predicate.ApiToken
- func AuthClientIDNotIn(vs ...uuid.UUID) predicate.ApiToken
- func AuthClientIDNotNil() predicate.ApiToken
- func CreatedAt(v time.Time) predicate.ApiToken
- func CreatedAtEQ(v time.Time) predicate.ApiToken
- func CreatedAtGT(v time.Time) predicate.ApiToken
- func CreatedAtGTE(v time.Time) predicate.ApiToken
- func CreatedAtIn(vs ...time.Time) predicate.ApiToken
- func CreatedAtLT(v time.Time) predicate.ApiToken
- func CreatedAtLTE(v time.Time) predicate.ApiToken
- func CreatedAtNEQ(v time.Time) predicate.ApiToken
- func CreatedAtNotIn(vs ...time.Time) predicate.ApiToken
- func CreditsSpent(v int) predicate.ApiToken
- func CreditsSpentEQ(v int) predicate.ApiToken
- func CreditsSpentGT(v int) predicate.ApiToken
- func CreditsSpentGTE(v int) predicate.ApiToken
- func CreditsSpentIn(vs ...int) predicate.ApiToken
- func CreditsSpentLT(v int) predicate.ApiToken
- func CreditsSpentLTE(v int) predicate.ApiToken
- func CreditsSpentNEQ(v int) predicate.ApiToken
- func CreditsSpentNotIn(vs ...int) predicate.ApiToken
- func HasAuthClients() predicate.ApiToken
- func HasAuthClientsWith(preds ...predicate.AuthClient) predicate.ApiToken
- func HasGenerations() predicate.ApiToken
- func HasGenerationsWith(preds ...predicate.Generation) predicate.ApiToken
- func HasUpscales() predicate.ApiToken
- func HasUpscalesWith(preds ...predicate.Upscale) predicate.ApiToken
- func HasUser() predicate.ApiToken
- func HasUserWith(preds ...predicate.User) predicate.ApiToken
- func HasVoiceovers() predicate.ApiToken
- func HasVoiceoversWith(preds ...predicate.Voiceover) predicate.ApiToken
- func HashedToken(v string) predicate.ApiToken
- func HashedTokenContains(v string) predicate.ApiToken
- func HashedTokenContainsFold(v string) predicate.ApiToken
- func HashedTokenEQ(v string) predicate.ApiToken
- func HashedTokenEqualFold(v string) predicate.ApiToken
- func HashedTokenGT(v string) predicate.ApiToken
- func HashedTokenGTE(v string) predicate.ApiToken
- func HashedTokenHasPrefix(v string) predicate.ApiToken
- func HashedTokenHasSuffix(v string) predicate.ApiToken
- func HashedTokenIn(vs ...string) predicate.ApiToken
- func HashedTokenLT(v string) predicate.ApiToken
- func HashedTokenLTE(v string) predicate.ApiToken
- func HashedTokenNEQ(v string) predicate.ApiToken
- func HashedTokenNotIn(vs ...string) predicate.ApiToken
- func ID(id uuid.UUID) predicate.ApiToken
- func IDEQ(id uuid.UUID) predicate.ApiToken
- func IDGT(id uuid.UUID) predicate.ApiToken
- func IDGTE(id uuid.UUID) predicate.ApiToken
- func IDIn(ids ...uuid.UUID) predicate.ApiToken
- func IDLT(id uuid.UUID) predicate.ApiToken
- func IDLTE(id uuid.UUID) predicate.ApiToken
- func IDNEQ(id uuid.UUID) predicate.ApiToken
- func IDNotIn(ids ...uuid.UUID) predicate.ApiToken
- func IsActive(v bool) predicate.ApiToken
- func IsActiveEQ(v bool) predicate.ApiToken
- func IsActiveNEQ(v bool) predicate.ApiToken
- func LastUsedAt(v time.Time) predicate.ApiToken
- func LastUsedAtEQ(v time.Time) predicate.ApiToken
- func LastUsedAtGT(v time.Time) predicate.ApiToken
- func LastUsedAtGTE(v time.Time) predicate.ApiToken
- func LastUsedAtIn(vs ...time.Time) predicate.ApiToken
- func LastUsedAtIsNil() predicate.ApiToken
- func LastUsedAtLT(v time.Time) predicate.ApiToken
- func LastUsedAtLTE(v time.Time) predicate.ApiToken
- func LastUsedAtNEQ(v time.Time) predicate.ApiToken
- func LastUsedAtNotIn(vs ...time.Time) predicate.ApiToken
- func LastUsedAtNotNil() predicate.ApiToken
- func Name(v string) predicate.ApiToken
- func NameContains(v string) predicate.ApiToken
- func NameContainsFold(v string) predicate.ApiToken
- func NameEQ(v string) predicate.ApiToken
- func NameEqualFold(v string) predicate.ApiToken
- func NameGT(v string) predicate.ApiToken
- func NameGTE(v string) predicate.ApiToken
- func NameHasPrefix(v string) predicate.ApiToken
- func NameHasSuffix(v string) predicate.ApiToken
- func NameIn(vs ...string) predicate.ApiToken
- func NameLT(v string) predicate.ApiToken
- func NameLTE(v string) predicate.ApiToken
- func NameNEQ(v string) predicate.ApiToken
- func NameNotIn(vs ...string) predicate.ApiToken
- func Not(p predicate.ApiToken) predicate.ApiToken
- func Or(predicates ...predicate.ApiToken) predicate.ApiToken
- func ShortString(v string) predicate.ApiToken
- func ShortStringContains(v string) predicate.ApiToken
- func ShortStringContainsFold(v string) predicate.ApiToken
- func ShortStringEQ(v string) predicate.ApiToken
- func ShortStringEqualFold(v string) predicate.ApiToken
- func ShortStringGT(v string) predicate.ApiToken
- func ShortStringGTE(v string) predicate.ApiToken
- func ShortStringHasPrefix(v string) predicate.ApiToken
- func ShortStringHasSuffix(v string) predicate.ApiToken
- func ShortStringIn(vs ...string) predicate.ApiToken
- func ShortStringLT(v string) predicate.ApiToken
- func ShortStringLTE(v string) predicate.ApiToken
- func ShortStringNEQ(v string) predicate.ApiToken
- func ShortStringNotIn(vs ...string) predicate.ApiToken
- func UpdatedAt(v time.Time) predicate.ApiToken
- func UpdatedAtEQ(v time.Time) predicate.ApiToken
- func UpdatedAtGT(v time.Time) predicate.ApiToken
- func UpdatedAtGTE(v time.Time) predicate.ApiToken
- func UpdatedAtIn(vs ...time.Time) predicate.ApiToken
- func UpdatedAtLT(v time.Time) predicate.ApiToken
- func UpdatedAtLTE(v time.Time) predicate.ApiToken
- func UpdatedAtNEQ(v time.Time) predicate.ApiToken
- func UpdatedAtNotIn(vs ...time.Time) predicate.ApiToken
- func UserID(v uuid.UUID) predicate.ApiToken
- func UserIDEQ(v uuid.UUID) predicate.ApiToken
- func UserIDIn(vs ...uuid.UUID) predicate.ApiToken
- func UserIDNEQ(v uuid.UUID) predicate.ApiToken
- func UserIDNotIn(vs ...uuid.UUID) predicate.ApiToken
- func Uses(v int) predicate.ApiToken
- func UsesEQ(v int) predicate.ApiToken
- func UsesGT(v int) predicate.ApiToken
- func UsesGTE(v int) predicate.ApiToken
- func UsesIn(vs ...int) predicate.ApiToken
- func UsesLT(v int) predicate.ApiToken
- func UsesLTE(v int) predicate.ApiToken
- func UsesNEQ(v int) predicate.ApiToken
- func UsesNotIn(vs ...int) predicate.ApiToken
- func ValidColumn(column string) bool
- type OrderOption
- func ByAuthClientID(opts ...sql.OrderTermOption) OrderOption
- func ByAuthClientsField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreditsSpent(opts ...sql.OrderTermOption) OrderOption
- func ByGenerations(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByGenerationsCount(opts ...sql.OrderTermOption) OrderOption
- func ByHashedToken(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsActive(opts ...sql.OrderTermOption) OrderOption
- func ByLastUsedAt(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByShortString(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 ByUserField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByUserID(opts ...sql.OrderTermOption) OrderOption
- func ByUses(opts ...sql.OrderTermOption) OrderOption
- func ByVoiceovers(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByVoiceoversCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldHashedToken, FieldName, FieldShortString, FieldIsActive, FieldUses, FieldCreditsSpent, FieldUserID, FieldAuthClientID, FieldLastUsedAt, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for apitoken fields.
Functions ¶
func AuthClientID ¶
AuthClientID applies equality check predicate on the "auth_client_id" field. It's identical to AuthClientIDEQ.
func AuthClientIDEQ ¶
AuthClientIDEQ applies the EQ predicate on the "auth_client_id" field.
func AuthClientIDIn ¶
AuthClientIDIn applies the In predicate on the "auth_client_id" field.
func AuthClientIDIsNil ¶
AuthClientIDIsNil applies the IsNil predicate on the "auth_client_id" field.
func AuthClientIDNEQ ¶
AuthClientIDNEQ applies the NEQ predicate on the "auth_client_id" field.
func AuthClientIDNotIn ¶
AuthClientIDNotIn applies the NotIn predicate on the "auth_client_id" field.
func AuthClientIDNotNil ¶
AuthClientIDNotNil applies the NotNil predicate on the "auth_client_id" 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 CreditsSpent ¶
CreditsSpent applies equality check predicate on the "credits_spent" field. It's identical to CreditsSpentEQ.
func CreditsSpentEQ ¶
CreditsSpentEQ applies the EQ predicate on the "credits_spent" field.
func CreditsSpentGT ¶
CreditsSpentGT applies the GT predicate on the "credits_spent" field.
func CreditsSpentGTE ¶
CreditsSpentGTE applies the GTE predicate on the "credits_spent" field.
func CreditsSpentIn ¶
CreditsSpentIn applies the In predicate on the "credits_spent" field.
func CreditsSpentLT ¶
CreditsSpentLT applies the LT predicate on the "credits_spent" field.
func CreditsSpentLTE ¶
CreditsSpentLTE applies the LTE predicate on the "credits_spent" field.
func CreditsSpentNEQ ¶
CreditsSpentNEQ applies the NEQ predicate on the "credits_spent" field.
func CreditsSpentNotIn ¶
CreditsSpentNotIn applies the NotIn predicate on the "credits_spent" field.
func HasAuthClients ¶
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 ¶
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 ¶
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 HasUserWith ¶
HasUserWith applies the HasEdge predicate on the "user" 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 HashedToken ¶
HashedToken applies equality check predicate on the "hashed_token" field. It's identical to HashedTokenEQ.
func HashedTokenContains ¶
HashedTokenContains applies the Contains predicate on the "hashed_token" field.
func HashedTokenContainsFold ¶
HashedTokenContainsFold applies the ContainsFold predicate on the "hashed_token" field.
func HashedTokenEQ ¶
HashedTokenEQ applies the EQ predicate on the "hashed_token" field.
func HashedTokenEqualFold ¶
HashedTokenEqualFold applies the EqualFold predicate on the "hashed_token" field.
func HashedTokenGT ¶
HashedTokenGT applies the GT predicate on the "hashed_token" field.
func HashedTokenGTE ¶
HashedTokenGTE applies the GTE predicate on the "hashed_token" field.
func HashedTokenHasPrefix ¶
HashedTokenHasPrefix applies the HasPrefix predicate on the "hashed_token" field.
func HashedTokenHasSuffix ¶
HashedTokenHasSuffix applies the HasSuffix predicate on the "hashed_token" field.
func HashedTokenIn ¶
HashedTokenIn applies the In predicate on the "hashed_token" field.
func HashedTokenLT ¶
HashedTokenLT applies the LT predicate on the "hashed_token" field.
func HashedTokenLTE ¶
HashedTokenLTE applies the LTE predicate on the "hashed_token" field.
func HashedTokenNEQ ¶
HashedTokenNEQ applies the NEQ predicate on the "hashed_token" field.
func HashedTokenNotIn ¶
HashedTokenNotIn applies the NotIn predicate on the "hashed_token" field.
func IsActive ¶
IsActive applies equality check predicate on the "is_active" field. It's identical to IsActiveEQ.
func IsActiveEQ ¶
IsActiveEQ applies the EQ predicate on the "is_active" field.
func IsActiveNEQ ¶
IsActiveNEQ applies the NEQ predicate on the "is_active" field.
func LastUsedAt ¶
LastUsedAt applies equality check predicate on the "last_used_at" field. It's identical to LastUsedAtEQ.
func LastUsedAtEQ ¶
LastUsedAtEQ applies the EQ predicate on the "last_used_at" field.
func LastUsedAtGT ¶
LastUsedAtGT applies the GT predicate on the "last_used_at" field.
func LastUsedAtGTE ¶
LastUsedAtGTE applies the GTE predicate on the "last_used_at" field.
func LastUsedAtIn ¶
LastUsedAtIn applies the In predicate on the "last_used_at" field.
func LastUsedAtIsNil ¶
LastUsedAtIsNil applies the IsNil predicate on the "last_used_at" field.
func LastUsedAtLT ¶
LastUsedAtLT applies the LT predicate on the "last_used_at" field.
func LastUsedAtLTE ¶
LastUsedAtLTE applies the LTE predicate on the "last_used_at" field.
func LastUsedAtNEQ ¶
LastUsedAtNEQ applies the NEQ predicate on the "last_used_at" field.
func LastUsedAtNotIn ¶
LastUsedAtNotIn applies the NotIn predicate on the "last_used_at" field.
func LastUsedAtNotNil ¶
LastUsedAtNotNil applies the NotNil predicate on the "last_used_at" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func ShortString ¶
ShortString applies equality check predicate on the "short_string" field. It's identical to ShortStringEQ.
func ShortStringContains ¶
ShortStringContains applies the Contains predicate on the "short_string" field.
func ShortStringContainsFold ¶
ShortStringContainsFold applies the ContainsFold predicate on the "short_string" field.
func ShortStringEQ ¶
ShortStringEQ applies the EQ predicate on the "short_string" field.
func ShortStringEqualFold ¶
ShortStringEqualFold applies the EqualFold predicate on the "short_string" field.
func ShortStringGT ¶
ShortStringGT applies the GT predicate on the "short_string" field.
func ShortStringGTE ¶
ShortStringGTE applies the GTE predicate on the "short_string" field.
func ShortStringHasPrefix ¶
ShortStringHasPrefix applies the HasPrefix predicate on the "short_string" field.
func ShortStringHasSuffix ¶
ShortStringHasSuffix applies the HasSuffix predicate on the "short_string" field.
func ShortStringIn ¶
ShortStringIn applies the In predicate on the "short_string" field.
func ShortStringLT ¶
ShortStringLT applies the LT predicate on the "short_string" field.
func ShortStringLTE ¶
ShortStringLTE applies the LTE predicate on the "short_string" field.
func ShortStringNEQ ¶
ShortStringNEQ applies the NEQ predicate on the "short_string" field.
func ShortStringNotIn ¶
ShortStringNotIn applies the NotIn predicate on the "short_string" 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 UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
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.