Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Meter) 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 CreatedBy(v string) predicate.Meter
- func CreatedByContains(v string) predicate.Meter
- func CreatedByContainsFold(v string) predicate.Meter
- func CreatedByEQ(v string) predicate.Meter
- func CreatedByEqualFold(v string) predicate.Meter
- func CreatedByGT(v string) predicate.Meter
- func CreatedByGTE(v string) predicate.Meter
- func CreatedByHasPrefix(v string) predicate.Meter
- func CreatedByHasSuffix(v string) predicate.Meter
- func CreatedByIn(vs ...string) predicate.Meter
- func CreatedByIsNil() predicate.Meter
- func CreatedByLT(v string) predicate.Meter
- func CreatedByLTE(v string) predicate.Meter
- func CreatedByNEQ(v string) predicate.Meter
- func CreatedByNotIn(vs ...string) predicate.Meter
- func CreatedByNotNil() predicate.Meter
- func EnvironmentID(v string) predicate.Meter
- func EnvironmentIDContains(v string) predicate.Meter
- func EnvironmentIDContainsFold(v string) predicate.Meter
- func EnvironmentIDEQ(v string) predicate.Meter
- func EnvironmentIDEqualFold(v string) predicate.Meter
- func EnvironmentIDGT(v string) predicate.Meter
- func EnvironmentIDGTE(v string) predicate.Meter
- func EnvironmentIDHasPrefix(v string) predicate.Meter
- func EnvironmentIDHasSuffix(v string) predicate.Meter
- func EnvironmentIDIn(vs ...string) predicate.Meter
- func EnvironmentIDIsNil() predicate.Meter
- func EnvironmentIDLT(v string) predicate.Meter
- func EnvironmentIDLTE(v string) predicate.Meter
- func EnvironmentIDNEQ(v string) predicate.Meter
- func EnvironmentIDNotIn(vs ...string) predicate.Meter
- func EnvironmentIDNotNil() predicate.Meter
- func EventName(v string) predicate.Meter
- func EventNameContains(v string) predicate.Meter
- func EventNameContainsFold(v string) predicate.Meter
- func EventNameEQ(v string) predicate.Meter
- func EventNameEqualFold(v string) predicate.Meter
- func EventNameGT(v string) predicate.Meter
- func EventNameGTE(v string) predicate.Meter
- func EventNameHasPrefix(v string) predicate.Meter
- func EventNameHasSuffix(v string) predicate.Meter
- func EventNameIn(vs ...string) predicate.Meter
- func EventNameLT(v string) predicate.Meter
- func EventNameLTE(v string) predicate.Meter
- func EventNameNEQ(v string) predicate.Meter
- func EventNameNotIn(vs ...string) 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 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 Not(p predicate.Meter) predicate.Meter
- func Or(predicates ...predicate.Meter) predicate.Meter
- func ResetUsage(v string) predicate.Meter
- func ResetUsageContains(v string) predicate.Meter
- func ResetUsageContainsFold(v string) predicate.Meter
- func ResetUsageEQ(v string) predicate.Meter
- func ResetUsageEqualFold(v string) predicate.Meter
- func ResetUsageGT(v string) predicate.Meter
- func ResetUsageGTE(v string) predicate.Meter
- func ResetUsageHasPrefix(v string) predicate.Meter
- func ResetUsageHasSuffix(v string) predicate.Meter
- func ResetUsageIn(vs ...string) predicate.Meter
- func ResetUsageLT(v string) predicate.Meter
- func ResetUsageLTE(v string) predicate.Meter
- func ResetUsageNEQ(v string) predicate.Meter
- func ResetUsageNotIn(vs ...string) predicate.Meter
- func Status(v string) predicate.Meter
- func StatusContains(v string) predicate.Meter
- func StatusContainsFold(v string) predicate.Meter
- func StatusEQ(v string) predicate.Meter
- func StatusEqualFold(v string) predicate.Meter
- func StatusGT(v string) predicate.Meter
- func StatusGTE(v string) predicate.Meter
- func StatusHasPrefix(v string) predicate.Meter
- func StatusHasSuffix(v string) predicate.Meter
- func StatusIn(vs ...string) predicate.Meter
- func StatusLT(v string) predicate.Meter
- func StatusLTE(v string) predicate.Meter
- func StatusNEQ(v string) predicate.Meter
- func StatusNotIn(vs ...string) predicate.Meter
- func TenantID(v string) predicate.Meter
- func TenantIDContains(v string) predicate.Meter
- func TenantIDContainsFold(v string) predicate.Meter
- func TenantIDEQ(v string) predicate.Meter
- func TenantIDEqualFold(v string) predicate.Meter
- func TenantIDGT(v string) predicate.Meter
- func TenantIDGTE(v string) predicate.Meter
- func TenantIDHasPrefix(v string) predicate.Meter
- func TenantIDHasSuffix(v string) predicate.Meter
- func TenantIDIn(vs ...string) predicate.Meter
- func TenantIDLT(v string) predicate.Meter
- func TenantIDLTE(v string) predicate.Meter
- func TenantIDNEQ(v string) predicate.Meter
- func TenantIDNotIn(vs ...string) 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 UpdatedBy(v string) predicate.Meter
- func UpdatedByContains(v string) predicate.Meter
- func UpdatedByContainsFold(v string) predicate.Meter
- func UpdatedByEQ(v string) predicate.Meter
- func UpdatedByEqualFold(v string) predicate.Meter
- func UpdatedByGT(v string) predicate.Meter
- func UpdatedByGTE(v string) predicate.Meter
- func UpdatedByHasPrefix(v string) predicate.Meter
- func UpdatedByHasSuffix(v string) predicate.Meter
- func UpdatedByIn(vs ...string) predicate.Meter
- func UpdatedByIsNil() predicate.Meter
- func UpdatedByLT(v string) predicate.Meter
- func UpdatedByLTE(v string) predicate.Meter
- func UpdatedByNEQ(v string) predicate.Meter
- func UpdatedByNotIn(vs ...string) predicate.Meter
- func UpdatedByNotNil() predicate.Meter
- func ValidColumn(column string) bool
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
- func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
- func ByEventName(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByName(opts ...sql.OrderTermOption) OrderOption
- func ByResetUsage(opts ...sql.OrderTermOption) OrderOption
- func ByStatus(opts ...sql.OrderTermOption) OrderOption
- func ByTenantID(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedBy(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" // FieldTenantID holds the string denoting the tenant_id field in the database. FieldTenantID = "tenant_id" // FieldStatus holds the string denoting the status field in the database. FieldStatus = "status" // 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" // FieldCreatedBy holds the string denoting the created_by field in the database. FieldCreatedBy = "created_by" // FieldUpdatedBy holds the string denoting the updated_by field in the database. FieldUpdatedBy = "updated_by" // FieldEnvironmentID holds the string denoting the environment_id field in the database. FieldEnvironmentID = "environment_id" // FieldEventName holds the string denoting the event_name field in the database. FieldEventName = "event_name" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldAggregation holds the string denoting the aggregation field in the database. FieldAggregation = "aggregation" // FieldFilters holds the string denoting the filters field in the database. FieldFilters = "filters" // FieldResetUsage holds the string denoting the reset_usage field in the database. FieldResetUsage = "reset_usage" // Table holds the table name of the meter in the database. Table = "meters" )
Variables ¶
var ( // TenantIDValidator is a validator for the "tenant_id" field. It is called by the builders before save. TenantIDValidator func(string) error // DefaultStatus holds the default value on creation for the "status" field. DefaultStatus string // 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 // DefaultEnvironmentID holds the default value on creation for the "environment_id" field. DefaultEnvironmentID string // EventNameValidator is a validator for the "event_name" field. It is called by the builders before save. EventNameValidator func(string) error // NameValidator is a validator for the "name" field. It is called by the builders before save. NameValidator func(string) error // DefaultAggregation holds the default value on creation for the "aggregation" field. DefaultAggregation schema.MeterAggregation // DefaultFilters holds the default value on creation for the "filters" field. DefaultFilters []schema.MeterFilter // DefaultResetUsage holds the default value on creation for the "reset_usage" field. DefaultResetUsage string )
var Columns = []string{ FieldID, FieldTenantID, FieldStatus, FieldCreatedAt, FieldUpdatedAt, FieldCreatedBy, FieldUpdatedBy, FieldEnvironmentID, FieldEventName, FieldName, FieldAggregation, FieldFilters, FieldResetUsage, }
Columns holds all SQL columns for meter fields.
Functions ¶
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 CreatedBy ¶
CreatedBy applies equality check predicate on the "created_by" field. It's identical to CreatedByEQ.
func CreatedByContains ¶
CreatedByContains applies the Contains predicate on the "created_by" field.
func CreatedByContainsFold ¶
CreatedByContainsFold applies the ContainsFold predicate on the "created_by" field.
func CreatedByEQ ¶
CreatedByEQ applies the EQ predicate on the "created_by" field.
func CreatedByEqualFold ¶
CreatedByEqualFold applies the EqualFold predicate on the "created_by" field.
func CreatedByGT ¶
CreatedByGT applies the GT predicate on the "created_by" field.
func CreatedByGTE ¶
CreatedByGTE applies the GTE predicate on the "created_by" field.
func CreatedByHasPrefix ¶
CreatedByHasPrefix applies the HasPrefix predicate on the "created_by" field.
func CreatedByHasSuffix ¶
CreatedByHasSuffix applies the HasSuffix predicate on the "created_by" field.
func CreatedByIn ¶
CreatedByIn applies the In predicate on the "created_by" field.
func CreatedByIsNil ¶
CreatedByIsNil applies the IsNil predicate on the "created_by" field.
func CreatedByLT ¶
CreatedByLT applies the LT predicate on the "created_by" field.
func CreatedByLTE ¶
CreatedByLTE applies the LTE predicate on the "created_by" field.
func CreatedByNEQ ¶
CreatedByNEQ applies the NEQ predicate on the "created_by" field.
func CreatedByNotIn ¶
CreatedByNotIn applies the NotIn predicate on the "created_by" field.
func CreatedByNotNil ¶
CreatedByNotNil applies the NotNil predicate on the "created_by" field.
func EnvironmentID ¶
EnvironmentID applies equality check predicate on the "environment_id" field. It's identical to EnvironmentIDEQ.
func EnvironmentIDContains ¶
EnvironmentIDContains applies the Contains predicate on the "environment_id" field.
func EnvironmentIDContainsFold ¶
EnvironmentIDContainsFold applies the ContainsFold predicate on the "environment_id" field.
func EnvironmentIDEQ ¶
EnvironmentIDEQ applies the EQ predicate on the "environment_id" field.
func EnvironmentIDEqualFold ¶
EnvironmentIDEqualFold applies the EqualFold predicate on the "environment_id" field.
func EnvironmentIDGT ¶
EnvironmentIDGT applies the GT predicate on the "environment_id" field.
func EnvironmentIDGTE ¶
EnvironmentIDGTE applies the GTE predicate on the "environment_id" field.
func EnvironmentIDHasPrefix ¶
EnvironmentIDHasPrefix applies the HasPrefix predicate on the "environment_id" field.
func EnvironmentIDHasSuffix ¶
EnvironmentIDHasSuffix applies the HasSuffix predicate on the "environment_id" field.
func EnvironmentIDIn ¶
EnvironmentIDIn applies the In predicate on the "environment_id" field.
func EnvironmentIDIsNil ¶
EnvironmentIDIsNil applies the IsNil predicate on the "environment_id" field.
func EnvironmentIDLT ¶
EnvironmentIDLT applies the LT predicate on the "environment_id" field.
func EnvironmentIDLTE ¶
EnvironmentIDLTE applies the LTE predicate on the "environment_id" field.
func EnvironmentIDNEQ ¶
EnvironmentIDNEQ applies the NEQ predicate on the "environment_id" field.
func EnvironmentIDNotIn ¶
EnvironmentIDNotIn applies the NotIn predicate on the "environment_id" field.
func EnvironmentIDNotNil ¶
EnvironmentIDNotNil applies the NotNil predicate on the "environment_id" field.
func EventName ¶
EventName applies equality check predicate on the "event_name" field. It's identical to EventNameEQ.
func EventNameContains ¶
EventNameContains applies the Contains predicate on the "event_name" field.
func EventNameContainsFold ¶
EventNameContainsFold applies the ContainsFold predicate on the "event_name" field.
func EventNameEQ ¶
EventNameEQ applies the EQ predicate on the "event_name" field.
func EventNameEqualFold ¶
EventNameEqualFold applies the EqualFold predicate on the "event_name" field.
func EventNameGT ¶
EventNameGT applies the GT predicate on the "event_name" field.
func EventNameGTE ¶
EventNameGTE applies the GTE predicate on the "event_name" field.
func EventNameHasPrefix ¶
EventNameHasPrefix applies the HasPrefix predicate on the "event_name" field.
func EventNameHasSuffix ¶
EventNameHasSuffix applies the HasSuffix predicate on the "event_name" field.
func EventNameIn ¶
EventNameIn applies the In predicate on the "event_name" field.
func EventNameLT ¶
EventNameLT applies the LT predicate on the "event_name" field.
func EventNameLTE ¶
EventNameLTE applies the LTE predicate on the "event_name" field.
func EventNameNEQ ¶
EventNameNEQ applies the NEQ predicate on the "event_name" field.
func EventNameNotIn ¶
EventNameNotIn applies the NotIn predicate on the "event_name" field.
func IDContainsFold ¶
IDContainsFold applies the ContainsFold predicate on the ID field.
func IDEqualFold ¶
IDEqualFold applies the EqualFold predicate on the ID 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 ResetUsage ¶
ResetUsage applies equality check predicate on the "reset_usage" field. It's identical to ResetUsageEQ.
func ResetUsageContains ¶
ResetUsageContains applies the Contains predicate on the "reset_usage" field.
func ResetUsageContainsFold ¶
ResetUsageContainsFold applies the ContainsFold predicate on the "reset_usage" field.
func ResetUsageEQ ¶
ResetUsageEQ applies the EQ predicate on the "reset_usage" field.
func ResetUsageEqualFold ¶
ResetUsageEqualFold applies the EqualFold predicate on the "reset_usage" field.
func ResetUsageGT ¶
ResetUsageGT applies the GT predicate on the "reset_usage" field.
func ResetUsageGTE ¶
ResetUsageGTE applies the GTE predicate on the "reset_usage" field.
func ResetUsageHasPrefix ¶
ResetUsageHasPrefix applies the HasPrefix predicate on the "reset_usage" field.
func ResetUsageHasSuffix ¶
ResetUsageHasSuffix applies the HasSuffix predicate on the "reset_usage" field.
func ResetUsageIn ¶
ResetUsageIn applies the In predicate on the "reset_usage" field.
func ResetUsageLT ¶
ResetUsageLT applies the LT predicate on the "reset_usage" field.
func ResetUsageLTE ¶
ResetUsageLTE applies the LTE predicate on the "reset_usage" field.
func ResetUsageNEQ ¶
ResetUsageNEQ applies the NEQ predicate on the "reset_usage" field.
func ResetUsageNotIn ¶
ResetUsageNotIn applies the NotIn predicate on the "reset_usage" field.
func Status ¶
Status applies equality check predicate on the "status" field. It's identical to StatusEQ.
func StatusContains ¶
StatusContains applies the Contains predicate on the "status" field.
func StatusContainsFold ¶
StatusContainsFold applies the ContainsFold predicate on the "status" field.
func StatusEqualFold ¶
StatusEqualFold applies the EqualFold predicate on the "status" field.
func StatusHasPrefix ¶
StatusHasPrefix applies the HasPrefix predicate on the "status" field.
func StatusHasSuffix ¶
StatusHasSuffix applies the HasSuffix predicate on the "status" field.
func StatusNotIn ¶
StatusNotIn applies the NotIn predicate on the "status" field.
func TenantID ¶
TenantID applies equality check predicate on the "tenant_id" field. It's identical to TenantIDEQ.
func TenantIDContains ¶
TenantIDContains applies the Contains predicate on the "tenant_id" field.
func TenantIDContainsFold ¶
TenantIDContainsFold applies the ContainsFold predicate on the "tenant_id" field.
func TenantIDEQ ¶
TenantIDEQ applies the EQ predicate on the "tenant_id" field.
func TenantIDEqualFold ¶
TenantIDEqualFold applies the EqualFold predicate on the "tenant_id" field.
func TenantIDGT ¶
TenantIDGT applies the GT predicate on the "tenant_id" field.
func TenantIDGTE ¶
TenantIDGTE applies the GTE predicate on the "tenant_id" field.
func TenantIDHasPrefix ¶
TenantIDHasPrefix applies the HasPrefix predicate on the "tenant_id" field.
func TenantIDHasSuffix ¶
TenantIDHasSuffix applies the HasSuffix predicate on the "tenant_id" field.
func TenantIDIn ¶
TenantIDIn applies the In predicate on the "tenant_id" field.
func TenantIDLT ¶
TenantIDLT applies the LT predicate on the "tenant_id" field.
func TenantIDLTE ¶
TenantIDLTE applies the LTE predicate on the "tenant_id" field.
func TenantIDNEQ ¶
TenantIDNEQ applies the NEQ predicate on the "tenant_id" field.
func TenantIDNotIn ¶
TenantIDNotIn applies the NotIn predicate on the "tenant_id" 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 UpdatedBy ¶
UpdatedBy applies equality check predicate on the "updated_by" field. It's identical to UpdatedByEQ.
func UpdatedByContains ¶
UpdatedByContains applies the Contains predicate on the "updated_by" field.
func UpdatedByContainsFold ¶
UpdatedByContainsFold applies the ContainsFold predicate on the "updated_by" field.
func UpdatedByEQ ¶
UpdatedByEQ applies the EQ predicate on the "updated_by" field.
func UpdatedByEqualFold ¶
UpdatedByEqualFold applies the EqualFold predicate on the "updated_by" field.
func UpdatedByGT ¶
UpdatedByGT applies the GT predicate on the "updated_by" field.
func UpdatedByGTE ¶
UpdatedByGTE applies the GTE predicate on the "updated_by" field.
func UpdatedByHasPrefix ¶
UpdatedByHasPrefix applies the HasPrefix predicate on the "updated_by" field.
func UpdatedByHasSuffix ¶
UpdatedByHasSuffix applies the HasSuffix predicate on the "updated_by" field.
func UpdatedByIn ¶
UpdatedByIn applies the In predicate on the "updated_by" field.
func UpdatedByIsNil ¶
UpdatedByIsNil applies the IsNil predicate on the "updated_by" field.
func UpdatedByLT ¶
UpdatedByLT applies the LT predicate on the "updated_by" field.
func UpdatedByLTE ¶
UpdatedByLTE applies the LTE predicate on the "updated_by" field.
func UpdatedByNEQ ¶
UpdatedByNEQ applies the NEQ predicate on the "updated_by" field.
func UpdatedByNotIn ¶
UpdatedByNotIn applies the NotIn predicate on the "updated_by" field.
func UpdatedByNotNil ¶
UpdatedByNotNil applies the NotNil predicate on the "updated_by" 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 Meter queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByCreatedBy ¶
func ByCreatedBy(opts ...sql.OrderTermOption) OrderOption
ByCreatedBy orders the results by the created_by field.
func ByEnvironmentID ¶
func ByEnvironmentID(opts ...sql.OrderTermOption) OrderOption
ByEnvironmentID orders the results by the environment_id field.
func ByEventName ¶
func ByEventName(opts ...sql.OrderTermOption) OrderOption
ByEventName orders the results by the event_name field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByName ¶
func ByName(opts ...sql.OrderTermOption) OrderOption
ByName orders the results by the name field.
func ByResetUsage ¶
func ByResetUsage(opts ...sql.OrderTermOption) OrderOption
ByResetUsage orders the results by the reset_usage field.
func ByStatus ¶
func ByStatus(opts ...sql.OrderTermOption) OrderOption
ByStatus orders the results by the status field.
func ByTenantID ¶
func ByTenantID(opts ...sql.OrderTermOption) OrderOption
ByTenantID orders the results by the tenant_id field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByUpdatedBy ¶
func ByUpdatedBy(opts ...sql.OrderTermOption) OrderOption
ByUpdatedBy orders the results by the updated_by field.