Documentation ¶
Index ¶
- Constants
- Variables
- func AlertMetas(v int) predicate.Meta
- func AlertMetasEQ(v int) predicate.Meta
- func AlertMetasIn(vs ...int) predicate.Meta
- func AlertMetasIsNil() predicate.Meta
- func AlertMetasNEQ(v int) predicate.Meta
- func AlertMetasNotIn(vs ...int) predicate.Meta
- func AlertMetasNotNil() predicate.Meta
- func And(predicates ...predicate.Meta) predicate.Meta
- func CreatedAt(v time.Time) predicate.Meta
- func CreatedAtEQ(v time.Time) predicate.Meta
- func CreatedAtGT(v time.Time) predicate.Meta
- func CreatedAtGTE(v time.Time) predicate.Meta
- func CreatedAtIn(vs ...time.Time) predicate.Meta
- func CreatedAtIsNil() predicate.Meta
- func CreatedAtLT(v time.Time) predicate.Meta
- func CreatedAtLTE(v time.Time) predicate.Meta
- func CreatedAtNEQ(v time.Time) predicate.Meta
- func CreatedAtNotIn(vs ...time.Time) predicate.Meta
- func CreatedAtNotNil() predicate.Meta
- func HasOwner() predicate.Meta
- func HasOwnerWith(preds ...predicate.Alert) predicate.Meta
- func ID(id int) predicate.Meta
- func IDEQ(id int) predicate.Meta
- func IDGT(id int) predicate.Meta
- func IDGTE(id int) predicate.Meta
- func IDIn(ids ...int) predicate.Meta
- func IDLT(id int) predicate.Meta
- func IDLTE(id int) predicate.Meta
- func IDNEQ(id int) predicate.Meta
- func IDNotIn(ids ...int) predicate.Meta
- func Key(v string) predicate.Meta
- func KeyContains(v string) predicate.Meta
- func KeyContainsFold(v string) predicate.Meta
- func KeyEQ(v string) predicate.Meta
- func KeyEqualFold(v string) predicate.Meta
- func KeyGT(v string) predicate.Meta
- func KeyGTE(v string) predicate.Meta
- func KeyHasPrefix(v string) predicate.Meta
- func KeyHasSuffix(v string) predicate.Meta
- func KeyIn(vs ...string) predicate.Meta
- func KeyLT(v string) predicate.Meta
- func KeyLTE(v string) predicate.Meta
- func KeyNEQ(v string) predicate.Meta
- func KeyNotIn(vs ...string) predicate.Meta
- func Not(p predicate.Meta) predicate.Meta
- func Or(predicates ...predicate.Meta) predicate.Meta
- func UpdatedAt(v time.Time) predicate.Meta
- func UpdatedAtEQ(v time.Time) predicate.Meta
- func UpdatedAtGT(v time.Time) predicate.Meta
- func UpdatedAtGTE(v time.Time) predicate.Meta
- func UpdatedAtIn(vs ...time.Time) predicate.Meta
- func UpdatedAtIsNil() predicate.Meta
- func UpdatedAtLT(v time.Time) predicate.Meta
- func UpdatedAtLTE(v time.Time) predicate.Meta
- func UpdatedAtNEQ(v time.Time) predicate.Meta
- func UpdatedAtNotIn(vs ...time.Time) predicate.Meta
- func UpdatedAtNotNil() predicate.Meta
- func ValidColumn(column string) bool
- func Value(v string) predicate.Meta
- func ValueContains(v string) predicate.Meta
- func ValueContainsFold(v string) predicate.Meta
- func ValueEQ(v string) predicate.Meta
- func ValueEqualFold(v string) predicate.Meta
- func ValueGT(v string) predicate.Meta
- func ValueGTE(v string) predicate.Meta
- func ValueHasPrefix(v string) predicate.Meta
- func ValueHasSuffix(v string) predicate.Meta
- func ValueIn(vs ...string) predicate.Meta
- func ValueLT(v string) predicate.Meta
- func ValueLTE(v string) predicate.Meta
- func ValueNEQ(v string) predicate.Meta
- func ValueNotIn(vs ...string) predicate.Meta
Constants ¶
const ( // Label holds the string label denoting the meta type in the database. Label = "meta" // FieldID holds the string denoting the id field in the database. FieldID = "id" // 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" // FieldKey holds the string denoting the key field in the database. FieldKey = "key" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // FieldAlertMetas holds the string denoting the alert_metas field in the database. FieldAlertMetas = "alert_metas" // EdgeOwner holds the string denoting the owner edge name in mutations. EdgeOwner = "owner" // Table holds the table name of the meta in the database. Table = "meta" // OwnerTable is the table that holds the owner relation/edge. OwnerTable = "meta" // OwnerInverseTable is the table name for the Alert entity. // It exists in this package in order to avoid circular dependency with the "alert" package. OwnerInverseTable = "alerts" // OwnerColumn is the table column denoting the owner relation/edge. OwnerColumn = "alert_metas" )
Variables ¶
var ( // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time // UpdateDefaultCreatedAt holds the default value on update for the "created_at" field. UpdateDefaultCreatedAt 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 // ValueValidator is a validator for the "value" field. It is called by the builders before save. ValueValidator func(string) error )
var Columns = []string{ FieldID, FieldCreatedAt, FieldUpdatedAt, FieldKey, FieldValue, FieldAlertMetas, }
Columns holds all SQL columns for meta fields.
Functions ¶
func AlertMetas ¶
AlertMetas applies equality check predicate on the "alert_metas" field. It's identical to AlertMetasEQ.
func AlertMetasEQ ¶
AlertMetasEQ applies the EQ predicate on the "alert_metas" field.
func AlertMetasIn ¶
AlertMetasIn applies the In predicate on the "alert_metas" field.
func AlertMetasIsNil ¶
AlertMetasIsNil applies the IsNil predicate on the "alert_metas" field.
func AlertMetasNEQ ¶
AlertMetasNEQ applies the NEQ predicate on the "alert_metas" field.
func AlertMetasNotIn ¶
AlertMetasNotIn applies the NotIn predicate on the "alert_metas" field.
func AlertMetasNotNil ¶
AlertMetasNotNil applies the NotNil predicate on the "alert_metas" 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 CreatedAtIsNil ¶
CreatedAtIsNil applies the IsNil 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 CreatedAtNotNil ¶
CreatedAtNotNil applies the NotNil predicate on the "created_at" field.
func HasOwnerWith ¶
HasOwnerWith applies the HasEdge predicate on the "owner" edge with a given conditions (other predicates).
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 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 UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil 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 UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func Value ¶
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEqualFold ¶
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueHasPrefix ¶
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueNotIn ¶
ValueNotIn applies the NotIn predicate on the "value" field.
Types ¶
This section is empty.