Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.LikeClub) predicate.LikeClub
- func CreatedAt(v time.Time) predicate.LikeClub
- func CreatedAtEQ(v time.Time) predicate.LikeClub
- func CreatedAtGT(v time.Time) predicate.LikeClub
- func CreatedAtGTE(v time.Time) predicate.LikeClub
- func CreatedAtIn(vs ...time.Time) predicate.LikeClub
- func CreatedAtLT(v time.Time) predicate.LikeClub
- func CreatedAtLTE(v time.Time) predicate.LikeClub
- func CreatedAtNEQ(v time.Time) predicate.LikeClub
- func CreatedAtNotIn(vs ...time.Time) predicate.LikeClub
- func HasClub() predicate.LikeClub
- func HasClubWith(preds ...predicate.Club) predicate.LikeClub
- func ID(id int) predicate.LikeClub
- func IDEQ(id int) predicate.LikeClub
- func IDGT(id int) predicate.LikeClub
- func IDGTE(id int) predicate.LikeClub
- func IDIn(ids ...int) predicate.LikeClub
- func IDLT(id int) predicate.LikeClub
- func IDLTE(id int) predicate.LikeClub
- func IDNEQ(id int) predicate.LikeClub
- func IDNotIn(ids ...int) predicate.LikeClub
- func Not(p predicate.LikeClub) predicate.LikeClub
- func Or(predicates ...predicate.LikeClub) predicate.LikeClub
- func Username(v string) predicate.LikeClub
- func UsernameContains(v string) predicate.LikeClub
- func UsernameContainsFold(v string) predicate.LikeClub
- func UsernameEQ(v string) predicate.LikeClub
- func UsernameEqualFold(v string) predicate.LikeClub
- func UsernameGT(v string) predicate.LikeClub
- func UsernameGTE(v string) predicate.LikeClub
- func UsernameHasPrefix(v string) predicate.LikeClub
- func UsernameHasSuffix(v string) predicate.LikeClub
- func UsernameIn(vs ...string) predicate.LikeClub
- func UsernameLT(v string) predicate.LikeClub
- func UsernameLTE(v string) predicate.LikeClub
- func UsernameNEQ(v string) predicate.LikeClub
- func UsernameNotIn(vs ...string) predicate.LikeClub
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the likeclub type in the database. Label = "like_club" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUsername holds the string denoting the username field in the database. FieldUsername = "username" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeClub holds the string denoting the club edge name in mutations. EdgeClub = "club" // Table holds the table name of the likeclub in the database. Table = "like_clubs" // ClubTable is the table the holds the club relation/edge. ClubTable = "like_clubs" // ClubInverseTable is the table name for the Club entity. // It exists in this package in order to avoid circular dependency with the "club" package. ClubInverseTable = "clubs" // ClubColumn is the table column denoting the club relation/edge. ClubColumn = "club_likes" )
Variables ¶
var Columns = []string{ FieldID, FieldUsername, FieldCreatedAt, }
Columns holds all SQL columns for likeclub fields.
var ForeignKeys = []string{
"club_likes",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "like_clubs" table and are not defined as standalone fields in the schema.
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 HasClubWith ¶
HasClubWith applies the HasEdge predicate on the "club" edge with a given conditions (other predicates).
func Username ¶
Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.
func UsernameContains ¶
UsernameContains applies the Contains predicate on the "username" field.
func UsernameContainsFold ¶
UsernameContainsFold applies the ContainsFold predicate on the "username" field.
func UsernameEQ ¶
UsernameEQ applies the EQ predicate on the "username" field.
func UsernameEqualFold ¶
UsernameEqualFold applies the EqualFold predicate on the "username" field.
func UsernameGT ¶
UsernameGT applies the GT predicate on the "username" field.
func UsernameGTE ¶
UsernameGTE applies the GTE predicate on the "username" field.
func UsernameHasPrefix ¶
UsernameHasPrefix applies the HasPrefix predicate on the "username" field.
func UsernameHasSuffix ¶
UsernameHasSuffix applies the HasSuffix predicate on the "username" field.
func UsernameIn ¶
UsernameIn applies the In predicate on the "username" field.
func UsernameLT ¶
UsernameLT applies the LT predicate on the "username" field.
func UsernameLTE ¶
UsernameLTE applies the LTE predicate on the "username" field.
func UsernameNEQ ¶
UsernameNEQ applies the NEQ predicate on the "username" field.
func UsernameNotIn ¶
UsernameNotIn applies the NotIn predicate on the "username" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.