Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Card) predicate.Card
- func CardSpecialColorID(v int) predicate.Card
- func CardSpecialColorIDEQ(v int) predicate.Card
- func CardSpecialColorIDIn(vs ...int) predicate.Card
- func CardSpecialColorIDIsNil() predicate.Card
- func CardSpecialColorIDNEQ(v int) predicate.Card
- func CardSpecialColorIDNotIn(vs ...int) predicate.Card
- func CardSpecialColorIDNotNil() predicate.Card
- func CardTypeID(v int) predicate.Card
- func CardTypeIDEQ(v int) predicate.Card
- func CardTypeIDIn(vs ...int) predicate.Card
- func CardTypeIDNEQ(v int) predicate.Card
- func CardTypeIDNotIn(vs ...int) predicate.Card
- func Cost(v string) predicate.Card
- func CostContains(v string) predicate.Card
- func CostContainsFold(v string) predicate.Card
- func CostEQ(v string) predicate.Card
- func CostEqualFold(v string) predicate.Card
- func CostGT(v string) predicate.Card
- func CostGTE(v string) predicate.Card
- func CostHasPrefix(v string) predicate.Card
- func CostHasSuffix(v string) predicate.Card
- func CostIn(vs ...string) predicate.Card
- func CostIsNil() predicate.Card
- func CostLT(v string) predicate.Card
- func CostLTE(v string) predicate.Card
- func CostNEQ(v string) predicate.Card
- func CostNotIn(vs ...string) predicate.Card
- func CostNotNil() predicate.Card
- func DeckID(v int) predicate.Card
- func DeckIDEQ(v int) predicate.Card
- func DeckIDIn(vs ...int) predicate.Card
- func DeckIDIsNil() predicate.Card
- func DeckIDNEQ(v int) predicate.Card
- func DeckIDNotIn(vs ...int) predicate.Card
- func DeckIDNotNil() predicate.Card
- func Description(v string) predicate.Card
- func DescriptionContains(v string) predicate.Card
- func DescriptionContainsFold(v string) predicate.Card
- func DescriptionEQ(v string) predicate.Card
- func DescriptionEqualFold(v string) predicate.Card
- func DescriptionGT(v string) predicate.Card
- func DescriptionGTE(v string) predicate.Card
- func DescriptionHasPrefix(v string) predicate.Card
- func DescriptionHasSuffix(v string) predicate.Card
- func DescriptionIn(vs ...string) predicate.Card
- func DescriptionIsNil() predicate.Card
- func DescriptionLT(v string) predicate.Card
- func DescriptionLTE(v string) predicate.Card
- func DescriptionNEQ(v string) predicate.Card
- func DescriptionNotIn(vs ...string) predicate.Card
- func DescriptionNotNil() predicate.Card
- func HasActionsBoosterIcon(v bool) predicate.Card
- func HasActionsBoosterIconEQ(v bool) predicate.Card
- func HasActionsBoosterIconNEQ(v bool) predicate.Card
- func HasAncestors() predicate.Card
- func HasAncestorsWith(preds ...predicate.Card) predicate.Card
- func HasArrow(v bool) predicate.Card
- func HasArrowEQ(v bool) predicate.Card
- func HasArrowNEQ(v bool) predicate.Card
- func HasBonusPointIcon(v bool) predicate.Card
- func HasBonusPointIconEQ(v bool) predicate.Card
- func HasBonusPointIconNEQ(v bool) predicate.Card
- func HasBreadIcon(v bool) predicate.Card
- func HasBreadIconEQ(v bool) predicate.Card
- func HasBreadIconNEQ(v bool) predicate.Card
- func HasBuildingResourceProviderIcon(v bool) predicate.Card
- func HasBuildingResourceProviderIconEQ(v bool) predicate.Card
- func HasBuildingResourceProviderIconNEQ(v bool) predicate.Card
- func HasCardSpecialColor() predicate.Card
- func HasCardSpecialColorWith(preds ...predicate.CardSpecialColor) predicate.Card
- func HasCardType() predicate.Card
- func HasCardTypeWith(preds ...predicate.CardType) predicate.Card
- func HasChildren() predicate.Card
- func HasChildrenWith(preds ...predicate.Card) predicate.Card
- func HasCropProviderIcon(v bool) predicate.Card
- func HasCropProviderIconEQ(v bool) predicate.Card
- func HasCropProviderIconNEQ(v bool) predicate.Card
- func HasCutPeatIcon(v bool) predicate.Card
- func HasCutPeatIconEQ(v bool) predicate.Card
- func HasCutPeatIconNEQ(v bool) predicate.Card
- func HasDeck() predicate.Card
- func HasDeckWith(preds ...predicate.Deck) predicate.Card
- func HasFarmPlannerIcon(v bool) predicate.Card
- func HasFarmPlannerIconEQ(v bool) predicate.Card
- func HasFarmPlannerIconNEQ(v bool) predicate.Card
- func HasFellTreesIcon(v bool) predicate.Card
- func HasFellTreesIconEQ(v bool) predicate.Card
- func HasFellTreesIconNEQ(v bool) predicate.Card
- func HasFoodProviderIcon(v bool) predicate.Card
- func HasFoodProviderIconEQ(v bool) predicate.Card
- func HasFoodProviderIconNEQ(v bool) predicate.Card
- func HasGoodsProviderIcon(v bool) predicate.Card
- func HasGoodsProviderIconEQ(v bool) predicate.Card
- func HasGoodsProviderIconNEQ(v bool) predicate.Card
- func HasHiringFareIcon(v bool) predicate.Card
- func HasHiringFareIconEQ(v bool) predicate.Card
- func HasHiringFareIconNEQ(v bool) predicate.Card
- func HasLivestockProviderIcon(v bool) predicate.Card
- func HasLivestockProviderIconEQ(v bool) predicate.Card
- func HasLivestockProviderIconNEQ(v bool) predicate.Card
- func HasNegativeBonusPointIcon(v bool) predicate.Card
- func HasNegativeBonusPointIconEQ(v bool) predicate.Card
- func HasNegativeBonusPointIconNEQ(v bool) predicate.Card
- func HasPanIcon(v bool) predicate.Card
- func HasPanIconEQ(v bool) predicate.Card
- func HasPanIconNEQ(v bool) predicate.Card
- func HasPointsProviderIcon(v bool) predicate.Card
- func HasPointsProviderIconEQ(v bool) predicate.Card
- func HasPointsProviderIconNEQ(v bool) predicate.Card
- func HasProducts() predicate.Card
- func HasProductsWith(preds ...predicate.Product) predicate.Card
- func HasRevision() predicate.Card
- func HasRevisionWith(preds ...predicate.Revision) predicate.Card
- func HasSlashAndBurnIcon(v bool) predicate.Card
- func HasSlashAndBurnIconEQ(v bool) predicate.Card
- func HasSlashAndBurnIconNEQ(v bool) predicate.Card
- func ID(id int) predicate.Card
- func IDEQ(id int) predicate.Card
- func IDGT(id int) predicate.Card
- func IDGTE(id int) predicate.Card
- func IDIn(ids ...int) predicate.Card
- func IDLT(id int) predicate.Card
- func IDLTE(id int) predicate.Card
- func IDNEQ(id int) predicate.Card
- func IDNotIn(ids ...int) predicate.Card
- func IsOfficialJa(v bool) predicate.Card
- func IsOfficialJaEQ(v bool) predicate.Card
- func IsOfficialJaNEQ(v bool) predicate.Card
- func LiteralID(v string) predicate.Card
- func LiteralIDContains(v string) predicate.Card
- func LiteralIDContainsFold(v string) predicate.Card
- func LiteralIDEQ(v string) predicate.Card
- func LiteralIDEqualFold(v string) predicate.Card
- func LiteralIDGT(v string) predicate.Card
- func LiteralIDGTE(v string) predicate.Card
- func LiteralIDHasPrefix(v string) predicate.Card
- func LiteralIDHasSuffix(v string) predicate.Card
- func LiteralIDIn(vs ...string) predicate.Card
- func LiteralIDLT(v string) predicate.Card
- func LiteralIDLTE(v string) predicate.Card
- func LiteralIDNEQ(v string) predicate.Card
- func LiteralIDNotIn(vs ...string) predicate.Card
- func MinPlayersNumber(v int) predicate.Card
- func MinPlayersNumberEQ(v int) predicate.Card
- func MinPlayersNumberGT(v int) predicate.Card
- func MinPlayersNumberGTE(v int) predicate.Card
- func MinPlayersNumberIn(vs ...int) predicate.Card
- func MinPlayersNumberIsNil() predicate.Card
- func MinPlayersNumberLT(v int) predicate.Card
- func MinPlayersNumberLTE(v int) predicate.Card
- func MinPlayersNumberNEQ(v int) predicate.Card
- func MinPlayersNumberNotIn(vs ...int) predicate.Card
- func MinPlayersNumberNotNil() predicate.Card
- func NameEn(v string) predicate.Card
- func NameEnContains(v string) predicate.Card
- func NameEnContainsFold(v string) predicate.Card
- func NameEnEQ(v string) predicate.Card
- func NameEnEqualFold(v string) predicate.Card
- func NameEnGT(v string) predicate.Card
- func NameEnGTE(v string) predicate.Card
- func NameEnHasPrefix(v string) predicate.Card
- func NameEnHasSuffix(v string) predicate.Card
- func NameEnIn(vs ...string) predicate.Card
- func NameEnIsNil() predicate.Card
- func NameEnLT(v string) predicate.Card
- func NameEnLTE(v string) predicate.Card
- func NameEnNEQ(v string) predicate.Card
- func NameEnNotIn(vs ...string) predicate.Card
- func NameEnNotNil() predicate.Card
- func NameJa(v string) predicate.Card
- func NameJaContains(v string) predicate.Card
- func NameJaContainsFold(v string) predicate.Card
- func NameJaEQ(v string) predicate.Card
- func NameJaEqualFold(v string) predicate.Card
- func NameJaGT(v string) predicate.Card
- func NameJaGTE(v string) predicate.Card
- func NameJaHasPrefix(v string) predicate.Card
- func NameJaHasSuffix(v string) predicate.Card
- func NameJaIn(vs ...string) predicate.Card
- func NameJaIsNil() predicate.Card
- func NameJaLT(v string) predicate.Card
- func NameJaLTE(v string) predicate.Card
- func NameJaNEQ(v string) predicate.Card
- func NameJaNotIn(vs ...string) predicate.Card
- func NameJaNotNil() predicate.Card
- func Not(p predicate.Card) predicate.Card
- func Note(v string) predicate.Card
- func NoteContains(v string) predicate.Card
- func NoteContainsFold(v string) predicate.Card
- func NoteEQ(v string) predicate.Card
- func NoteEqualFold(v string) predicate.Card
- func NoteGT(v string) predicate.Card
- func NoteGTE(v string) predicate.Card
- func NoteHasPrefix(v string) predicate.Card
- func NoteHasSuffix(v string) predicate.Card
- func NoteIn(vs ...string) predicate.Card
- func NoteIsNil() predicate.Card
- func NoteLT(v string) predicate.Card
- func NoteLTE(v string) predicate.Card
- func NoteNEQ(v string) predicate.Card
- func NoteNotIn(vs ...string) predicate.Card
- func NoteNotNil() predicate.Card
- func Or(predicates ...predicate.Card) predicate.Card
- func PlayAgricolaCardID(v string) predicate.Card
- func PlayAgricolaCardIDContains(v string) predicate.Card
- func PlayAgricolaCardIDContainsFold(v string) predicate.Card
- func PlayAgricolaCardIDEQ(v string) predicate.Card
- func PlayAgricolaCardIDEqualFold(v string) predicate.Card
- func PlayAgricolaCardIDGT(v string) predicate.Card
- func PlayAgricolaCardIDGTE(v string) predicate.Card
- func PlayAgricolaCardIDHasPrefix(v string) predicate.Card
- func PlayAgricolaCardIDHasSuffix(v string) predicate.Card
- func PlayAgricolaCardIDIn(vs ...string) predicate.Card
- func PlayAgricolaCardIDIsNil() predicate.Card
- func PlayAgricolaCardIDLT(v string) predicate.Card
- func PlayAgricolaCardIDLTE(v string) predicate.Card
- func PlayAgricolaCardIDNEQ(v string) predicate.Card
- func PlayAgricolaCardIDNotIn(vs ...string) predicate.Card
- func PlayAgricolaCardIDNotNil() predicate.Card
- func Prerequisite(v string) predicate.Card
- func PrerequisiteContains(v string) predicate.Card
- func PrerequisiteContainsFold(v string) predicate.Card
- func PrerequisiteEQ(v string) predicate.Card
- func PrerequisiteEqualFold(v string) predicate.Card
- func PrerequisiteGT(v string) predicate.Card
- func PrerequisiteGTE(v string) predicate.Card
- func PrerequisiteHasPrefix(v string) predicate.Card
- func PrerequisiteHasSuffix(v string) predicate.Card
- func PrerequisiteIn(vs ...string) predicate.Card
- func PrerequisiteIsNil() predicate.Card
- func PrerequisiteLT(v string) predicate.Card
- func PrerequisiteLTE(v string) predicate.Card
- func PrerequisiteNEQ(v string) predicate.Card
- func PrerequisiteNotIn(vs ...string) predicate.Card
- func PrerequisiteNotNil() predicate.Card
- func PrintedID(v string) predicate.Card
- func PrintedIDContains(v string) predicate.Card
- func PrintedIDContainsFold(v string) predicate.Card
- func PrintedIDEQ(v string) predicate.Card
- func PrintedIDEqualFold(v string) predicate.Card
- func PrintedIDGT(v string) predicate.Card
- func PrintedIDGTE(v string) predicate.Card
- func PrintedIDHasPrefix(v string) predicate.Card
- func PrintedIDHasSuffix(v string) predicate.Card
- func PrintedIDIn(vs ...string) predicate.Card
- func PrintedIDIsNil() predicate.Card
- func PrintedIDLT(v string) predicate.Card
- func PrintedIDLTE(v string) predicate.Card
- func PrintedIDNEQ(v string) predicate.Card
- func PrintedIDNotIn(vs ...string) predicate.Card
- func PrintedIDNotNil() predicate.Card
- func RevisionID(v int) predicate.Card
- func RevisionIDEQ(v int) predicate.Card
- func RevisionIDIn(vs ...int) predicate.Card
- func RevisionIDNEQ(v int) predicate.Card
- func RevisionIDNotIn(vs ...int) predicate.Card
- func SpecialVictoryPoint(v string) predicate.Card
- func SpecialVictoryPointContains(v string) predicate.Card
- func SpecialVictoryPointContainsFold(v string) predicate.Card
- func SpecialVictoryPointEQ(v string) predicate.Card
- func SpecialVictoryPointEqualFold(v string) predicate.Card
- func SpecialVictoryPointGT(v string) predicate.Card
- func SpecialVictoryPointGTE(v string) predicate.Card
- func SpecialVictoryPointHasPrefix(v string) predicate.Card
- func SpecialVictoryPointHasSuffix(v string) predicate.Card
- func SpecialVictoryPointIn(vs ...string) predicate.Card
- func SpecialVictoryPointIsNil() predicate.Card
- func SpecialVictoryPointLT(v string) predicate.Card
- func SpecialVictoryPointLTE(v string) predicate.Card
- func SpecialVictoryPointNEQ(v string) predicate.Card
- func SpecialVictoryPointNotIn(vs ...string) predicate.Card
- func SpecialVictoryPointNotNil() predicate.Card
- func ValidColumn(column string) bool
- func VictoryPoint(v int) predicate.Card
- func VictoryPointEQ(v int) predicate.Card
- func VictoryPointGT(v int) predicate.Card
- func VictoryPointGTE(v int) predicate.Card
- func VictoryPointIn(vs ...int) predicate.Card
- func VictoryPointIsNil() predicate.Card
- func VictoryPointLT(v int) predicate.Card
- func VictoryPointLTE(v int) predicate.Card
- func VictoryPointNEQ(v int) predicate.Card
- func VictoryPointNotIn(vs ...int) predicate.Card
- func VictoryPointNotNil() predicate.Card
- type OrderOption
- func ByAncestors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByAncestorsCount(opts ...sql.OrderTermOption) OrderOption
- func ByCardSpecialColorField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCardSpecialColorID(opts ...sql.OrderTermOption) OrderOption
- func ByCardTypeField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByCardTypeID(opts ...sql.OrderTermOption) OrderOption
- func ByChildren(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByChildrenCount(opts ...sql.OrderTermOption) OrderOption
- func ByCost(opts ...sql.OrderTermOption) OrderOption
- func ByDeckField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByDeckID(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByHasActionsBoosterIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasArrow(opts ...sql.OrderTermOption) OrderOption
- func ByHasBonusPointIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasBreadIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasBuildingResourceProviderIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasCropProviderIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasCutPeatIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasFarmPlannerIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasFellTreesIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasFoodProviderIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasGoodsProviderIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasHiringFareIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasLivestockProviderIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasNegativeBonusPointIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasPanIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasPointsProviderIcon(opts ...sql.OrderTermOption) OrderOption
- func ByHasSlashAndBurnIcon(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByIsOfficialJa(opts ...sql.OrderTermOption) OrderOption
- func ByLiteralID(opts ...sql.OrderTermOption) OrderOption
- func ByMinPlayersNumber(opts ...sql.OrderTermOption) OrderOption
- func ByNameEn(opts ...sql.OrderTermOption) OrderOption
- func ByNameJa(opts ...sql.OrderTermOption) OrderOption
- func ByNote(opts ...sql.OrderTermOption) OrderOption
- func ByPlayAgricolaCardID(opts ...sql.OrderTermOption) OrderOption
- func ByPrerequisite(opts ...sql.OrderTermOption) OrderOption
- func ByPrintedID(opts ...sql.OrderTermOption) OrderOption
- func ByProducts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByProductsCount(opts ...sql.OrderTermOption) OrderOption
- func ByRevisionField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByRevisionID(opts ...sql.OrderTermOption) OrderOption
- func BySpecialVictoryPoint(opts ...sql.OrderTermOption) OrderOption
- func ByVictoryPoint(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the card type in the database. Label = "card" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldLiteralID holds the string denoting the literal_id field in the database. FieldLiteralID = "literal_id" // FieldRevisionID holds the string denoting the revision_id field in the database. FieldRevisionID = "revision_id" // FieldPrintedID holds the string denoting the printed_id field in the database. FieldPrintedID = "printed_id" // FieldPlayAgricolaCardID holds the string denoting the play_agricola_card_id field in the database. FieldPlayAgricolaCardID = "play_agricola_card_id" // FieldDeckID holds the string denoting the deck_id field in the database. FieldDeckID = "deck_id" // FieldCardTypeID holds the string denoting the card_type_id field in the database. FieldCardTypeID = "card_type_id" // FieldCardSpecialColorID holds the string denoting the card_special_color_id field in the database. FieldCardSpecialColorID = "card_special_color_id" // FieldNameJa holds the string denoting the name_ja field in the database. FieldNameJa = "name_ja" // FieldNameEn holds the string denoting the name_en field in the database. FieldNameEn = "name_en" // FieldMinPlayersNumber holds the string denoting the min_players_number field in the database. FieldMinPlayersNumber = "min_players_number" // FieldPrerequisite holds the string denoting the prerequisite field in the database. FieldPrerequisite = "prerequisite" // FieldCost holds the string denoting the cost field in the database. FieldCost = "cost" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldNote holds the string denoting the note field in the database. FieldNote = "note" // FieldIsOfficialJa holds the string denoting the is_official_ja field in the database. FieldIsOfficialJa = "is_official_ja" // FieldVictoryPoint holds the string denoting the victory_point field in the database. FieldVictoryPoint = "victory_point" // FieldSpecialVictoryPoint holds the string denoting the special_victory_point field in the database. FieldSpecialVictoryPoint = "special_victory_point" // FieldHasArrow holds the string denoting the has_arrow field in the database. FieldHasArrow = "has_arrow" // FieldHasBonusPointIcon holds the string denoting the has_bonus_point_icon field in the database. FieldHasBonusPointIcon = "has_bonus_point_icon" // FieldHasNegativeBonusPointIcon holds the string denoting the has_negative_bonus_point_icon field in the database. FieldHasNegativeBonusPointIcon = "has_negative_bonus_point_icon" // FieldHasPanIcon holds the string denoting the has_pan_icon field in the database. FieldHasPanIcon = "has_pan_icon" // FieldHasBreadIcon holds the string denoting the has_bread_icon field in the database. FieldHasBreadIcon = "has_bread_icon" // FieldHasFarmPlannerIcon holds the string denoting the has_farm_planner_icon field in the database. FieldHasFarmPlannerIcon = "has_farm_planner_icon" // FieldHasActionsBoosterIcon holds the string denoting the has_actions_booster_icon field in the database. FieldHasActionsBoosterIcon = "has_actions_booster_icon" // FieldHasPointsProviderIcon holds the string denoting the has_points_provider_icon field in the database. FieldHasPointsProviderIcon = "has_points_provider_icon" // FieldHasGoodsProviderIcon holds the string denoting the has_goods_provider_icon field in the database. FieldHasGoodsProviderIcon = "has_goods_provider_icon" // FieldHasFoodProviderIcon holds the string denoting the has_food_provider_icon field in the database. FieldHasFoodProviderIcon = "has_food_provider_icon" // FieldHasCropProviderIcon holds the string denoting the has_crop_provider_icon field in the database. FieldHasCropProviderIcon = "has_crop_provider_icon" // FieldHasBuildingResourceProviderIcon holds the string denoting the has_building_resource_provider_icon field in the database. FieldHasBuildingResourceProviderIcon = "has_building_resource_provider_icon" // FieldHasLivestockProviderIcon holds the string denoting the has_livestock_provider_icon field in the database. FieldHasLivestockProviderIcon = "has_livestock_provider_icon" // FieldHasCutPeatIcon holds the string denoting the has_cut_peat_icon field in the database. FieldHasCutPeatIcon = "has_cut_peat_icon" // FieldHasFellTreesIcon holds the string denoting the has_fell_trees_icon field in the database. FieldHasFellTreesIcon = "has_fell_trees_icon" // FieldHasSlashAndBurnIcon holds the string denoting the has_slash_and_burn_icon field in the database. FieldHasSlashAndBurnIcon = "has_slash_and_burn_icon" // FieldHasHiringFareIcon holds the string denoting the has_hiring_fare_icon field in the database. FieldHasHiringFareIcon = "has_hiring_fare_icon" // EdgeRevision holds the string denoting the revision edge name in mutations. EdgeRevision = "revision" // EdgeProducts holds the string denoting the products edge name in mutations. EdgeProducts = "products" // EdgeDeck holds the string denoting the deck edge name in mutations. EdgeDeck = "deck" // EdgeCardType holds the string denoting the card_type edge name in mutations. EdgeCardType = "card_type" // EdgeCardSpecialColor holds the string denoting the card_special_color edge name in mutations. EdgeCardSpecialColor = "card_special_color" // EdgeChildren holds the string denoting the children edge name in mutations. EdgeChildren = "children" // EdgeAncestors holds the string denoting the ancestors edge name in mutations. EdgeAncestors = "ancestors" // Table holds the table name of the card in the database. Table = "cards" // RevisionTable is the table that holds the revision relation/edge. RevisionTable = "cards" // RevisionInverseTable is the table name for the Revision entity. // It exists in this package in order to avoid circular dependency with the "revision" package. RevisionInverseTable = "revisions" // RevisionColumn is the table column denoting the revision relation/edge. RevisionColumn = "revision_id" // ProductsTable is the table that holds the products relation/edge. The primary key declared below. ProductsTable = "product_cards" // ProductsInverseTable is the table name for the Product entity. // It exists in this package in order to avoid circular dependency with the "product" package. ProductsInverseTable = "products" // DeckTable is the table that holds the deck relation/edge. DeckTable = "cards" // DeckInverseTable is the table name for the Deck entity. // It exists in this package in order to avoid circular dependency with the "deck" package. DeckInverseTable = "decks" // DeckColumn is the table column denoting the deck relation/edge. DeckColumn = "deck_id" // CardTypeTable is the table that holds the card_type relation/edge. CardTypeTable = "cards" // CardTypeInverseTable is the table name for the CardType entity. // It exists in this package in order to avoid circular dependency with the "cardtype" package. CardTypeInverseTable = "card_types" // CardTypeColumn is the table column denoting the card_type relation/edge. CardTypeColumn = "card_type_id" // CardSpecialColorTable is the table that holds the card_special_color relation/edge. CardSpecialColorTable = "cards" // CardSpecialColorInverseTable is the table name for the CardSpecialColor entity. // It exists in this package in order to avoid circular dependency with the "cardspecialcolor" package. CardSpecialColorInverseTable = "card_special_colors" // CardSpecialColorColumn is the table column denoting the card_special_color relation/edge. CardSpecialColorColumn = "card_special_color_id" // ChildrenTable is the table that holds the children relation/edge. The primary key declared below. ChildrenTable = "card_ancestors" // AncestorsTable is the table that holds the ancestors relation/edge. The primary key declared below. AncestorsTable = "card_ancestors" )
Variables ¶
var ( // ProductsPrimaryKey and ProductsColumn2 are the table columns denoting the // primary key for the products relation (M2M). ProductsPrimaryKey = []string{"product_id", "card_id"} // ChildrenPrimaryKey and ChildrenColumn2 are the table columns denoting the // primary key for the children relation (M2M). ChildrenPrimaryKey = []string{"card_id", "child_id"} // AncestorsPrimaryKey and AncestorsColumn2 are the table columns denoting the // primary key for the ancestors relation (M2M). AncestorsPrimaryKey = []string{"card_id", "child_id"} )
var Columns = []string{ FieldID, FieldLiteralID, FieldRevisionID, FieldPrintedID, FieldPlayAgricolaCardID, FieldDeckID, FieldCardTypeID, FieldCardSpecialColorID, FieldNameJa, FieldNameEn, FieldMinPlayersNumber, FieldPrerequisite, FieldCost, FieldDescription, FieldNote, FieldIsOfficialJa, FieldVictoryPoint, FieldSpecialVictoryPoint, FieldHasArrow, FieldHasBonusPointIcon, FieldHasNegativeBonusPointIcon, FieldHasPanIcon, FieldHasBreadIcon, FieldHasFarmPlannerIcon, FieldHasActionsBoosterIcon, FieldHasPointsProviderIcon, FieldHasGoodsProviderIcon, FieldHasFoodProviderIcon, FieldHasCropProviderIcon, FieldHasBuildingResourceProviderIcon, FieldHasLivestockProviderIcon, FieldHasCutPeatIcon, FieldHasFellTreesIcon, FieldHasSlashAndBurnIcon, FieldHasHiringFareIcon, }
Columns holds all SQL columns for card fields.
var ( // LiteralIDValidator is a validator for the "literal_id" field. It is called by the builders before save. LiteralIDValidator func(string) error )
Functions ¶
func CardSpecialColorID ¶
CardSpecialColorID applies equality check predicate on the "card_special_color_id" field. It's identical to CardSpecialColorIDEQ.
func CardSpecialColorIDEQ ¶
CardSpecialColorIDEQ applies the EQ predicate on the "card_special_color_id" field.
func CardSpecialColorIDIn ¶
CardSpecialColorIDIn applies the In predicate on the "card_special_color_id" field.
func CardSpecialColorIDIsNil ¶
CardSpecialColorIDIsNil applies the IsNil predicate on the "card_special_color_id" field.
func CardSpecialColorIDNEQ ¶
CardSpecialColorIDNEQ applies the NEQ predicate on the "card_special_color_id" field.
func CardSpecialColorIDNotIn ¶
CardSpecialColorIDNotIn applies the NotIn predicate on the "card_special_color_id" field.
func CardSpecialColorIDNotNil ¶
CardSpecialColorIDNotNil applies the NotNil predicate on the "card_special_color_id" field.
func CardTypeID ¶
CardTypeID applies equality check predicate on the "card_type_id" field. It's identical to CardTypeIDEQ.
func CardTypeIDEQ ¶
CardTypeIDEQ applies the EQ predicate on the "card_type_id" field.
func CardTypeIDIn ¶
CardTypeIDIn applies the In predicate on the "card_type_id" field.
func CardTypeIDNEQ ¶
CardTypeIDNEQ applies the NEQ predicate on the "card_type_id" field.
func CardTypeIDNotIn ¶
CardTypeIDNotIn applies the NotIn predicate on the "card_type_id" field.
func CostContains ¶
CostContains applies the Contains predicate on the "cost" field.
func CostContainsFold ¶
CostContainsFold applies the ContainsFold predicate on the "cost" field.
func CostEqualFold ¶
CostEqualFold applies the EqualFold predicate on the "cost" field.
func CostHasPrefix ¶
CostHasPrefix applies the HasPrefix predicate on the "cost" field.
func CostHasSuffix ¶
CostHasSuffix applies the HasSuffix predicate on the "cost" field.
func CostNotNil ¶
CostNotNil applies the NotNil predicate on the "cost" field.
func DeckID ¶
DeckID applies equality check predicate on the "deck_id" field. It's identical to DeckIDEQ.
func DeckIDIsNil ¶
DeckIDIsNil applies the IsNil predicate on the "deck_id" field.
func DeckIDNotIn ¶
DeckIDNotIn applies the NotIn predicate on the "deck_id" field.
func DeckIDNotNil ¶
DeckIDNotNil applies the NotNil predicate on the "deck_id" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasActionsBoosterIcon ¶
HasActionsBoosterIcon applies equality check predicate on the "has_actions_booster_icon" field. It's identical to HasActionsBoosterIconEQ.
func HasActionsBoosterIconEQ ¶
HasActionsBoosterIconEQ applies the EQ predicate on the "has_actions_booster_icon" field.
func HasActionsBoosterIconNEQ ¶
HasActionsBoosterIconNEQ applies the NEQ predicate on the "has_actions_booster_icon" field.
func HasAncestors ¶
HasAncestors applies the HasEdge predicate on the "ancestors" edge.
func HasAncestorsWith ¶
HasAncestorsWith applies the HasEdge predicate on the "ancestors" edge with a given conditions (other predicates).
func HasArrow ¶
HasArrow applies equality check predicate on the "has_arrow" field. It's identical to HasArrowEQ.
func HasArrowEQ ¶
HasArrowEQ applies the EQ predicate on the "has_arrow" field.
func HasArrowNEQ ¶
HasArrowNEQ applies the NEQ predicate on the "has_arrow" field.
func HasBonusPointIcon ¶
HasBonusPointIcon applies equality check predicate on the "has_bonus_point_icon" field. It's identical to HasBonusPointIconEQ.
func HasBonusPointIconEQ ¶
HasBonusPointIconEQ applies the EQ predicate on the "has_bonus_point_icon" field.
func HasBonusPointIconNEQ ¶
HasBonusPointIconNEQ applies the NEQ predicate on the "has_bonus_point_icon" field.
func HasBreadIcon ¶
HasBreadIcon applies equality check predicate on the "has_bread_icon" field. It's identical to HasBreadIconEQ.
func HasBreadIconEQ ¶
HasBreadIconEQ applies the EQ predicate on the "has_bread_icon" field.
func HasBreadIconNEQ ¶
HasBreadIconNEQ applies the NEQ predicate on the "has_bread_icon" field.
func HasBuildingResourceProviderIcon ¶
HasBuildingResourceProviderIcon applies equality check predicate on the "has_building_resource_provider_icon" field. It's identical to HasBuildingResourceProviderIconEQ.
func HasBuildingResourceProviderIconEQ ¶
HasBuildingResourceProviderIconEQ applies the EQ predicate on the "has_building_resource_provider_icon" field.
func HasBuildingResourceProviderIconNEQ ¶
HasBuildingResourceProviderIconNEQ applies the NEQ predicate on the "has_building_resource_provider_icon" field.
func HasCardSpecialColor ¶
HasCardSpecialColor applies the HasEdge predicate on the "card_special_color" edge.
func HasCardSpecialColorWith ¶
func HasCardSpecialColorWith(preds ...predicate.CardSpecialColor) predicate.Card
HasCardSpecialColorWith applies the HasEdge predicate on the "card_special_color" edge with a given conditions (other predicates).
func HasCardType ¶
HasCardType applies the HasEdge predicate on the "card_type" edge.
func HasCardTypeWith ¶
HasCardTypeWith applies the HasEdge predicate on the "card_type" edge with a given conditions (other predicates).
func HasChildren ¶
HasChildren applies the HasEdge predicate on the "children" edge.
func HasChildrenWith ¶
HasChildrenWith applies the HasEdge predicate on the "children" edge with a given conditions (other predicates).
func HasCropProviderIcon ¶
HasCropProviderIcon applies equality check predicate on the "has_crop_provider_icon" field. It's identical to HasCropProviderIconEQ.
func HasCropProviderIconEQ ¶
HasCropProviderIconEQ applies the EQ predicate on the "has_crop_provider_icon" field.
func HasCropProviderIconNEQ ¶
HasCropProviderIconNEQ applies the NEQ predicate on the "has_crop_provider_icon" field.
func HasCutPeatIcon ¶
HasCutPeatIcon applies equality check predicate on the "has_cut_peat_icon" field. It's identical to HasCutPeatIconEQ.
func HasCutPeatIconEQ ¶
HasCutPeatIconEQ applies the EQ predicate on the "has_cut_peat_icon" field.
func HasCutPeatIconNEQ ¶
HasCutPeatIconNEQ applies the NEQ predicate on the "has_cut_peat_icon" field.
func HasDeckWith ¶
HasDeckWith applies the HasEdge predicate on the "deck" edge with a given conditions (other predicates).
func HasFarmPlannerIcon ¶
HasFarmPlannerIcon applies equality check predicate on the "has_farm_planner_icon" field. It's identical to HasFarmPlannerIconEQ.
func HasFarmPlannerIconEQ ¶
HasFarmPlannerIconEQ applies the EQ predicate on the "has_farm_planner_icon" field.
func HasFarmPlannerIconNEQ ¶
HasFarmPlannerIconNEQ applies the NEQ predicate on the "has_farm_planner_icon" field.
func HasFellTreesIcon ¶
HasFellTreesIcon applies equality check predicate on the "has_fell_trees_icon" field. It's identical to HasFellTreesIconEQ.
func HasFellTreesIconEQ ¶
HasFellTreesIconEQ applies the EQ predicate on the "has_fell_trees_icon" field.
func HasFellTreesIconNEQ ¶
HasFellTreesIconNEQ applies the NEQ predicate on the "has_fell_trees_icon" field.
func HasFoodProviderIcon ¶
HasFoodProviderIcon applies equality check predicate on the "has_food_provider_icon" field. It's identical to HasFoodProviderIconEQ.
func HasFoodProviderIconEQ ¶
HasFoodProviderIconEQ applies the EQ predicate on the "has_food_provider_icon" field.
func HasFoodProviderIconNEQ ¶
HasFoodProviderIconNEQ applies the NEQ predicate on the "has_food_provider_icon" field.
func HasGoodsProviderIcon ¶
HasGoodsProviderIcon applies equality check predicate on the "has_goods_provider_icon" field. It's identical to HasGoodsProviderIconEQ.
func HasGoodsProviderIconEQ ¶
HasGoodsProviderIconEQ applies the EQ predicate on the "has_goods_provider_icon" field.
func HasGoodsProviderIconNEQ ¶
HasGoodsProviderIconNEQ applies the NEQ predicate on the "has_goods_provider_icon" field.
func HasHiringFareIcon ¶
HasHiringFareIcon applies equality check predicate on the "has_hiring_fare_icon" field. It's identical to HasHiringFareIconEQ.
func HasHiringFareIconEQ ¶
HasHiringFareIconEQ applies the EQ predicate on the "has_hiring_fare_icon" field.
func HasHiringFareIconNEQ ¶
HasHiringFareIconNEQ applies the NEQ predicate on the "has_hiring_fare_icon" field.
func HasLivestockProviderIcon ¶
HasLivestockProviderIcon applies equality check predicate on the "has_livestock_provider_icon" field. It's identical to HasLivestockProviderIconEQ.
func HasLivestockProviderIconEQ ¶
HasLivestockProviderIconEQ applies the EQ predicate on the "has_livestock_provider_icon" field.
func HasLivestockProviderIconNEQ ¶
HasLivestockProviderIconNEQ applies the NEQ predicate on the "has_livestock_provider_icon" field.
func HasNegativeBonusPointIcon ¶
HasNegativeBonusPointIcon applies equality check predicate on the "has_negative_bonus_point_icon" field. It's identical to HasNegativeBonusPointIconEQ.
func HasNegativeBonusPointIconEQ ¶
HasNegativeBonusPointIconEQ applies the EQ predicate on the "has_negative_bonus_point_icon" field.
func HasNegativeBonusPointIconNEQ ¶
HasNegativeBonusPointIconNEQ applies the NEQ predicate on the "has_negative_bonus_point_icon" field.
func HasPanIcon ¶
HasPanIcon applies equality check predicate on the "has_pan_icon" field. It's identical to HasPanIconEQ.
func HasPanIconEQ ¶
HasPanIconEQ applies the EQ predicate on the "has_pan_icon" field.
func HasPanIconNEQ ¶
HasPanIconNEQ applies the NEQ predicate on the "has_pan_icon" field.
func HasPointsProviderIcon ¶
HasPointsProviderIcon applies equality check predicate on the "has_points_provider_icon" field. It's identical to HasPointsProviderIconEQ.
func HasPointsProviderIconEQ ¶
HasPointsProviderIconEQ applies the EQ predicate on the "has_points_provider_icon" field.
func HasPointsProviderIconNEQ ¶
HasPointsProviderIconNEQ applies the NEQ predicate on the "has_points_provider_icon" field.
func HasProducts ¶
HasProducts applies the HasEdge predicate on the "products" edge.
func HasProductsWith ¶
HasProductsWith applies the HasEdge predicate on the "products" edge with a given conditions (other predicates).
func HasRevision ¶
HasRevision applies the HasEdge predicate on the "revision" edge.
func HasRevisionWith ¶
HasRevisionWith applies the HasEdge predicate on the "revision" edge with a given conditions (other predicates).
func HasSlashAndBurnIcon ¶
HasSlashAndBurnIcon applies equality check predicate on the "has_slash_and_burn_icon" field. It's identical to HasSlashAndBurnIconEQ.
func HasSlashAndBurnIconEQ ¶
HasSlashAndBurnIconEQ applies the EQ predicate on the "has_slash_and_burn_icon" field.
func HasSlashAndBurnIconNEQ ¶
HasSlashAndBurnIconNEQ applies the NEQ predicate on the "has_slash_and_burn_icon" field.
func IsOfficialJa ¶
IsOfficialJa applies equality check predicate on the "is_official_ja" field. It's identical to IsOfficialJaEQ.
func IsOfficialJaEQ ¶
IsOfficialJaEQ applies the EQ predicate on the "is_official_ja" field.
func IsOfficialJaNEQ ¶
IsOfficialJaNEQ applies the NEQ predicate on the "is_official_ja" field.
func LiteralID ¶
LiteralID applies equality check predicate on the "literal_id" field. It's identical to LiteralIDEQ.
func LiteralIDContains ¶
LiteralIDContains applies the Contains predicate on the "literal_id" field.
func LiteralIDContainsFold ¶
LiteralIDContainsFold applies the ContainsFold predicate on the "literal_id" field.
func LiteralIDEQ ¶
LiteralIDEQ applies the EQ predicate on the "literal_id" field.
func LiteralIDEqualFold ¶
LiteralIDEqualFold applies the EqualFold predicate on the "literal_id" field.
func LiteralIDGT ¶
LiteralIDGT applies the GT predicate on the "literal_id" field.
func LiteralIDGTE ¶
LiteralIDGTE applies the GTE predicate on the "literal_id" field.
func LiteralIDHasPrefix ¶
LiteralIDHasPrefix applies the HasPrefix predicate on the "literal_id" field.
func LiteralIDHasSuffix ¶
LiteralIDHasSuffix applies the HasSuffix predicate on the "literal_id" field.
func LiteralIDIn ¶
LiteralIDIn applies the In predicate on the "literal_id" field.
func LiteralIDLT ¶
LiteralIDLT applies the LT predicate on the "literal_id" field.
func LiteralIDLTE ¶
LiteralIDLTE applies the LTE predicate on the "literal_id" field.
func LiteralIDNEQ ¶
LiteralIDNEQ applies the NEQ predicate on the "literal_id" field.
func LiteralIDNotIn ¶
LiteralIDNotIn applies the NotIn predicate on the "literal_id" field.
func MinPlayersNumber ¶
MinPlayersNumber applies equality check predicate on the "min_players_number" field. It's identical to MinPlayersNumberEQ.
func MinPlayersNumberEQ ¶
MinPlayersNumberEQ applies the EQ predicate on the "min_players_number" field.
func MinPlayersNumberGT ¶
MinPlayersNumberGT applies the GT predicate on the "min_players_number" field.
func MinPlayersNumberGTE ¶
MinPlayersNumberGTE applies the GTE predicate on the "min_players_number" field.
func MinPlayersNumberIn ¶
MinPlayersNumberIn applies the In predicate on the "min_players_number" field.
func MinPlayersNumberIsNil ¶
MinPlayersNumberIsNil applies the IsNil predicate on the "min_players_number" field.
func MinPlayersNumberLT ¶
MinPlayersNumberLT applies the LT predicate on the "min_players_number" field.
func MinPlayersNumberLTE ¶
MinPlayersNumberLTE applies the LTE predicate on the "min_players_number" field.
func MinPlayersNumberNEQ ¶
MinPlayersNumberNEQ applies the NEQ predicate on the "min_players_number" field.
func MinPlayersNumberNotIn ¶
MinPlayersNumberNotIn applies the NotIn predicate on the "min_players_number" field.
func MinPlayersNumberNotNil ¶
MinPlayersNumberNotNil applies the NotNil predicate on the "min_players_number" field.
func NameEn ¶
NameEn applies equality check predicate on the "name_en" field. It's identical to NameEnEQ.
func NameEnContains ¶
NameEnContains applies the Contains predicate on the "name_en" field.
func NameEnContainsFold ¶
NameEnContainsFold applies the ContainsFold predicate on the "name_en" field.
func NameEnEqualFold ¶
NameEnEqualFold applies the EqualFold predicate on the "name_en" field.
func NameEnHasPrefix ¶
NameEnHasPrefix applies the HasPrefix predicate on the "name_en" field.
func NameEnHasSuffix ¶
NameEnHasSuffix applies the HasSuffix predicate on the "name_en" field.
func NameEnIsNil ¶
NameEnIsNil applies the IsNil predicate on the "name_en" field.
func NameEnNotIn ¶
NameEnNotIn applies the NotIn predicate on the "name_en" field.
func NameEnNotNil ¶
NameEnNotNil applies the NotNil predicate on the "name_en" field.
func NameJa ¶
NameJa applies equality check predicate on the "name_ja" field. It's identical to NameJaEQ.
func NameJaContains ¶
NameJaContains applies the Contains predicate on the "name_ja" field.
func NameJaContainsFold ¶
NameJaContainsFold applies the ContainsFold predicate on the "name_ja" field.
func NameJaEqualFold ¶
NameJaEqualFold applies the EqualFold predicate on the "name_ja" field.
func NameJaHasPrefix ¶
NameJaHasPrefix applies the HasPrefix predicate on the "name_ja" field.
func NameJaHasSuffix ¶
NameJaHasSuffix applies the HasSuffix predicate on the "name_ja" field.
func NameJaIsNil ¶
NameJaIsNil applies the IsNil predicate on the "name_ja" field.
func NameJaNotIn ¶
NameJaNotIn applies the NotIn predicate on the "name_ja" field.
func NameJaNotNil ¶
NameJaNotNil applies the NotNil predicate on the "name_ja" field.
func NoteContains ¶
NoteContains applies the Contains predicate on the "note" field.
func NoteContainsFold ¶
NoteContainsFold applies the ContainsFold predicate on the "note" field.
func NoteEqualFold ¶
NoteEqualFold applies the EqualFold predicate on the "note" field.
func NoteHasPrefix ¶
NoteHasPrefix applies the HasPrefix predicate on the "note" field.
func NoteHasSuffix ¶
NoteHasSuffix applies the HasSuffix predicate on the "note" field.
func NoteNotNil ¶
NoteNotNil applies the NotNil predicate on the "note" field.
func PlayAgricolaCardID ¶
PlayAgricolaCardID applies equality check predicate on the "play_agricola_card_id" field. It's identical to PlayAgricolaCardIDEQ.
func PlayAgricolaCardIDContains ¶
PlayAgricolaCardIDContains applies the Contains predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDContainsFold ¶
PlayAgricolaCardIDContainsFold applies the ContainsFold predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDEQ ¶
PlayAgricolaCardIDEQ applies the EQ predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDEqualFold ¶
PlayAgricolaCardIDEqualFold applies the EqualFold predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDGT ¶
PlayAgricolaCardIDGT applies the GT predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDGTE ¶
PlayAgricolaCardIDGTE applies the GTE predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDHasPrefix ¶
PlayAgricolaCardIDHasPrefix applies the HasPrefix predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDHasSuffix ¶
PlayAgricolaCardIDHasSuffix applies the HasSuffix predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDIn ¶
PlayAgricolaCardIDIn applies the In predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDIsNil ¶
PlayAgricolaCardIDIsNil applies the IsNil predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDLT ¶
PlayAgricolaCardIDLT applies the LT predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDLTE ¶
PlayAgricolaCardIDLTE applies the LTE predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDNEQ ¶
PlayAgricolaCardIDNEQ applies the NEQ predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDNotIn ¶
PlayAgricolaCardIDNotIn applies the NotIn predicate on the "play_agricola_card_id" field.
func PlayAgricolaCardIDNotNil ¶
PlayAgricolaCardIDNotNil applies the NotNil predicate on the "play_agricola_card_id" field.
func Prerequisite ¶
Prerequisite applies equality check predicate on the "prerequisite" field. It's identical to PrerequisiteEQ.
func PrerequisiteContains ¶
PrerequisiteContains applies the Contains predicate on the "prerequisite" field.
func PrerequisiteContainsFold ¶
PrerequisiteContainsFold applies the ContainsFold predicate on the "prerequisite" field.
func PrerequisiteEQ ¶
PrerequisiteEQ applies the EQ predicate on the "prerequisite" field.
func PrerequisiteEqualFold ¶
PrerequisiteEqualFold applies the EqualFold predicate on the "prerequisite" field.
func PrerequisiteGT ¶
PrerequisiteGT applies the GT predicate on the "prerequisite" field.
func PrerequisiteGTE ¶
PrerequisiteGTE applies the GTE predicate on the "prerequisite" field.
func PrerequisiteHasPrefix ¶
PrerequisiteHasPrefix applies the HasPrefix predicate on the "prerequisite" field.
func PrerequisiteHasSuffix ¶
PrerequisiteHasSuffix applies the HasSuffix predicate on the "prerequisite" field.
func PrerequisiteIn ¶
PrerequisiteIn applies the In predicate on the "prerequisite" field.
func PrerequisiteIsNil ¶
PrerequisiteIsNil applies the IsNil predicate on the "prerequisite" field.
func PrerequisiteLT ¶
PrerequisiteLT applies the LT predicate on the "prerequisite" field.
func PrerequisiteLTE ¶
PrerequisiteLTE applies the LTE predicate on the "prerequisite" field.
func PrerequisiteNEQ ¶
PrerequisiteNEQ applies the NEQ predicate on the "prerequisite" field.
func PrerequisiteNotIn ¶
PrerequisiteNotIn applies the NotIn predicate on the "prerequisite" field.
func PrerequisiteNotNil ¶
PrerequisiteNotNil applies the NotNil predicate on the "prerequisite" field.
func PrintedID ¶
PrintedID applies equality check predicate on the "printed_id" field. It's identical to PrintedIDEQ.
func PrintedIDContains ¶
PrintedIDContains applies the Contains predicate on the "printed_id" field.
func PrintedIDContainsFold ¶
PrintedIDContainsFold applies the ContainsFold predicate on the "printed_id" field.
func PrintedIDEQ ¶
PrintedIDEQ applies the EQ predicate on the "printed_id" field.
func PrintedIDEqualFold ¶
PrintedIDEqualFold applies the EqualFold predicate on the "printed_id" field.
func PrintedIDGT ¶
PrintedIDGT applies the GT predicate on the "printed_id" field.
func PrintedIDGTE ¶
PrintedIDGTE applies the GTE predicate on the "printed_id" field.
func PrintedIDHasPrefix ¶
PrintedIDHasPrefix applies the HasPrefix predicate on the "printed_id" field.
func PrintedIDHasSuffix ¶
PrintedIDHasSuffix applies the HasSuffix predicate on the "printed_id" field.
func PrintedIDIn ¶
PrintedIDIn applies the In predicate on the "printed_id" field.
func PrintedIDIsNil ¶
PrintedIDIsNil applies the IsNil predicate on the "printed_id" field.
func PrintedIDLT ¶
PrintedIDLT applies the LT predicate on the "printed_id" field.
func PrintedIDLTE ¶
PrintedIDLTE applies the LTE predicate on the "printed_id" field.
func PrintedIDNEQ ¶
PrintedIDNEQ applies the NEQ predicate on the "printed_id" field.
func PrintedIDNotIn ¶
PrintedIDNotIn applies the NotIn predicate on the "printed_id" field.
func PrintedIDNotNil ¶
PrintedIDNotNil applies the NotNil predicate on the "printed_id" field.
func RevisionID ¶
RevisionID applies equality check predicate on the "revision_id" field. It's identical to RevisionIDEQ.
func RevisionIDEQ ¶
RevisionIDEQ applies the EQ predicate on the "revision_id" field.
func RevisionIDIn ¶
RevisionIDIn applies the In predicate on the "revision_id" field.
func RevisionIDNEQ ¶
RevisionIDNEQ applies the NEQ predicate on the "revision_id" field.
func RevisionIDNotIn ¶
RevisionIDNotIn applies the NotIn predicate on the "revision_id" field.
func SpecialVictoryPoint ¶
SpecialVictoryPoint applies equality check predicate on the "special_victory_point" field. It's identical to SpecialVictoryPointEQ.
func SpecialVictoryPointContains ¶
SpecialVictoryPointContains applies the Contains predicate on the "special_victory_point" field.
func SpecialVictoryPointContainsFold ¶
SpecialVictoryPointContainsFold applies the ContainsFold predicate on the "special_victory_point" field.
func SpecialVictoryPointEQ ¶
SpecialVictoryPointEQ applies the EQ predicate on the "special_victory_point" field.
func SpecialVictoryPointEqualFold ¶
SpecialVictoryPointEqualFold applies the EqualFold predicate on the "special_victory_point" field.
func SpecialVictoryPointGT ¶
SpecialVictoryPointGT applies the GT predicate on the "special_victory_point" field.
func SpecialVictoryPointGTE ¶
SpecialVictoryPointGTE applies the GTE predicate on the "special_victory_point" field.
func SpecialVictoryPointHasPrefix ¶
SpecialVictoryPointHasPrefix applies the HasPrefix predicate on the "special_victory_point" field.
func SpecialVictoryPointHasSuffix ¶
SpecialVictoryPointHasSuffix applies the HasSuffix predicate on the "special_victory_point" field.
func SpecialVictoryPointIn ¶
SpecialVictoryPointIn applies the In predicate on the "special_victory_point" field.
func SpecialVictoryPointIsNil ¶
SpecialVictoryPointIsNil applies the IsNil predicate on the "special_victory_point" field.
func SpecialVictoryPointLT ¶
SpecialVictoryPointLT applies the LT predicate on the "special_victory_point" field.
func SpecialVictoryPointLTE ¶
SpecialVictoryPointLTE applies the LTE predicate on the "special_victory_point" field.
func SpecialVictoryPointNEQ ¶
SpecialVictoryPointNEQ applies the NEQ predicate on the "special_victory_point" field.
func SpecialVictoryPointNotIn ¶
SpecialVictoryPointNotIn applies the NotIn predicate on the "special_victory_point" field.
func SpecialVictoryPointNotNil ¶
SpecialVictoryPointNotNil applies the NotNil predicate on the "special_victory_point" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func VictoryPoint ¶
VictoryPoint applies equality check predicate on the "victory_point" field. It's identical to VictoryPointEQ.
func VictoryPointEQ ¶
VictoryPointEQ applies the EQ predicate on the "victory_point" field.
func VictoryPointGT ¶
VictoryPointGT applies the GT predicate on the "victory_point" field.
func VictoryPointGTE ¶
VictoryPointGTE applies the GTE predicate on the "victory_point" field.
func VictoryPointIn ¶
VictoryPointIn applies the In predicate on the "victory_point" field.
func VictoryPointIsNil ¶
VictoryPointIsNil applies the IsNil predicate on the "victory_point" field.
func VictoryPointLT ¶
VictoryPointLT applies the LT predicate on the "victory_point" field.
func VictoryPointLTE ¶
VictoryPointLTE applies the LTE predicate on the "victory_point" field.
func VictoryPointNEQ ¶
VictoryPointNEQ applies the NEQ predicate on the "victory_point" field.
func VictoryPointNotIn ¶
VictoryPointNotIn applies the NotIn predicate on the "victory_point" field.
func VictoryPointNotNil ¶
VictoryPointNotNil applies the NotNil predicate on the "victory_point" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Card queries.
func ByAncestors ¶
func ByAncestors(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByAncestors orders the results by ancestors terms.
func ByAncestorsCount ¶
func ByAncestorsCount(opts ...sql.OrderTermOption) OrderOption
ByAncestorsCount orders the results by ancestors count.
func ByCardSpecialColorField ¶
func ByCardSpecialColorField(field string, opts ...sql.OrderTermOption) OrderOption
ByCardSpecialColorField orders the results by card_special_color field.
func ByCardSpecialColorID ¶
func ByCardSpecialColorID(opts ...sql.OrderTermOption) OrderOption
ByCardSpecialColorID orders the results by the card_special_color_id field.
func ByCardTypeField ¶
func ByCardTypeField(field string, opts ...sql.OrderTermOption) OrderOption
ByCardTypeField orders the results by card_type field.
func ByCardTypeID ¶
func ByCardTypeID(opts ...sql.OrderTermOption) OrderOption
ByCardTypeID orders the results by the card_type_id field.
func ByChildren ¶
func ByChildren(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByChildren orders the results by children terms.
func ByChildrenCount ¶
func ByChildrenCount(opts ...sql.OrderTermOption) OrderOption
ByChildrenCount orders the results by children count.
func ByCost ¶
func ByCost(opts ...sql.OrderTermOption) OrderOption
ByCost orders the results by the cost field.
func ByDeckField ¶
func ByDeckField(field string, opts ...sql.OrderTermOption) OrderOption
ByDeckField orders the results by deck field.
func ByDeckID ¶
func ByDeckID(opts ...sql.OrderTermOption) OrderOption
ByDeckID orders the results by the deck_id field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByHasActionsBoosterIcon ¶
func ByHasActionsBoosterIcon(opts ...sql.OrderTermOption) OrderOption
ByHasActionsBoosterIcon orders the results by the has_actions_booster_icon field.
func ByHasArrow ¶
func ByHasArrow(opts ...sql.OrderTermOption) OrderOption
ByHasArrow orders the results by the has_arrow field.
func ByHasBonusPointIcon ¶
func ByHasBonusPointIcon(opts ...sql.OrderTermOption) OrderOption
ByHasBonusPointIcon orders the results by the has_bonus_point_icon field.
func ByHasBreadIcon ¶
func ByHasBreadIcon(opts ...sql.OrderTermOption) OrderOption
ByHasBreadIcon orders the results by the has_bread_icon field.
func ByHasBuildingResourceProviderIcon ¶
func ByHasBuildingResourceProviderIcon(opts ...sql.OrderTermOption) OrderOption
ByHasBuildingResourceProviderIcon orders the results by the has_building_resource_provider_icon field.
func ByHasCropProviderIcon ¶
func ByHasCropProviderIcon(opts ...sql.OrderTermOption) OrderOption
ByHasCropProviderIcon orders the results by the has_crop_provider_icon field.
func ByHasCutPeatIcon ¶
func ByHasCutPeatIcon(opts ...sql.OrderTermOption) OrderOption
ByHasCutPeatIcon orders the results by the has_cut_peat_icon field.
func ByHasFarmPlannerIcon ¶
func ByHasFarmPlannerIcon(opts ...sql.OrderTermOption) OrderOption
ByHasFarmPlannerIcon orders the results by the has_farm_planner_icon field.
func ByHasFellTreesIcon ¶
func ByHasFellTreesIcon(opts ...sql.OrderTermOption) OrderOption
ByHasFellTreesIcon orders the results by the has_fell_trees_icon field.
func ByHasFoodProviderIcon ¶
func ByHasFoodProviderIcon(opts ...sql.OrderTermOption) OrderOption
ByHasFoodProviderIcon orders the results by the has_food_provider_icon field.
func ByHasGoodsProviderIcon ¶
func ByHasGoodsProviderIcon(opts ...sql.OrderTermOption) OrderOption
ByHasGoodsProviderIcon orders the results by the has_goods_provider_icon field.
func ByHasHiringFareIcon ¶
func ByHasHiringFareIcon(opts ...sql.OrderTermOption) OrderOption
ByHasHiringFareIcon orders the results by the has_hiring_fare_icon field.
func ByHasLivestockProviderIcon ¶
func ByHasLivestockProviderIcon(opts ...sql.OrderTermOption) OrderOption
ByHasLivestockProviderIcon orders the results by the has_livestock_provider_icon field.
func ByHasNegativeBonusPointIcon ¶
func ByHasNegativeBonusPointIcon(opts ...sql.OrderTermOption) OrderOption
ByHasNegativeBonusPointIcon orders the results by the has_negative_bonus_point_icon field.
func ByHasPanIcon ¶
func ByHasPanIcon(opts ...sql.OrderTermOption) OrderOption
ByHasPanIcon orders the results by the has_pan_icon field.
func ByHasPointsProviderIcon ¶
func ByHasPointsProviderIcon(opts ...sql.OrderTermOption) OrderOption
ByHasPointsProviderIcon orders the results by the has_points_provider_icon field.
func ByHasSlashAndBurnIcon ¶
func ByHasSlashAndBurnIcon(opts ...sql.OrderTermOption) OrderOption
ByHasSlashAndBurnIcon orders the results by the has_slash_and_burn_icon field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByIsOfficialJa ¶
func ByIsOfficialJa(opts ...sql.OrderTermOption) OrderOption
ByIsOfficialJa orders the results by the is_official_ja field.
func ByLiteralID ¶
func ByLiteralID(opts ...sql.OrderTermOption) OrderOption
ByLiteralID orders the results by the literal_id field.
func ByMinPlayersNumber ¶
func ByMinPlayersNumber(opts ...sql.OrderTermOption) OrderOption
ByMinPlayersNumber orders the results by the min_players_number field.
func ByNameEn ¶
func ByNameEn(opts ...sql.OrderTermOption) OrderOption
ByNameEn orders the results by the name_en field.
func ByNameJa ¶
func ByNameJa(opts ...sql.OrderTermOption) OrderOption
ByNameJa orders the results by the name_ja field.
func ByNote ¶
func ByNote(opts ...sql.OrderTermOption) OrderOption
ByNote orders the results by the note field.
func ByPlayAgricolaCardID ¶
func ByPlayAgricolaCardID(opts ...sql.OrderTermOption) OrderOption
ByPlayAgricolaCardID orders the results by the play_agricola_card_id field.
func ByPrerequisite ¶
func ByPrerequisite(opts ...sql.OrderTermOption) OrderOption
ByPrerequisite orders the results by the prerequisite field.
func ByPrintedID ¶
func ByPrintedID(opts ...sql.OrderTermOption) OrderOption
ByPrintedID orders the results by the printed_id field.
func ByProducts ¶
func ByProducts(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByProducts orders the results by products terms.
func ByProductsCount ¶
func ByProductsCount(opts ...sql.OrderTermOption) OrderOption
ByProductsCount orders the results by products count.
func ByRevisionField ¶
func ByRevisionField(field string, opts ...sql.OrderTermOption) OrderOption
ByRevisionField orders the results by revision field.
func ByRevisionID ¶
func ByRevisionID(opts ...sql.OrderTermOption) OrderOption
ByRevisionID orders the results by the revision_id field.
func BySpecialVictoryPoint ¶
func BySpecialVictoryPoint(opts ...sql.OrderTermOption) OrderOption
BySpecialVictoryPoint orders the results by the special_victory_point field.
func ByVictoryPoint ¶
func ByVictoryPoint(opts ...sql.OrderTermOption) OrderOption
ByVictoryPoint orders the results by the victory_point field.