likeclub

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for likeclub fields.

View Source
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 And

func And(predicates ...predicate.LikeClub) predicate.LikeClub

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.LikeClub

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.LikeClub

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.LikeClub

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.LikeClub

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.LikeClub

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.LikeClub

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.LikeClub

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.LikeClub

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.LikeClub

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func HasClub

func HasClub() predicate.LikeClub

HasClub applies the HasEdge predicate on the "club" edge.

func HasClubWith

func HasClubWith(preds ...predicate.Club) predicate.LikeClub

HasClubWith applies the HasEdge predicate on the "club" edge with a given conditions (other predicates).

func ID

func ID(id int) predicate.LikeClub

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.LikeClub

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.LikeClub

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.LikeClub

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.LikeClub

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.LikeClub

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.LikeClub

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.LikeClub

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.LikeClub

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.LikeClub) predicate.LikeClub

Or groups predicates with the OR operator between them.

func Username

func Username(v string) predicate.LikeClub

Username applies equality check predicate on the "username" field. It's identical to UsernameEQ.

func UsernameContains

func UsernameContains(v string) predicate.LikeClub

UsernameContains applies the Contains predicate on the "username" field.

func UsernameContainsFold

func UsernameContainsFold(v string) predicate.LikeClub

UsernameContainsFold applies the ContainsFold predicate on the "username" field.

func UsernameEQ

func UsernameEQ(v string) predicate.LikeClub

UsernameEQ applies the EQ predicate on the "username" field.

func UsernameEqualFold

func UsernameEqualFold(v string) predicate.LikeClub

UsernameEqualFold applies the EqualFold predicate on the "username" field.

func UsernameGT

func UsernameGT(v string) predicate.LikeClub

UsernameGT applies the GT predicate on the "username" field.

func UsernameGTE

func UsernameGTE(v string) predicate.LikeClub

UsernameGTE applies the GTE predicate on the "username" field.

func UsernameHasPrefix

func UsernameHasPrefix(v string) predicate.LikeClub

UsernameHasPrefix applies the HasPrefix predicate on the "username" field.

func UsernameHasSuffix

func UsernameHasSuffix(v string) predicate.LikeClub

UsernameHasSuffix applies the HasSuffix predicate on the "username" field.

func UsernameIn

func UsernameIn(vs ...string) predicate.LikeClub

UsernameIn applies the In predicate on the "username" field.

func UsernameLT

func UsernameLT(v string) predicate.LikeClub

UsernameLT applies the LT predicate on the "username" field.

func UsernameLTE

func UsernameLTE(v string) predicate.LikeClub

UsernameLTE applies the LTE predicate on the "username" field.

func UsernameNEQ

func UsernameNEQ(v string) predicate.LikeClub

UsernameNEQ applies the NEQ predicate on the "username" field.

func UsernameNotIn

func UsernameNotIn(vs ...string) predicate.LikeClub

UsernameNotIn applies the NotIn predicate on the "username" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL