Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.GarbageMetrics) predicate.GarbageMetrics
- func GarbageCollected(v int64) predicate.GarbageMetrics
- func GarbageCollectedEQ(v int64) predicate.GarbageMetrics
- func GarbageCollectedGT(v int64) predicate.GarbageMetrics
- func GarbageCollectedGTE(v int64) predicate.GarbageMetrics
- func GarbageCollectedIn(vs ...int64) predicate.GarbageMetrics
- func GarbageCollectedIsNil() predicate.GarbageMetrics
- func GarbageCollectedLT(v int64) predicate.GarbageMetrics
- func GarbageCollectedLTE(v int64) predicate.GarbageMetrics
- func GarbageCollectedNEQ(v int64) predicate.GarbageMetrics
- func GarbageCollectedNotIn(vs ...int64) predicate.GarbageMetrics
- func GarbageCollectedNotNil() predicate.GarbageMetrics
- func HasMemoryMetrics() predicate.GarbageMetrics
- func HasMemoryMetricsWith(preds ...predicate.MemoryMetrics) predicate.GarbageMetrics
- func ID(id int) predicate.GarbageMetrics
- func IDEQ(id int) predicate.GarbageMetrics
- func IDGT(id int) predicate.GarbageMetrics
- func IDGTE(id int) predicate.GarbageMetrics
- func IDIn(ids ...int) predicate.GarbageMetrics
- func IDLT(id int) predicate.GarbageMetrics
- func IDLTE(id int) predicate.GarbageMetrics
- func IDNEQ(id int) predicate.GarbageMetrics
- func IDNotIn(ids ...int) predicate.GarbageMetrics
- func Not(p predicate.GarbageMetrics) predicate.GarbageMetrics
- func Or(predicates ...predicate.GarbageMetrics) predicate.GarbageMetrics
- func Type(v string) predicate.GarbageMetrics
- func TypeContains(v string) predicate.GarbageMetrics
- func TypeContainsFold(v string) predicate.GarbageMetrics
- func TypeEQ(v string) predicate.GarbageMetrics
- func TypeEqualFold(v string) predicate.GarbageMetrics
- func TypeGT(v string) predicate.GarbageMetrics
- func TypeGTE(v string) predicate.GarbageMetrics
- func TypeHasPrefix(v string) predicate.GarbageMetrics
- func TypeHasSuffix(v string) predicate.GarbageMetrics
- func TypeIn(vs ...string) predicate.GarbageMetrics
- func TypeIsNil() predicate.GarbageMetrics
- func TypeLT(v string) predicate.GarbageMetrics
- func TypeLTE(v string) predicate.GarbageMetrics
- func TypeNEQ(v string) predicate.GarbageMetrics
- func TypeNotIn(vs ...string) predicate.GarbageMetrics
- func TypeNotNil() predicate.GarbageMetrics
- func ValidColumn(column string) bool
- type OrderOption
Constants ¶
const ( // Label holds the string label denoting the garbagemetrics type in the database. Label = "garbage_metrics" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldGarbageCollected holds the string denoting the garbage_collected field in the database. FieldGarbageCollected = "garbage_collected" // EdgeMemoryMetrics holds the string denoting the memory_metrics edge name in mutations. EdgeMemoryMetrics = "memory_metrics" // Table holds the table name of the garbagemetrics in the database. Table = "garbage_metrics" // MemoryMetricsTable is the table that holds the memory_metrics relation/edge. MemoryMetricsTable = "garbage_metrics" // MemoryMetricsInverseTable is the table name for the MemoryMetrics entity. // It exists in this package in order to avoid circular dependency with the "memorymetrics" package. MemoryMetricsInverseTable = "memory_metrics" // MemoryMetricsColumn is the table column denoting the memory_metrics relation/edge. MemoryMetricsColumn = "memory_metrics_garbage_metrics" )
Variables ¶
var Columns = []string{ FieldID, FieldType, FieldGarbageCollected, }
Columns holds all SQL columns for garbagemetrics fields.
var ForeignKeys = []string{
"memory_metrics_garbage_metrics",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "garbage_metrics" table and are not defined as standalone fields in the schema.
Functions ¶
func And ¶
func And(predicates ...predicate.GarbageMetrics) predicate.GarbageMetrics
And groups predicates with the AND operator between them.
func GarbageCollected ¶
func GarbageCollected(v int64) predicate.GarbageMetrics
GarbageCollected applies equality check predicate on the "garbage_collected" field. It's identical to GarbageCollectedEQ.
func GarbageCollectedEQ ¶
func GarbageCollectedEQ(v int64) predicate.GarbageMetrics
GarbageCollectedEQ applies the EQ predicate on the "garbage_collected" field.
func GarbageCollectedGT ¶
func GarbageCollectedGT(v int64) predicate.GarbageMetrics
GarbageCollectedGT applies the GT predicate on the "garbage_collected" field.
func GarbageCollectedGTE ¶
func GarbageCollectedGTE(v int64) predicate.GarbageMetrics
GarbageCollectedGTE applies the GTE predicate on the "garbage_collected" field.
func GarbageCollectedIn ¶
func GarbageCollectedIn(vs ...int64) predicate.GarbageMetrics
GarbageCollectedIn applies the In predicate on the "garbage_collected" field.
func GarbageCollectedIsNil ¶
func GarbageCollectedIsNil() predicate.GarbageMetrics
GarbageCollectedIsNil applies the IsNil predicate on the "garbage_collected" field.
func GarbageCollectedLT ¶
func GarbageCollectedLT(v int64) predicate.GarbageMetrics
GarbageCollectedLT applies the LT predicate on the "garbage_collected" field.
func GarbageCollectedLTE ¶
func GarbageCollectedLTE(v int64) predicate.GarbageMetrics
GarbageCollectedLTE applies the LTE predicate on the "garbage_collected" field.
func GarbageCollectedNEQ ¶
func GarbageCollectedNEQ(v int64) predicate.GarbageMetrics
GarbageCollectedNEQ applies the NEQ predicate on the "garbage_collected" field.
func GarbageCollectedNotIn ¶
func GarbageCollectedNotIn(vs ...int64) predicate.GarbageMetrics
GarbageCollectedNotIn applies the NotIn predicate on the "garbage_collected" field.
func GarbageCollectedNotNil ¶
func GarbageCollectedNotNil() predicate.GarbageMetrics
GarbageCollectedNotNil applies the NotNil predicate on the "garbage_collected" field.
func HasMemoryMetrics ¶
func HasMemoryMetrics() predicate.GarbageMetrics
HasMemoryMetrics applies the HasEdge predicate on the "memory_metrics" edge.
func HasMemoryMetricsWith ¶
func HasMemoryMetricsWith(preds ...predicate.MemoryMetrics) predicate.GarbageMetrics
HasMemoryMetricsWith applies the HasEdge predicate on the "memory_metrics" edge with a given conditions (other predicates).
func IDEQ ¶
func IDEQ(id int) predicate.GarbageMetrics
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id int) predicate.GarbageMetrics
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id int) predicate.GarbageMetrics
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...int) predicate.GarbageMetrics
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id int) predicate.GarbageMetrics
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id int) predicate.GarbageMetrics
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id int) predicate.GarbageMetrics
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...int) predicate.GarbageMetrics
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.GarbageMetrics) predicate.GarbageMetrics
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.GarbageMetrics) predicate.GarbageMetrics
Or groups predicates with the OR operator between them.
func Type ¶
func Type(v string) predicate.GarbageMetrics
Type applies equality check predicate on the "type" field. It's identical to TypeEQ.
func TypeContains ¶
func TypeContains(v string) predicate.GarbageMetrics
TypeContains applies the Contains predicate on the "type" field.
func TypeContainsFold ¶
func TypeContainsFold(v string) predicate.GarbageMetrics
TypeContainsFold applies the ContainsFold predicate on the "type" field.
func TypeEQ ¶
func TypeEQ(v string) predicate.GarbageMetrics
TypeEQ applies the EQ predicate on the "type" field.
func TypeEqualFold ¶
func TypeEqualFold(v string) predicate.GarbageMetrics
TypeEqualFold applies the EqualFold predicate on the "type" field.
func TypeGT ¶
func TypeGT(v string) predicate.GarbageMetrics
TypeGT applies the GT predicate on the "type" field.
func TypeGTE ¶
func TypeGTE(v string) predicate.GarbageMetrics
TypeGTE applies the GTE predicate on the "type" field.
func TypeHasPrefix ¶
func TypeHasPrefix(v string) predicate.GarbageMetrics
TypeHasPrefix applies the HasPrefix predicate on the "type" field.
func TypeHasSuffix ¶
func TypeHasSuffix(v string) predicate.GarbageMetrics
TypeHasSuffix applies the HasSuffix predicate on the "type" field.
func TypeIn ¶
func TypeIn(vs ...string) predicate.GarbageMetrics
TypeIn applies the In predicate on the "type" field.
func TypeIsNil ¶
func TypeIsNil() predicate.GarbageMetrics
TypeIsNil applies the IsNil predicate on the "type" field.
func TypeLT ¶
func TypeLT(v string) predicate.GarbageMetrics
TypeLT applies the LT predicate on the "type" field.
func TypeLTE ¶
func TypeLTE(v string) predicate.GarbageMetrics
TypeLTE applies the LTE predicate on the "type" field.
func TypeNEQ ¶
func TypeNEQ(v string) predicate.GarbageMetrics
TypeNEQ applies the NEQ predicate on the "type" field.
func TypeNotIn ¶
func TypeNotIn(vs ...string) predicate.GarbageMetrics
TypeNotIn applies the NotIn predicate on the "type" field.
func TypeNotNil ¶
func TypeNotNil() predicate.GarbageMetrics
TypeNotNil applies the NotNil predicate on the "type" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the GarbageMetrics queries.
func ByGarbageCollected ¶
func ByGarbageCollected(opts ...sql.OrderTermOption) OrderOption
ByGarbageCollected orders the results by the garbage_collected field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByMemoryMetricsField ¶
func ByMemoryMetricsField(field string, opts ...sql.OrderTermOption) OrderOption
ByMemoryMetricsField orders the results by memory_metrics field.
func ByType ¶
func ByType(opts ...sql.OrderTermOption) OrderOption
ByType orders the results by the type field.