race

package
v0.0.0-...-c5055fb Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the race type in the database.
	Label = "race"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldIndx holds the string denoting the indx field in the database.
	FieldIndx = "indx"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// FieldAlignment holds the string denoting the alignment field in the database.
	FieldAlignment = "alignment"
	// FieldAge holds the string denoting the age field in the database.
	FieldAge = "age"
	// FieldSize holds the string denoting the size field in the database.
	FieldSize = "size"
	// FieldSizeDescription holds the string denoting the size_description field in the database.
	FieldSizeDescription = "size_description"
	// FieldLanguageDesc holds the string denoting the language_desc field in the database.
	FieldLanguageDesc = "language_desc"
	// FieldSpeed holds the string denoting the speed field in the database.
	FieldSpeed = "speed"
	// EdgeProficiencies holds the string denoting the proficiencies edge name in mutations.
	EdgeProficiencies = "proficiencies"
	// EdgeProficiencyChoice holds the string denoting the proficiency_choice edge name in mutations.
	EdgeProficiencyChoice = "proficiency_choice"
	// EdgeLanguages holds the string denoting the languages edge name in mutations.
	EdgeLanguages = "languages"
	// EdgeSubrace holds the string denoting the subrace edge name in mutations.
	EdgeSubrace = "subrace"
	// EdgeTraits holds the string denoting the traits edge name in mutations.
	EdgeTraits = "traits"
	// EdgeAbilityBonuses holds the string denoting the ability_bonuses edge name in mutations.
	EdgeAbilityBonuses = "ability_bonuses"
	// Table holds the table name of the race in the database.
	Table = "races"
	// ProficienciesTable is the table that holds the proficiencies relation/edge. The primary key declared below.
	ProficienciesTable = "race_proficiencies"
	// ProficienciesInverseTable is the table name for the Proficiency entity.
	// It exists in this package in order to avoid circular dependency with the "proficiency" package.
	ProficienciesInverseTable = "proficiencies"
	// ProficiencyChoiceTable is the table that holds the proficiency_choice relation/edge. The primary key declared below.
	ProficiencyChoiceTable = "race_proficiency_choice"
	// ProficiencyChoiceInverseTable is the table name for the ProficiencyChoice entity.
	// It exists in this package in order to avoid circular dependency with the "proficiencychoice" package.
	ProficiencyChoiceInverseTable = "proficiency_choices"
	// LanguagesTable is the table that holds the languages relation/edge. The primary key declared below.
	LanguagesTable = "race_languages"
	// LanguagesInverseTable is the table name for the Language entity.
	// It exists in this package in order to avoid circular dependency with the "language" package.
	LanguagesInverseTable = "languages"
	// SubraceTable is the table that holds the subrace relation/edge.
	SubraceTable = "subraces"
	// SubraceInverseTable is the table name for the Subrace entity.
	// It exists in this package in order to avoid circular dependency with the "subrace" package.
	SubraceInverseTable = "subraces"
	// SubraceColumn is the table column denoting the subrace relation/edge.
	SubraceColumn = "subrace_race"
	// TraitsTable is the table that holds the traits relation/edge. The primary key declared below.
	TraitsTable = "race_traits"
	// TraitsInverseTable is the table name for the Trait entity.
	// It exists in this package in order to avoid circular dependency with the "trait" package.
	TraitsInverseTable = "traits"
	// AbilityBonusesTable is the table that holds the ability_bonuses relation/edge.
	AbilityBonusesTable = "ability_bonus"
	// AbilityBonusesInverseTable is the table name for the AbilityBonus entity.
	// It exists in this package in order to avoid circular dependency with the "abilitybonus" package.
	AbilityBonusesInverseTable = "ability_bonus"
	// AbilityBonusesColumn is the table column denoting the ability_bonuses relation/edge.
	AbilityBonusesColumn = "race_ability_bonuses"
)

Variables

View Source
var (
	// ProficienciesPrimaryKey and ProficienciesColumn2 are the table columns denoting the
	// primary key for the proficiencies relation (M2M).
	ProficienciesPrimaryKey = []string{"race_id", "proficiency_id"}
	// ProficiencyChoicePrimaryKey and ProficiencyChoiceColumn2 are the table columns denoting the
	// primary key for the proficiency_choice relation (M2M).
	ProficiencyChoicePrimaryKey = []string{"race_id", "proficiency_choice_id"}
	// LanguagesPrimaryKey and LanguagesColumn2 are the table columns denoting the
	// primary key for the languages relation (M2M).
	LanguagesPrimaryKey = []string{"race_id", "language_id"}
	// TraitsPrimaryKey and TraitsColumn2 are the table columns denoting the
	// primary key for the traits relation (M2M).
	TraitsPrimaryKey = []string{"race_id", "trait_id"}
)
View Source
var (
	// IndxValidator is a validator for the "indx" field. It is called by the builders before save.
	IndxValidator func(string) error
	// NameValidator is a validator for the "name" field. It is called by the builders before save.
	NameValidator func(string) error
)

Columns holds all SQL columns for race fields.

Functions

func Age

func Age(v string) predicate.Race

Age applies equality check predicate on the "age" field. It's identical to AgeEQ.

func AgeContains

func AgeContains(v string) predicate.Race

AgeContains applies the Contains predicate on the "age" field.

func AgeContainsFold

func AgeContainsFold(v string) predicate.Race

AgeContainsFold applies the ContainsFold predicate on the "age" field.

func AgeEQ

func AgeEQ(v string) predicate.Race

AgeEQ applies the EQ predicate on the "age" field.

func AgeEqualFold

func AgeEqualFold(v string) predicate.Race

AgeEqualFold applies the EqualFold predicate on the "age" field.

func AgeGT

func AgeGT(v string) predicate.Race

AgeGT applies the GT predicate on the "age" field.

func AgeGTE

func AgeGTE(v string) predicate.Race

AgeGTE applies the GTE predicate on the "age" field.

func AgeHasPrefix

func AgeHasPrefix(v string) predicate.Race

AgeHasPrefix applies the HasPrefix predicate on the "age" field.

func AgeHasSuffix

func AgeHasSuffix(v string) predicate.Race

AgeHasSuffix applies the HasSuffix predicate on the "age" field.

func AgeIn

func AgeIn(vs ...string) predicate.Race

AgeIn applies the In predicate on the "age" field.

func AgeLT

func AgeLT(v string) predicate.Race

AgeLT applies the LT predicate on the "age" field.

func AgeLTE

func AgeLTE(v string) predicate.Race

AgeLTE applies the LTE predicate on the "age" field.

func AgeNEQ

func AgeNEQ(v string) predicate.Race

AgeNEQ applies the NEQ predicate on the "age" field.

func AgeNotIn

func AgeNotIn(vs ...string) predicate.Race

AgeNotIn applies the NotIn predicate on the "age" field.

func Alignment

func Alignment(v string) predicate.Race

Alignment applies equality check predicate on the "alignment" field. It's identical to AlignmentEQ.

func AlignmentContains

func AlignmentContains(v string) predicate.Race

AlignmentContains applies the Contains predicate on the "alignment" field.

func AlignmentContainsFold

func AlignmentContainsFold(v string) predicate.Race

AlignmentContainsFold applies the ContainsFold predicate on the "alignment" field.

func AlignmentEQ

func AlignmentEQ(v string) predicate.Race

AlignmentEQ applies the EQ predicate on the "alignment" field.

func AlignmentEqualFold

func AlignmentEqualFold(v string) predicate.Race

AlignmentEqualFold applies the EqualFold predicate on the "alignment" field.

func AlignmentGT

func AlignmentGT(v string) predicate.Race

AlignmentGT applies the GT predicate on the "alignment" field.

func AlignmentGTE

func AlignmentGTE(v string) predicate.Race

AlignmentGTE applies the GTE predicate on the "alignment" field.

func AlignmentHasPrefix

func AlignmentHasPrefix(v string) predicate.Race

AlignmentHasPrefix applies the HasPrefix predicate on the "alignment" field.

func AlignmentHasSuffix

func AlignmentHasSuffix(v string) predicate.Race

AlignmentHasSuffix applies the HasSuffix predicate on the "alignment" field.

func AlignmentIn

func AlignmentIn(vs ...string) predicate.Race

AlignmentIn applies the In predicate on the "alignment" field.

func AlignmentLT

func AlignmentLT(v string) predicate.Race

AlignmentLT applies the LT predicate on the "alignment" field.

func AlignmentLTE

func AlignmentLTE(v string) predicate.Race

AlignmentLTE applies the LTE predicate on the "alignment" field.

func AlignmentNEQ

func AlignmentNEQ(v string) predicate.Race

AlignmentNEQ applies the NEQ predicate on the "alignment" field.

func AlignmentNotIn

func AlignmentNotIn(vs ...string) predicate.Race

AlignmentNotIn applies the NotIn predicate on the "alignment" field.

func And

func And(predicates ...predicate.Race) predicate.Race

And groups predicates with the AND operator between them.

func HasAbilityBonuses

func HasAbilityBonuses() predicate.Race

HasAbilityBonuses applies the HasEdge predicate on the "ability_bonuses" edge.

func HasAbilityBonusesWith

func HasAbilityBonusesWith(preds ...predicate.AbilityBonus) predicate.Race

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

func HasLanguages

func HasLanguages() predicate.Race

HasLanguages applies the HasEdge predicate on the "languages" edge.

func HasLanguagesWith

func HasLanguagesWith(preds ...predicate.Language) predicate.Race

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

func HasProficiencies

func HasProficiencies() predicate.Race

HasProficiencies applies the HasEdge predicate on the "proficiencies" edge.

func HasProficienciesWith

func HasProficienciesWith(preds ...predicate.Proficiency) predicate.Race

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

func HasProficiencyChoice

func HasProficiencyChoice() predicate.Race

HasProficiencyChoice applies the HasEdge predicate on the "proficiency_choice" edge.

func HasProficiencyChoiceWith

func HasProficiencyChoiceWith(preds ...predicate.ProficiencyChoice) predicate.Race

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

func HasSubrace

func HasSubrace() predicate.Race

HasSubrace applies the HasEdge predicate on the "subrace" edge.

func HasSubraceWith

func HasSubraceWith(preds ...predicate.Subrace) predicate.Race

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

func HasTraits

func HasTraits() predicate.Race

HasTraits applies the HasEdge predicate on the "traits" edge.

func HasTraitsWith

func HasTraitsWith(preds ...predicate.Trait) predicate.Race

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

func ID

func ID(id int) predicate.Race

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Race

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Race

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Race

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Race

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Race

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Race

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Race

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Race

IDNotIn applies the NotIn predicate on the ID field.

func Indx

func Indx(v string) predicate.Race

Indx applies equality check predicate on the "indx" field. It's identical to IndxEQ.

func IndxContains

func IndxContains(v string) predicate.Race

IndxContains applies the Contains predicate on the "indx" field.

func IndxContainsFold

func IndxContainsFold(v string) predicate.Race

IndxContainsFold applies the ContainsFold predicate on the "indx" field.

func IndxEQ

func IndxEQ(v string) predicate.Race

IndxEQ applies the EQ predicate on the "indx" field.

func IndxEqualFold

func IndxEqualFold(v string) predicate.Race

IndxEqualFold applies the EqualFold predicate on the "indx" field.

func IndxGT

func IndxGT(v string) predicate.Race

IndxGT applies the GT predicate on the "indx" field.

func IndxGTE

func IndxGTE(v string) predicate.Race

IndxGTE applies the GTE predicate on the "indx" field.

func IndxHasPrefix

func IndxHasPrefix(v string) predicate.Race

IndxHasPrefix applies the HasPrefix predicate on the "indx" field.

func IndxHasSuffix

func IndxHasSuffix(v string) predicate.Race

IndxHasSuffix applies the HasSuffix predicate on the "indx" field.

func IndxIn

func IndxIn(vs ...string) predicate.Race

IndxIn applies the In predicate on the "indx" field.

func IndxLT

func IndxLT(v string) predicate.Race

IndxLT applies the LT predicate on the "indx" field.

func IndxLTE

func IndxLTE(v string) predicate.Race

IndxLTE applies the LTE predicate on the "indx" field.

func IndxNEQ

func IndxNEQ(v string) predicate.Race

IndxNEQ applies the NEQ predicate on the "indx" field.

func IndxNotIn

func IndxNotIn(vs ...string) predicate.Race

IndxNotIn applies the NotIn predicate on the "indx" field.

func LanguageDesc

func LanguageDesc(v string) predicate.Race

LanguageDesc applies equality check predicate on the "language_desc" field. It's identical to LanguageDescEQ.

func LanguageDescContains

func LanguageDescContains(v string) predicate.Race

LanguageDescContains applies the Contains predicate on the "language_desc" field.

func LanguageDescContainsFold

func LanguageDescContainsFold(v string) predicate.Race

LanguageDescContainsFold applies the ContainsFold predicate on the "language_desc" field.

func LanguageDescEQ

func LanguageDescEQ(v string) predicate.Race

LanguageDescEQ applies the EQ predicate on the "language_desc" field.

func LanguageDescEqualFold

func LanguageDescEqualFold(v string) predicate.Race

LanguageDescEqualFold applies the EqualFold predicate on the "language_desc" field.

func LanguageDescGT

func LanguageDescGT(v string) predicate.Race

LanguageDescGT applies the GT predicate on the "language_desc" field.

func LanguageDescGTE

func LanguageDescGTE(v string) predicate.Race

LanguageDescGTE applies the GTE predicate on the "language_desc" field.

func LanguageDescHasPrefix

func LanguageDescHasPrefix(v string) predicate.Race

LanguageDescHasPrefix applies the HasPrefix predicate on the "language_desc" field.

func LanguageDescHasSuffix

func LanguageDescHasSuffix(v string) predicate.Race

LanguageDescHasSuffix applies the HasSuffix predicate on the "language_desc" field.

func LanguageDescIn

func LanguageDescIn(vs ...string) predicate.Race

LanguageDescIn applies the In predicate on the "language_desc" field.

func LanguageDescLT

func LanguageDescLT(v string) predicate.Race

LanguageDescLT applies the LT predicate on the "language_desc" field.

func LanguageDescLTE

func LanguageDescLTE(v string) predicate.Race

LanguageDescLTE applies the LTE predicate on the "language_desc" field.

func LanguageDescNEQ

func LanguageDescNEQ(v string) predicate.Race

LanguageDescNEQ applies the NEQ predicate on the "language_desc" field.

func LanguageDescNotIn

func LanguageDescNotIn(vs ...string) predicate.Race

LanguageDescNotIn applies the NotIn predicate on the "language_desc" field.

func Name

func Name(v string) predicate.Race

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

func NameContains

func NameContains(v string) predicate.Race

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

func NameContainsFold

func NameContainsFold(v string) predicate.Race

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

func NameEQ

func NameEQ(v string) predicate.Race

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

func NameEqualFold

func NameEqualFold(v string) predicate.Race

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

func NameGT

func NameGT(v string) predicate.Race

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

func NameGTE

func NameGTE(v string) predicate.Race

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

func NameHasPrefix

func NameHasPrefix(v string) predicate.Race

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

func NameHasSuffix

func NameHasSuffix(v string) predicate.Race

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

func NameIn

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

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

func NameLT

func NameLT(v string) predicate.Race

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

func NameLTE

func NameLTE(v string) predicate.Race

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

func NameNEQ

func NameNEQ(v string) predicate.Race

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

func NameNotIn

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

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

Or groups predicates with the OR operator between them.

func Size

func Size(v string) predicate.Race

Size applies equality check predicate on the "size" field. It's identical to SizeEQ.

func SizeContains

func SizeContains(v string) predicate.Race

SizeContains applies the Contains predicate on the "size" field.

func SizeContainsFold

func SizeContainsFold(v string) predicate.Race

SizeContainsFold applies the ContainsFold predicate on the "size" field.

func SizeDescription

func SizeDescription(v string) predicate.Race

SizeDescription applies equality check predicate on the "size_description" field. It's identical to SizeDescriptionEQ.

func SizeDescriptionContains

func SizeDescriptionContains(v string) predicate.Race

SizeDescriptionContains applies the Contains predicate on the "size_description" field.

func SizeDescriptionContainsFold

func SizeDescriptionContainsFold(v string) predicate.Race

SizeDescriptionContainsFold applies the ContainsFold predicate on the "size_description" field.

func SizeDescriptionEQ

func SizeDescriptionEQ(v string) predicate.Race

SizeDescriptionEQ applies the EQ predicate on the "size_description" field.

func SizeDescriptionEqualFold

func SizeDescriptionEqualFold(v string) predicate.Race

SizeDescriptionEqualFold applies the EqualFold predicate on the "size_description" field.

func SizeDescriptionGT

func SizeDescriptionGT(v string) predicate.Race

SizeDescriptionGT applies the GT predicate on the "size_description" field.

func SizeDescriptionGTE

func SizeDescriptionGTE(v string) predicate.Race

SizeDescriptionGTE applies the GTE predicate on the "size_description" field.

func SizeDescriptionHasPrefix

func SizeDescriptionHasPrefix(v string) predicate.Race

SizeDescriptionHasPrefix applies the HasPrefix predicate on the "size_description" field.

func SizeDescriptionHasSuffix

func SizeDescriptionHasSuffix(v string) predicate.Race

SizeDescriptionHasSuffix applies the HasSuffix predicate on the "size_description" field.

func SizeDescriptionIn

func SizeDescriptionIn(vs ...string) predicate.Race

SizeDescriptionIn applies the In predicate on the "size_description" field.

func SizeDescriptionLT

func SizeDescriptionLT(v string) predicate.Race

SizeDescriptionLT applies the LT predicate on the "size_description" field.

func SizeDescriptionLTE

func SizeDescriptionLTE(v string) predicate.Race

SizeDescriptionLTE applies the LTE predicate on the "size_description" field.

func SizeDescriptionNEQ

func SizeDescriptionNEQ(v string) predicate.Race

SizeDescriptionNEQ applies the NEQ predicate on the "size_description" field.

func SizeDescriptionNotIn

func SizeDescriptionNotIn(vs ...string) predicate.Race

SizeDescriptionNotIn applies the NotIn predicate on the "size_description" field.

func SizeEQ

func SizeEQ(v string) predicate.Race

SizeEQ applies the EQ predicate on the "size" field.

func SizeEqualFold

func SizeEqualFold(v string) predicate.Race

SizeEqualFold applies the EqualFold predicate on the "size" field.

func SizeGT

func SizeGT(v string) predicate.Race

SizeGT applies the GT predicate on the "size" field.

func SizeGTE

func SizeGTE(v string) predicate.Race

SizeGTE applies the GTE predicate on the "size" field.

func SizeHasPrefix

func SizeHasPrefix(v string) predicate.Race

SizeHasPrefix applies the HasPrefix predicate on the "size" field.

func SizeHasSuffix

func SizeHasSuffix(v string) predicate.Race

SizeHasSuffix applies the HasSuffix predicate on the "size" field.

func SizeIn

func SizeIn(vs ...string) predicate.Race

SizeIn applies the In predicate on the "size" field.

func SizeLT

func SizeLT(v string) predicate.Race

SizeLT applies the LT predicate on the "size" field.

func SizeLTE

func SizeLTE(v string) predicate.Race

SizeLTE applies the LTE predicate on the "size" field.

func SizeNEQ

func SizeNEQ(v string) predicate.Race

SizeNEQ applies the NEQ predicate on the "size" field.

func SizeNotIn

func SizeNotIn(vs ...string) predicate.Race

SizeNotIn applies the NotIn predicate on the "size" field.

func Speed

func Speed(v int) predicate.Race

Speed applies equality check predicate on the "speed" field. It's identical to SpeedEQ.

func SpeedEQ

func SpeedEQ(v int) predicate.Race

SpeedEQ applies the EQ predicate on the "speed" field.

func SpeedGT

func SpeedGT(v int) predicate.Race

SpeedGT applies the GT predicate on the "speed" field.

func SpeedGTE

func SpeedGTE(v int) predicate.Race

SpeedGTE applies the GTE predicate on the "speed" field.

func SpeedIn

func SpeedIn(vs ...int) predicate.Race

SpeedIn applies the In predicate on the "speed" field.

func SpeedLT

func SpeedLT(v int) predicate.Race

SpeedLT applies the LT predicate on the "speed" field.

func SpeedLTE

func SpeedLTE(v int) predicate.Race

SpeedLTE applies the LTE predicate on the "speed" field.

func SpeedNEQ

func SpeedNEQ(v int) predicate.Race

SpeedNEQ applies the NEQ predicate on the "speed" field.

func SpeedNotIn

func SpeedNotIn(vs ...int) predicate.Race

SpeedNotIn applies the NotIn predicate on the "speed" 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 Race queries.

func ByAbilityBonuses

func ByAbilityBonuses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByAbilityBonuses orders the results by ability_bonuses terms.

func ByAbilityBonusesCount

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

ByAbilityBonusesCount orders the results by ability_bonuses count.

func ByAge

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

ByAge orders the results by the age field.

func ByAlignment

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

ByAlignment orders the results by the alignment field.

func ByID

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

ByID orders the results by the id field.

func ByIndx

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

ByIndx orders the results by the indx field.

func ByLanguageDesc

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

ByLanguageDesc orders the results by the language_desc field.

func ByLanguages

func ByLanguages(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByLanguages orders the results by languages terms.

func ByLanguagesCount

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

ByLanguagesCount orders the results by languages count.

func ByName

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

ByName orders the results by the name field.

func ByProficiencies

func ByProficiencies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByProficiencies orders the results by proficiencies terms.

func ByProficienciesCount

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

ByProficienciesCount orders the results by proficiencies count.

func ByProficiencyChoice

func ByProficiencyChoice(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByProficiencyChoice orders the results by proficiency_choice terms.

func ByProficiencyChoiceCount

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

ByProficiencyChoiceCount orders the results by proficiency_choice count.

func BySize

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

BySize orders the results by the size field.

func BySizeDescription

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

BySizeDescription orders the results by the size_description field.

func BySpeed

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

BySpeed orders the results by the speed field.

func BySubrace

func BySubrace(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

BySubrace orders the results by subrace terms.

func BySubraceCount

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

BySubraceCount orders the results by subrace count.

func ByTraits

func ByTraits(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByTraits orders the results by traits terms.

func ByTraitsCount

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

ByTraitsCount orders the results by traits count.

Jump to

Keyboard shortcuts

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