Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.RoomConnection) predicate.RoomConnection
- func EndTime(v string) predicate.RoomConnection
- func EndTimeContains(v string) predicate.RoomConnection
- func EndTimeContainsFold(v string) predicate.RoomConnection
- func EndTimeEQ(v string) predicate.RoomConnection
- func EndTimeEqualFold(v string) predicate.RoomConnection
- func EndTimeGT(v string) predicate.RoomConnection
- func EndTimeGTE(v string) predicate.RoomConnection
- func EndTimeHasPrefix(v string) predicate.RoomConnection
- func EndTimeHasSuffix(v string) predicate.RoomConnection
- func EndTimeIn(vs ...string) predicate.RoomConnection
- func EndTimeLT(v string) predicate.RoomConnection
- func EndTimeLTE(v string) predicate.RoomConnection
- func EndTimeNEQ(v string) predicate.RoomConnection
- func EndTimeNotIn(vs ...string) predicate.RoomConnection
- func HasRoom() predicate.RoomConnection
- func HasRoomWith(preds ...predicate.Room) predicate.RoomConnection
- func HasUser() predicate.RoomConnection
- func HasUserWith(preds ...predicate.User) predicate.RoomConnection
- func ID(id int) predicate.RoomConnection
- func IDEQ(id int) predicate.RoomConnection
- func IDGT(id int) predicate.RoomConnection
- func IDGTE(id int) predicate.RoomConnection
- func IDIn(ids ...int) predicate.RoomConnection
- func IDLT(id int) predicate.RoomConnection
- func IDLTE(id int) predicate.RoomConnection
- func IDNEQ(id int) predicate.RoomConnection
- func IDNotIn(ids ...int) predicate.RoomConnection
- func Not(p predicate.RoomConnection) predicate.RoomConnection
- func Or(predicates ...predicate.RoomConnection) predicate.RoomConnection
- func StartTime(v string) predicate.RoomConnection
- func StartTimeContains(v string) predicate.RoomConnection
- func StartTimeContainsFold(v string) predicate.RoomConnection
- func StartTimeEQ(v string) predicate.RoomConnection
- func StartTimeEqualFold(v string) predicate.RoomConnection
- func StartTimeGT(v string) predicate.RoomConnection
- func StartTimeGTE(v string) predicate.RoomConnection
- func StartTimeHasPrefix(v string) predicate.RoomConnection
- func StartTimeHasSuffix(v string) predicate.RoomConnection
- func StartTimeIn(vs ...string) predicate.RoomConnection
- func StartTimeLT(v string) predicate.RoomConnection
- func StartTimeLTE(v string) predicate.RoomConnection
- func StartTimeNEQ(v string) predicate.RoomConnection
- func StartTimeNotIn(vs ...string) predicate.RoomConnection
- func ValidColumn(column string) bool
Constants ¶
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 ¶
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 )
var Columns = []string{ FieldID, FieldStartTime, FieldEndTime, }
Columns holds all SQL columns for roomconnection fields.
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 ¶
func And(predicates ...predicate.RoomConnection) predicate.RoomConnection
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 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 ¶
func Not(p predicate.RoomConnection) predicate.RoomConnection
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.RoomConnection) predicate.RoomConnection
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 ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.