Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.PlayGroup) predicate.PlayGroup
- func Description(v string) predicate.PlayGroup
- func DescriptionContains(v string) predicate.PlayGroup
- func DescriptionContainsFold(v string) predicate.PlayGroup
- func DescriptionEQ(v string) predicate.PlayGroup
- func DescriptionEqualFold(v string) predicate.PlayGroup
- func DescriptionGT(v string) predicate.PlayGroup
- func DescriptionGTE(v string) predicate.PlayGroup
- func DescriptionHasPrefix(v string) predicate.PlayGroup
- func DescriptionHasSuffix(v string) predicate.PlayGroup
- func DescriptionIn(vs ...string) predicate.PlayGroup
- func DescriptionIsNil() predicate.PlayGroup
- func DescriptionLT(v string) predicate.PlayGroup
- func DescriptionLTE(v string) predicate.PlayGroup
- func DescriptionNEQ(v string) predicate.PlayGroup
- func DescriptionNotIn(vs ...string) predicate.PlayGroup
- func DescriptionNotNil() predicate.PlayGroup
- func HasParticipants() predicate.PlayGroup
- func HasParticipantsWith(preds ...predicate.Pet) predicate.PlayGroup
- func ID(id int) predicate.PlayGroup
- func IDEQ(id int) predicate.PlayGroup
- func IDGT(id int) predicate.PlayGroup
- func IDGTE(id int) predicate.PlayGroup
- func IDIn(ids ...int) predicate.PlayGroup
- func IDLT(id int) predicate.PlayGroup
- func IDLTE(id int) predicate.PlayGroup
- func IDNEQ(id int) predicate.PlayGroup
- func IDNotIn(ids ...int) predicate.PlayGroup
- func Not(p predicate.PlayGroup) predicate.PlayGroup
- func Or(predicates ...predicate.PlayGroup) predicate.PlayGroup
- func Title(v string) predicate.PlayGroup
- func TitleContains(v string) predicate.PlayGroup
- func TitleContainsFold(v string) predicate.PlayGroup
- func TitleEQ(v string) predicate.PlayGroup
- func TitleEqualFold(v string) predicate.PlayGroup
- func TitleGT(v string) predicate.PlayGroup
- func TitleGTE(v string) predicate.PlayGroup
- func TitleHasPrefix(v string) predicate.PlayGroup
- func TitleHasSuffix(v string) predicate.PlayGroup
- func TitleIn(vs ...string) predicate.PlayGroup
- func TitleLT(v string) predicate.PlayGroup
- func TitleLTE(v string) predicate.PlayGroup
- func TitleNEQ(v string) predicate.PlayGroup
- func TitleNotIn(vs ...string) predicate.PlayGroup
- func ValidColumn(column string) bool
- func WeekdayEQ(v Weekday) predicate.PlayGroup
- func WeekdayIn(vs ...Weekday) predicate.PlayGroup
- func WeekdayNEQ(v Weekday) predicate.PlayGroup
- func WeekdayNotIn(vs ...Weekday) predicate.PlayGroup
- func WeekdayValidator(w Weekday) error
- type Weekday
Constants ¶
const ( // Label holds the string label denoting the playgroup type in the database. Label = "play_group" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldWeekday holds the string denoting the weekday field in the database. FieldWeekday = "weekday" // EdgeParticipants holds the string denoting the participants edge name in mutations. EdgeParticipants = "participants" // Table holds the table name of the playgroup in the database. Table = "play_groups" // ParticipantsTable is the table that holds the participants relation/edge. The primary key declared below. ParticipantsTable = "pet_play_groups" // ParticipantsInverseTable is the table name for the Pet entity. // It exists in this package in order to avoid circular dependency with the "pet" package. ParticipantsInverseTable = "pets" )
Variables ¶
var Columns = []string{ FieldID, FieldTitle, FieldDescription, FieldWeekday, }
Columns holds all SQL columns for playgroup fields.
var ( // ParticipantsPrimaryKey and ParticipantsColumn2 are the table columns denoting the // primary key for the participants relation (M2M). ParticipantsPrimaryKey = []string{"pet_id", "play_group_id"} )
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 DescriptionIsNil ¶
DescriptionIsNil applies the IsNil 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 DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func HasParticipants ¶
HasParticipants applies the HasEdge predicate on the "participants" edge.
func HasParticipantsWith ¶
HasParticipantsWith applies the HasEdge predicate on the "participants" edge with a given conditions (other predicates).
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WeekdayNEQ ¶
WeekdayNEQ applies the NEQ predicate on the "weekday" field.
func WeekdayNotIn ¶
WeekdayNotIn applies the NotIn predicate on the "weekday" field.
func WeekdayValidator ¶
WeekdayValidator is a validator for the "weekday" field enum values. It is called by the builders before save.
Types ¶
type Weekday ¶
type Weekday string
Weekday defines the type for the "weekday" enum field.