Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Player) predicate.Player
- func CreatedAt(v time.Time) predicate.Player
- func CreatedAtEQ(v time.Time) predicate.Player
- func CreatedAtGT(v time.Time) predicate.Player
- func CreatedAtGTE(v time.Time) predicate.Player
- func CreatedAtIn(vs ...time.Time) predicate.Player
- func CreatedAtLT(v time.Time) predicate.Player
- func CreatedAtLTE(v time.Time) predicate.Player
- func CreatedAtNEQ(v time.Time) predicate.Player
- func CreatedAtNotIn(vs ...time.Time) predicate.Player
- func HasCharacters() predicate.Player
- func HasCharactersWith(preds ...predicate.Character) predicate.Player
- func ID(id uuid.UUID) predicate.Player
- func IDEQ(id uuid.UUID) predicate.Player
- func IDGT(id uuid.UUID) predicate.Player
- func IDGTE(id uuid.UUID) predicate.Player
- func IDIn(ids ...uuid.UUID) predicate.Player
- func IDLT(id uuid.UUID) predicate.Player
- func IDLTE(id uuid.UUID) predicate.Player
- func IDNEQ(id uuid.UUID) predicate.Player
- func IDNotIn(ids ...uuid.UUID) predicate.Player
- func Not(p predicate.Player) predicate.Player
- func Or(predicates ...predicate.Player) predicate.Player
- func Steamid(v string) predicate.Player
- func SteamidContains(v string) predicate.Player
- func SteamidContainsFold(v string) predicate.Player
- func SteamidEQ(v string) predicate.Player
- func SteamidEqualFold(v string) predicate.Player
- func SteamidGT(v string) predicate.Player
- func SteamidGTE(v string) predicate.Player
- func SteamidHasPrefix(v string) predicate.Player
- func SteamidHasSuffix(v string) predicate.Player
- func SteamidIn(vs ...string) predicate.Player
- func SteamidLT(v string) predicate.Player
- func SteamidLTE(v string) predicate.Player
- func SteamidNEQ(v string) predicate.Player
- func SteamidNotIn(vs ...string) predicate.Player
- func UpdatedAt(v time.Time) predicate.Player
- func UpdatedAtEQ(v time.Time) predicate.Player
- func UpdatedAtGT(v time.Time) predicate.Player
- func UpdatedAtGTE(v time.Time) predicate.Player
- func UpdatedAtIn(vs ...time.Time) predicate.Player
- func UpdatedAtLT(v time.Time) predicate.Player
- func UpdatedAtLTE(v time.Time) predicate.Player
- func UpdatedAtNEQ(v time.Time) predicate.Player
- func UpdatedAtNotIn(vs ...time.Time) predicate.Player
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the player type in the database. Label = "player" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldSteamid holds the string denoting the steamid field in the database. FieldSteamid = "steamid" // EdgeCharacters holds the string denoting the characters edge name in mutations. EdgeCharacters = "characters" // Table holds the table name of the player in the database. Table = "players" // CharactersTable is the table that holds the characters relation/edge. CharactersTable = "characters" // CharactersInverseTable is the table name for the Character entity. // It exists in this package in order to avoid circular dependency with the "character" package. CharactersInverseTable = "characters" // CharactersColumn is the table column denoting the characters relation/edge. CharactersColumn = "player_id" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldSteamid, }
Columns holds all SQL columns for player fields.
Functions ¶
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasCharacters ¶
HasCharacters applies the HasEdge predicate on the "characters" edge.
func HasCharactersWith ¶
HasCharactersWith applies the HasEdge predicate on the "characters" edge with a given conditions (other predicates).
func Steamid ¶
Steamid applies equality check predicate on the "steamid" field. It's identical to SteamidEQ.
func SteamidContains ¶
SteamidContains applies the Contains predicate on the "steamid" field.
func SteamidContainsFold ¶
SteamidContainsFold applies the ContainsFold predicate on the "steamid" field.
func SteamidEqualFold ¶
SteamidEqualFold applies the EqualFold predicate on the "steamid" field.
func SteamidGTE ¶
SteamidGTE applies the GTE predicate on the "steamid" field.
func SteamidHasPrefix ¶
SteamidHasPrefix applies the HasPrefix predicate on the "steamid" field.
func SteamidHasSuffix ¶
SteamidHasSuffix applies the HasSuffix predicate on the "steamid" field.
func SteamidLTE ¶
SteamidLTE applies the LTE predicate on the "steamid" field.
func SteamidNEQ ¶
SteamidNEQ applies the NEQ predicate on the "steamid" field.
func SteamidNotIn ¶
SteamidNotIn applies the NotIn predicate on the "steamid" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.