package
0.0.0-20240808151852-3363955b67b3
Repository: https://github.com/sethcurry/stax.git
Documentation: pkg.go.dev
# Functions
And groups predicates with the AND operator between them.
ByArtistField orders the results by artist field.
ByCardFaceField orders the results by card_face field.
ByID orders the results by the id field.
ByImages orders the results by images terms.
ByImagesCount orders the results by images count.
ByRarity orders the results by the rarity field.
BySetField orders the results by set field.
HasArtist applies the HasEdge predicate on the "artist" edge.
HasArtistWith applies the HasEdge predicate on the "artist" edge with a given conditions (other predicates).
HasCardFace applies the HasEdge predicate on the "card_face" edge.
HasCardFaceWith applies the HasEdge predicate on the "card_face" edge with a given conditions (other predicates).
HasImages applies the HasEdge predicate on the "images" edge.
HasImagesWith applies the HasEdge predicate on the "images" edge with a given conditions (other predicates).
HasSet applies the HasEdge predicate on the "set" edge.
HasSetWith applies the HasEdge predicate on the "set" edge with a given conditions (other predicates).
ID filters vertices based on their ID field.
IDEQ applies the EQ predicate on the ID field.
IDGT applies the GT predicate on the ID field.
IDGTE applies the GTE predicate on the ID field.
IDIn applies the In predicate on the ID field.
IDLT applies the LT predicate on the ID field.
IDLTE applies the LTE predicate on the ID field.
IDNEQ applies the NEQ predicate on the ID field.
IDNotIn applies the NotIn predicate on the ID field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
RarityEQ applies the EQ predicate on the "rarity" field.
RarityIn applies the In predicate on the "rarity" field.
RarityNEQ applies the NEQ predicate on the "rarity" field.
RarityNotIn applies the NotIn predicate on the "rarity" field.
RarityValidator is a validator for the "rarity" field enum values.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
ArtistColumn is the table column denoting the artist relation/edge.
ArtistInverseTable is the table name for the Artist entity.
ArtistTable is the table that holds the artist relation/edge.
CardFaceColumn is the table column denoting the card_face relation/edge.
CardFaceInverseTable is the table name for the CardFace entity.
CardFaceTable is the table that holds the card_face relation/edge.
EdgeArtist holds the string denoting the artist edge name in mutations.
EdgeCardFace holds the string denoting the card_face edge name in mutations.
EdgeImages holds the string denoting the images edge name in mutations.
EdgeSet holds the string denoting the set edge name in mutations.
FieldID holds the string denoting the id field in the database.
FieldRarity holds the string denoting the rarity field in the database.
ImagesColumn is the table column denoting the images relation/edge.
ImagesInverseTable is the table name for the PrintingImage entity.
ImagesTable is the table that holds the images relation/edge.
Label holds the string label denoting the printing type in the database.
Rarity values.
Rarity values.
Rarity values.
Rarity values.
Rarity values.
Rarity values.
SetColumn is the table column denoting the set relation/edge.
SetInverseTable is the table name for the Set entity.
SetTable is the table that holds the set relation/edge.
Table holds the table name of the printing in the database.
# Variables
Columns holds all SQL columns for printing fields.
ForeignKeys holds the SQL foreign-keys that are owned by the "printings" table and are not defined as standalone fields in the schema.
# Type aliases
OrderOption defines the ordering options for the Printing queries.
Rarity defines the type for the "rarity" enum field.