Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.NodeViewDay) predicate.NodeViewDay
- func Day(v int) predicate.NodeViewDay
- func DayEQ(v int) predicate.NodeViewDay
- func DayGT(v int) predicate.NodeViewDay
- func DayGTE(v int) predicate.NodeViewDay
- func DayIn(vs ...int) predicate.NodeViewDay
- func DayLT(v int) predicate.NodeViewDay
- func DayLTE(v int) predicate.NodeViewDay
- func DayNEQ(v int) predicate.NodeViewDay
- func DayNotIn(vs ...int) predicate.NodeViewDay
- func HasNode() predicate.NodeViewDay
- func HasNodeWith(preds ...predicate.Node) predicate.NodeViewDay
- func ID(id int) predicate.NodeViewDay
- func IDEQ(id int) predicate.NodeViewDay
- func IDGT(id int) predicate.NodeViewDay
- func IDGTE(id int) predicate.NodeViewDay
- func IDIn(ids ...int) predicate.NodeViewDay
- func IDLT(id int) predicate.NodeViewDay
- func IDLTE(id int) predicate.NodeViewDay
- func IDNEQ(id int) predicate.NodeViewDay
- func IDNotIn(ids ...int) predicate.NodeViewDay
- func Nid(v int) predicate.NodeViewDay
- func NidEQ(v int) predicate.NodeViewDay
- func NidIn(vs ...int) predicate.NodeViewDay
- func NidNEQ(v int) predicate.NodeViewDay
- func NidNotIn(vs ...int) predicate.NodeViewDay
- func Not(p predicate.NodeViewDay) predicate.NodeViewDay
- func Or(predicates ...predicate.NodeViewDay) predicate.NodeViewDay
- func ValidColumn(column string) bool
- func Views(v int) predicate.NodeViewDay
- func ViewsEQ(v int) predicate.NodeViewDay
- func ViewsGT(v int) predicate.NodeViewDay
- func ViewsGTE(v int) predicate.NodeViewDay
- func ViewsIn(vs ...int) predicate.NodeViewDay
- func ViewsLT(v int) predicate.NodeViewDay
- func ViewsLTE(v int) predicate.NodeViewDay
- func ViewsNEQ(v int) predicate.NodeViewDay
- func ViewsNotIn(vs ...int) predicate.NodeViewDay
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the nodeviewday type in the database. Label = "node_view_day" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNid holds the string denoting the nid field in the database. FieldNid = "nid" // FieldDay holds the string denoting the day field in the database. FieldDay = "day" // FieldViews holds the string denoting the views field in the database. FieldViews = "views" // EdgeNode holds the string denoting the node edge name in mutations. EdgeNode = "node" // Table holds the table name of the nodeviewday in the database. Table = "node_view_days" // NodeTable is the table that holds the node relation/edge. NodeTable = "node_view_days" // NodeInverseTable is the table name for the Node entity. // It exists in this package in order to avoid circular dependency with the "node" package. NodeInverseTable = "nodes" // NodeColumn is the table column denoting the node relation/edge. NodeColumn = "nid" )
Variables ¶
var Columns = []string{ FieldID, FieldNid, FieldDay, FieldViews, }
Columns holds all SQL columns for nodeviewday fields.
Functions ¶
func And ¶
func And(predicates ...predicate.NodeViewDay) predicate.NodeViewDay
And groups predicates with the AND operator between them.
func Day ¶
func Day(v int) predicate.NodeViewDay
Day applies equality check predicate on the "day" field. It's identical to DayEQ.
func DayEQ ¶
func DayEQ(v int) predicate.NodeViewDay
DayEQ applies the EQ predicate on the "day" field.
func DayGT ¶
func DayGT(v int) predicate.NodeViewDay
DayGT applies the GT predicate on the "day" field.
func DayGTE ¶
func DayGTE(v int) predicate.NodeViewDay
DayGTE applies the GTE predicate on the "day" field.
func DayIn ¶
func DayIn(vs ...int) predicate.NodeViewDay
DayIn applies the In predicate on the "day" field.
func DayLT ¶
func DayLT(v int) predicate.NodeViewDay
DayLT applies the LT predicate on the "day" field.
func DayLTE ¶
func DayLTE(v int) predicate.NodeViewDay
DayLTE applies the LTE predicate on the "day" field.
func DayNEQ ¶
func DayNEQ(v int) predicate.NodeViewDay
DayNEQ applies the NEQ predicate on the "day" field.
func DayNotIn ¶
func DayNotIn(vs ...int) predicate.NodeViewDay
DayNotIn applies the NotIn predicate on the "day" field.
func HasNode ¶
func HasNode() predicate.NodeViewDay
HasNode applies the HasEdge predicate on the "node" edge.
func HasNodeWith ¶
func HasNodeWith(preds ...predicate.Node) predicate.NodeViewDay
HasNodeWith applies the HasEdge predicate on the "node" edge with a given conditions (other predicates).
func IDGTE ¶
func IDGTE(id int) predicate.NodeViewDay
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.NodeViewDay
IDIn applies the In predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.NodeViewDay
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.NodeViewDay
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.NodeViewDay
IDNotIn applies the NotIn predicate on the ID field.
func Nid ¶
func Nid(v int) predicate.NodeViewDay
Nid applies equality check predicate on the "nid" field. It's identical to NidEQ.
func NidEQ ¶
func NidEQ(v int) predicate.NodeViewDay
NidEQ applies the EQ predicate on the "nid" field.
func NidIn ¶
func NidIn(vs ...int) predicate.NodeViewDay
NidIn applies the In predicate on the "nid" field.
func NidNEQ ¶
func NidNEQ(v int) predicate.NodeViewDay
NidNEQ applies the NEQ predicate on the "nid" field.
func NidNotIn ¶
func NidNotIn(vs ...int) predicate.NodeViewDay
NidNotIn applies the NotIn predicate on the "nid" field.
func Not ¶
func Not(p predicate.NodeViewDay) predicate.NodeViewDay
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.NodeViewDay) predicate.NodeViewDay
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Views ¶
func Views(v int) predicate.NodeViewDay
Views applies equality check predicate on the "views" field. It's identical to ViewsEQ.
func ViewsEQ ¶
func ViewsEQ(v int) predicate.NodeViewDay
ViewsEQ applies the EQ predicate on the "views" field.
func ViewsGT ¶
func ViewsGT(v int) predicate.NodeViewDay
ViewsGT applies the GT predicate on the "views" field.
func ViewsGTE ¶
func ViewsGTE(v int) predicate.NodeViewDay
ViewsGTE applies the GTE predicate on the "views" field.
func ViewsIn ¶
func ViewsIn(vs ...int) predicate.NodeViewDay
ViewsIn applies the In predicate on the "views" field.
func ViewsLT ¶
func ViewsLT(v int) predicate.NodeViewDay
ViewsLT applies the LT predicate on the "views" field.
func ViewsLTE ¶
func ViewsLTE(v int) predicate.NodeViewDay
ViewsLTE applies the LTE predicate on the "views" field.
func ViewsNEQ ¶
func ViewsNEQ(v int) predicate.NodeViewDay
ViewsNEQ applies the NEQ predicate on the "views" field.
func ViewsNotIn ¶
func ViewsNotIn(vs ...int) predicate.NodeViewDay
ViewsNotIn applies the NotIn predicate on the "views" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the NodeViewDay queries.
func ByDay ¶
func ByDay(opts ...sql.OrderTermOption) OrderOption
ByDay orders the results by the day field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByNid ¶
func ByNid(opts ...sql.OrderTermOption) OrderOption
ByNid orders the results by the nid field.
func ByNodeField ¶
func ByNodeField(field string, opts ...sql.OrderTermOption) OrderOption
ByNodeField orders the results by node field.
func ByViews ¶
func ByViews(opts ...sql.OrderTermOption) OrderOption
ByViews orders the results by the views field.