rent591hometag

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 rent591hometag type in the database.
	Label = "rent591home_tag"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldName holds the string denoting the name field in the database.
	FieldName = "name"
	// 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 rent591hometag in the database.
	Table = "rent591home_tags"
	// Rent591homesTable is the table that holds the rent591homes relation/edge. The primary key declared below.
	Rent591homesTable = "rent591home_tag_rent591homes"
	// 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"
)

Variables

Columns holds all SQL columns for rent591hometag fields.

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
)
View Source
var (
	// Rent591homesPrimaryKey and Rent591homesColumn2 are the table columns denoting the
	// primary key for the rent591homes relation (M2M).
	Rent591homesPrimaryKey = []string{"rent591home_tag_id", "rent591home_id"}
)

Functions

func And

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.Rent591HomeTag

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Rent591HomeTag

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Rent591HomeTag

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Rent591HomeTag

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Rent591HomeTag

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Rent591HomeTag

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Rent591HomeTag

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Rent591HomeTag

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Rent591HomeTag

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func HasRent591homes

func HasRent591homes() predicate.Rent591HomeTag

HasRent591homes applies the HasEdge predicate on the "rent591homes" edge.

func HasRent591homesWith

func HasRent591homesWith(preds ...predicate.Rent591Home) predicate.Rent591HomeTag

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

func IDEQ(id int) predicate.Rent591HomeTag

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.Rent591HomeTag

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.Rent591HomeTag

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.Rent591HomeTag

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.Rent591HomeTag

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.Rent591HomeTag

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.Rent591HomeTag

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.Rent591HomeTag

IDNotIn applies the NotIn predicate on the ID field.

func Name

Name applies equality check predicate on the "name" field. It's identical to NameEQ.

func NameContains

func NameContains(v string) predicate.Rent591HomeTag

NameContains applies the Contains predicate on the "name" field.

func NameContainsFold

func NameContainsFold(v string) predicate.Rent591HomeTag

NameContainsFold applies the ContainsFold predicate on the "name" field.

func NameEQ

NameEQ applies the EQ predicate on the "name" field.

func NameEqualFold

func NameEqualFold(v string) predicate.Rent591HomeTag

NameEqualFold applies the EqualFold predicate on the "name" field.

func NameGT

NameGT applies the GT predicate on the "name" field.

func NameGTE

func NameGTE(v string) predicate.Rent591HomeTag

NameGTE applies the GTE predicate on the "name" field.

func NameHasPrefix

func NameHasPrefix(v string) predicate.Rent591HomeTag

NameHasPrefix applies the HasPrefix predicate on the "name" field.

func NameHasSuffix

func NameHasSuffix(v string) predicate.Rent591HomeTag

NameHasSuffix applies the HasSuffix predicate on the "name" field.

func NameIn

func NameIn(vs ...string) predicate.Rent591HomeTag

NameIn applies the In predicate on the "name" field.

func NameLT

NameLT applies the LT predicate on the "name" field.

func NameLTE

func NameLTE(v string) predicate.Rent591HomeTag

NameLTE applies the LTE predicate on the "name" field.

func NameNEQ

func NameNEQ(v string) predicate.Rent591HomeTag

NameNEQ applies the NEQ predicate on the "name" field.

func NameNotIn

func NameNotIn(vs ...string) predicate.Rent591HomeTag

NameNotIn applies the NotIn predicate on the "name" field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

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 Rent591HomeTag queries.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByName

func ByName(opts ...sql.OrderTermOption) OrderOption

ByName orders the results by the name field.

func ByRent591homes

func ByRent591homes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByRent591homes orders the results by rent591homes terms.

func ByRent591homesCount

func ByRent591homesCount(opts ...sql.OrderTermOption) OrderOption

ByRent591homesCount orders the results by rent591homes count.

Jump to

Keyboard shortcuts

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