Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GameUser) predicate.GameUser
- func CardID(v int64) predicate.GameUser
- func CardIDEQ(v int64) predicate.GameUser
- func CardIDIn(vs ...int64) predicate.GameUser
- func CardIDNEQ(v int64) predicate.GameUser
- func CardIDNotIn(vs ...int64) predicate.GameUser
- func CreatedAt(v time.Time) predicate.GameUser
- func CreatedAtEQ(v time.Time) predicate.GameUser
- func CreatedAtGT(v time.Time) predicate.GameUser
- func CreatedAtGTE(v time.Time) predicate.GameUser
- func CreatedAtIn(vs ...time.Time) predicate.GameUser
- func CreatedAtLT(v time.Time) predicate.GameUser
- func CreatedAtLTE(v time.Time) predicate.GameUser
- func CreatedAtNEQ(v time.Time) predicate.GameUser
- func CreatedAtNotIn(vs ...time.Time) predicate.GameUser
- func CreatedBy(v int64) predicate.GameUser
- func CreatedByEQ(v int64) predicate.GameUser
- func CreatedByGT(v int64) predicate.GameUser
- func CreatedByGTE(v int64) predicate.GameUser
- func CreatedByIn(vs ...int64) predicate.GameUser
- func CreatedByLT(v int64) predicate.GameUser
- func CreatedByLTE(v int64) predicate.GameUser
- func CreatedByNEQ(v int64) predicate.GameUser
- func CreatedByNotIn(vs ...int64) predicate.GameUser
- func DeletedAt(v time.Time) predicate.GameUser
- func DeletedAtEQ(v time.Time) predicate.GameUser
- func DeletedAtGT(v time.Time) predicate.GameUser
- func DeletedAtGTE(v time.Time) predicate.GameUser
- func DeletedAtIn(vs ...time.Time) predicate.GameUser
- func DeletedAtLT(v time.Time) predicate.GameUser
- func DeletedAtLTE(v time.Time) predicate.GameUser
- func DeletedAtNEQ(v time.Time) predicate.GameUser
- func DeletedAtNotIn(vs ...time.Time) predicate.GameUser
- func Exited(v bool) predicate.GameUser
- func ExitedEQ(v bool) predicate.GameUser
- func ExitedNEQ(v bool) predicate.GameUser
- func GameID(v int64) predicate.GameUser
- func GameIDEQ(v int64) predicate.GameUser
- func GameIDIn(vs ...int64) predicate.GameUser
- func GameIDNEQ(v int64) predicate.GameUser
- func GameIDNotIn(vs ...int64) predicate.GameUser
- func HasCard() predicate.GameUser
- func HasCardWith(preds ...predicate.Card) predicate.GameUser
- func HasGame() predicate.GameUser
- func HasGameWith(preds ...predicate.Game) predicate.GameUser
- func ID(id int64) predicate.GameUser
- func IDEQ(id int64) predicate.GameUser
- func IDGT(id int64) predicate.GameUser
- func IDGTE(id int64) predicate.GameUser
- func IDIn(ids ...int64) predicate.GameUser
- func IDLT(id int64) predicate.GameUser
- func IDLTE(id int64) predicate.GameUser
- func IDNEQ(id int64) predicate.GameUser
- func IDNotIn(ids ...int64) predicate.GameUser
- func Not(p predicate.GameUser) predicate.GameUser
- func Number(v uint8) predicate.GameUser
- func NumberEQ(v uint8) predicate.GameUser
- func NumberGT(v uint8) predicate.GameUser
- func NumberGTE(v uint8) predicate.GameUser
- func NumberIn(vs ...uint8) predicate.GameUser
- func NumberLT(v uint8) predicate.GameUser
- func NumberLTE(v uint8) predicate.GameUser
- func NumberNEQ(v uint8) predicate.GameUser
- func NumberNotIn(vs ...uint8) predicate.GameUser
- func Or(predicates ...predicate.GameUser) predicate.GameUser
- func UpdatedAt(v time.Time) predicate.GameUser
- func UpdatedAtEQ(v time.Time) predicate.GameUser
- func UpdatedAtGT(v time.Time) predicate.GameUser
- func UpdatedAtGTE(v time.Time) predicate.GameUser
- func UpdatedAtIn(vs ...time.Time) predicate.GameUser
- func UpdatedAtLT(v time.Time) predicate.GameUser
- func UpdatedAtLTE(v time.Time) predicate.GameUser
- func UpdatedAtNEQ(v time.Time) predicate.GameUser
- func UpdatedAtNotIn(vs ...time.Time) predicate.GameUser
- func UpdatedBy(v int64) predicate.GameUser
- func UpdatedByEQ(v int64) predicate.GameUser
- func UpdatedByGT(v int64) predicate.GameUser
- func UpdatedByGTE(v int64) predicate.GameUser
- func UpdatedByIn(vs ...int64) predicate.GameUser
- func UpdatedByLT(v int64) predicate.GameUser
- func UpdatedByLTE(v int64) predicate.GameUser
- func UpdatedByNEQ(v int64) predicate.GameUser
- func UpdatedByNotIn(vs ...int64) predicate.GameUser
- func UserID(v int64) predicate.GameUser
- func UserIDEQ(v int64) predicate.GameUser
- func UserIDGT(v int64) predicate.GameUser
- func UserIDGTE(v int64) predicate.GameUser
- func UserIDIn(vs ...int64) predicate.GameUser
- func UserIDLT(v int64) predicate.GameUser
- func UserIDLTE(v int64) predicate.GameUser
- func UserIDNEQ(v int64) predicate.GameUser
- func UserIDNotIn(vs ...int64) predicate.GameUser
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the gameuser type in the database. Label = "game_user" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // 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" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldGameID holds the string denoting the game_id field in the database. FieldGameID = "game_id" // FieldCardID holds the string denoting the card_id field in the database. FieldCardID = "card_id" // FieldNumber holds the string denoting the number field in the database. FieldNumber = "number" // FieldExited holds the string denoting the exited field in the database. FieldExited = "exited" // EdgeGame holds the string denoting the game edge name in mutations. EdgeGame = "game" // EdgeCard holds the string denoting the card edge name in mutations. EdgeCard = "card" // Table holds the table name of the gameuser in the database. Table = "game_users" // GameTable is the table that holds the game relation/edge. GameTable = "game_users" // GameInverseTable is the table name for the Game entity. // It exists in this package in order to avoid circular dependency with the "game" package. GameInverseTable = "games" // GameColumn is the table column denoting the game relation/edge. GameColumn = "game_id" // CardTable is the table that holds the card relation/edge. CardTable = "game_users" // CardInverseTable is the table name for the Card entity. // It exists in this package in order to avoid circular dependency with the "card" package. CardInverseTable = "cards" // CardColumn is the table column denoting the card relation/edge. CardColumn = "card_id" )
Variables ¶
var ( // DefaultCreatedBy holds the default value on creation for the "created_by" field. DefaultCreatedBy int64 // DefaultUpdatedBy holds the default value on creation for the "updated_by" field. DefaultUpdatedBy int64 // 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 // DefaultDeletedAt holds the default value on creation for the "deleted_at" field. DefaultDeletedAt time.Time // DefaultExited holds the default value on creation for the "exited" field. DefaultExited bool // DefaultID holds the default value on creation for the "id" field. DefaultID func() int64 )
var Columns = []string{ FieldID, FieldCreatedBy, FieldUpdatedBy, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldUserID, FieldGameID, FieldCardID, FieldNumber, FieldExited, }
Columns holds all SQL columns for gameuser fields.
Functions ¶
func CardID ¶
CardID applies equality check predicate on the "card_id" field. It's identical to CardIDEQ.
func CardIDNotIn ¶
CardIDNotIn applies the NotIn predicate on the "card_id" field.
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 CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func Exited ¶
Exited applies equality check predicate on the "exited" field. It's identical to ExitedEQ.
func GameID ¶
GameID applies equality check predicate on the "game_id" field. It's identical to GameIDEQ.
func GameIDNotIn ¶
GameIDNotIn applies the NotIn predicate on the "game_id" field.
func HasCardWith ¶
HasCardWith applies the HasEdge predicate on the "card" edge with a given conditions (other predicates).
func HasGameWith ¶
HasGameWith applies the HasEdge predicate on the "game" edge with a given conditions (other predicates).
func Number ¶
Number applies equality check predicate on the "number" field. It's identical to NumberEQ.
func NumberNotIn ¶
NumberNotIn applies the NotIn predicate on the "number" 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 UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.