Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.BarGroup) predicate.BarGroup
- func Count(v int) predicate.BarGroup
- func CountEQ(v int) predicate.BarGroup
- func CountGT(v int) predicate.BarGroup
- func CountGTE(v int) predicate.BarGroup
- func CountIn(vs ...int) predicate.BarGroup
- func CountLT(v int) predicate.BarGroup
- func CountLTE(v int) predicate.BarGroup
- func CountNEQ(v int) predicate.BarGroup
- func CountNotIn(vs ...int) predicate.BarGroup
- func First(v time.Time) predicate.BarGroup
- func FirstEQ(v time.Time) predicate.BarGroup
- func FirstGT(v time.Time) predicate.BarGroup
- func FirstGTE(v time.Time) predicate.BarGroup
- func FirstIn(vs ...time.Time) predicate.BarGroup
- func FirstLT(v time.Time) predicate.BarGroup
- func FirstLTE(v time.Time) predicate.BarGroup
- func FirstNEQ(v time.Time) predicate.BarGroup
- func FirstNotIn(vs ...time.Time) predicate.BarGroup
- func HasRecords() predicate.BarGroup
- func HasRecordsWith(preds ...predicate.BarRecord) predicate.BarGroup
- func HasTimeRange() predicate.BarGroup
- func HasTimeRangeWith(preds ...predicate.BarTimeRange) predicate.BarGroup
- func ID(id int) predicate.BarGroup
- func IDEQ(id int) predicate.BarGroup
- func IDGT(id int) predicate.BarGroup
- func IDGTE(id int) predicate.BarGroup
- func IDIn(ids ...int) predicate.BarGroup
- func IDLT(id int) predicate.BarGroup
- func IDLTE(id int) predicate.BarGroup
- func IDNEQ(id int) predicate.BarGroup
- func IDNotIn(ids ...int) predicate.BarGroup
- func Last(v time.Time) predicate.BarGroup
- func LastEQ(v time.Time) predicate.BarGroup
- func LastGT(v time.Time) predicate.BarGroup
- func LastGTE(v time.Time) predicate.BarGroup
- func LastIn(vs ...time.Time) predicate.BarGroup
- func LastLT(v time.Time) predicate.BarGroup
- func LastLTE(v time.Time) predicate.BarGroup
- func LastNEQ(v time.Time) predicate.BarGroup
- func LastNotIn(vs ...time.Time) predicate.BarGroup
- func Not(p predicate.BarGroup) predicate.BarGroup
- func Or(predicates ...predicate.BarGroup) predicate.BarGroup
- func TimeRangeID(v int) predicate.BarGroup
- func TimeRangeIDEQ(v int) predicate.BarGroup
- func TimeRangeIDIn(vs ...int) predicate.BarGroup
- func TimeRangeIDNEQ(v int) predicate.BarGroup
- func TimeRangeIDNotIn(vs ...int) predicate.BarGroup
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the bargroup type in the database. Label = "bar_group" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldFirst holds the string denoting the first field in the database. FieldFirst = "first" // FieldLast holds the string denoting the last field in the database. FieldLast = "last" // FieldCount holds the string denoting the count field in the database. FieldCount = "count" // FieldTimeRangeID holds the string denoting the time_range_id field in the database. FieldTimeRangeID = "time_range_id" // EdgeTimeRange holds the string denoting the time_range edge name in mutations. EdgeTimeRange = "time_range" // EdgeRecords holds the string denoting the records edge name in mutations. EdgeRecords = "records" // Table holds the table name of the bargroup in the database. Table = "bar_groups" // TimeRangeTable is the table that holds the time_range relation/edge. TimeRangeTable = "bar_groups" // TimeRangeInverseTable is the table name for the BarTimeRange entity. // It exists in this package in order to avoid circular dependency with the "bartimerange" package. TimeRangeInverseTable = "bar_time_ranges" // TimeRangeColumn is the table column denoting the time_range relation/edge. TimeRangeColumn = "time_range_id" // RecordsTable is the table that holds the records relation/edge. RecordsTable = "bar_records" // RecordsInverseTable is the table name for the BarRecord entity. // It exists in this package in order to avoid circular dependency with the "barrecord" package. RecordsInverseTable = "bar_records" // RecordsColumn is the table column denoting the records relation/edge. RecordsColumn = "bar_group_records" )
Variables ¶
var Columns = []string{ FieldID, FieldFirst, FieldLast, FieldCount, FieldTimeRangeID, }
Columns holds all SQL columns for bargroup fields.
Functions ¶
func Count ¶
Count applies equality check predicate on the "count" field. It's identical to CountEQ.
func CountNotIn ¶
CountNotIn applies the NotIn predicate on the "count" field.
func First ¶
First applies equality check predicate on the "first" field. It's identical to FirstEQ.
func FirstNotIn ¶
FirstNotIn applies the NotIn predicate on the "first" field.
func HasRecords ¶
HasRecords applies the HasEdge predicate on the "records" edge.
func HasRecordsWith ¶
HasRecordsWith applies the HasEdge predicate on the "records" edge with a given conditions (other predicates).
func HasTimeRange ¶
HasTimeRange applies the HasEdge predicate on the "time_range" edge.
func HasTimeRangeWith ¶
func HasTimeRangeWith(preds ...predicate.BarTimeRange) predicate.BarGroup
HasTimeRangeWith applies the HasEdge predicate on the "time_range" edge with a given conditions (other predicates).
func TimeRangeID ¶
TimeRangeID applies equality check predicate on the "time_range_id" field. It's identical to TimeRangeIDEQ.
func TimeRangeIDEQ ¶
TimeRangeIDEQ applies the EQ predicate on the "time_range_id" field.
func TimeRangeIDIn ¶
TimeRangeIDIn applies the In predicate on the "time_range_id" field.
func TimeRangeIDNEQ ¶
TimeRangeIDNEQ applies the NEQ predicate on the "time_range_id" field.
func TimeRangeIDNotIn ¶
TimeRangeIDNotIn applies the NotIn predicate on the "time_range_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.