Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Club) predicate.Club
- func Description(v string) predicate.Club
- func DescriptionContains(v string) predicate.Club
- func DescriptionContainsFold(v string) predicate.Club
- func DescriptionEQ(v string) predicate.Club
- func DescriptionEqualFold(v string) predicate.Club
- func DescriptionGT(v string) predicate.Club
- func DescriptionGTE(v string) predicate.Club
- func DescriptionHasPrefix(v string) predicate.Club
- func DescriptionHasSuffix(v string) predicate.Club
- func DescriptionIn(vs ...string) predicate.Club
- func DescriptionLT(v string) predicate.Club
- func DescriptionLTE(v string) predicate.Club
- func DescriptionNEQ(v string) predicate.Club
- func DescriptionNotIn(vs ...string) predicate.Club
- func Email(v string) predicate.Club
- func EmailContains(v string) predicate.Club
- func EmailContainsFold(v string) predicate.Club
- func EmailEQ(v string) predicate.Club
- func EmailEqualFold(v string) predicate.Club
- func EmailGT(v string) predicate.Club
- func EmailGTE(v string) predicate.Club
- func EmailHasPrefix(v string) predicate.Club
- func EmailHasSuffix(v string) predicate.Club
- func EmailIn(vs ...string) predicate.Club
- func EmailIsNil() predicate.Club
- func EmailLT(v string) predicate.Club
- func EmailLTE(v string) predicate.Club
- func EmailNEQ(v string) predicate.Club
- func EmailNotIn(vs ...string) predicate.Club
- func EmailNotNil() predicate.Club
- func Facebook(v string) predicate.Club
- func FacebookContains(v string) predicate.Club
- func FacebookContainsFold(v string) predicate.Club
- func FacebookEQ(v string) predicate.Club
- func FacebookEqualFold(v string) predicate.Club
- func FacebookGT(v string) predicate.Club
- func FacebookGTE(v string) predicate.Club
- func FacebookHasPrefix(v string) predicate.Club
- func FacebookHasSuffix(v string) predicate.Club
- func FacebookIn(vs ...string) predicate.Club
- func FacebookIsNil() predicate.Club
- func FacebookLT(v string) predicate.Club
- func FacebookLTE(v string) predicate.Club
- func FacebookNEQ(v string) predicate.Club
- func FacebookNotIn(vs ...string) predicate.Club
- func FacebookNotNil() predicate.Club
- func HasCategories() predicate.Club
- func HasCategoriesWith(preds ...predicate.Category) predicate.Club
- func HasLikes() predicate.Club
- func HasLikesWith(preds ...predicate.LikeClub) predicate.Club
- func Homepage(v string) predicate.Club
- func HomepageContains(v string) predicate.Club
- func HomepageContainsFold(v string) predicate.Club
- func HomepageEQ(v string) predicate.Club
- func HomepageEqualFold(v string) predicate.Club
- func HomepageGT(v string) predicate.Club
- func HomepageGTE(v string) predicate.Club
- func HomepageHasPrefix(v string) predicate.Club
- func HomepageHasSuffix(v string) predicate.Club
- func HomepageIn(vs ...string) predicate.Club
- func HomepageIsNil() predicate.Club
- func HomepageLT(v string) predicate.Club
- func HomepageLTE(v string) predicate.Club
- func HomepageNEQ(v string) predicate.Club
- func HomepageNotIn(vs ...string) predicate.Club
- func HomepageNotNil() predicate.Club
- func ID(id int) predicate.Club
- func IDEQ(id int) predicate.Club
- func IDGT(id int) predicate.Club
- func IDGTE(id int) predicate.Club
- func IDIn(ids ...int) predicate.Club
- func IDLT(id int) predicate.Club
- func IDLTE(id int) predicate.Club
- func IDNEQ(id int) predicate.Club
- func IDNotIn(ids ...int) predicate.Club
- func ImagesIsNil() predicate.Club
- func ImagesNotNil() predicate.Club
- func Instagram(v string) predicate.Club
- func InstagramContains(v string) predicate.Club
- func InstagramContainsFold(v string) predicate.Club
- func InstagramEQ(v string) predicate.Club
- func InstagramEqualFold(v string) predicate.Club
- func InstagramGT(v string) predicate.Club
- func InstagramGTE(v string) predicate.Club
- func InstagramHasPrefix(v string) predicate.Club
- func InstagramHasSuffix(v string) predicate.Club
- func InstagramIn(vs ...string) predicate.Club
- func InstagramIsNil() predicate.Club
- func InstagramLT(v string) predicate.Club
- func InstagramLTE(v string) predicate.Club
- func InstagramNEQ(v string) predicate.Club
- func InstagramNotIn(vs ...string) predicate.Club
- func InstagramNotNil() predicate.Club
- func Name(v string) predicate.Club
- func NameContains(v string) predicate.Club
- func NameContainsFold(v string) predicate.Club
- func NameEQ(v string) predicate.Club
- func NameEqualFold(v string) predicate.Club
- func NameGT(v string) predicate.Club
- func NameGTE(v string) predicate.Club
- func NameHasPrefix(v string) predicate.Club
- func NameHasSuffix(v string) predicate.Club
- func NameIn(vs ...string) predicate.Club
- func NameLT(v string) predicate.Club
- func NameLTE(v string) predicate.Club
- func NameNEQ(v string) predicate.Club
- func NameNotIn(vs ...string) predicate.Club
- func Not(p predicate.Club) predicate.Club
- func Or(predicates ...predicate.Club) predicate.Club
- func Phone(v string) predicate.Club
- func PhoneContains(v string) predicate.Club
- func PhoneContainsFold(v string) predicate.Club
- func PhoneEQ(v string) predicate.Club
- func PhoneEqualFold(v string) predicate.Club
- func PhoneGT(v string) predicate.Club
- func PhoneGTE(v string) predicate.Club
- func PhoneHasPrefix(v string) predicate.Club
- func PhoneHasSuffix(v string) predicate.Club
- func PhoneIn(vs ...string) predicate.Club
- func PhoneIsNil() predicate.Club
- func PhoneLT(v string) predicate.Club
- func PhoneLTE(v string) predicate.Club
- func PhoneNEQ(v string) predicate.Club
- func PhoneNotIn(vs ...string) predicate.Club
- func PhoneNotNil() predicate.Club
- func Recommended(v bool) predicate.Club
- func RecommendedEQ(v bool) predicate.Club
- func RecommendedNEQ(v bool) predicate.Club
- func Summary(v string) predicate.Club
- func SummaryContains(v string) predicate.Club
- func SummaryContainsFold(v string) predicate.Club
- func SummaryEQ(v string) predicate.Club
- func SummaryEqualFold(v string) predicate.Club
- func SummaryGT(v string) predicate.Club
- func SummaryGTE(v string) predicate.Club
- func SummaryHasPrefix(v string) predicate.Club
- func SummaryHasSuffix(v string) predicate.Club
- func SummaryIn(vs ...string) predicate.Club
- func SummaryLT(v string) predicate.Club
- func SummaryLTE(v string) predicate.Club
- func SummaryNEQ(v string) predicate.Club
- func SummaryNotIn(vs ...string) predicate.Club
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the club type in the database. Label = "club" // 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" // FieldSummary holds the string denoting the summary field in the database. FieldSummary = "summary" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldImages holds the string denoting the images field in the database. FieldImages = "images" // FieldHomepage holds the string denoting the homepage field in the database. FieldHomepage = "homepage" // FieldInstagram holds the string denoting the instagram field in the database. FieldInstagram = "instagram" // FieldFacebook holds the string denoting the facebook field in the database. FieldFacebook = "facebook" // FieldPhone holds the string denoting the phone field in the database. FieldPhone = "phone" // FieldEmail holds the string denoting the email field in the database. FieldEmail = "email" // FieldRecommended holds the string denoting the recommended field in the database. FieldRecommended = "recommended" // EdgeLikes holds the string denoting the likes edge name in mutations. EdgeLikes = "likes" // EdgeCategories holds the string denoting the categories edge name in mutations. EdgeCategories = "categories" // CategoryFieldID holds the string denoting the ID field of the Category. CategoryFieldID = "name" // Table holds the table name of the club in the database. Table = "clubs" // LikesTable is the table the holds the likes relation/edge. LikesTable = "like_clubs" // LikesInverseTable is the table name for the LikeClub entity. // It exists in this package in order to avoid circular dependency with the "likeclub" package. LikesInverseTable = "like_clubs" // LikesColumn is the table column denoting the likes relation/edge. LikesColumn = "club_likes" // CategoriesTable is the table the holds the categories relation/edge. The primary key declared below. CategoriesTable = "category_clubs" // CategoriesInverseTable is the table name for the Category entity. // It exists in this package in order to avoid circular dependency with the "category" package. CategoriesInverseTable = "categories" )
Variables ¶
var ( // DescriptionValidator is a validator for the "description" field. It is called by the builders before save. DescriptionValidator func(string) error // DefaultRecommended holds the default value on creation for the "recommended" field. DefaultRecommended bool )
var ( // CategoriesPrimaryKey and CategoriesColumn2 are the table columns denoting the // primary key for the categories relation (M2M). CategoriesPrimaryKey = []string{"category_id", "club_id"} )
var Columns = []string{ FieldID, FieldName, FieldSummary, FieldDescription, FieldImages, FieldHomepage, FieldInstagram, FieldFacebook, FieldPhone, FieldEmail, FieldRecommended, }
Columns holds all SQL columns for club fields.
Functions ¶
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 Email ¶
Email applies equality check predicate on the "email" field. It's identical to EmailEQ.
func EmailContains ¶
EmailContains applies the Contains predicate on the "email" field.
func EmailContainsFold ¶
EmailContainsFold applies the ContainsFold predicate on the "email" field.
func EmailEqualFold ¶
EmailEqualFold applies the EqualFold predicate on the "email" field.
func EmailHasPrefix ¶
EmailHasPrefix applies the HasPrefix predicate on the "email" field.
func EmailHasSuffix ¶
EmailHasSuffix applies the HasSuffix predicate on the "email" field.
func EmailIsNil ¶
EmailIsNil applies the IsNil predicate on the "email" field.
func EmailNotIn ¶
EmailNotIn applies the NotIn predicate on the "email" field.
func EmailNotNil ¶
EmailNotNil applies the NotNil predicate on the "email" field.
func Facebook ¶
Facebook applies equality check predicate on the "facebook" field. It's identical to FacebookEQ.
func FacebookContains ¶
FacebookContains applies the Contains predicate on the "facebook" field.
func FacebookContainsFold ¶
FacebookContainsFold applies the ContainsFold predicate on the "facebook" field.
func FacebookEQ ¶
FacebookEQ applies the EQ predicate on the "facebook" field.
func FacebookEqualFold ¶
FacebookEqualFold applies the EqualFold predicate on the "facebook" field.
func FacebookGT ¶
FacebookGT applies the GT predicate on the "facebook" field.
func FacebookGTE ¶
FacebookGTE applies the GTE predicate on the "facebook" field.
func FacebookHasPrefix ¶
FacebookHasPrefix applies the HasPrefix predicate on the "facebook" field.
func FacebookHasSuffix ¶
FacebookHasSuffix applies the HasSuffix predicate on the "facebook" field.
func FacebookIn ¶
FacebookIn applies the In predicate on the "facebook" field.
func FacebookIsNil ¶
FacebookIsNil applies the IsNil predicate on the "facebook" field.
func FacebookLT ¶
FacebookLT applies the LT predicate on the "facebook" field.
func FacebookLTE ¶
FacebookLTE applies the LTE predicate on the "facebook" field.
func FacebookNEQ ¶
FacebookNEQ applies the NEQ predicate on the "facebook" field.
func FacebookNotIn ¶
FacebookNotIn applies the NotIn predicate on the "facebook" field.
func FacebookNotNil ¶
FacebookNotNil applies the NotNil predicate on the "facebook" field.
func HasCategories ¶
HasCategories applies the HasEdge predicate on the "categories" edge.
func HasCategoriesWith ¶
HasCategoriesWith applies the HasEdge predicate on the "categories" edge with a given conditions (other predicates).
func HasLikesWith ¶
HasLikesWith applies the HasEdge predicate on the "likes" edge with a given conditions (other predicates).
func Homepage ¶
Homepage applies equality check predicate on the "homepage" field. It's identical to HomepageEQ.
func HomepageContains ¶
HomepageContains applies the Contains predicate on the "homepage" field.
func HomepageContainsFold ¶
HomepageContainsFold applies the ContainsFold predicate on the "homepage" field.
func HomepageEQ ¶
HomepageEQ applies the EQ predicate on the "homepage" field.
func HomepageEqualFold ¶
HomepageEqualFold applies the EqualFold predicate on the "homepage" field.
func HomepageGT ¶
HomepageGT applies the GT predicate on the "homepage" field.
func HomepageGTE ¶
HomepageGTE applies the GTE predicate on the "homepage" field.
func HomepageHasPrefix ¶
HomepageHasPrefix applies the HasPrefix predicate on the "homepage" field.
func HomepageHasSuffix ¶
HomepageHasSuffix applies the HasSuffix predicate on the "homepage" field.
func HomepageIn ¶
HomepageIn applies the In predicate on the "homepage" field.
func HomepageIsNil ¶
HomepageIsNil applies the IsNil predicate on the "homepage" field.
func HomepageLT ¶
HomepageLT applies the LT predicate on the "homepage" field.
func HomepageLTE ¶
HomepageLTE applies the LTE predicate on the "homepage" field.
func HomepageNEQ ¶
HomepageNEQ applies the NEQ predicate on the "homepage" field.
func HomepageNotIn ¶
HomepageNotIn applies the NotIn predicate on the "homepage" field.
func HomepageNotNil ¶
HomepageNotNil applies the NotNil predicate on the "homepage" field.
func ImagesIsNil ¶
ImagesIsNil applies the IsNil predicate on the "images" field.
func ImagesNotNil ¶
ImagesNotNil applies the NotNil predicate on the "images" field.
func Instagram ¶
Instagram applies equality check predicate on the "instagram" field. It's identical to InstagramEQ.
func InstagramContains ¶
InstagramContains applies the Contains predicate on the "instagram" field.
func InstagramContainsFold ¶
InstagramContainsFold applies the ContainsFold predicate on the "instagram" field.
func InstagramEQ ¶
InstagramEQ applies the EQ predicate on the "instagram" field.
func InstagramEqualFold ¶
InstagramEqualFold applies the EqualFold predicate on the "instagram" field.
func InstagramGT ¶
InstagramGT applies the GT predicate on the "instagram" field.
func InstagramGTE ¶
InstagramGTE applies the GTE predicate on the "instagram" field.
func InstagramHasPrefix ¶
InstagramHasPrefix applies the HasPrefix predicate on the "instagram" field.
func InstagramHasSuffix ¶
InstagramHasSuffix applies the HasSuffix predicate on the "instagram" field.
func InstagramIn ¶
InstagramIn applies the In predicate on the "instagram" field.
func InstagramIsNil ¶
InstagramIsNil applies the IsNil predicate on the "instagram" field.
func InstagramLT ¶
InstagramLT applies the LT predicate on the "instagram" field.
func InstagramLTE ¶
InstagramLTE applies the LTE predicate on the "instagram" field.
func InstagramNEQ ¶
InstagramNEQ applies the NEQ predicate on the "instagram" field.
func InstagramNotIn ¶
InstagramNotIn applies the NotIn predicate on the "instagram" field.
func InstagramNotNil ¶
InstagramNotNil applies the NotNil predicate on the "instagram" 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 Phone ¶
Phone applies equality check predicate on the "phone" field. It's identical to PhoneEQ.
func PhoneContains ¶
PhoneContains applies the Contains predicate on the "phone" field.
func PhoneContainsFold ¶
PhoneContainsFold applies the ContainsFold predicate on the "phone" field.
func PhoneEqualFold ¶
PhoneEqualFold applies the EqualFold predicate on the "phone" field.
func PhoneHasPrefix ¶
PhoneHasPrefix applies the HasPrefix predicate on the "phone" field.
func PhoneHasSuffix ¶
PhoneHasSuffix applies the HasSuffix predicate on the "phone" field.
func PhoneIsNil ¶
PhoneIsNil applies the IsNil predicate on the "phone" field.
func PhoneNotIn ¶
PhoneNotIn applies the NotIn predicate on the "phone" field.
func PhoneNotNil ¶
PhoneNotNil applies the NotNil predicate on the "phone" field.
func Recommended ¶
Recommended applies equality check predicate on the "recommended" field. It's identical to RecommendedEQ.
func RecommendedEQ ¶
RecommendedEQ applies the EQ predicate on the "recommended" field.
func RecommendedNEQ ¶
RecommendedNEQ applies the NEQ predicate on the "recommended" field.
func Summary ¶
Summary applies equality check predicate on the "summary" field. It's identical to SummaryEQ.
func SummaryContains ¶
SummaryContains applies the Contains predicate on the "summary" field.
func SummaryContainsFold ¶
SummaryContainsFold applies the ContainsFold predicate on the "summary" field.
func SummaryEqualFold ¶
SummaryEqualFold applies the EqualFold predicate on the "summary" field.
func SummaryGTE ¶
SummaryGTE applies the GTE predicate on the "summary" field.
func SummaryHasPrefix ¶
SummaryHasPrefix applies the HasPrefix predicate on the "summary" field.
func SummaryHasSuffix ¶
SummaryHasSuffix applies the HasSuffix predicate on the "summary" field.
func SummaryLTE ¶
SummaryLTE applies the LTE predicate on the "summary" field.
func SummaryNEQ ¶
SummaryNEQ applies the NEQ predicate on the "summary" field.
func SummaryNotIn ¶
SummaryNotIn applies the NotIn predicate on the "summary" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.