bargroup

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
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

Columns holds all SQL columns for bargroup fields.

Functions

func And

func And(predicates ...predicate.BarGroup) predicate.BarGroup

And groups predicates with the AND operator between them.

func Count

func Count(v int) predicate.BarGroup

Count applies equality check predicate on the "count" field. It's identical to CountEQ.

func CountEQ

func CountEQ(v int) predicate.BarGroup

CountEQ applies the EQ predicate on the "count" field.

func CountGT

func CountGT(v int) predicate.BarGroup

CountGT applies the GT predicate on the "count" field.

func CountGTE

func CountGTE(v int) predicate.BarGroup

CountGTE applies the GTE predicate on the "count" field.

func CountIn

func CountIn(vs ...int) predicate.BarGroup

CountIn applies the In predicate on the "count" field.

func CountLT

func CountLT(v int) predicate.BarGroup

CountLT applies the LT predicate on the "count" field.

func CountLTE

func CountLTE(v int) predicate.BarGroup

CountLTE applies the LTE predicate on the "count" field.

func CountNEQ

func CountNEQ(v int) predicate.BarGroup

CountNEQ applies the NEQ predicate on the "count" field.

func CountNotIn

func CountNotIn(vs ...int) predicate.BarGroup

CountNotIn applies the NotIn predicate on the "count" field.

func First

func First(v time.Time) predicate.BarGroup

First applies equality check predicate on the "first" field. It's identical to FirstEQ.

func FirstEQ

func FirstEQ(v time.Time) predicate.BarGroup

FirstEQ applies the EQ predicate on the "first" field.

func FirstGT

func FirstGT(v time.Time) predicate.BarGroup

FirstGT applies the GT predicate on the "first" field.

func FirstGTE

func FirstGTE(v time.Time) predicate.BarGroup

FirstGTE applies the GTE predicate on the "first" field.

func FirstIn

func FirstIn(vs ...time.Time) predicate.BarGroup

FirstIn applies the In predicate on the "first" field.

func FirstLT

func FirstLT(v time.Time) predicate.BarGroup

FirstLT applies the LT predicate on the "first" field.

func FirstLTE

func FirstLTE(v time.Time) predicate.BarGroup

FirstLTE applies the LTE predicate on the "first" field.

func FirstNEQ

func FirstNEQ(v time.Time) predicate.BarGroup

FirstNEQ applies the NEQ predicate on the "first" field.

func FirstNotIn

func FirstNotIn(vs ...time.Time) predicate.BarGroup

FirstNotIn applies the NotIn predicate on the "first" field.

func HasRecords

func HasRecords() predicate.BarGroup

HasRecords applies the HasEdge predicate on the "records" edge.

func HasRecordsWith

func HasRecordsWith(preds ...predicate.BarRecord) predicate.BarGroup

HasRecordsWith applies the HasEdge predicate on the "records" edge with a given conditions (other predicates).

func HasTimeRange

func HasTimeRange() predicate.BarGroup

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 ID

func ID(id int) predicate.BarGroup

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.BarGroup

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.BarGroup

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.BarGroup

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.BarGroup

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.BarGroup

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.BarGroup

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Last

func Last(v time.Time) predicate.BarGroup

Last applies equality check predicate on the "last" field. It's identical to LastEQ.

func LastEQ

func LastEQ(v time.Time) predicate.BarGroup

LastEQ applies the EQ predicate on the "last" field.

func LastGT

func LastGT(v time.Time) predicate.BarGroup

LastGT applies the GT predicate on the "last" field.

func LastGTE

func LastGTE(v time.Time) predicate.BarGroup

LastGTE applies the GTE predicate on the "last" field.

func LastIn

func LastIn(vs ...time.Time) predicate.BarGroup

LastIn applies the In predicate on the "last" field.

func LastLT

func LastLT(v time.Time) predicate.BarGroup

LastLT applies the LT predicate on the "last" field.

func LastLTE

func LastLTE(v time.Time) predicate.BarGroup

LastLTE applies the LTE predicate on the "last" field.

func LastNEQ

func LastNEQ(v time.Time) predicate.BarGroup

LastNEQ applies the NEQ predicate on the "last" field.

func LastNotIn

func LastNotIn(vs ...time.Time) predicate.BarGroup

LastNotIn applies the NotIn predicate on the "last" field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.BarGroup) predicate.BarGroup

Or groups predicates with the OR operator between them.

func TimeRangeID

func TimeRangeID(v int) predicate.BarGroup

TimeRangeID applies equality check predicate on the "time_range_id" field. It's identical to TimeRangeIDEQ.

func TimeRangeIDEQ

func TimeRangeIDEQ(v int) predicate.BarGroup

TimeRangeIDEQ applies the EQ predicate on the "time_range_id" field.

func TimeRangeIDIn

func TimeRangeIDIn(vs ...int) predicate.BarGroup

TimeRangeIDIn applies the In predicate on the "time_range_id" field.

func TimeRangeIDNEQ

func TimeRangeIDNEQ(v int) predicate.BarGroup

TimeRangeIDNEQ applies the NEQ predicate on the "time_range_id" field.

func TimeRangeIDNotIn

func TimeRangeIDNotIn(vs ...int) predicate.BarGroup

TimeRangeIDNotIn applies the NotIn predicate on the "time_range_id" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

This section is empty.

Jump to

Keyboard shortcuts

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