Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Rent591HomeSurrounding) predicate.Rent591HomeSurrounding
- func CreatedAt(v time.Time) predicate.Rent591HomeSurrounding
- func CreatedAtEQ(v time.Time) predicate.Rent591HomeSurrounding
- func CreatedAtGT(v time.Time) predicate.Rent591HomeSurrounding
- func CreatedAtGTE(v time.Time) predicate.Rent591HomeSurrounding
- func CreatedAtIn(vs ...time.Time) predicate.Rent591HomeSurrounding
- func CreatedAtLT(v time.Time) predicate.Rent591HomeSurrounding
- func CreatedAtLTE(v time.Time) predicate.Rent591HomeSurrounding
- func CreatedAtNEQ(v time.Time) predicate.Rent591HomeSurrounding
- func CreatedAtNotIn(vs ...time.Time) predicate.Rent591HomeSurrounding
- func Desc(v string) predicate.Rent591HomeSurrounding
- func DescContains(v string) predicate.Rent591HomeSurrounding
- func DescContainsFold(v string) predicate.Rent591HomeSurrounding
- func DescEQ(v string) predicate.Rent591HomeSurrounding
- func DescEqualFold(v string) predicate.Rent591HomeSurrounding
- func DescGT(v string) predicate.Rent591HomeSurrounding
- func DescGTE(v string) predicate.Rent591HomeSurrounding
- func DescHasPrefix(v string) predicate.Rent591HomeSurrounding
- func DescHasSuffix(v string) predicate.Rent591HomeSurrounding
- func DescIn(vs ...string) predicate.Rent591HomeSurrounding
- func DescLT(v string) predicate.Rent591HomeSurrounding
- func DescLTE(v string) predicate.Rent591HomeSurrounding
- func DescNEQ(v string) predicate.Rent591HomeSurrounding
- func DescNotIn(vs ...string) predicate.Rent591HomeSurrounding
- func Distance(v string) predicate.Rent591HomeSurrounding
- func DistanceContains(v string) predicate.Rent591HomeSurrounding
- func DistanceContainsFold(v string) predicate.Rent591HomeSurrounding
- func DistanceEQ(v string) predicate.Rent591HomeSurrounding
- func DistanceEqualFold(v string) predicate.Rent591HomeSurrounding
- func DistanceGT(v string) predicate.Rent591HomeSurrounding
- func DistanceGTE(v string) predicate.Rent591HomeSurrounding
- func DistanceHasPrefix(v string) predicate.Rent591HomeSurrounding
- func DistanceHasSuffix(v string) predicate.Rent591HomeSurrounding
- func DistanceIn(vs ...string) predicate.Rent591HomeSurrounding
- func DistanceLT(v string) predicate.Rent591HomeSurrounding
- func DistanceLTE(v string) predicate.Rent591HomeSurrounding
- func DistanceNEQ(v string) predicate.Rent591HomeSurrounding
- func DistanceNotIn(vs ...string) predicate.Rent591HomeSurrounding
- func HasRent591homes() predicate.Rent591HomeSurrounding
- func HasRent591homesWith(preds ...predicate.Rent591Home) predicate.Rent591HomeSurrounding
- func ID(id int) predicate.Rent591HomeSurrounding
- func IDEQ(id int) predicate.Rent591HomeSurrounding
- func IDGT(id int) predicate.Rent591HomeSurrounding
- func IDGTE(id int) predicate.Rent591HomeSurrounding
- func IDIn(ids ...int) predicate.Rent591HomeSurrounding
- func IDLT(id int) predicate.Rent591HomeSurrounding
- func IDLTE(id int) predicate.Rent591HomeSurrounding
- func IDNEQ(id int) predicate.Rent591HomeSurrounding
- func IDNotIn(ids ...int) predicate.Rent591HomeSurrounding
- func Not(p predicate.Rent591HomeSurrounding) predicate.Rent591HomeSurrounding
- func Or(predicates ...predicate.Rent591HomeSurrounding) predicate.Rent591HomeSurrounding
- func Type(v string) predicate.Rent591HomeSurrounding
- func TypeContains(v string) predicate.Rent591HomeSurrounding
- func TypeContainsFold(v string) predicate.Rent591HomeSurrounding
- func TypeEQ(v string) predicate.Rent591HomeSurrounding
- func TypeEqualFold(v string) predicate.Rent591HomeSurrounding
- func TypeGT(v string) predicate.Rent591HomeSurrounding
- func TypeGTE(v string) predicate.Rent591HomeSurrounding
- func TypeHasPrefix(v string) predicate.Rent591HomeSurrounding
- func TypeHasSuffix(v string) predicate.Rent591HomeSurrounding
- func TypeIn(vs ...string) predicate.Rent591HomeSurrounding
- func TypeLT(v string) predicate.Rent591HomeSurrounding
- func TypeLTE(v string) predicate.Rent591HomeSurrounding
- func TypeNEQ(v string) predicate.Rent591HomeSurrounding
- func TypeNotIn(vs ...string) predicate.Rent591HomeSurrounding
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDesc(opts ...sql.OrderTermOption) OrderOption
- func ByDistance(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByRent591homesField(field string, opts ...sql.OrderTermOption) OrderOption
- func ByType(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the rent591homesurrounding type in the database. Label = "rent591home_surrounding" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldDesc holds the string denoting the desc field in the database. FieldDesc = "desc" // FieldDistance holds the string denoting the distance field in the database. FieldDistance = "distance" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeRent591homes holds the string denoting the rent591homes edge name in mutations. EdgeRent591homes = "rent591homes" // Table holds the table name of the rent591homesurrounding in the database. Table = "rent591home_surroundings" // Rent591homesTable is the table that holds the rent591homes relation/edge. Rent591homesTable = "rent591home_surroundings" // Rent591homesInverseTable is the table name for the Rent591Home entity. // It exists in this package in order to avoid circular dependency with the "rent591home" package. Rent591homesInverseTable = "rent591homes" // Rent591homesColumn is the table column denoting the rent591homes relation/edge. Rent591homesColumn = "rent591home_rent591home_surroundings" )
Variables ¶
var Columns = []string{ FieldID, FieldType, FieldDesc, FieldDistance, FieldCreatedAt, }
Columns holds all SQL columns for rent591homesurrounding fields.
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var ForeignKeys = []string{
"rent591home_rent591home_surroundings",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "rent591home_surroundings" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.Rent591HomeSurrounding) predicate.Rent591HomeSurrounding
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.Rent591HomeSurrounding
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.Rent591HomeSurrounding
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.Rent591HomeSurrounding
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.Rent591HomeSurrounding
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.Rent591HomeSurrounding
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.Rent591HomeSurrounding
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.Rent591HomeSurrounding
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.Rent591HomeSurrounding
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.Rent591HomeSurrounding
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func Desc ¶
func Desc(v string) predicate.Rent591HomeSurrounding
Desc applies equality check predicate on the "desc" field. It's identical to DescEQ.
func DescContains ¶
func DescContains(v string) predicate.Rent591HomeSurrounding
DescContains applies the Contains predicate on the "desc" field.
func DescContainsFold ¶
func DescContainsFold(v string) predicate.Rent591HomeSurrounding
DescContainsFold applies the ContainsFold predicate on the "desc" field.
func DescEQ ¶
func DescEQ(v string) predicate.Rent591HomeSurrounding
DescEQ applies the EQ predicate on the "desc" field.
func DescEqualFold ¶
func DescEqualFold(v string) predicate.Rent591HomeSurrounding
DescEqualFold applies the EqualFold predicate on the "desc" field.
func DescGT ¶
func DescGT(v string) predicate.Rent591HomeSurrounding
DescGT applies the GT predicate on the "desc" field.
func DescGTE ¶
func DescGTE(v string) predicate.Rent591HomeSurrounding
DescGTE applies the GTE predicate on the "desc" field.
func DescHasPrefix ¶
func DescHasPrefix(v string) predicate.Rent591HomeSurrounding
DescHasPrefix applies the HasPrefix predicate on the "desc" field.
func DescHasSuffix ¶
func DescHasSuffix(v string) predicate.Rent591HomeSurrounding
DescHasSuffix applies the HasSuffix predicate on the "desc" field.
func DescIn ¶
func DescIn(vs ...string) predicate.Rent591HomeSurrounding
DescIn applies the In predicate on the "desc" field.
func DescLT ¶
func DescLT(v string) predicate.Rent591HomeSurrounding
DescLT applies the LT predicate on the "desc" field.
func DescLTE ¶
func DescLTE(v string) predicate.Rent591HomeSurrounding
DescLTE applies the LTE predicate on the "desc" field.
func DescNEQ ¶
func DescNEQ(v string) predicate.Rent591HomeSurrounding
DescNEQ applies the NEQ predicate on the "desc" field.
func DescNotIn ¶
func DescNotIn(vs ...string) predicate.Rent591HomeSurrounding
DescNotIn applies the NotIn predicate on the "desc" field.
func Distance ¶
func Distance(v string) predicate.Rent591HomeSurrounding
Distance applies equality check predicate on the "distance" field. It's identical to DistanceEQ.
func DistanceContains ¶
func DistanceContains(v string) predicate.Rent591HomeSurrounding
DistanceContains applies the Contains predicate on the "distance" field.
func DistanceContainsFold ¶
func DistanceContainsFold(v string) predicate.Rent591HomeSurrounding
DistanceContainsFold applies the ContainsFold predicate on the "distance" field.
func DistanceEQ ¶
func DistanceEQ(v string) predicate.Rent591HomeSurrounding
DistanceEQ applies the EQ predicate on the "distance" field.
func DistanceEqualFold ¶
func DistanceEqualFold(v string) predicate.Rent591HomeSurrounding
DistanceEqualFold applies the EqualFold predicate on the "distance" field.
func DistanceGT ¶
func DistanceGT(v string) predicate.Rent591HomeSurrounding
DistanceGT applies the GT predicate on the "distance" field.
func DistanceGTE ¶
func DistanceGTE(v string) predicate.Rent591HomeSurrounding
DistanceGTE applies the GTE predicate on the "distance" field.
func DistanceHasPrefix ¶
func DistanceHasPrefix(v string) predicate.Rent591HomeSurrounding
DistanceHasPrefix applies the HasPrefix predicate on the "distance" field.
func DistanceHasSuffix ¶
func DistanceHasSuffix(v string) predicate.Rent591HomeSurrounding
DistanceHasSuffix applies the HasSuffix predicate on the "distance" field.
func DistanceIn ¶
func DistanceIn(vs ...string) predicate.Rent591HomeSurrounding
DistanceIn applies the In predicate on the "distance" field.
func DistanceLT ¶
func DistanceLT(v string) predicate.Rent591HomeSurrounding
DistanceLT applies the LT predicate on the "distance" field.
func DistanceLTE ¶
func DistanceLTE(v string) predicate.Rent591HomeSurrounding
DistanceLTE applies the LTE predicate on the "distance" field.
func DistanceNEQ ¶
func DistanceNEQ(v string) predicate.Rent591HomeSurrounding
DistanceNEQ applies the NEQ predicate on the "distance" field.
func DistanceNotIn ¶
func DistanceNotIn(vs ...string) predicate.Rent591HomeSurrounding
DistanceNotIn applies the NotIn predicate on the "distance" field.
func HasRent591homes ¶
func HasRent591homes() predicate.Rent591HomeSurrounding
HasRent591homes applies the HasEdge predicate on the "rent591homes" edge.
func HasRent591homesWith ¶
func HasRent591homesWith(preds ...predicate.Rent591Home) predicate.Rent591HomeSurrounding
HasRent591homesWith applies the HasEdge predicate on the "rent591homes" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.Rent591HomeSurrounding
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.Rent591HomeSurrounding
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.Rent591HomeSurrounding
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.Rent591HomeSurrounding
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.Rent591HomeSurrounding
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.Rent591HomeSurrounding
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.Rent591HomeSurrounding
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.Rent591HomeSurrounding
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.Rent591HomeSurrounding
IDNotIn applies the NotIn predicate on the ID field.
func Or ¶
func Or(predicates ...predicate.Rent591HomeSurrounding) predicate.Rent591HomeSurrounding
Or groups predicates with the OR operator between them.
func Type ¶
func Type(v string) predicate.Rent591HomeSurrounding
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func TypeContains ¶
func TypeContains(v string) predicate.Rent591HomeSurrounding
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
func TypeContainsFold(v string) predicate.Rent591HomeSurrounding
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEQ ¶
func TypeEQ(v string) predicate.Rent591HomeSurrounding
TypeEQ applies the EQ predicate on the "type" field.
func TypeEqualFold ¶
func TypeEqualFold(v string) predicate.Rent591HomeSurrounding
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeGT ¶
func TypeGT(v string) predicate.Rent591HomeSurrounding
TypeGT applies the GT predicate on the "type" field.
func TypeGTE ¶
func TypeGTE(v string) predicate.Rent591HomeSurrounding
TypeGTE applies the GTE predicate on the "type" field.
func TypeHasPrefix ¶
func TypeHasPrefix(v string) predicate.Rent591HomeSurrounding
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
func TypeHasSuffix(v string) predicate.Rent591HomeSurrounding
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...string) predicate.Rent591HomeSurrounding
TypeIn applies the In predicate on the "type" field.
func TypeLT ¶
func TypeLT(v string) predicate.Rent591HomeSurrounding
TypeLT applies the LT predicate on the "type" field.
func TypeLTE ¶
func TypeLTE(v string) predicate.Rent591HomeSurrounding
TypeLTE applies the LTE predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v string) predicate.Rent591HomeSurrounding
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...string) predicate.Rent591HomeSurrounding
TypeNotIn applies the NotIn predicate on the "type" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Rent591HomeSurrounding queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDesc ¶
func ByDesc(opts ...sql.OrderTermOption) OrderOption
ByDesc orders the results by the desc field.
func ByDistance ¶
func ByDistance(opts ...sql.OrderTermOption) OrderOption
ByDistance orders the results by the distance field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByRent591homesField ¶
func ByRent591homesField(field string, opts ...sql.OrderTermOption) OrderOption
ByRent591homesField orders the results by rent591homes field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.