Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.PlayerIdentifier) predicate.PlayerIdentifier
- func CreatedAt(v time.Time) predicate.PlayerIdentifier
- func CreatedAtEQ(v time.Time) predicate.PlayerIdentifier
- func CreatedAtGT(v time.Time) predicate.PlayerIdentifier
- func CreatedAtGTE(v time.Time) predicate.PlayerIdentifier
- func CreatedAtIn(vs ...time.Time) predicate.PlayerIdentifier
- func CreatedAtLT(v time.Time) predicate.PlayerIdentifier
- func CreatedAtLTE(v time.Time) predicate.PlayerIdentifier
- func CreatedAtNEQ(v time.Time) predicate.PlayerIdentifier
- func CreatedAtNotIn(vs ...time.Time) predicate.PlayerIdentifier
- func HasMetadata() predicate.PlayerIdentifier
- func HasMetadataWith(preds ...predicate.Metadata) predicate.PlayerIdentifier
- func HasPlayer() predicate.PlayerIdentifier
- func HasPlayerWith(preds ...predicate.Player) predicate.PlayerIdentifier
- func ID(id int) predicate.PlayerIdentifier
- func IDEQ(id int) predicate.PlayerIdentifier
- func IDGT(id int) predicate.PlayerIdentifier
- func IDGTE(id int) predicate.PlayerIdentifier
- func IDIn(ids ...int) predicate.PlayerIdentifier
- func IDLT(id int) predicate.PlayerIdentifier
- func IDLTE(id int) predicate.PlayerIdentifier
- func IDNEQ(id int) predicate.PlayerIdentifier
- func IDNotIn(ids ...int) predicate.PlayerIdentifier
- func Identifier(v string) predicate.PlayerIdentifier
- func IdentifierContains(v string) predicate.PlayerIdentifier
- func IdentifierContainsFold(v string) predicate.PlayerIdentifier
- func IdentifierEQ(v string) predicate.PlayerIdentifier
- func IdentifierEqualFold(v string) predicate.PlayerIdentifier
- func IdentifierGT(v string) predicate.PlayerIdentifier
- func IdentifierGTE(v string) predicate.PlayerIdentifier
- func IdentifierHasPrefix(v string) predicate.PlayerIdentifier
- func IdentifierHasSuffix(v string) predicate.PlayerIdentifier
- func IdentifierIn(vs ...string) predicate.PlayerIdentifier
- func IdentifierLT(v string) predicate.PlayerIdentifier
- func IdentifierLTE(v string) predicate.PlayerIdentifier
- func IdentifierNEQ(v string) predicate.PlayerIdentifier
- func IdentifierNotIn(vs ...string) predicate.PlayerIdentifier
- func Not(p predicate.PlayerIdentifier) predicate.PlayerIdentifier
- func Or(predicates ...predicate.PlayerIdentifier) predicate.PlayerIdentifier
- func Type(v string) predicate.PlayerIdentifier
- func TypeContains(v string) predicate.PlayerIdentifier
- func TypeContainsFold(v string) predicate.PlayerIdentifier
- func TypeEQ(v string) predicate.PlayerIdentifier
- func TypeEqualFold(v string) predicate.PlayerIdentifier
- func TypeGT(v string) predicate.PlayerIdentifier
- func TypeGTE(v string) predicate.PlayerIdentifier
- func TypeHasPrefix(v string) predicate.PlayerIdentifier
- func TypeHasSuffix(v string) predicate.PlayerIdentifier
- func TypeIn(vs ...string) predicate.PlayerIdentifier
- func TypeLT(v string) predicate.PlayerIdentifier
- func TypeLTE(v string) predicate.PlayerIdentifier
- func TypeNEQ(v string) predicate.PlayerIdentifier
- func TypeNotIn(vs ...string) predicate.PlayerIdentifier
- func UpdatedAt(v time.Time) predicate.PlayerIdentifier
- func UpdatedAtEQ(v time.Time) predicate.PlayerIdentifier
- func UpdatedAtGT(v time.Time) predicate.PlayerIdentifier
- func UpdatedAtGTE(v time.Time) predicate.PlayerIdentifier
- func UpdatedAtIn(vs ...time.Time) predicate.PlayerIdentifier
- func UpdatedAtLT(v time.Time) predicate.PlayerIdentifier
- func UpdatedAtLTE(v time.Time) predicate.PlayerIdentifier
- func UpdatedAtNEQ(v time.Time) predicate.PlayerIdentifier
- func UpdatedAtNotIn(vs ...time.Time) predicate.PlayerIdentifier
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the playeridentifier type in the database. Label = "player_identifier" // 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" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldIdentifier holds the string denoting the identifier field in the database. FieldIdentifier = "identifier" // EdgeMetadata holds the string denoting the metadata edge name in mutations. EdgeMetadata = "metadata" // EdgePlayer holds the string denoting the player edge name in mutations. EdgePlayer = "player" // Table holds the table name of the playeridentifier in the database. Table = "player_identifiers" // MetadataTable is the table the holds the metadata relation/edge. MetadataTable = "player_identifiers" // MetadataInverseTable is the table name for the Metadata entity. // It exists in this package in order to avoid circular dependency with the "metadata" package. MetadataInverseTable = "metadata" // MetadataColumn is the table column denoting the metadata relation/edge. MetadataColumn = "player_identifier_metadata" // PlayerTable is the table the holds the player relation/edge. PlayerTable = "player_identifiers" // PlayerInverseTable is the table name for the Player entity. // It exists in this package in order to avoid circular dependency with the "player" package. PlayerInverseTable = "players" // PlayerColumn is the table column denoting the player relation/edge. PlayerColumn = "player_identifier_player" )
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 )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldType, FieldIdentifier, }
Columns holds all SQL columns for playeridentifier fields.
var ForeignKeys = []string{
"player_identifier_metadata",
"player_identifier_player",
}
ForeignKeys holds the SQL foreign-keys that are owned by the PlayerIdentifier type.
Functions ¶
func And ¶
func And(predicates ...predicate.PlayerIdentifier) predicate.PlayerIdentifier
And groups list of predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.PlayerIdentifier
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.PlayerIdentifier
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.PlayerIdentifier
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.PlayerIdentifier
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.PlayerIdentifier
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.PlayerIdentifier
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.PlayerIdentifier
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.PlayerIdentifier
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.PlayerIdentifier
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasMetadata ¶
func HasMetadata() predicate.PlayerIdentifier
HasMetadata applies the HasEdge predicate on the "metadata" edge.
func HasMetadataWith ¶
func HasMetadataWith(preds ...predicate.Metadata) predicate.PlayerIdentifier
HasMetadataWith applies the HasEdge predicate on the "metadata" edge with a given conditions (other predicates).
func HasPlayer ¶
func HasPlayer() predicate.PlayerIdentifier
HasPlayer applies the HasEdge predicate on the "player" edge.
func HasPlayerWith ¶
func HasPlayerWith(preds ...predicate.Player) predicate.PlayerIdentifier
HasPlayerWith applies the HasEdge predicate on the "player" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.PlayerIdentifier
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.PlayerIdentifier
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.PlayerIdentifier
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.PlayerIdentifier
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.PlayerIdentifier
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.PlayerIdentifier
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.PlayerIdentifier
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.PlayerIdentifier
IDNotIn applies the NotIn predicate on the ID field.
func Identifier ¶
func Identifier(v string) predicate.PlayerIdentifier
Identifier applies equality check predicate on the "identifier" field. It's identical to IdentifierEQ.
func IdentifierContains ¶
func IdentifierContains(v string) predicate.PlayerIdentifier
IdentifierContains applies the Contains predicate on the "identifier" field.
func IdentifierContainsFold ¶
func IdentifierContainsFold(v string) predicate.PlayerIdentifier
IdentifierContainsFold applies the ContainsFold predicate on the "identifier" field.
func IdentifierEQ ¶
func IdentifierEQ(v string) predicate.PlayerIdentifier
IdentifierEQ applies the EQ predicate on the "identifier" field.
func IdentifierEqualFold ¶
func IdentifierEqualFold(v string) predicate.PlayerIdentifier
IdentifierEqualFold applies the EqualFold predicate on the "identifier" field.
func IdentifierGT ¶
func IdentifierGT(v string) predicate.PlayerIdentifier
IdentifierGT applies the GT predicate on the "identifier" field.
func IdentifierGTE ¶
func IdentifierGTE(v string) predicate.PlayerIdentifier
IdentifierGTE applies the GTE predicate on the "identifier" field.
func IdentifierHasPrefix ¶
func IdentifierHasPrefix(v string) predicate.PlayerIdentifier
IdentifierHasPrefix applies the HasPrefix predicate on the "identifier" field.
func IdentifierHasSuffix ¶
func IdentifierHasSuffix(v string) predicate.PlayerIdentifier
IdentifierHasSuffix applies the HasSuffix predicate on the "identifier" field.
func IdentifierIn ¶
func IdentifierIn(vs ...string) predicate.PlayerIdentifier
IdentifierIn applies the In predicate on the "identifier" field.
func IdentifierLT ¶
func IdentifierLT(v string) predicate.PlayerIdentifier
IdentifierLT applies the LT predicate on the "identifier" field.
func IdentifierLTE ¶
func IdentifierLTE(v string) predicate.PlayerIdentifier
IdentifierLTE applies the LTE predicate on the "identifier" field.
func IdentifierNEQ ¶
func IdentifierNEQ(v string) predicate.PlayerIdentifier
IdentifierNEQ applies the NEQ predicate on the "identifier" field.
func IdentifierNotIn ¶
func IdentifierNotIn(vs ...string) predicate.PlayerIdentifier
IdentifierNotIn applies the NotIn predicate on the "identifier" field.
func Not ¶
func Not(p predicate.PlayerIdentifier) predicate.PlayerIdentifier
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.PlayerIdentifier) predicate.PlayerIdentifier
Or groups list of predicates with the OR operator between them.
func Type ¶
func Type(v string) predicate.PlayerIdentifier
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func TypeContains ¶
func TypeContains(v string) predicate.PlayerIdentifier
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
func TypeContainsFold(v string) predicate.PlayerIdentifier
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEQ ¶
func TypeEQ(v string) predicate.PlayerIdentifier
TypeEQ applies the EQ predicate on the "type" field.
func TypeEqualFold ¶
func TypeEqualFold(v string) predicate.PlayerIdentifier
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeGT ¶
func TypeGT(v string) predicate.PlayerIdentifier
TypeGT applies the GT predicate on the "type" field.
func TypeGTE ¶
func TypeGTE(v string) predicate.PlayerIdentifier
TypeGTE applies the GTE predicate on the "type" field.
func TypeHasPrefix ¶
func TypeHasPrefix(v string) predicate.PlayerIdentifier
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
func TypeHasSuffix(v string) predicate.PlayerIdentifier
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...string) predicate.PlayerIdentifier
TypeIn applies the In predicate on the "type" field.
func TypeLT ¶
func TypeLT(v string) predicate.PlayerIdentifier
TypeLT applies the LT predicate on the "type" field.
func TypeLTE ¶
func TypeLTE(v string) predicate.PlayerIdentifier
TypeLTE applies the LTE predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v string) predicate.PlayerIdentifier
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...string) predicate.PlayerIdentifier
TypeNotIn applies the NotIn predicate on the "type" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.PlayerIdentifier
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.PlayerIdentifier
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.PlayerIdentifier
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.PlayerIdentifier
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.PlayerIdentifier
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.PlayerIdentifier
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.PlayerIdentifier
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.PlayerIdentifier
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.PlayerIdentifier
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.