groupbandwidth

package
v0.0.0-...-dba37e9 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the groupbandwidth type in the database.
	Label = "group_bandwidth"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldGbwDownloadSpeed holds the string denoting the gbw_download_speed field in the database.
	FieldGbwDownloadSpeed = "gbw_download_speed"
	// FieldGbwUploadSpeed holds the string denoting the gbw_upload_speed field in the database.
	FieldGbwUploadSpeed = "gbw_upload_speed"
	// FieldGbwCreatedAt holds the string denoting the gbw_created_at field in the database.
	FieldGbwCreatedAt = "gbw_created_at"
	// EdgeGroups holds the string denoting the groups edge name in mutations.
	EdgeGroups = "groups"
	// Table holds the table name of the groupbandwidth in the database.
	Table = "group_bandwidths"
	// GroupsTable is the table that holds the groups relation/edge.
	GroupsTable = "groups"
	// GroupsInverseTable is the table name for the Groups entity.
	// It exists in this package in order to avoid circular dependency with the "groups" package.
	GroupsInverseTable = "groups"
	// GroupsColumn is the table column denoting the groups relation/edge.
	GroupsColumn = "group_bandwidth_groups"
)

Variables

Columns holds all SQL columns for groupbandwidth fields.

View Source
var (
	// DefaultGbwCreatedAt holds the default value on creation for the "gbw_created_at" field.
	DefaultGbwCreatedAt func() time.Time
)

Functions

func And

And groups predicates with the AND operator between them.

func GbwCreatedAt

func GbwCreatedAt(v time.Time) predicate.GroupBandwidth

GbwCreatedAt applies equality check predicate on the "gbw_created_at" field. It's identical to GbwCreatedAtEQ.

func GbwCreatedAtEQ

func GbwCreatedAtEQ(v time.Time) predicate.GroupBandwidth

GbwCreatedAtEQ applies the EQ predicate on the "gbw_created_at" field.

func GbwCreatedAtGT

func GbwCreatedAtGT(v time.Time) predicate.GroupBandwidth

GbwCreatedAtGT applies the GT predicate on the "gbw_created_at" field.

func GbwCreatedAtGTE

func GbwCreatedAtGTE(v time.Time) predicate.GroupBandwidth

GbwCreatedAtGTE applies the GTE predicate on the "gbw_created_at" field.

func GbwCreatedAtIn

func GbwCreatedAtIn(vs ...time.Time) predicate.GroupBandwidth

GbwCreatedAtIn applies the In predicate on the "gbw_created_at" field.

func GbwCreatedAtIsNil

func GbwCreatedAtIsNil() predicate.GroupBandwidth

GbwCreatedAtIsNil applies the IsNil predicate on the "gbw_created_at" field.

func GbwCreatedAtLT

func GbwCreatedAtLT(v time.Time) predicate.GroupBandwidth

GbwCreatedAtLT applies the LT predicate on the "gbw_created_at" field.

func GbwCreatedAtLTE

func GbwCreatedAtLTE(v time.Time) predicate.GroupBandwidth

GbwCreatedAtLTE applies the LTE predicate on the "gbw_created_at" field.

func GbwCreatedAtNEQ

func GbwCreatedAtNEQ(v time.Time) predicate.GroupBandwidth

GbwCreatedAtNEQ applies the NEQ predicate on the "gbw_created_at" field.

func GbwCreatedAtNotIn

func GbwCreatedAtNotIn(vs ...time.Time) predicate.GroupBandwidth

GbwCreatedAtNotIn applies the NotIn predicate on the "gbw_created_at" field.

func GbwCreatedAtNotNil

func GbwCreatedAtNotNil() predicate.GroupBandwidth

GbwCreatedAtNotNil applies the NotNil predicate on the "gbw_created_at" field.

func GbwDownloadSpeed

func GbwDownloadSpeed(v int) predicate.GroupBandwidth

GbwDownloadSpeed applies equality check predicate on the "gbw_download_speed" field. It's identical to GbwDownloadSpeedEQ.

func GbwDownloadSpeedEQ

func GbwDownloadSpeedEQ(v int) predicate.GroupBandwidth

GbwDownloadSpeedEQ applies the EQ predicate on the "gbw_download_speed" field.

func GbwDownloadSpeedGT

func GbwDownloadSpeedGT(v int) predicate.GroupBandwidth

GbwDownloadSpeedGT applies the GT predicate on the "gbw_download_speed" field.

func GbwDownloadSpeedGTE

func GbwDownloadSpeedGTE(v int) predicate.GroupBandwidth

GbwDownloadSpeedGTE applies the GTE predicate on the "gbw_download_speed" field.

func GbwDownloadSpeedIn

func GbwDownloadSpeedIn(vs ...int) predicate.GroupBandwidth

GbwDownloadSpeedIn applies the In predicate on the "gbw_download_speed" field.

func GbwDownloadSpeedLT

func GbwDownloadSpeedLT(v int) predicate.GroupBandwidth

GbwDownloadSpeedLT applies the LT predicate on the "gbw_download_speed" field.

func GbwDownloadSpeedLTE

func GbwDownloadSpeedLTE(v int) predicate.GroupBandwidth

GbwDownloadSpeedLTE applies the LTE predicate on the "gbw_download_speed" field.

func GbwDownloadSpeedNEQ

func GbwDownloadSpeedNEQ(v int) predicate.GroupBandwidth

GbwDownloadSpeedNEQ applies the NEQ predicate on the "gbw_download_speed" field.

func GbwDownloadSpeedNotIn

func GbwDownloadSpeedNotIn(vs ...int) predicate.GroupBandwidth

GbwDownloadSpeedNotIn applies the NotIn predicate on the "gbw_download_speed" field.

func GbwUploadSpeed

func GbwUploadSpeed(v int) predicate.GroupBandwidth

GbwUploadSpeed applies equality check predicate on the "gbw_upload_speed" field. It's identical to GbwUploadSpeedEQ.

func GbwUploadSpeedEQ

func GbwUploadSpeedEQ(v int) predicate.GroupBandwidth

GbwUploadSpeedEQ applies the EQ predicate on the "gbw_upload_speed" field.

func GbwUploadSpeedGT

func GbwUploadSpeedGT(v int) predicate.GroupBandwidth

GbwUploadSpeedGT applies the GT predicate on the "gbw_upload_speed" field.

func GbwUploadSpeedGTE

func GbwUploadSpeedGTE(v int) predicate.GroupBandwidth

GbwUploadSpeedGTE applies the GTE predicate on the "gbw_upload_speed" field.

func GbwUploadSpeedIn

func GbwUploadSpeedIn(vs ...int) predicate.GroupBandwidth

GbwUploadSpeedIn applies the In predicate on the "gbw_upload_speed" field.

func GbwUploadSpeedLT

func GbwUploadSpeedLT(v int) predicate.GroupBandwidth

GbwUploadSpeedLT applies the LT predicate on the "gbw_upload_speed" field.

func GbwUploadSpeedLTE

func GbwUploadSpeedLTE(v int) predicate.GroupBandwidth

GbwUploadSpeedLTE applies the LTE predicate on the "gbw_upload_speed" field.

func GbwUploadSpeedNEQ

func GbwUploadSpeedNEQ(v int) predicate.GroupBandwidth

GbwUploadSpeedNEQ applies the NEQ predicate on the "gbw_upload_speed" field.

func GbwUploadSpeedNotIn

func GbwUploadSpeedNotIn(vs ...int) predicate.GroupBandwidth

GbwUploadSpeedNotIn applies the NotIn predicate on the "gbw_upload_speed" field.

func HasGroups

func HasGroups() predicate.GroupBandwidth

HasGroups applies the HasEdge predicate on the "groups" edge.

func HasGroupsWith

func HasGroupsWith(preds ...predicate.Groups) predicate.GroupBandwidth

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

func ID

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.GroupBandwidth

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.GroupBandwidth

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.GroupBandwidth

IDGTE applies the GTE predicate on the ID field.

func IDIn

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

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.GroupBandwidth

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.GroupBandwidth

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.GroupBandwidth

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

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

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

Or groups predicates with the OR operator between them.

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