card

package
v0.0.0-...-18f4101 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
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

View Source
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"}
)

Columns holds all SQL columns for card fields.

View Source
var (
	// LiteralIDValidator is a validator for the "literal_id" field. It is called by the builders before save.
	LiteralIDValidator func(string) error
)

Functions

func And

func And(predicates ...predicate.Card) predicate.Card

And groups predicates with the AND operator between them.

func CardSpecialColorID

func CardSpecialColorID(v int) predicate.Card

CardSpecialColorID applies equality check predicate on the "card_special_color_id" field. It's identical to CardSpecialColorIDEQ.

func CardSpecialColorIDEQ

func CardSpecialColorIDEQ(v int) predicate.Card

CardSpecialColorIDEQ applies the EQ predicate on the "card_special_color_id" field.

func CardSpecialColorIDIn

func CardSpecialColorIDIn(vs ...int) predicate.Card

CardSpecialColorIDIn applies the In predicate on the "card_special_color_id" field.

func CardSpecialColorIDIsNil

func CardSpecialColorIDIsNil() predicate.Card

CardSpecialColorIDIsNil applies the IsNil predicate on the "card_special_color_id" field.

func CardSpecialColorIDNEQ

func CardSpecialColorIDNEQ(v int) predicate.Card

CardSpecialColorIDNEQ applies the NEQ predicate on the "card_special_color_id" field.

func CardSpecialColorIDNotIn

func CardSpecialColorIDNotIn(vs ...int) predicate.Card

CardSpecialColorIDNotIn applies the NotIn predicate on the "card_special_color_id" field.

func CardSpecialColorIDNotNil

func CardSpecialColorIDNotNil() predicate.Card

CardSpecialColorIDNotNil applies the NotNil predicate on the "card_special_color_id" field.

func CardTypeID

func CardTypeID(v int) predicate.Card

CardTypeID applies equality check predicate on the "card_type_id" field. It's identical to CardTypeIDEQ.

func CardTypeIDEQ

func CardTypeIDEQ(v int) predicate.Card

CardTypeIDEQ applies the EQ predicate on the "card_type_id" field.

func CardTypeIDIn

func CardTypeIDIn(vs ...int) predicate.Card

CardTypeIDIn applies the In predicate on the "card_type_id" field.

func CardTypeIDNEQ

func CardTypeIDNEQ(v int) predicate.Card

CardTypeIDNEQ applies the NEQ predicate on the "card_type_id" field.

func CardTypeIDNotIn

func CardTypeIDNotIn(vs ...int) predicate.Card

CardTypeIDNotIn applies the NotIn predicate on the "card_type_id" field.

func Cost

func Cost(v string) predicate.Card

Cost applies equality check predicate on the "cost" field. It's identical to CostEQ.

func CostContains

func CostContains(v string) predicate.Card

CostContains applies the Contains predicate on the "cost" field.

func CostContainsFold

func CostContainsFold(v string) predicate.Card

CostContainsFold applies the ContainsFold predicate on the "cost" field.

func CostEQ

func CostEQ(v string) predicate.Card

CostEQ applies the EQ predicate on the "cost" field.

func CostEqualFold

func CostEqualFold(v string) predicate.Card

CostEqualFold applies the EqualFold predicate on the "cost" field.

func CostGT

func CostGT(v string) predicate.Card

CostGT applies the GT predicate on the "cost" field.

func CostGTE

func CostGTE(v string) predicate.Card

CostGTE applies the GTE predicate on the "cost" field.

func CostHasPrefix

func CostHasPrefix(v string) predicate.Card

CostHasPrefix applies the HasPrefix predicate on the "cost" field.

func CostHasSuffix

func CostHasSuffix(v string) predicate.Card

CostHasSuffix applies the HasSuffix predicate on the "cost" field.

func CostIn

func CostIn(vs ...string) predicate.Card

CostIn applies the In predicate on the "cost" field.

func CostIsNil

func CostIsNil() predicate.Card

CostIsNil applies the IsNil predicate on the "cost" field.

func CostLT

func CostLT(v string) predicate.Card

CostLT applies the LT predicate on the "cost" field.

func CostLTE

func CostLTE(v string) predicate.Card

CostLTE applies the LTE predicate on the "cost" field.

func CostNEQ

func CostNEQ(v string) predicate.Card

CostNEQ applies the NEQ predicate on the "cost" field.

func CostNotIn

func CostNotIn(vs ...string) predicate.Card

CostNotIn applies the NotIn predicate on the "cost" field.

func CostNotNil

func CostNotNil() predicate.Card

CostNotNil applies the NotNil predicate on the "cost" field.

func DeckID

func DeckID(v int) predicate.Card

DeckID applies equality check predicate on the "deck_id" field. It's identical to DeckIDEQ.

func DeckIDEQ

func DeckIDEQ(v int) predicate.Card

DeckIDEQ applies the EQ predicate on the "deck_id" field.

func DeckIDIn

func DeckIDIn(vs ...int) predicate.Card

DeckIDIn applies the In predicate on the "deck_id" field.

func DeckIDIsNil

func DeckIDIsNil() predicate.Card

DeckIDIsNil applies the IsNil predicate on the "deck_id" field.

func DeckIDNEQ

func DeckIDNEQ(v int) predicate.Card

DeckIDNEQ applies the NEQ predicate on the "deck_id" field.

func DeckIDNotIn

func DeckIDNotIn(vs ...int) predicate.Card

DeckIDNotIn applies the NotIn predicate on the "deck_id" field.

func DeckIDNotNil

func DeckIDNotNil() predicate.Card

DeckIDNotNil applies the NotNil predicate on the "deck_id" field.

func Description

func Description(v string) predicate.Card

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Card

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Card

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Card

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Card

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Card

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Card

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Card

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Card

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Card

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Card

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Card

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Card

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Card

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Card

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Card

DescriptionNotNil applies the NotNil predicate on the "description" field.

func HasActionsBoosterIcon

func HasActionsBoosterIcon(v bool) predicate.Card

HasActionsBoosterIcon applies equality check predicate on the "has_actions_booster_icon" field. It's identical to HasActionsBoosterIconEQ.

func HasActionsBoosterIconEQ

func HasActionsBoosterIconEQ(v bool) predicate.Card

HasActionsBoosterIconEQ applies the EQ predicate on the "has_actions_booster_icon" field.

func HasActionsBoosterIconNEQ

func HasActionsBoosterIconNEQ(v bool) predicate.Card

HasActionsBoosterIconNEQ applies the NEQ predicate on the "has_actions_booster_icon" field.

func HasAncestors

func HasAncestors() predicate.Card

HasAncestors applies the HasEdge predicate on the "ancestors" edge.

func HasAncestorsWith

func HasAncestorsWith(preds ...predicate.Card) predicate.Card

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

func HasArrow

func HasArrow(v bool) predicate.Card

HasArrow applies equality check predicate on the "has_arrow" field. It's identical to HasArrowEQ.

func HasArrowEQ

func HasArrowEQ(v bool) predicate.Card

HasArrowEQ applies the EQ predicate on the "has_arrow" field.

func HasArrowNEQ

func HasArrowNEQ(v bool) predicate.Card

HasArrowNEQ applies the NEQ predicate on the "has_arrow" field.

func HasBonusPointIcon

func HasBonusPointIcon(v bool) predicate.Card

HasBonusPointIcon applies equality check predicate on the "has_bonus_point_icon" field. It's identical to HasBonusPointIconEQ.

func HasBonusPointIconEQ

func HasBonusPointIconEQ(v bool) predicate.Card

HasBonusPointIconEQ applies the EQ predicate on the "has_bonus_point_icon" field.

func HasBonusPointIconNEQ

func HasBonusPointIconNEQ(v bool) predicate.Card

HasBonusPointIconNEQ applies the NEQ predicate on the "has_bonus_point_icon" field.

func HasBreadIcon

func HasBreadIcon(v bool) predicate.Card

HasBreadIcon applies equality check predicate on the "has_bread_icon" field. It's identical to HasBreadIconEQ.

func HasBreadIconEQ

func HasBreadIconEQ(v bool) predicate.Card

HasBreadIconEQ applies the EQ predicate on the "has_bread_icon" field.

func HasBreadIconNEQ

func HasBreadIconNEQ(v bool) predicate.Card

HasBreadIconNEQ applies the NEQ predicate on the "has_bread_icon" field.

func HasBuildingResourceProviderIcon

func HasBuildingResourceProviderIcon(v bool) predicate.Card

HasBuildingResourceProviderIcon applies equality check predicate on the "has_building_resource_provider_icon" field. It's identical to HasBuildingResourceProviderIconEQ.

func HasBuildingResourceProviderIconEQ

func HasBuildingResourceProviderIconEQ(v bool) predicate.Card

HasBuildingResourceProviderIconEQ applies the EQ predicate on the "has_building_resource_provider_icon" field.

func HasBuildingResourceProviderIconNEQ

func HasBuildingResourceProviderIconNEQ(v bool) predicate.Card

HasBuildingResourceProviderIconNEQ applies the NEQ predicate on the "has_building_resource_provider_icon" field.

func HasCardSpecialColor

func HasCardSpecialColor() predicate.Card

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

func HasCardType() predicate.Card

HasCardType applies the HasEdge predicate on the "card_type" edge.

func HasCardTypeWith

func HasCardTypeWith(preds ...predicate.CardType) predicate.Card

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

func HasChildren

func HasChildren() predicate.Card

HasChildren applies the HasEdge predicate on the "children" edge.

func HasChildrenWith

func HasChildrenWith(preds ...predicate.Card) predicate.Card

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

func HasCropProviderIcon

func HasCropProviderIcon(v bool) predicate.Card

HasCropProviderIcon applies equality check predicate on the "has_crop_provider_icon" field. It's identical to HasCropProviderIconEQ.

func HasCropProviderIconEQ

func HasCropProviderIconEQ(v bool) predicate.Card

HasCropProviderIconEQ applies the EQ predicate on the "has_crop_provider_icon" field.

func HasCropProviderIconNEQ

func HasCropProviderIconNEQ(v bool) predicate.Card

HasCropProviderIconNEQ applies the NEQ predicate on the "has_crop_provider_icon" field.

func HasCutPeatIcon

func HasCutPeatIcon(v bool) predicate.Card

HasCutPeatIcon applies equality check predicate on the "has_cut_peat_icon" field. It's identical to HasCutPeatIconEQ.

func HasCutPeatIconEQ

func HasCutPeatIconEQ(v bool) predicate.Card

HasCutPeatIconEQ applies the EQ predicate on the "has_cut_peat_icon" field.

func HasCutPeatIconNEQ

func HasCutPeatIconNEQ(v bool) predicate.Card

HasCutPeatIconNEQ applies the NEQ predicate on the "has_cut_peat_icon" field.

func HasDeck

func HasDeck() predicate.Card

HasDeck applies the HasEdge predicate on the "deck" edge.

func HasDeckWith

func HasDeckWith(preds ...predicate.Deck) predicate.Card

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

func HasFarmPlannerIcon

func HasFarmPlannerIcon(v bool) predicate.Card

HasFarmPlannerIcon applies equality check predicate on the "has_farm_planner_icon" field. It's identical to HasFarmPlannerIconEQ.

func HasFarmPlannerIconEQ

func HasFarmPlannerIconEQ(v bool) predicate.Card

HasFarmPlannerIconEQ applies the EQ predicate on the "has_farm_planner_icon" field.

func HasFarmPlannerIconNEQ

func HasFarmPlannerIconNEQ(v bool) predicate.Card

HasFarmPlannerIconNEQ applies the NEQ predicate on the "has_farm_planner_icon" field.

func HasFellTreesIcon

func HasFellTreesIcon(v bool) predicate.Card

HasFellTreesIcon applies equality check predicate on the "has_fell_trees_icon" field. It's identical to HasFellTreesIconEQ.

func HasFellTreesIconEQ

func HasFellTreesIconEQ(v bool) predicate.Card

HasFellTreesIconEQ applies the EQ predicate on the "has_fell_trees_icon" field.

func HasFellTreesIconNEQ

func HasFellTreesIconNEQ(v bool) predicate.Card

HasFellTreesIconNEQ applies the NEQ predicate on the "has_fell_trees_icon" field.

func HasFoodProviderIcon

func HasFoodProviderIcon(v bool) predicate.Card

HasFoodProviderIcon applies equality check predicate on the "has_food_provider_icon" field. It's identical to HasFoodProviderIconEQ.

func HasFoodProviderIconEQ

func HasFoodProviderIconEQ(v bool) predicate.Card

HasFoodProviderIconEQ applies the EQ predicate on the "has_food_provider_icon" field.

func HasFoodProviderIconNEQ

func HasFoodProviderIconNEQ(v bool) predicate.Card

HasFoodProviderIconNEQ applies the NEQ predicate on the "has_food_provider_icon" field.

func HasGoodsProviderIcon

func HasGoodsProviderIcon(v bool) predicate.Card

HasGoodsProviderIcon applies equality check predicate on the "has_goods_provider_icon" field. It's identical to HasGoodsProviderIconEQ.

func HasGoodsProviderIconEQ

func HasGoodsProviderIconEQ(v bool) predicate.Card

HasGoodsProviderIconEQ applies the EQ predicate on the "has_goods_provider_icon" field.

func HasGoodsProviderIconNEQ

func HasGoodsProviderIconNEQ(v bool) predicate.Card

HasGoodsProviderIconNEQ applies the NEQ predicate on the "has_goods_provider_icon" field.

func HasHiringFareIcon

func HasHiringFareIcon(v bool) predicate.Card

HasHiringFareIcon applies equality check predicate on the "has_hiring_fare_icon" field. It's identical to HasHiringFareIconEQ.

func HasHiringFareIconEQ

func HasHiringFareIconEQ(v bool) predicate.Card

HasHiringFareIconEQ applies the EQ predicate on the "has_hiring_fare_icon" field.

func HasHiringFareIconNEQ

func HasHiringFareIconNEQ(v bool) predicate.Card

HasHiringFareIconNEQ applies the NEQ predicate on the "has_hiring_fare_icon" field.

func HasLivestockProviderIcon

func HasLivestockProviderIcon(v bool) predicate.Card

HasLivestockProviderIcon applies equality check predicate on the "has_livestock_provider_icon" field. It's identical to HasLivestockProviderIconEQ.

func HasLivestockProviderIconEQ

func HasLivestockProviderIconEQ(v bool) predicate.Card

HasLivestockProviderIconEQ applies the EQ predicate on the "has_livestock_provider_icon" field.

func HasLivestockProviderIconNEQ

func HasLivestockProviderIconNEQ(v bool) predicate.Card

HasLivestockProviderIconNEQ applies the NEQ predicate on the "has_livestock_provider_icon" field.

func HasNegativeBonusPointIcon

func HasNegativeBonusPointIcon(v bool) predicate.Card

HasNegativeBonusPointIcon applies equality check predicate on the "has_negative_bonus_point_icon" field. It's identical to HasNegativeBonusPointIconEQ.

func HasNegativeBonusPointIconEQ

func HasNegativeBonusPointIconEQ(v bool) predicate.Card

HasNegativeBonusPointIconEQ applies the EQ predicate on the "has_negative_bonus_point_icon" field.

func HasNegativeBonusPointIconNEQ

func HasNegativeBonusPointIconNEQ(v bool) predicate.Card

HasNegativeBonusPointIconNEQ applies the NEQ predicate on the "has_negative_bonus_point_icon" field.

func HasPanIcon

func HasPanIcon(v bool) predicate.Card

HasPanIcon applies equality check predicate on the "has_pan_icon" field. It's identical to HasPanIconEQ.

func HasPanIconEQ

func HasPanIconEQ(v bool) predicate.Card

HasPanIconEQ applies the EQ predicate on the "has_pan_icon" field.

func HasPanIconNEQ

func HasPanIconNEQ(v bool) predicate.Card

HasPanIconNEQ applies the NEQ predicate on the "has_pan_icon" field.

func HasPointsProviderIcon

func HasPointsProviderIcon(v bool) predicate.Card

HasPointsProviderIcon applies equality check predicate on the "has_points_provider_icon" field. It's identical to HasPointsProviderIconEQ.

func HasPointsProviderIconEQ

func HasPointsProviderIconEQ(v bool) predicate.Card

HasPointsProviderIconEQ applies the EQ predicate on the "has_points_provider_icon" field.

func HasPointsProviderIconNEQ

func HasPointsProviderIconNEQ(v bool) predicate.Card

HasPointsProviderIconNEQ applies the NEQ predicate on the "has_points_provider_icon" field.

func HasProducts

func HasProducts() predicate.Card

HasProducts applies the HasEdge predicate on the "products" edge.

func HasProductsWith

func HasProductsWith(preds ...predicate.Product) predicate.Card

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

func HasRevision

func HasRevision() predicate.Card

HasRevision applies the HasEdge predicate on the "revision" edge.

func HasRevisionWith

func HasRevisionWith(preds ...predicate.Revision) predicate.Card

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

func HasSlashAndBurnIcon

func HasSlashAndBurnIcon(v bool) predicate.Card

HasSlashAndBurnIcon applies equality check predicate on the "has_slash_and_burn_icon" field. It's identical to HasSlashAndBurnIconEQ.

func HasSlashAndBurnIconEQ

func HasSlashAndBurnIconEQ(v bool) predicate.Card

HasSlashAndBurnIconEQ applies the EQ predicate on the "has_slash_and_burn_icon" field.

func HasSlashAndBurnIconNEQ

func HasSlashAndBurnIconNEQ(v bool) predicate.Card

HasSlashAndBurnIconNEQ applies the NEQ predicate on the "has_slash_and_burn_icon" field.

func ID

func ID(id int) predicate.Card

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Card

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Card

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Card

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Card

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Card

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Card

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func IsOfficialJa

func IsOfficialJa(v bool) predicate.Card

IsOfficialJa applies equality check predicate on the "is_official_ja" field. It's identical to IsOfficialJaEQ.

func IsOfficialJaEQ

func IsOfficialJaEQ(v bool) predicate.Card

IsOfficialJaEQ applies the EQ predicate on the "is_official_ja" field.

func IsOfficialJaNEQ

func IsOfficialJaNEQ(v bool) predicate.Card

IsOfficialJaNEQ applies the NEQ predicate on the "is_official_ja" field.

func LiteralID

func LiteralID(v string) predicate.Card

LiteralID applies equality check predicate on the "literal_id" field. It's identical to LiteralIDEQ.

func LiteralIDContains

func LiteralIDContains(v string) predicate.Card

LiteralIDContains applies the Contains predicate on the "literal_id" field.

func LiteralIDContainsFold

func LiteralIDContainsFold(v string) predicate.Card

LiteralIDContainsFold applies the ContainsFold predicate on the "literal_id" field.

func LiteralIDEQ

func LiteralIDEQ(v string) predicate.Card

LiteralIDEQ applies the EQ predicate on the "literal_id" field.

func LiteralIDEqualFold

func LiteralIDEqualFold(v string) predicate.Card

LiteralIDEqualFold applies the EqualFold predicate on the "literal_id" field.

func LiteralIDGT

func LiteralIDGT(v string) predicate.Card

LiteralIDGT applies the GT predicate on the "literal_id" field.

func LiteralIDGTE

func LiteralIDGTE(v string) predicate.Card

LiteralIDGTE applies the GTE predicate on the "literal_id" field.

func LiteralIDHasPrefix

func LiteralIDHasPrefix(v string) predicate.Card

LiteralIDHasPrefix applies the HasPrefix predicate on the "literal_id" field.

func LiteralIDHasSuffix

func LiteralIDHasSuffix(v string) predicate.Card

LiteralIDHasSuffix applies the HasSuffix predicate on the "literal_id" field.

func LiteralIDIn

func LiteralIDIn(vs ...string) predicate.Card

LiteralIDIn applies the In predicate on the "literal_id" field.

func LiteralIDLT

func LiteralIDLT(v string) predicate.Card

LiteralIDLT applies the LT predicate on the "literal_id" field.

func LiteralIDLTE

func LiteralIDLTE(v string) predicate.Card

LiteralIDLTE applies the LTE predicate on the "literal_id" field.

func LiteralIDNEQ

func LiteralIDNEQ(v string) predicate.Card

LiteralIDNEQ applies the NEQ predicate on the "literal_id" field.

func LiteralIDNotIn

func LiteralIDNotIn(vs ...string) predicate.Card

LiteralIDNotIn applies the NotIn predicate on the "literal_id" field.

func MinPlayersNumber

func MinPlayersNumber(v int) predicate.Card

MinPlayersNumber applies equality check predicate on the "min_players_number" field. It's identical to MinPlayersNumberEQ.

func MinPlayersNumberEQ

func MinPlayersNumberEQ(v int) predicate.Card

MinPlayersNumberEQ applies the EQ predicate on the "min_players_number" field.

func MinPlayersNumberGT

func MinPlayersNumberGT(v int) predicate.Card

MinPlayersNumberGT applies the GT predicate on the "min_players_number" field.

func MinPlayersNumberGTE

func MinPlayersNumberGTE(v int) predicate.Card

MinPlayersNumberGTE applies the GTE predicate on the "min_players_number" field.

func MinPlayersNumberIn

func MinPlayersNumberIn(vs ...int) predicate.Card

MinPlayersNumberIn applies the In predicate on the "min_players_number" field.

func MinPlayersNumberIsNil

func MinPlayersNumberIsNil() predicate.Card

MinPlayersNumberIsNil applies the IsNil predicate on the "min_players_number" field.

func MinPlayersNumberLT

func MinPlayersNumberLT(v int) predicate.Card

MinPlayersNumberLT applies the LT predicate on the "min_players_number" field.

func MinPlayersNumberLTE

func MinPlayersNumberLTE(v int) predicate.Card

MinPlayersNumberLTE applies the LTE predicate on the "min_players_number" field.

func MinPlayersNumberNEQ

func MinPlayersNumberNEQ(v int) predicate.Card

MinPlayersNumberNEQ applies the NEQ predicate on the "min_players_number" field.

func MinPlayersNumberNotIn

func MinPlayersNumberNotIn(vs ...int) predicate.Card

MinPlayersNumberNotIn applies the NotIn predicate on the "min_players_number" field.

func MinPlayersNumberNotNil

func MinPlayersNumberNotNil() predicate.Card

MinPlayersNumberNotNil applies the NotNil predicate on the "min_players_number" field.

func NameEn

func NameEn(v string) predicate.Card

NameEn applies equality check predicate on the "name_en" field. It's identical to NameEnEQ.

func NameEnContains

func NameEnContains(v string) predicate.Card

NameEnContains applies the Contains predicate on the "name_en" field.

func NameEnContainsFold

func NameEnContainsFold(v string) predicate.Card

NameEnContainsFold applies the ContainsFold predicate on the "name_en" field.

func NameEnEQ

func NameEnEQ(v string) predicate.Card

NameEnEQ applies the EQ predicate on the "name_en" field.

func NameEnEqualFold

func NameEnEqualFold(v string) predicate.Card

NameEnEqualFold applies the EqualFold predicate on the "name_en" field.

func NameEnGT

func NameEnGT(v string) predicate.Card

NameEnGT applies the GT predicate on the "name_en" field.

func NameEnGTE

func NameEnGTE(v string) predicate.Card

NameEnGTE applies the GTE predicate on the "name_en" field.

func NameEnHasPrefix

func NameEnHasPrefix(v string) predicate.Card

NameEnHasPrefix applies the HasPrefix predicate on the "name_en" field.

func NameEnHasSuffix

func NameEnHasSuffix(v string) predicate.Card

NameEnHasSuffix applies the HasSuffix predicate on the "name_en" field.

func NameEnIn

func NameEnIn(vs ...string) predicate.Card

NameEnIn applies the In predicate on the "name_en" field.

func NameEnIsNil

func NameEnIsNil() predicate.Card

NameEnIsNil applies the IsNil predicate on the "name_en" field.

func NameEnLT

func NameEnLT(v string) predicate.Card

NameEnLT applies the LT predicate on the "name_en" field.

func NameEnLTE

func NameEnLTE(v string) predicate.Card

NameEnLTE applies the LTE predicate on the "name_en" field.

func NameEnNEQ

func NameEnNEQ(v string) predicate.Card

NameEnNEQ applies the NEQ predicate on the "name_en" field.

func NameEnNotIn

func NameEnNotIn(vs ...string) predicate.Card

NameEnNotIn applies the NotIn predicate on the "name_en" field.

func NameEnNotNil

func NameEnNotNil() predicate.Card

NameEnNotNil applies the NotNil predicate on the "name_en" field.

func NameJa

func NameJa(v string) predicate.Card

NameJa applies equality check predicate on the "name_ja" field. It's identical to NameJaEQ.

func NameJaContains

func NameJaContains(v string) predicate.Card

NameJaContains applies the Contains predicate on the "name_ja" field.

func NameJaContainsFold

func NameJaContainsFold(v string) predicate.Card

NameJaContainsFold applies the ContainsFold predicate on the "name_ja" field.

func NameJaEQ

func NameJaEQ(v string) predicate.Card

NameJaEQ applies the EQ predicate on the "name_ja" field.

func NameJaEqualFold

func NameJaEqualFold(v string) predicate.Card

NameJaEqualFold applies the EqualFold predicate on the "name_ja" field.

func NameJaGT

func NameJaGT(v string) predicate.Card

NameJaGT applies the GT predicate on the "name_ja" field.

func NameJaGTE

func NameJaGTE(v string) predicate.Card

NameJaGTE applies the GTE predicate on the "name_ja" field.

func NameJaHasPrefix

func NameJaHasPrefix(v string) predicate.Card

NameJaHasPrefix applies the HasPrefix predicate on the "name_ja" field.

func NameJaHasSuffix

func NameJaHasSuffix(v string) predicate.Card

NameJaHasSuffix applies the HasSuffix predicate on the "name_ja" field.

func NameJaIn

func NameJaIn(vs ...string) predicate.Card

NameJaIn applies the In predicate on the "name_ja" field.

func NameJaIsNil

func NameJaIsNil() predicate.Card

NameJaIsNil applies the IsNil predicate on the "name_ja" field.

func NameJaLT

func NameJaLT(v string) predicate.Card

NameJaLT applies the LT predicate on the "name_ja" field.

func NameJaLTE

func NameJaLTE(v string) predicate.Card

NameJaLTE applies the LTE predicate on the "name_ja" field.

func NameJaNEQ

func NameJaNEQ(v string) predicate.Card

NameJaNEQ applies the NEQ predicate on the "name_ja" field.

func NameJaNotIn

func NameJaNotIn(vs ...string) predicate.Card

NameJaNotIn applies the NotIn predicate on the "name_ja" field.

func NameJaNotNil

func NameJaNotNil() predicate.Card

NameJaNotNil applies the NotNil predicate on the "name_ja" field.

func Not

Not applies the not operator on the given predicate.

func Note

func Note(v string) predicate.Card

Note applies equality check predicate on the "note" field. It's identical to NoteEQ.

func NoteContains

func NoteContains(v string) predicate.Card

NoteContains applies the Contains predicate on the "note" field.

func NoteContainsFold

func NoteContainsFold(v string) predicate.Card

NoteContainsFold applies the ContainsFold predicate on the "note" field.

func NoteEQ

func NoteEQ(v string) predicate.Card

NoteEQ applies the EQ predicate on the "note" field.

func NoteEqualFold

func NoteEqualFold(v string) predicate.Card

NoteEqualFold applies the EqualFold predicate on the "note" field.

func NoteGT

func NoteGT(v string) predicate.Card

NoteGT applies the GT predicate on the "note" field.

func NoteGTE

func NoteGTE(v string) predicate.Card

NoteGTE applies the GTE predicate on the "note" field.

func NoteHasPrefix

func NoteHasPrefix(v string) predicate.Card

NoteHasPrefix applies the HasPrefix predicate on the "note" field.

func NoteHasSuffix

func NoteHasSuffix(v string) predicate.Card

NoteHasSuffix applies the HasSuffix predicate on the "note" field.

func NoteIn

func NoteIn(vs ...string) predicate.Card

NoteIn applies the In predicate on the "note" field.

func NoteIsNil

func NoteIsNil() predicate.Card

NoteIsNil applies the IsNil predicate on the "note" field.

func NoteLT

func NoteLT(v string) predicate.Card

NoteLT applies the LT predicate on the "note" field.

func NoteLTE

func NoteLTE(v string) predicate.Card

NoteLTE applies the LTE predicate on the "note" field.

func NoteNEQ

func NoteNEQ(v string) predicate.Card

NoteNEQ applies the NEQ predicate on the "note" field.

func NoteNotIn

func NoteNotIn(vs ...string) predicate.Card

NoteNotIn applies the NotIn predicate on the "note" field.

func NoteNotNil

func NoteNotNil() predicate.Card

NoteNotNil applies the NotNil predicate on the "note" field.

func Or

func Or(predicates ...predicate.Card) predicate.Card

Or groups predicates with the OR operator between them.

func PlayAgricolaCardID

func PlayAgricolaCardID(v string) predicate.Card

PlayAgricolaCardID applies equality check predicate on the "play_agricola_card_id" field. It's identical to PlayAgricolaCardIDEQ.

func PlayAgricolaCardIDContains

func PlayAgricolaCardIDContains(v string) predicate.Card

PlayAgricolaCardIDContains applies the Contains predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDContainsFold

func PlayAgricolaCardIDContainsFold(v string) predicate.Card

PlayAgricolaCardIDContainsFold applies the ContainsFold predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDEQ

func PlayAgricolaCardIDEQ(v string) predicate.Card

PlayAgricolaCardIDEQ applies the EQ predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDEqualFold

func PlayAgricolaCardIDEqualFold(v string) predicate.Card

PlayAgricolaCardIDEqualFold applies the EqualFold predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDGT

func PlayAgricolaCardIDGT(v string) predicate.Card

PlayAgricolaCardIDGT applies the GT predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDGTE

func PlayAgricolaCardIDGTE(v string) predicate.Card

PlayAgricolaCardIDGTE applies the GTE predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDHasPrefix

func PlayAgricolaCardIDHasPrefix(v string) predicate.Card

PlayAgricolaCardIDHasPrefix applies the HasPrefix predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDHasSuffix

func PlayAgricolaCardIDHasSuffix(v string) predicate.Card

PlayAgricolaCardIDHasSuffix applies the HasSuffix predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDIn

func PlayAgricolaCardIDIn(vs ...string) predicate.Card

PlayAgricolaCardIDIn applies the In predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDIsNil

func PlayAgricolaCardIDIsNil() predicate.Card

PlayAgricolaCardIDIsNil applies the IsNil predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDLT

func PlayAgricolaCardIDLT(v string) predicate.Card

PlayAgricolaCardIDLT applies the LT predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDLTE

func PlayAgricolaCardIDLTE(v string) predicate.Card

PlayAgricolaCardIDLTE applies the LTE predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDNEQ

func PlayAgricolaCardIDNEQ(v string) predicate.Card

PlayAgricolaCardIDNEQ applies the NEQ predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDNotIn

func PlayAgricolaCardIDNotIn(vs ...string) predicate.Card

PlayAgricolaCardIDNotIn applies the NotIn predicate on the "play_agricola_card_id" field.

func PlayAgricolaCardIDNotNil

func PlayAgricolaCardIDNotNil() predicate.Card

PlayAgricolaCardIDNotNil applies the NotNil predicate on the "play_agricola_card_id" field.

func Prerequisite

func Prerequisite(v string) predicate.Card

Prerequisite applies equality check predicate on the "prerequisite" field. It's identical to PrerequisiteEQ.

func PrerequisiteContains

func PrerequisiteContains(v string) predicate.Card

PrerequisiteContains applies the Contains predicate on the "prerequisite" field.

func PrerequisiteContainsFold

func PrerequisiteContainsFold(v string) predicate.Card

PrerequisiteContainsFold applies the ContainsFold predicate on the "prerequisite" field.

func PrerequisiteEQ

func PrerequisiteEQ(v string) predicate.Card

PrerequisiteEQ applies the EQ predicate on the "prerequisite" field.

func PrerequisiteEqualFold

func PrerequisiteEqualFold(v string) predicate.Card

PrerequisiteEqualFold applies the EqualFold predicate on the "prerequisite" field.

func PrerequisiteGT

func PrerequisiteGT(v string) predicate.Card

PrerequisiteGT applies the GT predicate on the "prerequisite" field.

func PrerequisiteGTE

func PrerequisiteGTE(v string) predicate.Card

PrerequisiteGTE applies the GTE predicate on the "prerequisite" field.

func PrerequisiteHasPrefix

func PrerequisiteHasPrefix(v string) predicate.Card

PrerequisiteHasPrefix applies the HasPrefix predicate on the "prerequisite" field.

func PrerequisiteHasSuffix

func PrerequisiteHasSuffix(v string) predicate.Card

PrerequisiteHasSuffix applies the HasSuffix predicate on the "prerequisite" field.

func PrerequisiteIn

func PrerequisiteIn(vs ...string) predicate.Card

PrerequisiteIn applies the In predicate on the "prerequisite" field.

func PrerequisiteIsNil

func PrerequisiteIsNil() predicate.Card

PrerequisiteIsNil applies the IsNil predicate on the "prerequisite" field.

func PrerequisiteLT

func PrerequisiteLT(v string) predicate.Card

PrerequisiteLT applies the LT predicate on the "prerequisite" field.

func PrerequisiteLTE

func PrerequisiteLTE(v string) predicate.Card

PrerequisiteLTE applies the LTE predicate on the "prerequisite" field.

func PrerequisiteNEQ

func PrerequisiteNEQ(v string) predicate.Card

PrerequisiteNEQ applies the NEQ predicate on the "prerequisite" field.

func PrerequisiteNotIn

func PrerequisiteNotIn(vs ...string) predicate.Card

PrerequisiteNotIn applies the NotIn predicate on the "prerequisite" field.

func PrerequisiteNotNil

func PrerequisiteNotNil() predicate.Card

PrerequisiteNotNil applies the NotNil predicate on the "prerequisite" field.

func PrintedID

func PrintedID(v string) predicate.Card

PrintedID applies equality check predicate on the "printed_id" field. It's identical to PrintedIDEQ.

func PrintedIDContains

func PrintedIDContains(v string) predicate.Card

PrintedIDContains applies the Contains predicate on the "printed_id" field.

func PrintedIDContainsFold

func PrintedIDContainsFold(v string) predicate.Card

PrintedIDContainsFold applies the ContainsFold predicate on the "printed_id" field.

func PrintedIDEQ

func PrintedIDEQ(v string) predicate.Card

PrintedIDEQ applies the EQ predicate on the "printed_id" field.

func PrintedIDEqualFold

func PrintedIDEqualFold(v string) predicate.Card

PrintedIDEqualFold applies the EqualFold predicate on the "printed_id" field.

func PrintedIDGT

func PrintedIDGT(v string) predicate.Card

PrintedIDGT applies the GT predicate on the "printed_id" field.

func PrintedIDGTE

func PrintedIDGTE(v string) predicate.Card

PrintedIDGTE applies the GTE predicate on the "printed_id" field.

func PrintedIDHasPrefix

func PrintedIDHasPrefix(v string) predicate.Card

PrintedIDHasPrefix applies the HasPrefix predicate on the "printed_id" field.

func PrintedIDHasSuffix

func PrintedIDHasSuffix(v string) predicate.Card

PrintedIDHasSuffix applies the HasSuffix predicate on the "printed_id" field.

func PrintedIDIn

func PrintedIDIn(vs ...string) predicate.Card

PrintedIDIn applies the In predicate on the "printed_id" field.

func PrintedIDIsNil

func PrintedIDIsNil() predicate.Card

PrintedIDIsNil applies the IsNil predicate on the "printed_id" field.

func PrintedIDLT

func PrintedIDLT(v string) predicate.Card

PrintedIDLT applies the LT predicate on the "printed_id" field.

func PrintedIDLTE

func PrintedIDLTE(v string) predicate.Card

PrintedIDLTE applies the LTE predicate on the "printed_id" field.

func PrintedIDNEQ

func PrintedIDNEQ(v string) predicate.Card

PrintedIDNEQ applies the NEQ predicate on the "printed_id" field.

func PrintedIDNotIn

func PrintedIDNotIn(vs ...string) predicate.Card

PrintedIDNotIn applies the NotIn predicate on the "printed_id" field.

func PrintedIDNotNil

func PrintedIDNotNil() predicate.Card

PrintedIDNotNil applies the NotNil predicate on the "printed_id" field.

func RevisionID

func RevisionID(v int) predicate.Card

RevisionID applies equality check predicate on the "revision_id" field. It's identical to RevisionIDEQ.

func RevisionIDEQ

func RevisionIDEQ(v int) predicate.Card

RevisionIDEQ applies the EQ predicate on the "revision_id" field.

func RevisionIDIn

func RevisionIDIn(vs ...int) predicate.Card

RevisionIDIn applies the In predicate on the "revision_id" field.

func RevisionIDNEQ

func RevisionIDNEQ(v int) predicate.Card

RevisionIDNEQ applies the NEQ predicate on the "revision_id" field.

func RevisionIDNotIn

func RevisionIDNotIn(vs ...int) predicate.Card

RevisionIDNotIn applies the NotIn predicate on the "revision_id" field.

func SpecialVictoryPoint

func SpecialVictoryPoint(v string) predicate.Card

SpecialVictoryPoint applies equality check predicate on the "special_victory_point" field. It's identical to SpecialVictoryPointEQ.

func SpecialVictoryPointContains

func SpecialVictoryPointContains(v string) predicate.Card

SpecialVictoryPointContains applies the Contains predicate on the "special_victory_point" field.

func SpecialVictoryPointContainsFold

func SpecialVictoryPointContainsFold(v string) predicate.Card

SpecialVictoryPointContainsFold applies the ContainsFold predicate on the "special_victory_point" field.

func SpecialVictoryPointEQ

func SpecialVictoryPointEQ(v string) predicate.Card

SpecialVictoryPointEQ applies the EQ predicate on the "special_victory_point" field.

func SpecialVictoryPointEqualFold

func SpecialVictoryPointEqualFold(v string) predicate.Card

SpecialVictoryPointEqualFold applies the EqualFold predicate on the "special_victory_point" field.

func SpecialVictoryPointGT

func SpecialVictoryPointGT(v string) predicate.Card

SpecialVictoryPointGT applies the GT predicate on the "special_victory_point" field.

func SpecialVictoryPointGTE

func SpecialVictoryPointGTE(v string) predicate.Card

SpecialVictoryPointGTE applies the GTE predicate on the "special_victory_point" field.

func SpecialVictoryPointHasPrefix

func SpecialVictoryPointHasPrefix(v string) predicate.Card

SpecialVictoryPointHasPrefix applies the HasPrefix predicate on the "special_victory_point" field.

func SpecialVictoryPointHasSuffix

func SpecialVictoryPointHasSuffix(v string) predicate.Card

SpecialVictoryPointHasSuffix applies the HasSuffix predicate on the "special_victory_point" field.

func SpecialVictoryPointIn

func SpecialVictoryPointIn(vs ...string) predicate.Card

SpecialVictoryPointIn applies the In predicate on the "special_victory_point" field.

func SpecialVictoryPointIsNil

func SpecialVictoryPointIsNil() predicate.Card

SpecialVictoryPointIsNil applies the IsNil predicate on the "special_victory_point" field.

func SpecialVictoryPointLT

func SpecialVictoryPointLT(v string) predicate.Card

SpecialVictoryPointLT applies the LT predicate on the "special_victory_point" field.

func SpecialVictoryPointLTE

func SpecialVictoryPointLTE(v string) predicate.Card

SpecialVictoryPointLTE applies the LTE predicate on the "special_victory_point" field.

func SpecialVictoryPointNEQ

func SpecialVictoryPointNEQ(v string) predicate.Card

SpecialVictoryPointNEQ applies the NEQ predicate on the "special_victory_point" field.

func SpecialVictoryPointNotIn

func SpecialVictoryPointNotIn(vs ...string) predicate.Card

SpecialVictoryPointNotIn applies the NotIn predicate on the "special_victory_point" field.

func SpecialVictoryPointNotNil

func SpecialVictoryPointNotNil() predicate.Card

SpecialVictoryPointNotNil applies the NotNil predicate on the "special_victory_point" field.

func ValidColumn

func ValidColumn(column string) bool

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

func VictoryPoint

func VictoryPoint(v int) predicate.Card

VictoryPoint applies equality check predicate on the "victory_point" field. It's identical to VictoryPointEQ.

func VictoryPointEQ

func VictoryPointEQ(v int) predicate.Card

VictoryPointEQ applies the EQ predicate on the "victory_point" field.

func VictoryPointGT

func VictoryPointGT(v int) predicate.Card

VictoryPointGT applies the GT predicate on the "victory_point" field.

func VictoryPointGTE

func VictoryPointGTE(v int) predicate.Card

VictoryPointGTE applies the GTE predicate on the "victory_point" field.

func VictoryPointIn

func VictoryPointIn(vs ...int) predicate.Card

VictoryPointIn applies the In predicate on the "victory_point" field.

func VictoryPointIsNil

func VictoryPointIsNil() predicate.Card

VictoryPointIsNil applies the IsNil predicate on the "victory_point" field.

func VictoryPointLT

func VictoryPointLT(v int) predicate.Card

VictoryPointLT applies the LT predicate on the "victory_point" field.

func VictoryPointLTE

func VictoryPointLTE(v int) predicate.Card

VictoryPointLTE applies the LTE predicate on the "victory_point" field.

func VictoryPointNEQ

func VictoryPointNEQ(v int) predicate.Card

VictoryPointNEQ applies the NEQ predicate on the "victory_point" field.

func VictoryPointNotIn

func VictoryPointNotIn(vs ...int) predicate.Card

VictoryPointNotIn applies the NotIn predicate on the "victory_point" field.

func VictoryPointNotNil

func VictoryPointNotNil() predicate.Card

VictoryPointNotNil applies the NotNil predicate on the "victory_point" field.

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

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