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