Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Meeting) predicate.Meeting
- func CreateTime(v time.Time) predicate.Meeting
- func CreateTimeEQ(v time.Time) predicate.Meeting
- func CreateTimeGT(v time.Time) predicate.Meeting
- func CreateTimeGTE(v time.Time) predicate.Meeting
- func CreateTimeIn(vs ...time.Time) predicate.Meeting
- func CreateTimeLT(v time.Time) predicate.Meeting
- func CreateTimeLTE(v time.Time) predicate.Meeting
- func CreateTimeNEQ(v time.Time) predicate.Meeting
- func CreateTimeNotIn(vs ...time.Time) predicate.Meeting
- func Description(v string) predicate.Meeting
- func DescriptionContains(v string) predicate.Meeting
- func DescriptionContainsFold(v string) predicate.Meeting
- func DescriptionEQ(v string) predicate.Meeting
- func DescriptionEqualFold(v string) predicate.Meeting
- func DescriptionGT(v string) predicate.Meeting
- func DescriptionGTE(v string) predicate.Meeting
- func DescriptionHasPrefix(v string) predicate.Meeting
- func DescriptionHasSuffix(v string) predicate.Meeting
- func DescriptionIn(vs ...string) predicate.Meeting
- func DescriptionIsNil() predicate.Meeting
- func DescriptionLT(v string) predicate.Meeting
- func DescriptionLTE(v string) predicate.Meeting
- func DescriptionNEQ(v string) predicate.Meeting
- func DescriptionNotIn(vs ...string) predicate.Meeting
- func DescriptionNotNil() predicate.Meeting
- func EndsAt(v time.Time) predicate.Meeting
- func EndsAtEQ(v time.Time) predicate.Meeting
- func EndsAtGT(v time.Time) predicate.Meeting
- func EndsAtGTE(v time.Time) predicate.Meeting
- func EndsAtIn(vs ...time.Time) predicate.Meeting
- func EndsAtLT(v time.Time) predicate.Meeting
- func EndsAtLTE(v time.Time) predicate.Meeting
- func EndsAtNEQ(v time.Time) predicate.Meeting
- func EndsAtNotIn(vs ...time.Time) predicate.Meeting
- func HasOrganizer() predicate.Meeting
- func HasOrganizerWith(preds ...predicate.User) predicate.Meeting
- func HasParticipants() predicate.Meeting
- func HasParticipantsWith(preds ...predicate.User) predicate.Meeting
- func ID(id int) predicate.Meeting
- func IDEQ(id int) predicate.Meeting
- func IDGT(id int) predicate.Meeting
- func IDGTE(id int) predicate.Meeting
- func IDIn(ids ...int) predicate.Meeting
- func IDLT(id int) predicate.Meeting
- func IDLTE(id int) predicate.Meeting
- func IDNEQ(id int) predicate.Meeting
- func IDNotIn(ids ...int) predicate.Meeting
- func Not(p predicate.Meeting) predicate.Meeting
- func Or(predicates ...predicate.Meeting) predicate.Meeting
- func StartsAt(v time.Time) predicate.Meeting
- func StartsAtEQ(v time.Time) predicate.Meeting
- func StartsAtGT(v time.Time) predicate.Meeting
- func StartsAtGTE(v time.Time) predicate.Meeting
- func StartsAtIn(vs ...time.Time) predicate.Meeting
- func StartsAtLT(v time.Time) predicate.Meeting
- func StartsAtLTE(v time.Time) predicate.Meeting
- func StartsAtNEQ(v time.Time) predicate.Meeting
- func StartsAtNotIn(vs ...time.Time) predicate.Meeting
- func Title(v string) predicate.Meeting
- func TitleContains(v string) predicate.Meeting
- func TitleContainsFold(v string) predicate.Meeting
- func TitleEQ(v string) predicate.Meeting
- func TitleEqualFold(v string) predicate.Meeting
- func TitleGT(v string) predicate.Meeting
- func TitleGTE(v string) predicate.Meeting
- func TitleHasPrefix(v string) predicate.Meeting
- func TitleHasSuffix(v string) predicate.Meeting
- func TitleIn(vs ...string) predicate.Meeting
- func TitleLT(v string) predicate.Meeting
- func TitleLTE(v string) predicate.Meeting
- func TitleNEQ(v string) predicate.Meeting
- func TitleNotIn(vs ...string) predicate.Meeting
- func UpdateTime(v time.Time) predicate.Meeting
- func UpdateTimeEQ(v time.Time) predicate.Meeting
- func UpdateTimeGT(v time.Time) predicate.Meeting
- func UpdateTimeGTE(v time.Time) predicate.Meeting
- func UpdateTimeIn(vs ...time.Time) predicate.Meeting
- func UpdateTimeLT(v time.Time) predicate.Meeting
- func UpdateTimeLTE(v time.Time) predicate.Meeting
- func UpdateTimeNEQ(v time.Time) predicate.Meeting
- func UpdateTimeNotIn(vs ...time.Time) predicate.Meeting
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the meeting type in the database. Label = "meeting" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldStartsAt holds the string denoting the starts_at field in the database. FieldStartsAt = "starts_at" // FieldEndsAt holds the string denoting the ends_at field in the database. FieldEndsAt = "ends_at" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // EdgeOrganizer holds the string denoting the organizer edge name in mutations. EdgeOrganizer = "organizer" // EdgeParticipants holds the string denoting the participants edge name in mutations. EdgeParticipants = "participants" // Table holds the table name of the meeting in the database. Table = "meetings" // OrganizerTable is the table that holds the organizer relation/edge. OrganizerTable = "meetings" // OrganizerInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. OrganizerInverseTable = "users" // OrganizerColumn is the table column denoting the organizer relation/edge. OrganizerColumn = "user_organizes" // ParticipantsTable is the table that holds the participants relation/edge. The primary key declared below. ParticipantsTable = "user_meetings" // ParticipantsInverseTable is the table name for the User entity. // It exists in this package in order to avoid circular dependency with the "user" package. ParticipantsInverseTable = "users" )
Variables ¶
var ( // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time // TitleValidator is a validator for the "title" field. It is called by the builders before save. TitleValidator func(string) error )
var Columns = []string{ FieldID, FieldCreateTime, FieldUpdateTime, FieldTitle, FieldStartsAt, FieldEndsAt, FieldDescription, }
Columns holds all SQL columns for meeting fields.
var ForeignKeys = []string{
"user_organizes",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "meetings" table and are not defined as standalone fields in the schema.
var ( // ParticipantsPrimaryKey and ParticipantsColumn2 are the table columns denoting the // primary key for the participants relation (M2M). ParticipantsPrimaryKey = []string{"user_id", "meeting_id"} )
Functions ¶
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
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 EndsAt ¶
EndsAt applies equality check predicate on the "ends_at" field. It's identical to EndsAtEQ.
func EndsAtNotIn ¶
EndsAtNotIn applies the NotIn predicate on the "ends_at" field.
func HasOrganizer ¶
HasOrganizer applies the HasEdge predicate on the "organizer" edge.
func HasOrganizerWith ¶
HasOrganizerWith applies the HasEdge predicate on the "organizer" edge with a given conditions (other predicates).
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 StartsAt ¶
StartsAt applies equality check predicate on the "starts_at" field. It's identical to StartsAtEQ.
func StartsAtEQ ¶
StartsAtEQ applies the EQ predicate on the "starts_at" field.
func StartsAtGT ¶
StartsAtGT applies the GT predicate on the "starts_at" field.
func StartsAtGTE ¶
StartsAtGTE applies the GTE predicate on the "starts_at" field.
func StartsAtIn ¶
StartsAtIn applies the In predicate on the "starts_at" field.
func StartsAtLT ¶
StartsAtLT applies the LT predicate on the "starts_at" field.
func StartsAtLTE ¶
StartsAtLTE applies the LTE predicate on the "starts_at" field.
func StartsAtNEQ ¶
StartsAtNEQ applies the NEQ predicate on the "starts_at" field.
func StartsAtNotIn ¶
StartsAtNotIn applies the NotIn predicate on the "starts_at" field.
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 UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.