Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GroupBandwidth) predicate.GroupBandwidth
- func GbwCreatedAt(v time.Time) predicate.GroupBandwidth
- func GbwCreatedAtEQ(v time.Time) predicate.GroupBandwidth
- func GbwCreatedAtGT(v time.Time) predicate.GroupBandwidth
- func GbwCreatedAtGTE(v time.Time) predicate.GroupBandwidth
- func GbwCreatedAtIn(vs ...time.Time) predicate.GroupBandwidth
- func GbwCreatedAtIsNil() predicate.GroupBandwidth
- func GbwCreatedAtLT(v time.Time) predicate.GroupBandwidth
- func GbwCreatedAtLTE(v time.Time) predicate.GroupBandwidth
- func GbwCreatedAtNEQ(v time.Time) predicate.GroupBandwidth
- func GbwCreatedAtNotIn(vs ...time.Time) predicate.GroupBandwidth
- func GbwCreatedAtNotNil() predicate.GroupBandwidth
- func GbwDownloadSpeed(v int) predicate.GroupBandwidth
- func GbwDownloadSpeedEQ(v int) predicate.GroupBandwidth
- func GbwDownloadSpeedGT(v int) predicate.GroupBandwidth
- func GbwDownloadSpeedGTE(v int) predicate.GroupBandwidth
- func GbwDownloadSpeedIn(vs ...int) predicate.GroupBandwidth
- func GbwDownloadSpeedLT(v int) predicate.GroupBandwidth
- func GbwDownloadSpeedLTE(v int) predicate.GroupBandwidth
- func GbwDownloadSpeedNEQ(v int) predicate.GroupBandwidth
- func GbwDownloadSpeedNotIn(vs ...int) predicate.GroupBandwidth
- func GbwUploadSpeed(v int) predicate.GroupBandwidth
- func GbwUploadSpeedEQ(v int) predicate.GroupBandwidth
- func GbwUploadSpeedGT(v int) predicate.GroupBandwidth
- func GbwUploadSpeedGTE(v int) predicate.GroupBandwidth
- func GbwUploadSpeedIn(vs ...int) predicate.GroupBandwidth
- func GbwUploadSpeedLT(v int) predicate.GroupBandwidth
- func GbwUploadSpeedLTE(v int) predicate.GroupBandwidth
- func GbwUploadSpeedNEQ(v int) predicate.GroupBandwidth
- func GbwUploadSpeedNotIn(vs ...int) predicate.GroupBandwidth
- func HasGroups() predicate.GroupBandwidth
- func HasGroupsWith(preds ...predicate.Groups) predicate.GroupBandwidth
- func ID(id int) predicate.GroupBandwidth
- func IDEQ(id int) predicate.GroupBandwidth
- func IDGT(id int) predicate.GroupBandwidth
- func IDGTE(id int) predicate.GroupBandwidth
- func IDIn(ids ...int) predicate.GroupBandwidth
- func IDLT(id int) predicate.GroupBandwidth
- func IDLTE(id int) predicate.GroupBandwidth
- func IDNEQ(id int) predicate.GroupBandwidth
- func IDNotIn(ids ...int) predicate.GroupBandwidth
- func Not(p predicate.GroupBandwidth) predicate.GroupBandwidth
- func Or(predicates ...predicate.GroupBandwidth) predicate.GroupBandwidth
- func ValidColumn(column string) bool
Constants ¶
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 ¶
var Columns = []string{ FieldID, FieldGbwDownloadSpeed, FieldGbwUploadSpeed, FieldGbwCreatedAt, }
Columns holds all SQL columns for groupbandwidth fields.
var ( // DefaultGbwCreatedAt holds the default value on creation for the "gbw_created_at" field. DefaultGbwCreatedAt func() time.Time )
Functions ¶
func And ¶
func And(predicates ...predicate.GroupBandwidth) predicate.GroupBandwidth
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 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 ¶
func Not(p predicate.GroupBandwidth) predicate.GroupBandwidth
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.GroupBandwidth) predicate.GroupBandwidth
Or groups predicates with the OR operator between them.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.