Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Weapon) predicate.Weapon
- func Dmg(v uint) predicate.Weapon
- func DmgEQ(v uint) predicate.Weapon
- func DmgGT(v uint) predicate.Weapon
- func DmgGTE(v uint) predicate.Weapon
- func DmgIn(vs ...uint) predicate.Weapon
- func DmgLT(v uint) predicate.Weapon
- func DmgLTE(v uint) predicate.Weapon
- func DmgNEQ(v uint) predicate.Weapon
- func DmgNotIn(vs ...uint) predicate.Weapon
- func EqType(v int) predicate.Weapon
- func EqTypeEQ(v int) predicate.Weapon
- func EqTypeGT(v int) predicate.Weapon
- func EqTypeGTE(v int) predicate.Weapon
- func EqTypeIn(vs ...int) predicate.Weapon
- func EqTypeLT(v int) predicate.Weapon
- func EqTypeLTE(v int) predicate.Weapon
- func EqTypeNEQ(v int) predicate.Weapon
- func EqTypeNotIn(vs ...int) predicate.Weapon
- func HasStat() predicate.Weapon
- func HasStatWith(preds ...predicate.MatchPlayer) predicate.Weapon
- func HitGroup(v int) predicate.Weapon
- func HitGroupEQ(v int) predicate.Weapon
- func HitGroupGT(v int) predicate.Weapon
- func HitGroupGTE(v int) predicate.Weapon
- func HitGroupIn(vs ...int) predicate.Weapon
- func HitGroupLT(v int) predicate.Weapon
- func HitGroupLTE(v int) predicate.Weapon
- func HitGroupNEQ(v int) predicate.Weapon
- func HitGroupNotIn(vs ...int) predicate.Weapon
- func ID(id int) predicate.Weapon
- func IDEQ(id int) predicate.Weapon
- func IDGT(id int) predicate.Weapon
- func IDGTE(id int) predicate.Weapon
- func IDIn(ids ...int) predicate.Weapon
- func IDLT(id int) predicate.Weapon
- func IDLTE(id int) predicate.Weapon
- func IDNEQ(id int) predicate.Weapon
- func IDNotIn(ids ...int) predicate.Weapon
- func Not(p predicate.Weapon) predicate.Weapon
- func Or(predicates ...predicate.Weapon) predicate.Weapon
- func ValidColumn(column string) bool
- func Victim(v uint64) predicate.Weapon
- func VictimEQ(v uint64) predicate.Weapon
- func VictimGT(v uint64) predicate.Weapon
- func VictimGTE(v uint64) predicate.Weapon
- func VictimIn(vs ...uint64) predicate.Weapon
- func VictimLT(v uint64) predicate.Weapon
- func VictimLTE(v uint64) predicate.Weapon
- func VictimNEQ(v uint64) predicate.Weapon
- func VictimNotIn(vs ...uint64) predicate.Weapon
Constants ¶
const ( // Label holds the string label denoting the weapon type in the database. Label = "weapon" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldVictim holds the string denoting the victim field in the database. FieldVictim = "victim" // FieldDmg holds the string denoting the dmg field in the database. FieldDmg = "dmg" // FieldEqType holds the string denoting the eq_type field in the database. FieldEqType = "eq_type" // FieldHitGroup holds the string denoting the hit_group field in the database. FieldHitGroup = "hit_group" // EdgeStat holds the string denoting the stat edge name in mutations. EdgeStat = "stat" // Table holds the table name of the weapon in the database. Table = "weapons" // StatTable is the table that holds the stat relation/edge. StatTable = "weapons" // StatInverseTable is the table name for the MatchPlayer entity. // It exists in this package in order to avoid circular dependency with the "matchplayer" package. StatInverseTable = "match_players" // StatColumn is the table column denoting the stat relation/edge. StatColumn = "match_player_weapon_stats" )
Variables ¶
var Columns = []string{ FieldID, FieldVictim, FieldDmg, FieldEqType, FieldHitGroup, }
Columns holds all SQL columns for weapon fields.
var ForeignKeys = []string{
"match_player_weapon_stats",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "weapons" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
And groups predicates with the AND operator between them.
func Dmg ¶
Dmg applies equality check predicate on the "dmg" field. It's identical to DmgEQ.
func DmgGTE ¶
DmgGTE applies the GTE predicate on the "dmg" field.
func DmgIn ¶
DmgIn applies the In predicate on the "dmg" field.
func DmgLTE ¶
DmgLTE applies the LTE predicate on the "dmg" field.
func DmgNEQ ¶
DmgNEQ applies the NEQ predicate on the "dmg" field.
func DmgNotIn ¶
DmgNotIn applies the NotIn predicate on the "dmg" field.
func EqType ¶
EqType applies equality check predicate on the "eq_type" field. It's identical to EqTypeEQ.
func EqTypeEQ ¶
EqTypeEQ applies the EQ predicate on the "eq_type" field.
func EqTypeGT ¶
EqTypeGT applies the GT predicate on the "eq_type" field.
func EqTypeGTE ¶
EqTypeGTE applies the GTE predicate on the "eq_type" field.
func EqTypeIn ¶
EqTypeIn applies the In predicate on the "eq_type" field.
func EqTypeLT ¶
EqTypeLT applies the LT predicate on the "eq_type" field.
func EqTypeLTE ¶
EqTypeLTE applies the LTE predicate on the "eq_type" field.
func EqTypeNEQ ¶
EqTypeNEQ applies the NEQ predicate on the "eq_type" field.
func EqTypeNotIn ¶
EqTypeNotIn applies the NotIn predicate on the "eq_type" field.
func HasStat ¶
HasStat applies the HasEdge predicate on the "stat" edge.
func HasStatWith ¶
func HasStatWith(preds ...predicate.MatchPlayer) predicate.Weapon
HasStatWith applies the HasEdge predicate on the "stat" edge with a given conditions (other predicates).
func HitGroup ¶
HitGroup applies equality check predicate on the "hit_group" field. It's identical to HitGroupEQ.
func HitGroupEQ ¶
HitGroupEQ applies the EQ predicate on the "hit_group" field.
func HitGroupGT ¶
HitGroupGT applies the GT predicate on the "hit_group" field.
func HitGroupGTE ¶
HitGroupGTE applies the GTE predicate on the "hit_group" field.
func HitGroupIn ¶
HitGroupIn applies the In predicate on the "hit_group" field.
func HitGroupLT ¶
HitGroupLT applies the LT predicate on the "hit_group" field.
func HitGroupLTE ¶
HitGroupLTE applies the LTE predicate on the "hit_group" field.
func HitGroupNEQ ¶
HitGroupNEQ applies the NEQ predicate on the "hit_group" field.
func HitGroupNotIn ¶
HitGroupNotIn applies the NotIn predicate on the "hit_group" field.
func IDNotIn ¶
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
Not applies the not operator on the given predicate.
func Or ¶
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Victim ¶
Victim applies equality check predicate on the "victim" field. It's identical to VictimEQ.
func VictimEQ ¶
VictimEQ applies the EQ predicate on the "victim" field.
func VictimGT ¶
VictimGT applies the GT predicate on the "victim" field.
func VictimGTE ¶
VictimGTE applies the GTE predicate on the "victim" field.
func VictimIn ¶
VictimIn applies the In predicate on the "victim" field.
func VictimLT ¶
VictimLT applies the LT predicate on the "victim" field.
func VictimLTE ¶
VictimLTE applies the LTE predicate on the "victim" field.
func VictimNEQ ¶
VictimNEQ applies the NEQ predicate on the "victim" field.
Types ¶
This section is empty.