roomconnection

package
v0.0.0-...-2ed13ab Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the roomconnection type in the database.
	Label = "room_connection"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldStartTime holds the string denoting the start_time field in the database.
	FieldStartTime = "start_time"
	// FieldEndTime holds the string denoting the end_time field in the database.
	FieldEndTime = "end_time"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeRoom holds the string denoting the room edge name in mutations.
	EdgeRoom = "room"
	// Table holds the table name of the roomconnection in the database.
	Table = "room_connections"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "room_connections"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "room_connection_user"
	// RoomTable is the table that holds the room relation/edge.
	RoomTable = "room_connections"
	// RoomInverseTable is the table name for the Room entity.
	// It exists in this package in order to avoid circular dependency with the "room" package.
	RoomInverseTable = "rooms"
	// RoomColumn is the table column denoting the room relation/edge.
	RoomColumn = "room_connection_room"
)

Variables

View Source
var (
	// DefaultStartTime holds the default value on creation for the "start_time" field.
	DefaultStartTime string
	// DefaultEndTime holds the default value on creation for the "end_time" field.
	DefaultEndTime string
)

Columns holds all SQL columns for roomconnection fields.

View Source
var ForeignKeys = []string{
	"room_connection_user",
	"room_connection_room",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "room_connections" table and are not defined as standalone fields in the schema.

Functions

func And

And groups predicates with the AND operator between them.

func EndTime

func EndTime(v string) predicate.RoomConnection

EndTime applies equality check predicate on the "end_time" field. It's identical to EndTimeEQ.

func EndTimeContains

func EndTimeContains(v string) predicate.RoomConnection

EndTimeContains applies the Contains predicate on the "end_time" field.

func EndTimeContainsFold

func EndTimeContainsFold(v string) predicate.RoomConnection

EndTimeContainsFold applies the ContainsFold predicate on the "end_time" field.

func EndTimeEQ

func EndTimeEQ(v string) predicate.RoomConnection

EndTimeEQ applies the EQ predicate on the "end_time" field.

func EndTimeEqualFold

func EndTimeEqualFold(v string) predicate.RoomConnection

EndTimeEqualFold applies the EqualFold predicate on the "end_time" field.

func EndTimeGT

func EndTimeGT(v string) predicate.RoomConnection

EndTimeGT applies the GT predicate on the "end_time" field.

func EndTimeGTE

func EndTimeGTE(v string) predicate.RoomConnection

EndTimeGTE applies the GTE predicate on the "end_time" field.

func EndTimeHasPrefix

func EndTimeHasPrefix(v string) predicate.RoomConnection

EndTimeHasPrefix applies the HasPrefix predicate on the "end_time" field.

func EndTimeHasSuffix

func EndTimeHasSuffix(v string) predicate.RoomConnection

EndTimeHasSuffix applies the HasSuffix predicate on the "end_time" field.

func EndTimeIn

func EndTimeIn(vs ...string) predicate.RoomConnection

EndTimeIn applies the In predicate on the "end_time" field.

func EndTimeLT

func EndTimeLT(v string) predicate.RoomConnection

EndTimeLT applies the LT predicate on the "end_time" field.

func EndTimeLTE

func EndTimeLTE(v string) predicate.RoomConnection

EndTimeLTE applies the LTE predicate on the "end_time" field.

func EndTimeNEQ

func EndTimeNEQ(v string) predicate.RoomConnection

EndTimeNEQ applies the NEQ predicate on the "end_time" field.

func EndTimeNotIn

func EndTimeNotIn(vs ...string) predicate.RoomConnection

EndTimeNotIn applies the NotIn predicate on the "end_time" field.

func HasRoom

func HasRoom() predicate.RoomConnection

HasRoom applies the HasEdge predicate on the "room" edge.

func HasRoomWith

func HasRoomWith(preds ...predicate.Room) predicate.RoomConnection

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

func HasUser

func HasUser() predicate.RoomConnection

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.RoomConnection

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.RoomConnection

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.RoomConnection

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.RoomConnection

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.RoomConnection

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.RoomConnection

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.RoomConnection

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func StartTime

func StartTime(v string) predicate.RoomConnection

StartTime applies equality check predicate on the "start_time" field. It's identical to StartTimeEQ.

func StartTimeContains

func StartTimeContains(v string) predicate.RoomConnection

StartTimeContains applies the Contains predicate on the "start_time" field.

func StartTimeContainsFold

func StartTimeContainsFold(v string) predicate.RoomConnection

StartTimeContainsFold applies the ContainsFold predicate on the "start_time" field.

func StartTimeEQ

func StartTimeEQ(v string) predicate.RoomConnection

StartTimeEQ applies the EQ predicate on the "start_time" field.

func StartTimeEqualFold

func StartTimeEqualFold(v string) predicate.RoomConnection

StartTimeEqualFold applies the EqualFold predicate on the "start_time" field.

func StartTimeGT

func StartTimeGT(v string) predicate.RoomConnection

StartTimeGT applies the GT predicate on the "start_time" field.

func StartTimeGTE

func StartTimeGTE(v string) predicate.RoomConnection

StartTimeGTE applies the GTE predicate on the "start_time" field.

func StartTimeHasPrefix

func StartTimeHasPrefix(v string) predicate.RoomConnection

StartTimeHasPrefix applies the HasPrefix predicate on the "start_time" field.

func StartTimeHasSuffix

func StartTimeHasSuffix(v string) predicate.RoomConnection

StartTimeHasSuffix applies the HasSuffix predicate on the "start_time" field.

func StartTimeIn

func StartTimeIn(vs ...string) predicate.RoomConnection

StartTimeIn applies the In predicate on the "start_time" field.

func StartTimeLT

func StartTimeLT(v string) predicate.RoomConnection

StartTimeLT applies the LT predicate on the "start_time" field.

func StartTimeLTE

func StartTimeLTE(v string) predicate.RoomConnection

StartTimeLTE applies the LTE predicate on the "start_time" field.

func StartTimeNEQ

func StartTimeNEQ(v string) predicate.RoomConnection

StartTimeNEQ applies the NEQ predicate on the "start_time" field.

func StartTimeNotIn

func StartTimeNotIn(vs ...string) predicate.RoomConnection

StartTimeNotIn applies the NotIn predicate on the "start_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