Documentation
¶
Index ¶
- Constants
- Variables
- func AggregationEQ(v meter.MeterAggregation) predicate.Meter
- func AggregationIn(vs ...meter.MeterAggregation) predicate.Meter
- func AggregationNEQ(v meter.MeterAggregation) predicate.Meter
- func AggregationNotIn(vs ...meter.MeterAggregation) predicate.Meter
- func AggregationValidator(a meter.MeterAggregation) error
- func And(predicates ...predicate.Meter) predicate.Meter
- func AnnotationsIsNil() predicate.Meter
- func AnnotationsNotNil() predicate.Meter
- func CreatedAt(v time.Time) predicate.Meter
- func CreatedAtEQ(v time.Time) predicate.Meter
- func CreatedAtGT(v time.Time) predicate.Meter
- func CreatedAtGTE(v time.Time) predicate.Meter
- func CreatedAtIn(vs ...time.Time) predicate.Meter
- func CreatedAtLT(v time.Time) predicate.Meter
- func CreatedAtLTE(v time.Time) predicate.Meter
- func CreatedAtNEQ(v time.Time) predicate.Meter
- func CreatedAtNotIn(vs ...time.Time) predicate.Meter
- func DeletedAt(v time.Time) predicate.Meter
- func DeletedAtEQ(v time.Time) predicate.Meter
- func DeletedAtGT(v time.Time) predicate.Meter
- func DeletedAtGTE(v time.Time) predicate.Meter
- func DeletedAtIn(vs ...time.Time) predicate.Meter
- func DeletedAtIsNil() predicate.Meter
- func DeletedAtLT(v time.Time) predicate.Meter
- func DeletedAtLTE(v time.Time) predicate.Meter
- func DeletedAtNEQ(v time.Time) predicate.Meter
- func DeletedAtNotIn(vs ...time.Time) predicate.Meter
- func DeletedAtNotNil() predicate.Meter
- func Description(v string) predicate.Meter
- func DescriptionContains(v string) predicate.Meter
- func DescriptionContainsFold(v string) predicate.Meter
- func DescriptionEQ(v string) predicate.Meter
- func DescriptionEqualFold(v string) predicate.Meter
- func DescriptionGT(v string) predicate.Meter
- func DescriptionGTE(v string) predicate.Meter
- func DescriptionHasPrefix(v string) predicate.Meter
- func DescriptionHasSuffix(v string) predicate.Meter
- func DescriptionIn(vs ...string) predicate.Meter
- func DescriptionIsNil() predicate.Meter
- func DescriptionLT(v string) predicate.Meter
- func DescriptionLTE(v string) predicate.Meter
- func DescriptionNEQ(v string) predicate.Meter
- func DescriptionNotIn(vs ...string) predicate.Meter
- func DescriptionNotNil() predicate.Meter
- func EventFrom(v time.Time) predicate.Meter
- func EventFromEQ(v time.Time) predicate.Meter
- func EventFromGT(v time.Time) predicate.Meter
- func EventFromGTE(v time.Time) predicate.Meter
- func EventFromIn(vs ...time.Time) predicate.Meter
- func EventFromIsNil() predicate.Meter
- func EventFromLT(v time.Time) predicate.Meter
- func EventFromLTE(v time.Time) predicate.Meter
- func EventFromNEQ(v time.Time) predicate.Meter
- func EventFromNotIn(vs ...time.Time) predicate.Meter
- func EventFromNotNil() predicate.Meter
- func EventType(v string) predicate.Meter
- func EventTypeContains(v string) predicate.Meter
- func EventTypeContainsFold(v string) predicate.Meter
- func EventTypeEQ(v string) predicate.Meter
- func EventTypeEqualFold(v string) predicate.Meter
- func EventTypeGT(v string) predicate.Meter
- func EventTypeGTE(v string) predicate.Meter
- func EventTypeHasPrefix(v string) predicate.Meter
- func EventTypeHasSuffix(v string) predicate.Meter
- func EventTypeIn(vs ...string) predicate.Meter
- func EventTypeLT(v string) predicate.Meter
- func EventTypeLTE(v string) predicate.Meter
- func EventTypeNEQ(v string) predicate.Meter
- func EventTypeNotIn(vs ...string) predicate.Meter
- func GroupByIsNil() predicate.Meter
- func GroupByNotNil() predicate.Meter
- func HasFeature() predicate.Meter
- func HasFeatureWith(preds ...predicate.Feature) predicate.Meter
- func ID(id string) predicate.Meter
- func IDContainsFold(id string) predicate.Meter
- func IDEQ(id string) predicate.Meter
- func IDEqualFold(id string) predicate.Meter
- func IDGT(id string) predicate.Meter
- func IDGTE(id string) predicate.Meter
- func IDIn(ids ...string) predicate.Meter
- func IDLT(id string) predicate.Meter
- func IDLTE(id string) predicate.Meter
- func IDNEQ(id string) predicate.Meter
- func IDNotIn(ids ...string) predicate.Meter
- func Key(v string) predicate.Meter
- func KeyContains(v string) predicate.Meter
- func KeyContainsFold(v string) predicate.Meter
- func KeyEQ(v string) predicate.Meter
- func KeyEqualFold(v string) predicate.Meter
- func KeyGT(v string) predicate.Meter
- func KeyGTE(v string) predicate.Meter
- func KeyHasPrefix(v string) predicate.Meter
- func KeyHasSuffix(v string) predicate.Meter
- func KeyIn(vs ...string) predicate.Meter
- func KeyLT(v string) predicate.Meter
- func KeyLTE(v string) predicate.Meter
- func KeyNEQ(v string) predicate.Meter
- func KeyNotIn(vs ...string) predicate.Meter
- func MetadataIsNil() predicate.Meter
- func MetadataNotNil() predicate.Meter
- func Name(v string) predicate.Meter
- func NameContains(v string) predicate.Meter
- func NameContainsFold(v string) predicate.Meter
- func NameEQ(v string) predicate.Meter
- func NameEqualFold(v string) predicate.Meter
- func NameGT(v string) predicate.Meter
- func NameGTE(v string) predicate.Meter
- func NameHasPrefix(v string) predicate.Meter
- func NameHasSuffix(v string) predicate.Meter
- func NameIn(vs ...string) predicate.Meter
- func NameLT(v string) predicate.Meter
- func NameLTE(v string) predicate.Meter
- func NameNEQ(v string) predicate.Meter
- func NameNotIn(vs ...string) predicate.Meter
- func Namespace(v string) predicate.Meter
- func NamespaceContains(v string) predicate.Meter
- func NamespaceContainsFold(v string) predicate.Meter
- func NamespaceEQ(v string) predicate.Meter
- func NamespaceEqualFold(v string) predicate.Meter
- func NamespaceGT(v string) predicate.Meter
- func NamespaceGTE(v string) predicate.Meter
- func NamespaceHasPrefix(v string) predicate.Meter
- func NamespaceHasSuffix(v string) predicate.Meter
- func NamespaceIn(vs ...string) predicate.Meter
- func NamespaceLT(v string) predicate.Meter
- func NamespaceLTE(v string) predicate.Meter
- func NamespaceNEQ(v string) predicate.Meter
- func NamespaceNotIn(vs ...string) predicate.Meter
- func Not(p predicate.Meter) predicate.Meter
- func Or(predicates ...predicate.Meter) predicate.Meter
- func UpdatedAt(v time.Time) predicate.Meter
- func UpdatedAtEQ(v time.Time) predicate.Meter
- func UpdatedAtGT(v time.Time) predicate.Meter
- func UpdatedAtGTE(v time.Time) predicate.Meter
- func UpdatedAtIn(vs ...time.Time) predicate.Meter
- func UpdatedAtLT(v time.Time) predicate.Meter
- func UpdatedAtLTE(v time.Time) predicate.Meter
- func UpdatedAtNEQ(v time.Time) predicate.Meter
- func UpdatedAtNotIn(vs ...time.Time) predicate.Meter
- func ValidColumn(column string) bool
- func ValueProperty(v string) predicate.Meter
- func ValuePropertyContains(v string) predicate.Meter
- func ValuePropertyContainsFold(v string) predicate.Meter
- func ValuePropertyEQ(v string) predicate.Meter
- func ValuePropertyEqualFold(v string) predicate.Meter
- func ValuePropertyGT(v string) predicate.Meter
- func ValuePropertyGTE(v string) predicate.Meter
- func ValuePropertyHasPrefix(v string) predicate.Meter
- func ValuePropertyHasSuffix(v string) predicate.Meter
- func ValuePropertyIn(vs ...string) predicate.Meter
- func ValuePropertyIsNil() predicate.Meter
- func ValuePropertyLT(v string) predicate.Meter
- func ValuePropertyLTE(v string) predicate.Meter
- func ValuePropertyNEQ(v string) predicate.Meter
- func ValuePropertyNotIn(vs ...string) predicate.Meter
- func ValuePropertyNotNil() predicate.Meter
- type OrderOption
- func ByAggregation(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
- func ByDescription(opts ...sql.OrderTermOption) OrderOption
- func ByEventFrom(opts ...sql.OrderTermOption) OrderOption
- func ByEventType(opts ...sql.OrderTermOption) OrderOption
- func ByFeature(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
- func ByFeatureCount(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByKey(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByNamespace(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByValueProperty(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the meter type in the database. Label = "meter" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldNamespace holds the string denoting the namespace field in the database. FieldNamespace = "namespace" // FieldMetadata holds the string denoting the metadata field in the database. FieldMetadata = "metadata" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldDeletedAt holds the string denoting the deleted_at field in the database. FieldDeletedAt = "deleted_at" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // FieldAnnotations holds the string denoting the annotations field in the database. FieldAnnotations = "annotations" // FieldEventType holds the string denoting the event_type field in the database. FieldEventType = "event_type" // FieldValueProperty holds the string denoting the value_property field in the database. FieldValueProperty = "value_property" // FieldGroupBy holds the string denoting the group_by field in the database. FieldGroupBy = "group_by" // FieldAggregation holds the string denoting the aggregation field in the database. FieldAggregation = "aggregation" // FieldEventFrom holds the string denoting the event_from field in the database. FieldEventFrom = "event_from" // EdgeFeature holds the string denoting the feature edge name in mutations. EdgeFeature = "feature" // Table holds the table name of the meter in the database. Table = "meters" // FeatureTable is the table that holds the feature relation/edge. FeatureTable = "features" // FeatureInverseTable is the table name for the Feature entity. // It exists in this package in order to avoid circular dependency with the "dbfeature" package. FeatureInverseTable = "features" // FeatureColumn is the table column denoting the feature relation/edge. FeatureColumn = "meter_id" )
Variables ¶
var ( // NamespaceValidator is a validator for the "namespace" field. It is called by the builders before save. NamespaceValidator func(string) error // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // DefaultUpdatedAt holds the default value on creation for the "updated_at" field. DefaultUpdatedAt func() time.Time // UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field. UpdateDefaultUpdatedAt func() time.Time // KeyValidator is a validator for the "key" field. It is called by the builders before save. KeyValidator func(string) error // EventTypeValidator is a validator for the "event_type" field. It is called by the builders before save. EventTypeValidator func(string) error // DefaultID holds the default value on creation for the "id" field. DefaultID func() string )
var Columns = []string{ FieldID, FieldNamespace, FieldMetadata, FieldCreatedAt, FieldUpdatedAt, FieldDeletedAt, FieldName, FieldDescription, FieldKey, FieldAnnotations, FieldEventType, FieldValueProperty, FieldGroupBy, FieldAggregation, FieldEventFrom, }
Columns holds all SQL columns for meter fields.
Functions ¶
func AggregationEQ ¶
func AggregationEQ(v meter.MeterAggregation) predicate.Meter
AggregationEQ applies the EQ predicate on the "aggregation" field.
func AggregationIn ¶
func AggregationIn(vs ...meter.MeterAggregation) predicate.Meter
AggregationIn applies the In predicate on the "aggregation" field.
func AggregationNEQ ¶
func AggregationNEQ(v meter.MeterAggregation) predicate.Meter
AggregationNEQ applies the NEQ predicate on the "aggregation" field.
func AggregationNotIn ¶
func AggregationNotIn(vs ...meter.MeterAggregation) predicate.Meter
AggregationNotIn applies the NotIn predicate on the "aggregation" field.
func AggregationValidator ¶
func AggregationValidator(a meter.MeterAggregation) error
AggregationValidator is a validator for the "aggregation" field enum values. It is called by the builders before save.
func AnnotationsIsNil ¶
AnnotationsIsNil applies the IsNil predicate on the "annotations" field.
func AnnotationsNotNil ¶
AnnotationsNotNil applies the NotNil predicate on the "annotations" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func DeletedAt ¶
DeletedAt applies equality check predicate on the "deleted_at" field. It's identical to DeletedAtEQ.
func DeletedAtEQ ¶
DeletedAtEQ applies the EQ predicate on the "deleted_at" field.
func DeletedAtGT ¶
DeletedAtGT applies the GT predicate on the "deleted_at" field.
func DeletedAtGTE ¶
DeletedAtGTE applies the GTE predicate on the "deleted_at" field.
func DeletedAtIn ¶
DeletedAtIn applies the In predicate on the "deleted_at" field.
func DeletedAtIsNil ¶
DeletedAtIsNil applies the IsNil predicate on the "deleted_at" field.
func DeletedAtLT ¶
DeletedAtLT applies the LT predicate on the "deleted_at" field.
func DeletedAtLTE ¶
DeletedAtLTE applies the LTE predicate on the "deleted_at" field.
func DeletedAtNEQ ¶
DeletedAtNEQ applies the NEQ predicate on the "deleted_at" field.
func DeletedAtNotIn ¶
DeletedAtNotIn applies the NotIn predicate on the "deleted_at" field.
func DeletedAtNotNil ¶
DeletedAtNotNil applies the NotNil predicate on the "deleted_at" field.
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionIsNil ¶
DescriptionIsNil applies the IsNil predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func DescriptionNotNil ¶
DescriptionNotNil applies the NotNil predicate on the "description" field.
func EventFrom ¶
EventFrom applies equality check predicate on the "event_from" field. It's identical to EventFromEQ.
func EventFromEQ ¶
EventFromEQ applies the EQ predicate on the "event_from" field.
func EventFromGT ¶
EventFromGT applies the GT predicate on the "event_from" field.
func EventFromGTE ¶
EventFromGTE applies the GTE predicate on the "event_from" field.
func EventFromIn ¶
EventFromIn applies the In predicate on the "event_from" field.
func EventFromIsNil ¶
EventFromIsNil applies the IsNil predicate on the "event_from" field.
func EventFromLT ¶
EventFromLT applies the LT predicate on the "event_from" field.
func EventFromLTE ¶
EventFromLTE applies the LTE predicate on the "event_from" field.
func EventFromNEQ ¶
EventFromNEQ applies the NEQ predicate on the "event_from" field.
func EventFromNotIn ¶
EventFromNotIn applies the NotIn predicate on the "event_from" field.
func EventFromNotNil ¶
EventFromNotNil applies the NotNil predicate on the "event_from" field.
func EventType ¶
EventType applies equality check predicate on the "event_type" field. It's identical to EventTypeEQ.
func EventTypeContains ¶
EventTypeContains applies the Contains predicate on the "event_type" field.
func EventTypeContainsFold ¶
EventTypeContainsFold applies the ContainsFold predicate on the "event_type" field.
func EventTypeEQ ¶
EventTypeEQ applies the EQ predicate on the "event_type" field.
func EventTypeEqualFold ¶
EventTypeEqualFold applies the EqualFold predicate on the "event_type" field.
func EventTypeGT ¶
EventTypeGT applies the GT predicate on the "event_type" field.
func EventTypeGTE ¶
EventTypeGTE applies the GTE predicate on the "event_type" field.
func EventTypeHasPrefix ¶
EventTypeHasPrefix applies the HasPrefix predicate on the "event_type" field.
func EventTypeHasSuffix ¶
EventTypeHasSuffix applies the HasSuffix predicate on the "event_type" field.
func EventTypeIn ¶
EventTypeIn applies the In predicate on the "event_type" field.
func EventTypeLT ¶
EventTypeLT applies the LT predicate on the "event_type" field.
func EventTypeLTE ¶
EventTypeLTE applies the LTE predicate on the "event_type" field.
func EventTypeNEQ ¶
EventTypeNEQ applies the NEQ predicate on the "event_type" field.
func EventTypeNotIn ¶
EventTypeNotIn applies the NotIn predicate on the "event_type" field.
func GroupByIsNil ¶
GroupByIsNil applies the IsNil predicate on the "group_by" field.
func GroupByNotNil ¶
GroupByNotNil applies the NotNil predicate on the "group_by" field.
func HasFeature ¶
HasFeature applies the HasEdge predicate on the "feature" edge.
func HasFeatureWith ¶
HasFeatureWith applies the HasEdge predicate on the "feature" edge with a given conditions (other predicates).
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID field.
func KeyContains ¶
KeyContains applies the Contains predicate on the "key" field.
func KeyContainsFold ¶
KeyContainsFold applies the ContainsFold predicate on the "key" field.
func KeyEqualFold ¶
KeyEqualFold applies the EqualFold predicate on the "key" field.
func KeyHasPrefix ¶
KeyHasPrefix applies the HasPrefix predicate on the "key" field.
func KeyHasSuffix ¶
KeyHasSuffix applies the HasSuffix predicate on the "key" field.
func MetadataIsNil ¶
MetadataIsNil applies the IsNil predicate on the "metadata" field.
func MetadataNotNil ¶
MetadataNotNil applies the NotNil predicate on the "metadata" field.
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func Namespace ¶
Namespace applies equality check predicate on the "namespace" field. It's identical to NamespaceEQ.
func NamespaceContains ¶
NamespaceContains applies the Contains predicate on the "namespace" field.
func NamespaceContainsFold ¶
NamespaceContainsFold applies the ContainsFold predicate on the "namespace" field.
func NamespaceEQ ¶
NamespaceEQ applies the EQ predicate on the "namespace" field.
func NamespaceEqualFold ¶
NamespaceEqualFold applies the EqualFold predicate on the "namespace" field.
func NamespaceGT ¶
NamespaceGT applies the GT predicate on the "namespace" field.
func NamespaceGTE ¶
NamespaceGTE applies the GTE predicate on the "namespace" field.
func NamespaceHasPrefix ¶
NamespaceHasPrefix applies the HasPrefix predicate on the "namespace" field.
func NamespaceHasSuffix ¶
NamespaceHasSuffix applies the HasSuffix predicate on the "namespace" field.
func NamespaceIn ¶
NamespaceIn applies the In predicate on the "namespace" field.
func NamespaceLT ¶
NamespaceLT applies the LT predicate on the "namespace" field.
func NamespaceLTE ¶
NamespaceLTE applies the LTE predicate on the "namespace" field.
func NamespaceNEQ ¶
NamespaceNEQ applies the NEQ predicate on the "namespace" field.
func NamespaceNotIn ¶
NamespaceNotIn applies the NotIn predicate on the "namespace" field.
func UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func ValueProperty ¶
ValueProperty applies equality check predicate on the "value_property" field. It's identical to ValuePropertyEQ.
func ValuePropertyContains ¶
ValuePropertyContains applies the Contains predicate on the "value_property" field.
func ValuePropertyContainsFold ¶
ValuePropertyContainsFold applies the ContainsFold predicate on the "value_property" field.
func ValuePropertyEQ ¶
ValuePropertyEQ applies the EQ predicate on the "value_property" field.
func ValuePropertyEqualFold ¶
ValuePropertyEqualFold applies the EqualFold predicate on the "value_property" field.
func ValuePropertyGT ¶
ValuePropertyGT applies the GT predicate on the "value_property" field.
func ValuePropertyGTE ¶
ValuePropertyGTE applies the GTE predicate on the "value_property" field.
func ValuePropertyHasPrefix ¶
ValuePropertyHasPrefix applies the HasPrefix predicate on the "value_property" field.
func ValuePropertyHasSuffix ¶
ValuePropertyHasSuffix applies the HasSuffix predicate on the "value_property" field.
func ValuePropertyIn ¶
ValuePropertyIn applies the In predicate on the "value_property" field.
func ValuePropertyIsNil ¶
ValuePropertyIsNil applies the IsNil predicate on the "value_property" field.
func ValuePropertyLT ¶
ValuePropertyLT applies the LT predicate on the "value_property" field.
func ValuePropertyLTE ¶
ValuePropertyLTE applies the LTE predicate on the "value_property" field.
func ValuePropertyNEQ ¶
ValuePropertyNEQ applies the NEQ predicate on the "value_property" field.
func ValuePropertyNotIn ¶
ValuePropertyNotIn applies the NotIn predicate on the "value_property" field.
func ValuePropertyNotNil ¶
ValuePropertyNotNil applies the NotNil predicate on the "value_property" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the Meter queries.
func ByAggregation ¶
func ByAggregation(opts ...sql.OrderTermOption) OrderOption
ByAggregation orders the results by the aggregation field.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByDeletedAt ¶
func ByDeletedAt(opts ...sql.OrderTermOption) OrderOption
ByDeletedAt orders the results by the deleted_at field.
func ByDescription ¶
func ByDescription(opts ...sql.OrderTermOption) OrderOption
ByDescription orders the results by the description field.
func ByEventFrom ¶
func ByEventFrom(opts ...sql.OrderTermOption) OrderOption
ByEventFrom orders the results by the event_from field.
func ByEventType ¶
func ByEventType(opts ...sql.OrderTermOption) OrderOption
ByEventType orders the results by the event_type field.
func ByFeature ¶
func ByFeature(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption
ByFeature orders the results by feature terms.
func ByFeatureCount ¶
func ByFeatureCount(opts ...sql.OrderTermOption) OrderOption
ByFeatureCount orders the results by feature count.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByKey ¶
func ByKey(opts ...sql.OrderTermOption) OrderOption
ByKey orders the results by the key field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByNamespace ¶
func ByNamespace(opts ...sql.OrderTermOption) OrderOption
ByNamespace orders the results by the namespace field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByValueProperty ¶
func ByValueProperty(opts ...sql.OrderTermOption) OrderOption
ByValueProperty orders the results by the value_property field.