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.
ByColorIdentity orders the results by the color_identity field.
ByFaces orders the results by faces terms.
ByFacesCount orders the results by faces count.
ByID orders the results by the id field.
ByName orders the results by the name field.
ByOracleID orders the results by the oracle_id field.
ByRulings orders the results by rulings terms.
ByRulingsCount orders the results by rulings count.
ColorIdentity applies equality check predicate on the "color_identity" field.
ColorIdentityEQ applies the EQ predicate on the "color_identity" field.
ColorIdentityGT applies the GT predicate on the "color_identity" field.
ColorIdentityGTE applies the GTE predicate on the "color_identity" field.
ColorIdentityIn applies the In predicate on the "color_identity" field.
ColorIdentityLT applies the LT predicate on the "color_identity" field.
ColorIdentityLTE applies the LTE predicate on the "color_identity" field.
ColorIdentityNEQ applies the NEQ predicate on the "color_identity" field.
ColorIdentityNotIn applies the NotIn predicate on the "color_identity" field.
HasFaces applies the HasEdge predicate on the "faces" edge.
HasFacesWith applies the HasEdge predicate on the "faces" edge with a given conditions (other predicates).
HasRulings applies the HasEdge predicate on the "rulings" edge.
HasRulingsWith applies the HasEdge predicate on the "rulings" 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.
Name applies equality check predicate on the "name" field.
NameContains applies the Contains predicate on the "name" field.
NameContainsFold applies the ContainsFold predicate on the "name" field.
NameEQ applies the EQ predicate on the "name" field.
NameEqualFold applies the EqualFold predicate on the "name" field.
NameGT applies the GT predicate on the "name" field.
NameGTE applies the GTE predicate on the "name" field.
NameHasPrefix applies the HasPrefix predicate on the "name" field.
NameHasSuffix applies the HasSuffix predicate on the "name" field.
NameIn applies the In predicate on the "name" field.
NameLT applies the LT predicate on the "name" field.
NameLTE applies the LTE predicate on the "name" field.
NameNEQ applies the NEQ predicate on the "name" field.
NameNotIn applies the NotIn predicate on the "name" field.
Not applies the not operator on the given predicate.
Or groups predicates with the OR operator between them.
OracleID applies equality check predicate on the "oracle_id" field.
OracleIDContains applies the Contains predicate on the "oracle_id" field.
OracleIDContainsFold applies the ContainsFold predicate on the "oracle_id" field.
OracleIDEQ applies the EQ predicate on the "oracle_id" field.
OracleIDEqualFold applies the EqualFold predicate on the "oracle_id" field.
OracleIDGT applies the GT predicate on the "oracle_id" field.
OracleIDGTE applies the GTE predicate on the "oracle_id" field.
OracleIDHasPrefix applies the HasPrefix predicate on the "oracle_id" field.
OracleIDHasSuffix applies the HasSuffix predicate on the "oracle_id" field.
OracleIDIn applies the In predicate on the "oracle_id" field.
OracleIDLT applies the LT predicate on the "oracle_id" field.
OracleIDLTE applies the LTE predicate on the "oracle_id" field.
OracleIDNEQ applies the NEQ predicate on the "oracle_id" field.
OracleIDNotIn applies the NotIn predicate on the "oracle_id" field.
ValidColumn reports if the column name is valid (part of the table columns).
# Constants
EdgeFaces holds the string denoting the faces edge name in mutations.
EdgeRulings holds the string denoting the rulings edge name in mutations.
FacesColumn is the table column denoting the faces relation/edge.
FacesInverseTable is the table name for the CardFace entity.
FacesTable is the table that holds the faces relation/edge.
FieldColorIdentity holds the string denoting the color_identity field in the database.
FieldID holds the string denoting the id field in the database.
FieldName holds the string denoting the name field in the database.
FieldOracleID holds the string denoting the oracle_id field in the database.
Label holds the string label denoting the card type in the database.
RulingsColumn is the table column denoting the rulings relation/edge.
RulingsInverseTable is the table name for the Ruling entity.
RulingsTable is the table that holds the rulings relation/edge.
Table holds the table name of the card in the database.
# Variables
Columns holds all SQL columns for card fields.
NameValidator is a validator for the "name" field.
OracleIDValidator is a validator for the "oracle_id" field.
# Type aliases
OrderOption defines the ordering options for the Card queries.