meeting

package
v0.0.0-...-eef0f43 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

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

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

Columns holds all SQL columns for meeting fields.

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

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

func And(predicates ...predicate.Meeting) predicate.Meeting

And groups predicates with the AND operator between them.

func CreateTime

func CreateTime(v time.Time) predicate.Meeting

CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.

func CreateTimeEQ

func CreateTimeEQ(v time.Time) predicate.Meeting

CreateTimeEQ applies the EQ predicate on the "create_time" field.

func CreateTimeGT

func CreateTimeGT(v time.Time) predicate.Meeting

CreateTimeGT applies the GT predicate on the "create_time" field.

func CreateTimeGTE

func CreateTimeGTE(v time.Time) predicate.Meeting

CreateTimeGTE applies the GTE predicate on the "create_time" field.

func CreateTimeIn

func CreateTimeIn(vs ...time.Time) predicate.Meeting

CreateTimeIn applies the In predicate on the "create_time" field.

func CreateTimeLT

func CreateTimeLT(v time.Time) predicate.Meeting

CreateTimeLT applies the LT predicate on the "create_time" field.

func CreateTimeLTE

func CreateTimeLTE(v time.Time) predicate.Meeting

CreateTimeLTE applies the LTE predicate on the "create_time" field.

func CreateTimeNEQ

func CreateTimeNEQ(v time.Time) predicate.Meeting

CreateTimeNEQ applies the NEQ predicate on the "create_time" field.

func CreateTimeNotIn

func CreateTimeNotIn(vs ...time.Time) predicate.Meeting

CreateTimeNotIn applies the NotIn predicate on the "create_time" field.

func Description

func Description(v string) predicate.Meeting

Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.

func DescriptionContains

func DescriptionContains(v string) predicate.Meeting

DescriptionContains applies the Contains predicate on the "description" field.

func DescriptionContainsFold

func DescriptionContainsFold(v string) predicate.Meeting

DescriptionContainsFold applies the ContainsFold predicate on the "description" field.

func DescriptionEQ

func DescriptionEQ(v string) predicate.Meeting

DescriptionEQ applies the EQ predicate on the "description" field.

func DescriptionEqualFold

func DescriptionEqualFold(v string) predicate.Meeting

DescriptionEqualFold applies the EqualFold predicate on the "description" field.

func DescriptionGT

func DescriptionGT(v string) predicate.Meeting

DescriptionGT applies the GT predicate on the "description" field.

func DescriptionGTE

func DescriptionGTE(v string) predicate.Meeting

DescriptionGTE applies the GTE predicate on the "description" field.

func DescriptionHasPrefix

func DescriptionHasPrefix(v string) predicate.Meeting

DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.

func DescriptionHasSuffix

func DescriptionHasSuffix(v string) predicate.Meeting

DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.

func DescriptionIn

func DescriptionIn(vs ...string) predicate.Meeting

DescriptionIn applies the In predicate on the "description" field.

func DescriptionIsNil

func DescriptionIsNil() predicate.Meeting

DescriptionIsNil applies the IsNil predicate on the "description" field.

func DescriptionLT

func DescriptionLT(v string) predicate.Meeting

DescriptionLT applies the LT predicate on the "description" field.

func DescriptionLTE

func DescriptionLTE(v string) predicate.Meeting

DescriptionLTE applies the LTE predicate on the "description" field.

func DescriptionNEQ

func DescriptionNEQ(v string) predicate.Meeting

DescriptionNEQ applies the NEQ predicate on the "description" field.

func DescriptionNotIn

func DescriptionNotIn(vs ...string) predicate.Meeting

DescriptionNotIn applies the NotIn predicate on the "description" field.

func DescriptionNotNil

func DescriptionNotNil() predicate.Meeting

DescriptionNotNil applies the NotNil predicate on the "description" field.

func EndsAt

func EndsAt(v time.Time) predicate.Meeting

EndsAt applies equality check predicate on the "ends_at" field. It's identical to EndsAtEQ.

func EndsAtEQ

func EndsAtEQ(v time.Time) predicate.Meeting

EndsAtEQ applies the EQ predicate on the "ends_at" field.

func EndsAtGT

func EndsAtGT(v time.Time) predicate.Meeting

EndsAtGT applies the GT predicate on the "ends_at" field.

func EndsAtGTE

func EndsAtGTE(v time.Time) predicate.Meeting

EndsAtGTE applies the GTE predicate on the "ends_at" field.

func EndsAtIn

func EndsAtIn(vs ...time.Time) predicate.Meeting

EndsAtIn applies the In predicate on the "ends_at" field.

func EndsAtLT

func EndsAtLT(v time.Time) predicate.Meeting

EndsAtLT applies the LT predicate on the "ends_at" field.

func EndsAtLTE

func EndsAtLTE(v time.Time) predicate.Meeting

EndsAtLTE applies the LTE predicate on the "ends_at" field.

func EndsAtNEQ

func EndsAtNEQ(v time.Time) predicate.Meeting

EndsAtNEQ applies the NEQ predicate on the "ends_at" field.

func EndsAtNotIn

func EndsAtNotIn(vs ...time.Time) predicate.Meeting

EndsAtNotIn applies the NotIn predicate on the "ends_at" field.

func HasOrganizer

func HasOrganizer() predicate.Meeting

HasOrganizer applies the HasEdge predicate on the "organizer" edge.

func HasOrganizerWith

func HasOrganizerWith(preds ...predicate.User) predicate.Meeting

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

func HasParticipants

func HasParticipants() predicate.Meeting

HasParticipants applies the HasEdge predicate on the "participants" edge.

func HasParticipantsWith

func HasParticipantsWith(preds ...predicate.User) predicate.Meeting

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

func ID

func ID(id int) predicate.Meeting

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.Meeting

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Meeting

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Meeting

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Meeting

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Meeting

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Meeting

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

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.Meeting) predicate.Meeting

Or groups predicates with the OR operator between them.

func StartsAt

func StartsAt(v time.Time) predicate.Meeting

StartsAt applies equality check predicate on the "starts_at" field. It's identical to StartsAtEQ.

func StartsAtEQ

func StartsAtEQ(v time.Time) predicate.Meeting

StartsAtEQ applies the EQ predicate on the "starts_at" field.

func StartsAtGT

func StartsAtGT(v time.Time) predicate.Meeting

StartsAtGT applies the GT predicate on the "starts_at" field.

func StartsAtGTE

func StartsAtGTE(v time.Time) predicate.Meeting

StartsAtGTE applies the GTE predicate on the "starts_at" field.

func StartsAtIn

func StartsAtIn(vs ...time.Time) predicate.Meeting

StartsAtIn applies the In predicate on the "starts_at" field.

func StartsAtLT

func StartsAtLT(v time.Time) predicate.Meeting

StartsAtLT applies the LT predicate on the "starts_at" field.

func StartsAtLTE

func StartsAtLTE(v time.Time) predicate.Meeting

StartsAtLTE applies the LTE predicate on the "starts_at" field.

func StartsAtNEQ

func StartsAtNEQ(v time.Time) predicate.Meeting

StartsAtNEQ applies the NEQ predicate on the "starts_at" field.

func StartsAtNotIn

func StartsAtNotIn(vs ...time.Time) predicate.Meeting

StartsAtNotIn applies the NotIn predicate on the "starts_at" field.

func Title

func Title(v string) predicate.Meeting

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.Meeting

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.Meeting

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.Meeting

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.Meeting

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.Meeting

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.Meeting

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Meeting

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Meeting

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

func TitleIn(vs ...string) predicate.Meeting

TitleIn applies the In predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.Meeting

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.Meeting

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.Meeting

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

func TitleNotIn(vs ...string) predicate.Meeting

TitleNotIn applies the NotIn predicate on the "title" field.

func UpdateTime

func UpdateTime(v time.Time) predicate.Meeting

UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.

func UpdateTimeEQ

func UpdateTimeEQ(v time.Time) predicate.Meeting

UpdateTimeEQ applies the EQ predicate on the "update_time" field.

func UpdateTimeGT

func UpdateTimeGT(v time.Time) predicate.Meeting

UpdateTimeGT applies the GT predicate on the "update_time" field.

func UpdateTimeGTE

func UpdateTimeGTE(v time.Time) predicate.Meeting

UpdateTimeGTE applies the GTE predicate on the "update_time" field.

func UpdateTimeIn

func UpdateTimeIn(vs ...time.Time) predicate.Meeting

UpdateTimeIn applies the In predicate on the "update_time" field.

func UpdateTimeLT

func UpdateTimeLT(v time.Time) predicate.Meeting

UpdateTimeLT applies the LT predicate on the "update_time" field.

func UpdateTimeLTE

func UpdateTimeLTE(v time.Time) predicate.Meeting

UpdateTimeLTE applies the LTE predicate on the "update_time" field.

func UpdateTimeNEQ

func UpdateTimeNEQ(v time.Time) predicate.Meeting

UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.

func UpdateTimeNotIn

func UpdateTimeNotIn(vs ...time.Time) predicate.Meeting

UpdateTimeNotIn applies the NotIn predicate on the "update_time" 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