Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Card) predicate.Card
- func ID(id int) predicate.Card
- func IDEQ(id int) predicate.Card
- func IDGT(id int) predicate.Card
- func IDGTE(id int) predicate.Card
- func IDIn(ids ...int) predicate.Card
- func IDLT(id int) predicate.Card
- func IDLTE(id int) predicate.Card
- func IDNEQ(id int) predicate.Card
- func IDNotIn(ids ...int) predicate.Card
- func Money(v string) predicate.Card
- func MoneyContains(v string) predicate.Card
- func MoneyContainsFold(v string) predicate.Card
- func MoneyEQ(v string) predicate.Card
- func MoneyEqualFold(v string) predicate.Card
- func MoneyGT(v string) predicate.Card
- func MoneyGTE(v string) predicate.Card
- func MoneyHasPrefix(v string) predicate.Card
- func MoneyHasSuffix(v string) predicate.Card
- func MoneyIn(vs ...string) predicate.Card
- func MoneyLT(v string) predicate.Card
- func MoneyLTE(v string) predicate.Card
- func MoneyNEQ(v string) predicate.Card
- func MoneyNotIn(vs ...string) predicate.Card
- func Not(p predicate.Card) predicate.Card
- func Or(predicates ...predicate.Card) predicate.Card
- func UserID(v string) predicate.Card
- func UserIDContains(v string) predicate.Card
- func UserIDContainsFold(v string) predicate.Card
- func UserIDEQ(v string) predicate.Card
- func UserIDEqualFold(v string) predicate.Card
- func UserIDGT(v string) predicate.Card
- func UserIDGTE(v string) predicate.Card
- func UserIDHasPrefix(v string) predicate.Card
- func UserIDHasSuffix(v string) predicate.Card
- func UserIDIn(vs ...string) predicate.Card
- func UserIDLT(v string) predicate.Card
- func UserIDLTE(v string) predicate.Card
- func UserIDNEQ(v string) predicate.Card
- func UserIDNotIn(vs ...string) predicate.Card
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the card type in the database. Label = "card" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldMoney holds the string denoting the money field in the database. FieldMoney = "money" // Table holds the table name of the card in the database. Table = "cards" )
Variables ¶
var Columns = []string{ FieldID, FieldUserID, FieldMoney, }
Columns holds all SQL columns for card fields.
Functions ¶
func Money ¶
Money applies equality check predicate on the "money" field. It's identical to MoneyEQ.
func MoneyContains ¶
MoneyContains applies the Contains predicate on the "money" field.
func MoneyContainsFold ¶
MoneyContainsFold applies the ContainsFold predicate on the "money" field.
func MoneyEqualFold ¶
MoneyEqualFold applies the EqualFold predicate on the "money" field.
func MoneyHasPrefix ¶
MoneyHasPrefix applies the HasPrefix predicate on the "money" field.
func MoneyHasSuffix ¶
MoneyHasSuffix applies the HasSuffix predicate on the "money" field.
func MoneyNotIn ¶
MoneyNotIn applies the NotIn predicate on the "money" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDContains ¶
UserIDContains applies the Contains predicate on the "user_id" field.
func UserIDContainsFold ¶
UserIDContainsFold applies the ContainsFold predicate on the "user_id" field.
func UserIDEqualFold ¶
UserIDEqualFold applies the EqualFold predicate on the "user_id" field.
func UserIDHasPrefix ¶
UserIDHasPrefix applies the HasPrefix predicate on the "user_id" field.
func UserIDHasSuffix ¶
UserIDHasSuffix applies the HasSuffix predicate on the "user_id" field.
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.