Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Game) predicate.Game
- func Count(v int64) predicate.Game
- func CountEQ(v int64) predicate.Game
- func CountGT(v int64) predicate.Game
- func CountGTE(v int64) predicate.Game
- func CountIn(vs ...int64) predicate.Game
- func CountLT(v int64) predicate.Game
- func CountLTE(v int64) predicate.Game
- func CountNEQ(v int64) predicate.Game
- func CountNotIn(vs ...int64) predicate.Game
- func CreatedAt(v time.Time) predicate.Game
- func CreatedAtEQ(v time.Time) predicate.Game
- func CreatedAtGT(v time.Time) predicate.Game
- func CreatedAtGTE(v time.Time) predicate.Game
- func CreatedAtIn(vs ...time.Time) predicate.Game
- func CreatedAtLT(v time.Time) predicate.Game
- func CreatedAtLTE(v time.Time) predicate.Game
- func CreatedAtNEQ(v time.Time) predicate.Game
- func CreatedAtNotIn(vs ...time.Time) predicate.Game
- func Description(v string) predicate.Game
- func DescriptionContains(v string) predicate.Game
- func DescriptionContainsFold(v string) predicate.Game
- func DescriptionEQ(v string) predicate.Game
- func DescriptionEqualFold(v string) predicate.Game
- func DescriptionGT(v string) predicate.Game
- func DescriptionGTE(v string) predicate.Game
- func DescriptionHasPrefix(v string) predicate.Game
- func DescriptionHasSuffix(v string) predicate.Game
- func DescriptionIn(vs ...string) predicate.Game
- func DescriptionLT(v string) predicate.Game
- func DescriptionLTE(v string) predicate.Game
- func DescriptionNEQ(v string) predicate.Game
- func DescriptionNotIn(vs ...string) predicate.Game
- func ID(id int64) predicate.Game
- func IDEQ(id int64) predicate.Game
- func IDGT(id int64) predicate.Game
- func IDGTE(id int64) predicate.Game
- func IDIn(ids ...int64) predicate.Game
- func IDLT(id int64) predicate.Game
- func IDLTE(id int64) predicate.Game
- func IDNEQ(id int64) predicate.Game
- func IDNotIn(ids ...int64) predicate.Game
- func Name(v string) predicate.Game
- func NameContains(v string) predicate.Game
- func NameContainsFold(v string) predicate.Game
- func NameEQ(v string) predicate.Game
- func NameEqualFold(v string) predicate.Game
- func NameGT(v string) predicate.Game
- func NameGTE(v string) predicate.Game
- func NameHasPrefix(v string) predicate.Game
- func NameHasSuffix(v string) predicate.Game
- func NameIn(vs ...string) predicate.Game
- func NameLT(v string) predicate.Game
- func NameLTE(v string) predicate.Game
- func NameNEQ(v string) predicate.Game
- func NameNotIn(vs ...string) predicate.Game
- func Not(p predicate.Game) predicate.Game
- func Or(predicates ...predicate.Game) predicate.Game
- func UpdatedAt(v time.Time) predicate.Game
- func UpdatedAtEQ(v time.Time) predicate.Game
- func UpdatedAtGT(v time.Time) predicate.Game
- func UpdatedAtGTE(v time.Time) predicate.Game
- func UpdatedAtIn(vs ...time.Time) predicate.Game
- func UpdatedAtLT(v time.Time) predicate.Game
- func UpdatedAtLTE(v time.Time) predicate.Game
- func UpdatedAtNEQ(v time.Time) predicate.Game
- func UpdatedAtNotIn(vs ...time.Time) predicate.Game
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the game type in the database. Label = "game" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldCount holds the string denoting the count field in the database. FieldCount = "count" // 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" // Table holds the table name of the game in the database. Table = "games" )
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 )
var Columns = []string{ FieldID, FieldName, FieldDescription, FieldCount, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for game fields.
Functions ¶
func Count ¶
Count applies equality check predicate on the "count" field. It's identical to CountEQ.
func CountNotIn ¶
CountNotIn applies the NotIn predicate on the "count" 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 Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" 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.