Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Rent591HomeDetailTag) predicate.Rent591HomeDetailTag
- func HasRent591homeDetails() predicate.Rent591HomeDetailTag
- func HasRent591homeDetailsWith(preds ...predicate.Rent591HomeDetail) predicate.Rent591HomeDetailTag
- func ID(id int) predicate.Rent591HomeDetailTag
- func IDEQ(id int) predicate.Rent591HomeDetailTag
- func IDGT(id int) predicate.Rent591HomeDetailTag
- func IDGTE(id int) predicate.Rent591HomeDetailTag
- func IDIn(ids ...int) predicate.Rent591HomeDetailTag
- func IDLT(id int) predicate.Rent591HomeDetailTag
- func IDLTE(id int) predicate.Rent591HomeDetailTag
- func IDNEQ(id int) predicate.Rent591HomeDetailTag
- func IDNotIn(ids ...int) predicate.Rent591HomeDetailTag
- func Not(p predicate.Rent591HomeDetailTag) predicate.Rent591HomeDetailTag
- func Or(predicates ...predicate.Rent591HomeDetailTag) predicate.Rent591HomeDetailTag
- func PostID(v int) predicate.Rent591HomeDetailTag
- func PostIDEQ(v int) predicate.Rent591HomeDetailTag
- func PostIDGT(v int) predicate.Rent591HomeDetailTag
- func PostIDGTE(v int) predicate.Rent591HomeDetailTag
- func PostIDIn(vs ...int) predicate.Rent591HomeDetailTag
- func PostIDLT(v int) predicate.Rent591HomeDetailTag
- func PostIDLTE(v int) predicate.Rent591HomeDetailTag
- func PostIDNEQ(v int) predicate.Rent591HomeDetailTag
- func PostIDNotIn(vs ...int) predicate.Rent591HomeDetailTag
- func ValidColumn(column string) bool
- func Value(v string) predicate.Rent591HomeDetailTag
- func ValueContains(v string) predicate.Rent591HomeDetailTag
- func ValueContainsFold(v string) predicate.Rent591HomeDetailTag
- func ValueEQ(v string) predicate.Rent591HomeDetailTag
- func ValueEqualFold(v string) predicate.Rent591HomeDetailTag
- func ValueGT(v string) predicate.Rent591HomeDetailTag
- func ValueGTE(v string) predicate.Rent591HomeDetailTag
- func ValueHasPrefix(v string) predicate.Rent591HomeDetailTag
- func ValueHasSuffix(v string) predicate.Rent591HomeDetailTag
- func ValueIn(vs ...string) predicate.Rent591HomeDetailTag
- func ValueLT(v string) predicate.Rent591HomeDetailTag
- func ValueLTE(v string) predicate.Rent591HomeDetailTag
- func ValueNEQ(v string) predicate.Rent591HomeDetailTag
- func ValueNotIn(vs ...string) predicate.Rent591HomeDetailTag
- type OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByPostID(opts ...sql.OrderTermOption) OrderOption
- func ByRent591homeDetails(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByRent591homeDetailsCount(opts ...sql.OrderTermOption) OrderOption
- func ByValue(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the rent591homedetailtag type in the database. Label = "rent591home_detail_tag" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldPostID holds the string denoting the post_id field in the database. FieldPostID = "post_id" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // EdgeRent591homeDetails holds the string denoting the rent591home_details edge name in mutations. EdgeRent591homeDetails = "rent591home_details" // Table holds the table name of the rent591homedetailtag in the database. Table = "rent591home_detail_tags" // Rent591homeDetailsTable is the table that holds the rent591home_details relation/edge. The primary key declared below. Rent591homeDetailsTable = "rent591home_detail_tag_rent591home_details" // Rent591homeDetailsInverseTable is the table name for the Rent591HomeDetail entity. // It exists in this package in order to avoid circular dependency with the "rent591homedetail" package. Rent591homeDetailsInverseTable = "rent591home_details" )
Variables ¶
var Columns = []string{ FieldID, FieldPostID, FieldValue, }
Columns holds all SQL columns for rent591homedetailtag fields.
var ( // Rent591homeDetailsPrimaryKey and Rent591homeDetailsColumn2 are the table columns denoting the // primary key for the rent591home_details relation (M2M). Rent591homeDetailsPrimaryKey = []string{"rent591home_detail_tag_id", "rent591home_detail_id"} )
Functions ¶
func And ¶
func And(predicates ...predicate.Rent591HomeDetailTag) predicate.Rent591HomeDetailTag
And groups predicates with the AND operator between them.
func HasRent591homeDetails ¶
func HasRent591homeDetails() predicate.Rent591HomeDetailTag
HasRent591homeDetails applies the HasEdge predicate on the "rent591home_details" edge.
func HasRent591homeDetailsWith ¶
func HasRent591homeDetailsWith(preds ...predicate.Rent591HomeDetail) predicate.Rent591HomeDetailTag
HasRent591homeDetailsWith applies the HasEdge predicate on the "rent591home_details" edge with a given conditions (other predicates).
func ID ¶
func ID(id int) predicate.Rent591HomeDetailTag
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id int) predicate.Rent591HomeDetailTag
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.Rent591HomeDetailTag
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.Rent591HomeDetailTag
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.Rent591HomeDetailTag
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.Rent591HomeDetailTag
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.Rent591HomeDetailTag
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.Rent591HomeDetailTag
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.Rent591HomeDetailTag
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.Rent591HomeDetailTag) predicate.Rent591HomeDetailTag
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.Rent591HomeDetailTag) predicate.Rent591HomeDetailTag
Or groups predicates with the OR operator between them.
func PostID ¶
func PostID(v int) predicate.Rent591HomeDetailTag
PostID applies equality check predicate on the "post_id" field. It's identical to PostIDEQ.
func PostIDEQ ¶
func PostIDEQ(v int) predicate.Rent591HomeDetailTag
PostIDEQ applies the EQ predicate on the "post_id" field.
func PostIDGT ¶
func PostIDGT(v int) predicate.Rent591HomeDetailTag
PostIDGT applies the GT predicate on the "post_id" field.
func PostIDGTE ¶
func PostIDGTE(v int) predicate.Rent591HomeDetailTag
PostIDGTE applies the GTE predicate on the "post_id" field.
func PostIDIn ¶
func PostIDIn(vs ...int) predicate.Rent591HomeDetailTag
PostIDIn applies the In predicate on the "post_id" field.
func PostIDLT ¶
func PostIDLT(v int) predicate.Rent591HomeDetailTag
PostIDLT applies the LT predicate on the "post_id" field.
func PostIDLTE ¶
func PostIDLTE(v int) predicate.Rent591HomeDetailTag
PostIDLTE applies the LTE predicate on the "post_id" field.
func PostIDNEQ ¶
func PostIDNEQ(v int) predicate.Rent591HomeDetailTag
PostIDNEQ applies the NEQ predicate on the "post_id" field.
func PostIDNotIn ¶
func PostIDNotIn(vs ...int) predicate.Rent591HomeDetailTag
PostIDNotIn applies the NotIn predicate on the "post_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Value ¶
func Value(v string) predicate.Rent591HomeDetailTag
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
func ValueContains(v string) predicate.Rent591HomeDetailTag
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
func ValueContainsFold(v string) predicate.Rent591HomeDetailTag
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEQ ¶
func ValueEQ(v string) predicate.Rent591HomeDetailTag
ValueEQ applies the EQ predicate on the "value" field.
func ValueEqualFold ¶
func ValueEqualFold(v string) predicate.Rent591HomeDetailTag
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueGT ¶
func ValueGT(v string) predicate.Rent591HomeDetailTag
ValueGT applies the GT predicate on the "value" field.
func ValueGTE ¶
func ValueGTE(v string) predicate.Rent591HomeDetailTag
ValueGTE applies the GTE predicate on the "value" field.
func ValueHasPrefix ¶
func ValueHasPrefix(v string) predicate.Rent591HomeDetailTag
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
func ValueHasSuffix(v string) predicate.Rent591HomeDetailTag
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueIn ¶
func ValueIn(vs ...string) predicate.Rent591HomeDetailTag
ValueIn applies the In predicate on the "value" field.
func ValueLT ¶
func ValueLT(v string) predicate.Rent591HomeDetailTag
ValueLT applies the LT predicate on the "value" field.
func ValueLTE ¶
func ValueLTE(v string) predicate.Rent591HomeDetailTag
ValueLTE applies the LTE predicate on the "value" field.
func ValueNEQ ¶
func ValueNEQ(v string) predicate.Rent591HomeDetailTag
ValueNEQ applies the NEQ predicate on the "value" field.
func ValueNotIn ¶
func ValueNotIn(vs ...string) predicate.Rent591HomeDetailTag
ValueNotIn applies the NotIn predicate on the "value" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Rent591HomeDetailTag queries.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByPostID ¶
func ByPostID(opts ...sql.OrderTermOption) OrderOption
ByPostID orders the results by the post_id field.
func ByRent591homeDetails ¶
func ByRent591homeDetails(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByRent591homeDetails orders the results by rent591home_details terms.
func ByRent591homeDetailsCount ¶
func ByRent591homeDetailsCount(opts ...sql.OrderTermOption) OrderOption
ByRent591homeDetailsCount orders the results by rent591home_details count.
func ByValue ¶
func ByValue(opts ...sql.OrderTermOption) OrderOption
ByValue orders the results by the value field.