Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Rent591HomeTag) predicate.Rent591HomeTag
- func CreatedAt(v time.Time) predicate.Rent591HomeTag
- func CreatedAtEQ(v time.Time) predicate.Rent591HomeTag
- func CreatedAtGT(v time.Time) predicate.Rent591HomeTag
- func CreatedAtGTE(v time.Time) predicate.Rent591HomeTag
- func CreatedAtIn(vs ...time.Time) predicate.Rent591HomeTag
- func CreatedAtLT(v time.Time) predicate.Rent591HomeTag
- func CreatedAtLTE(v time.Time) predicate.Rent591HomeTag
- func CreatedAtNEQ(v time.Time) predicate.Rent591HomeTag
- func CreatedAtNotIn(vs ...time.Time) predicate.Rent591HomeTag
- func HasRent591homes() predicate.Rent591HomeTag
- func HasRent591homesWith(preds ...predicate.Rent591Home) predicate.Rent591HomeTag
- func ID(id int) predicate.Rent591HomeTag
- func IDEQ(id int) predicate.Rent591HomeTag
- func IDGT(id int) predicate.Rent591HomeTag
- func IDGTE(id int) predicate.Rent591HomeTag
- func IDIn(ids ...int) predicate.Rent591HomeTag
- func IDLT(id int) predicate.Rent591HomeTag
- func IDLTE(id int) predicate.Rent591HomeTag
- func IDNEQ(id int) predicate.Rent591HomeTag
- func IDNotIn(ids ...int) predicate.Rent591HomeTag
- func Name(v string) predicate.Rent591HomeTag
- func NameContains(v string) predicate.Rent591HomeTag
- func NameContainsFold(v string) predicate.Rent591HomeTag
- func NameEQ(v string) predicate.Rent591HomeTag
- func NameEqualFold(v string) predicate.Rent591HomeTag
- func NameGT(v string) predicate.Rent591HomeTag
- func NameGTE(v string) predicate.Rent591HomeTag
- func NameHasPrefix(v string) predicate.Rent591HomeTag
- func NameHasSuffix(v string) predicate.Rent591HomeTag
- func NameIn(vs ...string) predicate.Rent591HomeTag
- func NameLT(v string) predicate.Rent591HomeTag
- func NameLTE(v string) predicate.Rent591HomeTag
- func NameNEQ(v string) predicate.Rent591HomeTag
- func NameNotIn(vs ...string) predicate.Rent591HomeTag
- func Not(p predicate.Rent591HomeTag) predicate.Rent591HomeTag
- func Or(predicates ...predicate.Rent591HomeTag) predicate.Rent591HomeTag
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByRent591homes(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRent591homesCount(opts ...sql.OrderTermOption) OrderOption
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldName, FieldCreatedAt, }
Columns holds all SQL columns for rent591hometag fields.
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
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 ¶
func And(predicates ...predicate.Rent591HomeTag) predicate.Rent591HomeTag
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 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 ¶
func Name(v string) predicate.Rent591HomeTag
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 ¶
func NameEQ(v string) predicate.Rent591HomeTag
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 ¶
func NameGT(v string) predicate.Rent591HomeTag
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 ¶
func NameLT(v string) predicate.Rent591HomeTag
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 ¶
func Not(p predicate.Rent591HomeTag) predicate.Rent591HomeTag
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Rent591HomeTag) predicate.Rent591HomeTag
Or groups predicates with the OR operator between them.
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 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.