Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.HomeConnection) predicate.HomeConnection
- func EndTime(v string) predicate.HomeConnection
- func EndTimeContains(v string) predicate.HomeConnection
- func EndTimeContainsFold(v string) predicate.HomeConnection
- func EndTimeEQ(v string) predicate.HomeConnection
- func EndTimeEqualFold(v string) predicate.HomeConnection
- func EndTimeGT(v string) predicate.HomeConnection
- func EndTimeGTE(v string) predicate.HomeConnection
- func EndTimeHasPrefix(v string) predicate.HomeConnection
- func EndTimeHasSuffix(v string) predicate.HomeConnection
- func EndTimeIn(vs ...string) predicate.HomeConnection
- func EndTimeLT(v string) predicate.HomeConnection
- func EndTimeLTE(v string) predicate.HomeConnection
- func EndTimeNEQ(v string) predicate.HomeConnection
- func EndTimeNotIn(vs ...string) predicate.HomeConnection
- func HasHome() predicate.HomeConnection
- func HasHomeWith(preds ...predicate.Home) predicate.HomeConnection
- func HasUser() predicate.HomeConnection
- func HasUserWith(preds ...predicate.User) predicate.HomeConnection
- func ID(id int) predicate.HomeConnection
- func IDEQ(id int) predicate.HomeConnection
- func IDGT(id int) predicate.HomeConnection
- func IDGTE(id int) predicate.HomeConnection
- func IDIn(ids ...int) predicate.HomeConnection
- func IDLT(id int) predicate.HomeConnection
- func IDLTE(id int) predicate.HomeConnection
- func IDNEQ(id int) predicate.HomeConnection
- func IDNotIn(ids ...int) predicate.HomeConnection
- func Not(p predicate.HomeConnection) predicate.HomeConnection
- func Or(predicates ...predicate.HomeConnection) predicate.HomeConnection
- func StartTime(v string) predicate.HomeConnection
- func StartTimeContains(v string) predicate.HomeConnection
- func StartTimeContainsFold(v string) predicate.HomeConnection
- func StartTimeEQ(v string) predicate.HomeConnection
- func StartTimeEqualFold(v string) predicate.HomeConnection
- func StartTimeGT(v string) predicate.HomeConnection
- func StartTimeGTE(v string) predicate.HomeConnection
- func StartTimeHasPrefix(v string) predicate.HomeConnection
- func StartTimeHasSuffix(v string) predicate.HomeConnection
- func StartTimeIn(vs ...string) predicate.HomeConnection
- func StartTimeLT(v string) predicate.HomeConnection
- func StartTimeLTE(v string) predicate.HomeConnection
- func StartTimeNEQ(v string) predicate.HomeConnection
- func StartTimeNotIn(vs ...string) predicate.HomeConnection
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the homeconnection type in the database. Label = "home_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" // EdgeHome holds the string denoting the home edge name in mutations. EdgeHome = "home" // Table holds the table name of the homeconnection in the database. Table = "home_connections" // UserTable is the table that holds the user relation/edge. UserTable = "home_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 = "home_connection_user" // HomeTable is the table that holds the home relation/edge. HomeTable = "home_connections" // HomeInverseTable is the table name for the Home entity. // It exists in this package in order to avoid circular dependency with the "home" package. HomeInverseTable = "homes" // HomeColumn is the table column denoting the home relation/edge. HomeColumn = "home_connection_home" )
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 homeconnection fields.
var ForeignKeys = []string{
"home_connection_user",
"home_connection_home",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "home_connections" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.HomeConnection) predicate.HomeConnection
And groups predicates with the AND operator between them.
func EndTime ¶
func EndTime(v string) predicate.HomeConnection
EndTime applies equality check predicate on the "end_time" field. It's identical to EndTimeEQ.
func EndTimeContains ¶
func EndTimeContains(v string) predicate.HomeConnection
EndTimeContains applies the Contains predicate on the "end_time" field.
func EndTimeContainsFold ¶
func EndTimeContainsFold(v string) predicate.HomeConnection
EndTimeContainsFold applies the ContainsFold predicate on the "end_time" field.
func EndTimeEQ ¶
func EndTimeEQ(v string) predicate.HomeConnection
EndTimeEQ applies the EQ predicate on the "end_time" field.
func EndTimeEqualFold ¶
func EndTimeEqualFold(v string) predicate.HomeConnection
EndTimeEqualFold applies the EqualFold predicate on the "end_time" field.
func EndTimeGT ¶
func EndTimeGT(v string) predicate.HomeConnection
EndTimeGT applies the GT predicate on the "end_time" field.
func EndTimeGTE ¶
func EndTimeGTE(v string) predicate.HomeConnection
EndTimeGTE applies the GTE predicate on the "end_time" field.
func EndTimeHasPrefix ¶
func EndTimeHasPrefix(v string) predicate.HomeConnection
EndTimeHasPrefix applies the HasPrefix predicate on the "end_time" field.
func EndTimeHasSuffix ¶
func EndTimeHasSuffix(v string) predicate.HomeConnection
EndTimeHasSuffix applies the HasSuffix predicate on the "end_time" field.
func EndTimeIn ¶
func EndTimeIn(vs ...string) predicate.HomeConnection
EndTimeIn applies the In predicate on the "end_time" field.
func EndTimeLT ¶
func EndTimeLT(v string) predicate.HomeConnection
EndTimeLT applies the LT predicate on the "end_time" field.
func EndTimeLTE ¶
func EndTimeLTE(v string) predicate.HomeConnection
EndTimeLTE applies the LTE predicate on the "end_time" field.
func EndTimeNEQ ¶
func EndTimeNEQ(v string) predicate.HomeConnection
EndTimeNEQ applies the NEQ predicate on the "end_time" field.
func EndTimeNotIn ¶
func EndTimeNotIn(vs ...string) predicate.HomeConnection
EndTimeNotIn applies the NotIn predicate on the "end_time" field.
func HasHome ¶
func HasHome() predicate.HomeConnection
HasHome applies the HasEdge predicate on the "home" edge.
func HasHomeWith ¶
func HasHomeWith(preds ...predicate.Home) predicate.HomeConnection
HasHomeWith applies the HasEdge predicate on the "home" edge with a given conditions (other predicates).
func HasUser ¶
func HasUser() predicate.HomeConnection
HasUser applies the HasEdge predicate on the "user" edge.
func HasUserWith ¶
func HasUserWith(preds ...predicate.User) predicate.HomeConnection
HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.HomeConnection
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.HomeConnection
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.HomeConnection
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.HomeConnection
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.HomeConnection
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.HomeConnection
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.HomeConnection
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.HomeConnection
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.HomeConnection) predicate.HomeConnection
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.HomeConnection) predicate.HomeConnection
Or groups predicates with the OR operator between them.
func StartTime ¶
func StartTime(v string) predicate.HomeConnection
StartTime applies equality check predicate on the "start_time" field. It's identical to StartTimeEQ.
func StartTimeContains ¶
func StartTimeContains(v string) predicate.HomeConnection
StartTimeContains applies the Contains predicate on the "start_time" field.
func StartTimeContainsFold ¶
func StartTimeContainsFold(v string) predicate.HomeConnection
StartTimeContainsFold applies the ContainsFold predicate on the "start_time" field.
func StartTimeEQ ¶
func StartTimeEQ(v string) predicate.HomeConnection
StartTimeEQ applies the EQ predicate on the "start_time" field.
func StartTimeEqualFold ¶
func StartTimeEqualFold(v string) predicate.HomeConnection
StartTimeEqualFold applies the EqualFold predicate on the "start_time" field.
func StartTimeGT ¶
func StartTimeGT(v string) predicate.HomeConnection
StartTimeGT applies the GT predicate on the "start_time" field.
func StartTimeGTE ¶
func StartTimeGTE(v string) predicate.HomeConnection
StartTimeGTE applies the GTE predicate on the "start_time" field.
func StartTimeHasPrefix ¶
func StartTimeHasPrefix(v string) predicate.HomeConnection
StartTimeHasPrefix applies the HasPrefix predicate on the "start_time" field.
func StartTimeHasSuffix ¶
func StartTimeHasSuffix(v string) predicate.HomeConnection
StartTimeHasSuffix applies the HasSuffix predicate on the "start_time" field.
func StartTimeIn ¶
func StartTimeIn(vs ...string) predicate.HomeConnection
StartTimeIn applies the In predicate on the "start_time" field.
func StartTimeLT ¶
func StartTimeLT(v string) predicate.HomeConnection
StartTimeLT applies the LT predicate on the "start_time" field.
func StartTimeLTE ¶
func StartTimeLTE(v string) predicate.HomeConnection
StartTimeLTE applies the LTE predicate on the "start_time" field.
func StartTimeNEQ ¶
func StartTimeNEQ(v string) predicate.HomeConnection
StartTimeNEQ applies the NEQ predicate on the "start_time" field.
func StartTimeNotIn ¶
func StartTimeNotIn(vs ...string) predicate.HomeConnection
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.