Documentation ¶
Index ¶
- Constants
- Variables
- func AgeDesc(v string) predicate.Race
- func AgeDescContains(v string) predicate.Race
- func AgeDescContainsFold(v string) predicate.Race
- func AgeDescEQ(v string) predicate.Race
- func AgeDescEqualFold(v string) predicate.Race
- func AgeDescGT(v string) predicate.Race
- func AgeDescGTE(v string) predicate.Race
- func AgeDescHasPrefix(v string) predicate.Race
- func AgeDescHasSuffix(v string) predicate.Race
- func AgeDescIn(vs ...string) predicate.Race
- func AgeDescLT(v string) predicate.Race
- func AgeDescLTE(v string) predicate.Race
- func AgeDescNEQ(v string) predicate.Race
- func AgeDescNotIn(vs ...string) predicate.Race
- func AlignmentDesc(v string) predicate.Race
- func AlignmentDescContains(v string) predicate.Race
- func AlignmentDescContainsFold(v string) predicate.Race
- func AlignmentDescEQ(v string) predicate.Race
- func AlignmentDescEqualFold(v string) predicate.Race
- func AlignmentDescGT(v string) predicate.Race
- func AlignmentDescGTE(v string) predicate.Race
- func AlignmentDescHasPrefix(v string) predicate.Race
- func AlignmentDescHasSuffix(v string) predicate.Race
- func AlignmentDescIn(vs ...string) predicate.Race
- func AlignmentDescLT(v string) predicate.Race
- func AlignmentDescLTE(v string) predicate.Race
- func AlignmentDescNEQ(v string) predicate.Race
- func AlignmentDescNotIn(vs ...string) predicate.Race
- func And(predicates ...predicate.Race) predicate.Race
- func HasAbilityBonuses() predicate.Race
- func HasAbilityBonusesWith(preds ...predicate.AbilityScore) predicate.Race
- func HasCharacters() predicate.Race
- func HasCharactersWith(preds ...predicate.Character) predicate.Race
- func HasLanguageOptions() predicate.Race
- func HasLanguageOptionsWith(preds ...predicate.LanguageChoice) predicate.Race
- func HasLanguages() predicate.Race
- func HasLanguagesWith(preds ...predicate.Language) predicate.Race
- func HasRaceAbilityBonuses() predicate.Race
- func HasRaceAbilityBonusesWith(preds ...predicate.AbilityBonus) predicate.Race
- func HasStartingProficiencies() predicate.Race
- func HasStartingProficienciesWith(preds ...predicate.Proficiency) predicate.Race
- func HasStartingProficiencyOptions() predicate.Race
- func HasStartingProficiencyOptionsWith(preds ...predicate.ProficiencyChoice) predicate.Race
- func HasTraits() predicate.Race
- func HasTraitsWith(preds ...predicate.Trait) predicate.Race
- func ID(id int) predicate.Race
- func IDEQ(id int) predicate.Race
- func IDGT(id int) predicate.Race
- func IDGTE(id int) predicate.Race
- func IDIn(ids ...int) predicate.Race
- func IDLT(id int) predicate.Race
- func IDLTE(id int) predicate.Race
- func IDNEQ(id int) predicate.Race
- func IDNotIn(ids ...int) predicate.Race
- func Indx(v string) predicate.Race
- func IndxContains(v string) predicate.Race
- func IndxContainsFold(v string) predicate.Race
- func IndxEQ(v string) predicate.Race
- func IndxEqualFold(v string) predicate.Race
- func IndxGT(v string) predicate.Race
- func IndxGTE(v string) predicate.Race
- func IndxHasPrefix(v string) predicate.Race
- func IndxHasSuffix(v string) predicate.Race
- func IndxIn(vs ...string) predicate.Race
- func IndxLT(v string) predicate.Race
- func IndxLTE(v string) predicate.Race
- func IndxNEQ(v string) predicate.Race
- func IndxNotIn(vs ...string) predicate.Race
- func LanguageDesc(v string) predicate.Race
- func LanguageDescContains(v string) predicate.Race
- func LanguageDescContainsFold(v string) predicate.Race
- func LanguageDescEQ(v string) predicate.Race
- func LanguageDescEqualFold(v string) predicate.Race
- func LanguageDescGT(v string) predicate.Race
- func LanguageDescGTE(v string) predicate.Race
- func LanguageDescHasPrefix(v string) predicate.Race
- func LanguageDescHasSuffix(v string) predicate.Race
- func LanguageDescIn(vs ...string) predicate.Race
- func LanguageDescLT(v string) predicate.Race
- func LanguageDescLTE(v string) predicate.Race
- func LanguageDescNEQ(v string) predicate.Race
- func LanguageDescNotIn(vs ...string) predicate.Race
- func Name(v string) predicate.Race
- func NameContains(v string) predicate.Race
- func NameContainsFold(v string) predicate.Race
- func NameEQ(v string) predicate.Race
- func NameEqualFold(v string) predicate.Race
- func NameGT(v string) predicate.Race
- func NameGTE(v string) predicate.Race
- func NameHasPrefix(v string) predicate.Race
- func NameHasSuffix(v string) predicate.Race
- func NameIn(vs ...string) predicate.Race
- func NameLT(v string) predicate.Race
- func NameLTE(v string) predicate.Race
- func NameNEQ(v string) predicate.Race
- func NameNotIn(vs ...string) predicate.Race
- func Not(p predicate.Race) predicate.Race
- func Or(predicates ...predicate.Race) predicate.Race
- func SizeDesc(v string) predicate.Race
- func SizeDescContains(v string) predicate.Race
- func SizeDescContainsFold(v string) predicate.Race
- func SizeDescEQ(v string) predicate.Race
- func SizeDescEqualFold(v string) predicate.Race
- func SizeDescGT(v string) predicate.Race
- func SizeDescGTE(v string) predicate.Race
- func SizeDescHasPrefix(v string) predicate.Race
- func SizeDescHasSuffix(v string) predicate.Race
- func SizeDescIn(vs ...string) predicate.Race
- func SizeDescLT(v string) predicate.Race
- func SizeDescLTE(v string) predicate.Race
- func SizeDescNEQ(v string) predicate.Race
- func SizeDescNotIn(vs ...string) predicate.Race
- func SizeEQ(v Size) predicate.Race
- func SizeIn(vs ...Size) predicate.Race
- func SizeNEQ(v Size) predicate.Race
- func SizeNotIn(vs ...Size) predicate.Race
- func SizeValidator(s Size) error
- func Speed(v int) predicate.Race
- func SpeedEQ(v int) predicate.Race
- func SpeedGT(v int) predicate.Race
- func SpeedGTE(v int) predicate.Race
- func SpeedIn(vs ...int) predicate.Race
- func SpeedLT(v int) predicate.Race
- func SpeedLTE(v int) predicate.Race
- func SpeedNEQ(v int) predicate.Race
- func SpeedNotIn(vs ...int) predicate.Race
- func ValidColumn(column string) bool
- type OrderOption
- func ByAbilityBonuses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAbilityBonusesCount(opts ...sql.OrderTermOption) OrderOption
- func ByAgeDesc(opts ...sql.OrderTermOption) OrderOption
- func ByAlignmentDesc(opts ...sql.OrderTermOption) OrderOption
- func ByCharacters(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByCharactersCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIndx(opts ...sql.OrderTermOption) OrderOption
- func ByLanguageDesc(opts ...sql.OrderTermOption) OrderOption
- func ByLanguageOptionsField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByLanguages(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByLanguagesCount(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRaceAbilityBonuses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRaceAbilityBonusesCount(opts ...sql.OrderTermOption) OrderOption
- func BySize(opts ...sql.OrderTermOption) OrderOption
- func BySizeDesc(opts ...sql.OrderTermOption) OrderOption
- func BySpeed(opts ...sql.OrderTermOption) OrderOption
- func ByStartingProficiencies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByStartingProficienciesCount(opts ...sql.OrderTermOption) OrderOption
- func ByStartingProficiencyOptions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByStartingProficiencyOptionsCount(opts ...sql.OrderTermOption) OrderOption
- func ByTraits(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByTraitsCount(opts ...sql.OrderTermOption) OrderOption
- type Size
Constants ¶
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" // FieldSpeed holds the string denoting the speed field in the database. FieldSpeed = "speed" // FieldSize holds the string denoting the size field in the database. FieldSize = "size" // FieldSizeDesc holds the string denoting the size_desc field in the database. FieldSizeDesc = "size_desc" // FieldAlignmentDesc holds the string denoting the alignment_desc field in the database. FieldAlignmentDesc = "alignment_desc" // FieldAgeDesc holds the string denoting the age_desc field in the database. FieldAgeDesc = "age_desc" // FieldLanguageDesc holds the string denoting the language_desc field in the database. FieldLanguageDesc = "language_desc" // EdgeTraits holds the string denoting the traits edge name in mutations. EdgeTraits = "traits" // EdgeStartingProficiencies holds the string denoting the starting_proficiencies edge name in mutations. EdgeStartingProficiencies = "starting_proficiencies" // EdgeStartingProficiencyOptions holds the string denoting the starting_proficiency_options edge name in mutations. EdgeStartingProficiencyOptions = "starting_proficiency_options" // EdgeAbilityBonuses holds the string denoting the ability_bonuses edge name in mutations. EdgeAbilityBonuses = "ability_bonuses" // EdgeLanguages holds the string denoting the languages edge name in mutations. EdgeLanguages = "languages" // EdgeLanguageOptions holds the string denoting the language_options edge name in mutations. EdgeLanguageOptions = "language_options" // EdgeCharacters holds the string denoting the characters edge name in mutations. EdgeCharacters = "characters" // EdgeRaceAbilityBonuses holds the string denoting the race_ability_bonuses edge name in mutations. EdgeRaceAbilityBonuses = "race_ability_bonuses" // Table holds the table name of the race in the database. Table = "races" // 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" // StartingProficienciesTable is the table that holds the starting_proficiencies relation/edge. The primary key declared below. StartingProficienciesTable = "race_starting_proficiencies" // StartingProficienciesInverseTable is the table name for the Proficiency entity. // It exists in this package in order to avoid circular dependency with the "proficiency" package. StartingProficienciesInverseTable = "proficiencies" // StartingProficiencyOptionsTable is the table that holds the starting_proficiency_options relation/edge. StartingProficiencyOptionsTable = "proficiency_choices" // StartingProficiencyOptionsInverseTable is the table name for the ProficiencyChoice entity. // It exists in this package in order to avoid circular dependency with the "proficiencychoice" package. StartingProficiencyOptionsInverseTable = "proficiency_choices" // StartingProficiencyOptionsColumn is the table column denoting the starting_proficiency_options relation/edge. StartingProficiencyOptionsColumn = "race_starting_proficiency_options" // AbilityBonusesTable is the table that holds the ability_bonuses relation/edge. The primary key declared below. AbilityBonusesTable = "ability_bonus" // AbilityBonusesInverseTable is the table name for the AbilityScore entity. // It exists in this package in order to avoid circular dependency with the "abilityscore" package. AbilityBonusesInverseTable = "ability_scores" // 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" // LanguageOptionsTable is the table that holds the language_options relation/edge. LanguageOptionsTable = "language_choices" // LanguageOptionsInverseTable is the table name for the LanguageChoice entity. // It exists in this package in order to avoid circular dependency with the "languagechoice" package. LanguageOptionsInverseTable = "language_choices" // LanguageOptionsColumn is the table column denoting the language_options relation/edge. LanguageOptionsColumn = "race_language_options" // CharactersTable is the table that holds the characters relation/edge. CharactersTable = "characters" // CharactersInverseTable is the table name for the Character entity. // It exists in this package in order to avoid circular dependency with the "character" package. CharactersInverseTable = "characters" // CharactersColumn is the table column denoting the characters relation/edge. CharactersColumn = "character_race" // RaceAbilityBonusesTable is the table that holds the race_ability_bonuses relation/edge. RaceAbilityBonusesTable = "ability_bonus" // RaceAbilityBonusesInverseTable is the table name for the AbilityBonus entity. // It exists in this package in order to avoid circular dependency with the "abilitybonus" package. RaceAbilityBonusesInverseTable = "ability_bonus" // RaceAbilityBonusesColumn is the table column denoting the race_ability_bonuses relation/edge. RaceAbilityBonusesColumn = "race_id" )
const DefaultSize = SizeMedium
SizeMedium is the default value of the Size enum.
Variables ¶
var ( // TraitsPrimaryKey and TraitsColumn2 are the table columns denoting the // primary key for the traits relation (M2M). TraitsPrimaryKey = []string{"race_id", "trait_id"} // StartingProficienciesPrimaryKey and StartingProficienciesColumn2 are the table columns denoting the // primary key for the starting_proficiencies relation (M2M). StartingProficienciesPrimaryKey = []string{"race_id", "proficiency_id"} // AbilityBonusesPrimaryKey and AbilityBonusesColumn2 are the table columns denoting the // primary key for the ability_bonuses relation (M2M). AbilityBonusesPrimaryKey = []string{"race_id", "ability_score_id"} // LanguagesPrimaryKey and LanguagesColumn2 are the table columns denoting the // primary key for the languages relation (M2M). LanguagesPrimaryKey = []string{"race_id", "language_id"} )
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 // SpeedValidator is a validator for the "speed" field. It is called by the builders before save. SpeedValidator func(int) error )
var Columns = []string{ FieldID, FieldIndx, FieldName, FieldSpeed, FieldSize, FieldSizeDesc, FieldAlignmentDesc, FieldAgeDesc, FieldLanguageDesc, }
Columns holds all SQL columns for race fields.
Functions ¶
func AgeDesc ¶
AgeDesc applies equality check predicate on the "age_desc" field. It's identical to AgeDescEQ.
func AgeDescContains ¶
AgeDescContains applies the Contains predicate on the "age_desc" field.
func AgeDescContainsFold ¶
AgeDescContainsFold applies the ContainsFold predicate on the "age_desc" field.
func AgeDescEqualFold ¶
AgeDescEqualFold applies the EqualFold predicate on the "age_desc" field.
func AgeDescGTE ¶
AgeDescGTE applies the GTE predicate on the "age_desc" field.
func AgeDescHasPrefix ¶
AgeDescHasPrefix applies the HasPrefix predicate on the "age_desc" field.
func AgeDescHasSuffix ¶
AgeDescHasSuffix applies the HasSuffix predicate on the "age_desc" field.
func AgeDescLTE ¶
AgeDescLTE applies the LTE predicate on the "age_desc" field.
func AgeDescNEQ ¶
AgeDescNEQ applies the NEQ predicate on the "age_desc" field.
func AgeDescNotIn ¶
AgeDescNotIn applies the NotIn predicate on the "age_desc" field.
func AlignmentDesc ¶
AlignmentDesc applies equality check predicate on the "alignment_desc" field. It's identical to AlignmentDescEQ.
func AlignmentDescContains ¶
AlignmentDescContains applies the Contains predicate on the "alignment_desc" field.
func AlignmentDescContainsFold ¶
AlignmentDescContainsFold applies the ContainsFold predicate on the "alignment_desc" field.
func AlignmentDescEQ ¶
AlignmentDescEQ applies the EQ predicate on the "alignment_desc" field.
func AlignmentDescEqualFold ¶
AlignmentDescEqualFold applies the EqualFold predicate on the "alignment_desc" field.
func AlignmentDescGT ¶
AlignmentDescGT applies the GT predicate on the "alignment_desc" field.
func AlignmentDescGTE ¶
AlignmentDescGTE applies the GTE predicate on the "alignment_desc" field.
func AlignmentDescHasPrefix ¶
AlignmentDescHasPrefix applies the HasPrefix predicate on the "alignment_desc" field.
func AlignmentDescHasSuffix ¶
AlignmentDescHasSuffix applies the HasSuffix predicate on the "alignment_desc" field.
func AlignmentDescIn ¶
AlignmentDescIn applies the In predicate on the "alignment_desc" field.
func AlignmentDescLT ¶
AlignmentDescLT applies the LT predicate on the "alignment_desc" field.
func AlignmentDescLTE ¶
AlignmentDescLTE applies the LTE predicate on the "alignment_desc" field.
func AlignmentDescNEQ ¶
AlignmentDescNEQ applies the NEQ predicate on the "alignment_desc" field.
func AlignmentDescNotIn ¶
AlignmentDescNotIn applies the NotIn predicate on the "alignment_desc" field.
func HasAbilityBonuses ¶
HasAbilityBonuses applies the HasEdge predicate on the "ability_bonuses" edge.
func HasAbilityBonusesWith ¶
func HasAbilityBonusesWith(preds ...predicate.AbilityScore) predicate.Race
HasAbilityBonusesWith applies the HasEdge predicate on the "ability_bonuses" edge with a given conditions (other predicates).
func HasCharacters ¶
HasCharacters applies the HasEdge predicate on the "characters" edge.
func HasCharactersWith ¶
HasCharactersWith applies the HasEdge predicate on the "characters" edge with a given conditions (other predicates).
func HasLanguageOptions ¶
HasLanguageOptions applies the HasEdge predicate on the "language_options" edge.
func HasLanguageOptionsWith ¶
func HasLanguageOptionsWith(preds ...predicate.LanguageChoice) predicate.Race
HasLanguageOptionsWith applies the HasEdge predicate on the "language_options" edge with a given conditions (other predicates).
func HasLanguages ¶
HasLanguages applies the HasEdge predicate on the "languages" edge.
func HasLanguagesWith ¶
HasLanguagesWith applies the HasEdge predicate on the "languages" edge with a given conditions (other predicates).
func HasRaceAbilityBonuses ¶
HasRaceAbilityBonuses applies the HasEdge predicate on the "race_ability_bonuses" edge.
func HasRaceAbilityBonusesWith ¶
func HasRaceAbilityBonusesWith(preds ...predicate.AbilityBonus) predicate.Race
HasRaceAbilityBonusesWith applies the HasEdge predicate on the "race_ability_bonuses" edge with a given conditions (other predicates).
func HasStartingProficiencies ¶
HasStartingProficiencies applies the HasEdge predicate on the "starting_proficiencies" edge.
func HasStartingProficienciesWith ¶
func HasStartingProficienciesWith(preds ...predicate.Proficiency) predicate.Race
HasStartingProficienciesWith applies the HasEdge predicate on the "starting_proficiencies" edge with a given conditions (other predicates).
func HasStartingProficiencyOptions ¶
HasStartingProficiencyOptions applies the HasEdge predicate on the "starting_proficiency_options" edge.
func HasStartingProficiencyOptionsWith ¶
func HasStartingProficiencyOptionsWith(preds ...predicate.ProficiencyChoice) predicate.Race
HasStartingProficiencyOptionsWith applies the HasEdge predicate on the "starting_proficiency_options" edge with a given conditions (other predicates).
func HasTraitsWith ¶
HasTraitsWith applies the HasEdge predicate on the "traits" edge with a given conditions (other predicates).
func IndxContains ¶
IndxContains applies the Contains predicate on the "indx" field.
func IndxContainsFold ¶
IndxContainsFold applies the ContainsFold predicate on the "indx" field.
func IndxEqualFold ¶
IndxEqualFold applies the EqualFold predicate on the "indx" field.
func IndxHasPrefix ¶
IndxHasPrefix applies the HasPrefix predicate on the "indx" field.
func IndxHasSuffix ¶
IndxHasSuffix applies the HasSuffix predicate on the "indx" field.
func LanguageDesc ¶
LanguageDesc applies equality check predicate on the "language_desc" field. It's identical to LanguageDescEQ.
func LanguageDescContains ¶
LanguageDescContains applies the Contains predicate on the "language_desc" field.
func LanguageDescContainsFold ¶
LanguageDescContainsFold applies the ContainsFold predicate on the "language_desc" field.
func LanguageDescEQ ¶
LanguageDescEQ applies the EQ predicate on the "language_desc" field.
func LanguageDescEqualFold ¶
LanguageDescEqualFold applies the EqualFold predicate on the "language_desc" field.
func LanguageDescGT ¶
LanguageDescGT applies the GT predicate on the "language_desc" field.
func LanguageDescGTE ¶
LanguageDescGTE applies the GTE predicate on the "language_desc" field.
func LanguageDescHasPrefix ¶
LanguageDescHasPrefix applies the HasPrefix predicate on the "language_desc" field.
func LanguageDescHasSuffix ¶
LanguageDescHasSuffix applies the HasSuffix predicate on the "language_desc" field.
func LanguageDescIn ¶
LanguageDescIn applies the In predicate on the "language_desc" field.
func LanguageDescLT ¶
LanguageDescLT applies the LT predicate on the "language_desc" field.
func LanguageDescLTE ¶
LanguageDescLTE applies the LTE predicate on the "language_desc" field.
func LanguageDescNEQ ¶
LanguageDescNEQ applies the NEQ predicate on the "language_desc" field.
func LanguageDescNotIn ¶
LanguageDescNotIn applies the NotIn predicate on the "language_desc" 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 SizeDesc ¶
SizeDesc applies equality check predicate on the "size_desc" field. It's identical to SizeDescEQ.
func SizeDescContains ¶
SizeDescContains applies the Contains predicate on the "size_desc" field.
func SizeDescContainsFold ¶
SizeDescContainsFold applies the ContainsFold predicate on the "size_desc" field.
func SizeDescEQ ¶
SizeDescEQ applies the EQ predicate on the "size_desc" field.
func SizeDescEqualFold ¶
SizeDescEqualFold applies the EqualFold predicate on the "size_desc" field.
func SizeDescGT ¶
SizeDescGT applies the GT predicate on the "size_desc" field.
func SizeDescGTE ¶
SizeDescGTE applies the GTE predicate on the "size_desc" field.
func SizeDescHasPrefix ¶
SizeDescHasPrefix applies the HasPrefix predicate on the "size_desc" field.
func SizeDescHasSuffix ¶
SizeDescHasSuffix applies the HasSuffix predicate on the "size_desc" field.
func SizeDescIn ¶
SizeDescIn applies the In predicate on the "size_desc" field.
func SizeDescLT ¶
SizeDescLT applies the LT predicate on the "size_desc" field.
func SizeDescLTE ¶
SizeDescLTE applies the LTE predicate on the "size_desc" field.
func SizeDescNEQ ¶
SizeDescNEQ applies the NEQ predicate on the "size_desc" field.
func SizeDescNotIn ¶
SizeDescNotIn applies the NotIn predicate on the "size_desc" field.
func SizeValidator ¶
SizeValidator is a validator for the "size" field enum values. It is called by the builders before save.
func Speed ¶
Speed applies equality check predicate on the "speed" field. It's identical to SpeedEQ.
func SpeedNotIn ¶
SpeedNotIn applies the NotIn predicate on the "speed" 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 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 ByAgeDesc ¶
func ByAgeDesc(opts ...sql.OrderTermOption) OrderOption
ByAgeDesc orders the results by the age_desc field.
func ByAlignmentDesc ¶
func ByAlignmentDesc(opts ...sql.OrderTermOption) OrderOption
ByAlignmentDesc orders the results by the alignment_desc field.
func ByCharacters ¶
func ByCharacters(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByCharacters orders the results by characters terms.
func ByCharactersCount ¶
func ByCharactersCount(opts ...sql.OrderTermOption) OrderOption
ByCharactersCount orders the results by characters count.
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 ByLanguageOptionsField ¶
func ByLanguageOptionsField(field string, opts ...sql.OrderTermOption) OrderOption
ByLanguageOptionsField orders the results by language_options 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 ByRaceAbilityBonuses ¶
func ByRaceAbilityBonuses(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRaceAbilityBonuses orders the results by race_ability_bonuses terms.
func ByRaceAbilityBonusesCount ¶
func ByRaceAbilityBonusesCount(opts ...sql.OrderTermOption) OrderOption
ByRaceAbilityBonusesCount orders the results by race_ability_bonuses count.
func BySize ¶
func BySize(opts ...sql.OrderTermOption) OrderOption
BySize orders the results by the size field.
func BySizeDesc ¶
func BySizeDesc(opts ...sql.OrderTermOption) OrderOption
BySizeDesc orders the results by the size_desc field.
func BySpeed ¶
func BySpeed(opts ...sql.OrderTermOption) OrderOption
BySpeed orders the results by the speed field.
func ByStartingProficiencies ¶
func ByStartingProficiencies(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByStartingProficiencies orders the results by starting_proficiencies terms.
func ByStartingProficienciesCount ¶
func ByStartingProficienciesCount(opts ...sql.OrderTermOption) OrderOption
ByStartingProficienciesCount orders the results by starting_proficiencies count.
func ByStartingProficiencyOptions ¶
func ByStartingProficiencyOptions(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByStartingProficiencyOptions orders the results by starting_proficiency_options terms.
func ByStartingProficiencyOptionsCount ¶
func ByStartingProficiencyOptionsCount(opts ...sql.OrderTermOption) OrderOption
ByStartingProficiencyOptionsCount orders the results by starting_proficiency_options 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.
type Size ¶
type Size string
Size defines the type for the "size" enum field.
func (Size) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Size) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.