rent591homesurrounding

package
v0.0.0-...-8064f01 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for rent591homesurrounding fields.

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
)
View Source
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

And groups predicates with the AND operator between them.

func CreatedAt

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

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

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

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

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

DescGT applies the GT predicate on the "desc" field.

func DescGTE

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

DescIn applies the In predicate on the "desc" field.

func DescLT

DescLT applies the LT predicate on the "desc" field.

func DescLTE

DescLTE applies the LTE predicate on the "desc" field.

func DescNEQ

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

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

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

DistanceGT applies the GT predicate on the "distance" field.

func DistanceGTE

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

DistanceLT applies the LT predicate on the "distance" field.

func DistanceLTE

DistanceLTE applies the LTE predicate on the "distance" field.

func DistanceNEQ

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

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

IDGTE applies the GTE predicate on the ID field.

func IDIn

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

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 Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

func Type

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

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

TypeGT applies the GT predicate on the "type" field.

func TypeGTE

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

TypeIn applies the In predicate on the "type" field.

func TypeLT

TypeLT applies the LT predicate on the "type" field.

func TypeLTE

TypeLTE applies the LTE predicate on the "type" field.

func TypeNEQ

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

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type OrderOption

type OrderOption func(*sql.Selector)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL