Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.EntityProperty) predicate.EntityProperty
- func CreatedAt(v time.Time) predicate.EntityProperty
- func CreatedAtEQ(v time.Time) predicate.EntityProperty
- func CreatedAtGT(v time.Time) predicate.EntityProperty
- func CreatedAtGTE(v time.Time) predicate.EntityProperty
- func CreatedAtIn(vs ...time.Time) predicate.EntityProperty
- func CreatedAtLT(v time.Time) predicate.EntityProperty
- func CreatedAtLTE(v time.Time) predicate.EntityProperty
- func CreatedAtNEQ(v time.Time) predicate.EntityProperty
- func CreatedAtNotIn(vs ...time.Time) predicate.EntityProperty
- func EntityID(v string) predicate.EntityProperty
- func EntityIDContains(v string) predicate.EntityProperty
- func EntityIDContainsFold(v string) predicate.EntityProperty
- func EntityIDEQ(v string) predicate.EntityProperty
- func EntityIDEqualFold(v string) predicate.EntityProperty
- func EntityIDGT(v string) predicate.EntityProperty
- func EntityIDGTE(v string) predicate.EntityProperty
- func EntityIDHasPrefix(v string) predicate.EntityProperty
- func EntityIDHasSuffix(v string) predicate.EntityProperty
- func EntityIDIn(vs ...string) predicate.EntityProperty
- func EntityIDLT(v string) predicate.EntityProperty
- func EntityIDLTE(v string) predicate.EntityProperty
- func EntityIDNEQ(v string) predicate.EntityProperty
- func EntityIDNotIn(vs ...string) predicate.EntityProperty
- func EntityType(v string) predicate.EntityProperty
- func EntityTypeContains(v string) predicate.EntityProperty
- func EntityTypeContainsFold(v string) predicate.EntityProperty
- func EntityTypeEQ(v string) predicate.EntityProperty
- func EntityTypeEqualFold(v string) predicate.EntityProperty
- func EntityTypeGT(v string) predicate.EntityProperty
- func EntityTypeGTE(v string) predicate.EntityProperty
- func EntityTypeHasPrefix(v string) predicate.EntityProperty
- func EntityTypeHasSuffix(v string) predicate.EntityProperty
- func EntityTypeIn(vs ...string) predicate.EntityProperty
- func EntityTypeLT(v string) predicate.EntityProperty
- func EntityTypeLTE(v string) predicate.EntityProperty
- func EntityTypeNEQ(v string) predicate.EntityProperty
- func EntityTypeNotIn(vs ...string) predicate.EntityProperty
- func ID(id uuid.UUID) predicate.EntityProperty
- func IDEQ(id uuid.UUID) predicate.EntityProperty
- func IDGT(id uuid.UUID) predicate.EntityProperty
- func IDGTE(id uuid.UUID) predicate.EntityProperty
- func IDIn(ids ...uuid.UUID) predicate.EntityProperty
- func IDLT(id uuid.UUID) predicate.EntityProperty
- func IDLTE(id uuid.UUID) predicate.EntityProperty
- func IDNEQ(id uuid.UUID) predicate.EntityProperty
- func IDNotIn(ids ...uuid.UUID) predicate.EntityProperty
- func Not(p predicate.EntityProperty) predicate.EntityProperty
- func Or(predicates ...predicate.EntityProperty) predicate.EntityProperty
- func Property(v string) predicate.EntityProperty
- func PropertyContains(v string) predicate.EntityProperty
- func PropertyContainsFold(v string) predicate.EntityProperty
- func PropertyEQ(v string) predicate.EntityProperty
- func PropertyEqualFold(v string) predicate.EntityProperty
- func PropertyGT(v string) predicate.EntityProperty
- func PropertyGTE(v string) predicate.EntityProperty
- func PropertyHasPrefix(v string) predicate.EntityProperty
- func PropertyHasSuffix(v string) predicate.EntityProperty
- func PropertyIn(vs ...string) predicate.EntityProperty
- func PropertyLT(v string) predicate.EntityProperty
- func PropertyLTE(v string) predicate.EntityProperty
- func PropertyNEQ(v string) predicate.EntityProperty
- func PropertyNotIn(vs ...string) predicate.EntityProperty
- func UpdatedAt(v time.Time) predicate.EntityProperty
- func UpdatedAtEQ(v time.Time) predicate.EntityProperty
- func UpdatedAtGT(v time.Time) predicate.EntityProperty
- func UpdatedAtGTE(v time.Time) predicate.EntityProperty
- func UpdatedAtIn(vs ...time.Time) predicate.EntityProperty
- func UpdatedAtLT(v time.Time) predicate.EntityProperty
- func UpdatedAtLTE(v time.Time) predicate.EntityProperty
- func UpdatedAtNEQ(v time.Time) predicate.EntityProperty
- func UpdatedAtNotIn(vs ...time.Time) predicate.EntityProperty
- func ValidColumn(column string) bool
- func Value(v string) predicate.EntityProperty
- func ValueContains(v string) predicate.EntityProperty
- func ValueContainsFold(v string) predicate.EntityProperty
- func ValueEQ(v string) predicate.EntityProperty
- func ValueEqualFold(v string) predicate.EntityProperty
- func ValueGT(v string) predicate.EntityProperty
- func ValueGTE(v string) predicate.EntityProperty
- func ValueHasPrefix(v string) predicate.EntityProperty
- func ValueHasSuffix(v string) predicate.EntityProperty
- func ValueIn(vs ...string) predicate.EntityProperty
- func ValueLT(v string) predicate.EntityProperty
- func ValueLTE(v string) predicate.EntityProperty
- func ValueNEQ(v string) predicate.EntityProperty
- func ValueNotIn(vs ...string) predicate.EntityProperty
- func ValueType(v string) predicate.EntityProperty
- func ValueTypeContains(v string) predicate.EntityProperty
- func ValueTypeContainsFold(v string) predicate.EntityProperty
- func ValueTypeEQ(v string) predicate.EntityProperty
- func ValueTypeEqualFold(v string) predicate.EntityProperty
- func ValueTypeGT(v string) predicate.EntityProperty
- func ValueTypeGTE(v string) predicate.EntityProperty
- func ValueTypeHasPrefix(v string) predicate.EntityProperty
- func ValueTypeHasSuffix(v string) predicate.EntityProperty
- func ValueTypeIn(vs ...string) predicate.EntityProperty
- func ValueTypeLT(v string) predicate.EntityProperty
- func ValueTypeLTE(v string) predicate.EntityProperty
- func ValueTypeNEQ(v string) predicate.EntityProperty
- func ValueTypeNotIn(vs ...string) predicate.EntityProperty
- type OrderOption
- func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByEntityID(opts ...sql.OrderTermOption) OrderOption
- func ByEntityType(opts ...sql.OrderTermOption) OrderOption
- func ByID(opts ...sql.OrderTermOption) OrderOption
- func ByProperty(opts ...sql.OrderTermOption) OrderOption
- func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
- func ByValue(opts ...sql.OrderTermOption) OrderOption
- func ByValueType(opts ...sql.OrderTermOption) OrderOption
Constants ¶
const ( // Label holds the string label denoting the entityproperty type in the database. Label = "entity_property" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldEntityID holds the string denoting the entity_id field in the database. FieldEntityID = "entity_id" // FieldEntityType holds the string denoting the entity_type field in the database. FieldEntityType = "entity_type" // FieldProperty holds the string denoting the property field in the database. FieldProperty = "property" // FieldValue holds the string denoting the value field in the database. FieldValue = "value" // FieldValueType holds the string denoting the value_type field in the database. FieldValueType = "value_type" // 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" // Table holds the table name of the entityproperty in the database. Table = "entity_properties" )
Variables ¶
var ( // EntityIDValidator is a validator for the "entity_id" field. It is called by the builders before save. EntityIDValidator func(string) error // EntityTypeValidator is a validator for the "entity_type" field. It is called by the builders before save. EntityTypeValidator func(string) error // PropertyValidator is a validator for the "property" field. It is called by the builders before save. PropertyValidator func(string) error // DefaultValueType holds the default value on creation for the "value_type" field. DefaultValueType 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 // DefaultID holds the default value on creation for the "id" field. DefaultID func() uuid.UUID )
var Columns = []string{ FieldID, FieldEntityID, FieldEntityType, FieldProperty, FieldValue, FieldValueType, FieldCreatedAt, FieldUpdatedAt, }
Columns holds all SQL columns for entityproperty fields.
Functions ¶
func And ¶
func And(predicates ...predicate.EntityProperty) predicate.EntityProperty
And groups predicates with the AND operator between them.
func CreatedAt ¶
func CreatedAt(v time.Time) predicate.EntityProperty
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
func CreatedAtEQ(v time.Time) predicate.EntityProperty
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
func CreatedAtGT(v time.Time) predicate.EntityProperty
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
func CreatedAtGTE(v time.Time) predicate.EntityProperty
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
func CreatedAtIn(vs ...time.Time) predicate.EntityProperty
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
func CreatedAtLT(v time.Time) predicate.EntityProperty
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
func CreatedAtLTE(v time.Time) predicate.EntityProperty
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
func CreatedAtNEQ(v time.Time) predicate.EntityProperty
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
func CreatedAtNotIn(vs ...time.Time) predicate.EntityProperty
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func EntityID ¶
func EntityID(v string) predicate.EntityProperty
EntityID applies equality check predicate on the "entity_id" field. It's identical to EntityIDEQ.
func EntityIDContains ¶
func EntityIDContains(v string) predicate.EntityProperty
EntityIDContains applies the Contains predicate on the "entity_id" field.
func EntityIDContainsFold ¶
func EntityIDContainsFold(v string) predicate.EntityProperty
EntityIDContainsFold applies the ContainsFold predicate on the "entity_id" field.
func EntityIDEQ ¶
func EntityIDEQ(v string) predicate.EntityProperty
EntityIDEQ applies the EQ predicate on the "entity_id" field.
func EntityIDEqualFold ¶
func EntityIDEqualFold(v string) predicate.EntityProperty
EntityIDEqualFold applies the EqualFold predicate on the "entity_id" field.
func EntityIDGT ¶
func EntityIDGT(v string) predicate.EntityProperty
EntityIDGT applies the GT predicate on the "entity_id" field.
func EntityIDGTE ¶
func EntityIDGTE(v string) predicate.EntityProperty
EntityIDGTE applies the GTE predicate on the "entity_id" field.
func EntityIDHasPrefix ¶
func EntityIDHasPrefix(v string) predicate.EntityProperty
EntityIDHasPrefix applies the HasPrefix predicate on the "entity_id" field.
func EntityIDHasSuffix ¶
func EntityIDHasSuffix(v string) predicate.EntityProperty
EntityIDHasSuffix applies the HasSuffix predicate on the "entity_id" field.
func EntityIDIn ¶
func EntityIDIn(vs ...string) predicate.EntityProperty
EntityIDIn applies the In predicate on the "entity_id" field.
func EntityIDLT ¶
func EntityIDLT(v string) predicate.EntityProperty
EntityIDLT applies the LT predicate on the "entity_id" field.
func EntityIDLTE ¶
func EntityIDLTE(v string) predicate.EntityProperty
EntityIDLTE applies the LTE predicate on the "entity_id" field.
func EntityIDNEQ ¶
func EntityIDNEQ(v string) predicate.EntityProperty
EntityIDNEQ applies the NEQ predicate on the "entity_id" field.
func EntityIDNotIn ¶
func EntityIDNotIn(vs ...string) predicate.EntityProperty
EntityIDNotIn applies the NotIn predicate on the "entity_id" field.
func EntityType ¶
func EntityType(v string) predicate.EntityProperty
EntityType applies equality check predicate on the "entity_type" field. It's identical to EntityTypeEQ.
func EntityTypeContains ¶
func EntityTypeContains(v string) predicate.EntityProperty
EntityTypeContains applies the Contains predicate on the "entity_type" field.
func EntityTypeContainsFold ¶
func EntityTypeContainsFold(v string) predicate.EntityProperty
EntityTypeContainsFold applies the ContainsFold predicate on the "entity_type" field.
func EntityTypeEQ ¶
func EntityTypeEQ(v string) predicate.EntityProperty
EntityTypeEQ applies the EQ predicate on the "entity_type" field.
func EntityTypeEqualFold ¶
func EntityTypeEqualFold(v string) predicate.EntityProperty
EntityTypeEqualFold applies the EqualFold predicate on the "entity_type" field.
func EntityTypeGT ¶
func EntityTypeGT(v string) predicate.EntityProperty
EntityTypeGT applies the GT predicate on the "entity_type" field.
func EntityTypeGTE ¶
func EntityTypeGTE(v string) predicate.EntityProperty
EntityTypeGTE applies the GTE predicate on the "entity_type" field.
func EntityTypeHasPrefix ¶
func EntityTypeHasPrefix(v string) predicate.EntityProperty
EntityTypeHasPrefix applies the HasPrefix predicate on the "entity_type" field.
func EntityTypeHasSuffix ¶
func EntityTypeHasSuffix(v string) predicate.EntityProperty
EntityTypeHasSuffix applies the HasSuffix predicate on the "entity_type" field.
func EntityTypeIn ¶
func EntityTypeIn(vs ...string) predicate.EntityProperty
EntityTypeIn applies the In predicate on the "entity_type" field.
func EntityTypeLT ¶
func EntityTypeLT(v string) predicate.EntityProperty
EntityTypeLT applies the LT predicate on the "entity_type" field.
func EntityTypeLTE ¶
func EntityTypeLTE(v string) predicate.EntityProperty
EntityTypeLTE applies the LTE predicate on the "entity_type" field.
func EntityTypeNEQ ¶
func EntityTypeNEQ(v string) predicate.EntityProperty
EntityTypeNEQ applies the NEQ predicate on the "entity_type" field.
func EntityTypeNotIn ¶
func EntityTypeNotIn(vs ...string) predicate.EntityProperty
EntityTypeNotIn applies the NotIn predicate on the "entity_type" field.
func ID ¶
func ID(id uuid.UUID) predicate.EntityProperty
ID filters vertices based on their ID field.
func IDEQ ¶
func IDEQ(id uuid.UUID) predicate.EntityProperty
IDEQ applies the EQ predicate on the ID field.
func IDGT ¶
func IDGT(id uuid.UUID) predicate.EntityProperty
IDGT applies the GT predicate on the ID field.
func IDGTE ¶
func IDGTE(id uuid.UUID) predicate.EntityProperty
IDGTE applies the GTE predicate on the ID field.
func IDIn ¶
func IDIn(ids ...uuid.UUID) predicate.EntityProperty
IDIn applies the In predicate on the ID field.
func IDLT ¶
func IDLT(id uuid.UUID) predicate.EntityProperty
IDLT applies the LT predicate on the ID field.
func IDLTE ¶
func IDLTE(id uuid.UUID) predicate.EntityProperty
IDLTE applies the LTE predicate on the ID field.
func IDNEQ ¶
func IDNEQ(id uuid.UUID) predicate.EntityProperty
IDNEQ applies the NEQ predicate on the ID field.
func IDNotIn ¶
func IDNotIn(ids ...uuid.UUID) predicate.EntityProperty
IDNotIn applies the NotIn predicate on the ID field.
func Not ¶
func Not(p predicate.EntityProperty) predicate.EntityProperty
Not applies the not operator on the given predicate.
func Or ¶
func Or(predicates ...predicate.EntityProperty) predicate.EntityProperty
Or groups predicates with the OR operator between them.
func Property ¶
func Property(v string) predicate.EntityProperty
Property applies equality check predicate on the "property" field. It's identical to PropertyEQ.
func PropertyContains ¶
func PropertyContains(v string) predicate.EntityProperty
PropertyContains applies the Contains predicate on the "property" field.
func PropertyContainsFold ¶
func PropertyContainsFold(v string) predicate.EntityProperty
PropertyContainsFold applies the ContainsFold predicate on the "property" field.
func PropertyEQ ¶
func PropertyEQ(v string) predicate.EntityProperty
PropertyEQ applies the EQ predicate on the "property" field.
func PropertyEqualFold ¶
func PropertyEqualFold(v string) predicate.EntityProperty
PropertyEqualFold applies the EqualFold predicate on the "property" field.
func PropertyGT ¶
func PropertyGT(v string) predicate.EntityProperty
PropertyGT applies the GT predicate on the "property" field.
func PropertyGTE ¶
func PropertyGTE(v string) predicate.EntityProperty
PropertyGTE applies the GTE predicate on the "property" field.
func PropertyHasPrefix ¶
func PropertyHasPrefix(v string) predicate.EntityProperty
PropertyHasPrefix applies the HasPrefix predicate on the "property" field.
func PropertyHasSuffix ¶
func PropertyHasSuffix(v string) predicate.EntityProperty
PropertyHasSuffix applies the HasSuffix predicate on the "property" field.
func PropertyIn ¶
func PropertyIn(vs ...string) predicate.EntityProperty
PropertyIn applies the In predicate on the "property" field.
func PropertyLT ¶
func PropertyLT(v string) predicate.EntityProperty
PropertyLT applies the LT predicate on the "property" field.
func PropertyLTE ¶
func PropertyLTE(v string) predicate.EntityProperty
PropertyLTE applies the LTE predicate on the "property" field.
func PropertyNEQ ¶
func PropertyNEQ(v string) predicate.EntityProperty
PropertyNEQ applies the NEQ predicate on the "property" field.
func PropertyNotIn ¶
func PropertyNotIn(vs ...string) predicate.EntityProperty
PropertyNotIn applies the NotIn predicate on the "property" field.
func UpdatedAt ¶
func UpdatedAt(v time.Time) predicate.EntityProperty
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
func UpdatedAtEQ(v time.Time) predicate.EntityProperty
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
func UpdatedAtGT(v time.Time) predicate.EntityProperty
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
func UpdatedAtGTE(v time.Time) predicate.EntityProperty
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
func UpdatedAtIn(vs ...time.Time) predicate.EntityProperty
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtLT ¶
func UpdatedAtLT(v time.Time) predicate.EntityProperty
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
func UpdatedAtLTE(v time.Time) predicate.EntityProperty
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
func UpdatedAtNEQ(v time.Time) predicate.EntityProperty
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
func UpdatedAtNotIn(vs ...time.Time) predicate.EntityProperty
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 Value ¶
func Value(v string) predicate.EntityProperty
Value applies equality check predicate on the "value" field. It's identical to ValueEQ.
func ValueContains ¶
func ValueContains(v string) predicate.EntityProperty
ValueContains applies the Contains predicate on the "value" field.
func ValueContainsFold ¶
func ValueContainsFold(v string) predicate.EntityProperty
ValueContainsFold applies the ContainsFold predicate on the "value" field.
func ValueEQ ¶
func ValueEQ(v string) predicate.EntityProperty
ValueEQ applies the EQ predicate on the "value" field.
func ValueEqualFold ¶
func ValueEqualFold(v string) predicate.EntityProperty
ValueEqualFold applies the EqualFold predicate on the "value" field.
func ValueGT ¶
func ValueGT(v string) predicate.EntityProperty
ValueGT applies the GT predicate on the "value" field.
func ValueGTE ¶
func ValueGTE(v string) predicate.EntityProperty
ValueGTE applies the GTE predicate on the "value" field.
func ValueHasPrefix ¶
func ValueHasPrefix(v string) predicate.EntityProperty
ValueHasPrefix applies the HasPrefix predicate on the "value" field.
func ValueHasSuffix ¶
func ValueHasSuffix(v string) predicate.EntityProperty
ValueHasSuffix applies the HasSuffix predicate on the "value" field.
func ValueIn ¶
func ValueIn(vs ...string) predicate.EntityProperty
ValueIn applies the In predicate on the "value" field.
func ValueLT ¶
func ValueLT(v string) predicate.EntityProperty
ValueLT applies the LT predicate on the "value" field.
func ValueLTE ¶
func ValueLTE(v string) predicate.EntityProperty
ValueLTE applies the LTE predicate on the "value" field.
func ValueNEQ ¶
func ValueNEQ(v string) predicate.EntityProperty
ValueNEQ applies the NEQ predicate on the "value" field.
func ValueNotIn ¶
func ValueNotIn(vs ...string) predicate.EntityProperty
ValueNotIn applies the NotIn predicate on the "value" field.
func ValueType ¶
func ValueType(v string) predicate.EntityProperty
ValueType applies equality check predicate on the "value_type" field. It's identical to ValueTypeEQ.
func ValueTypeContains ¶
func ValueTypeContains(v string) predicate.EntityProperty
ValueTypeContains applies the Contains predicate on the "value_type" field.
func ValueTypeContainsFold ¶
func ValueTypeContainsFold(v string) predicate.EntityProperty
ValueTypeContainsFold applies the ContainsFold predicate on the "value_type" field.
func ValueTypeEQ ¶
func ValueTypeEQ(v string) predicate.EntityProperty
ValueTypeEQ applies the EQ predicate on the "value_type" field.
func ValueTypeEqualFold ¶
func ValueTypeEqualFold(v string) predicate.EntityProperty
ValueTypeEqualFold applies the EqualFold predicate on the "value_type" field.
func ValueTypeGT ¶
func ValueTypeGT(v string) predicate.EntityProperty
ValueTypeGT applies the GT predicate on the "value_type" field.
func ValueTypeGTE ¶
func ValueTypeGTE(v string) predicate.EntityProperty
ValueTypeGTE applies the GTE predicate on the "value_type" field.
func ValueTypeHasPrefix ¶
func ValueTypeHasPrefix(v string) predicate.EntityProperty
ValueTypeHasPrefix applies the HasPrefix predicate on the "value_type" field.
func ValueTypeHasSuffix ¶
func ValueTypeHasSuffix(v string) predicate.EntityProperty
ValueTypeHasSuffix applies the HasSuffix predicate on the "value_type" field.
func ValueTypeIn ¶
func ValueTypeIn(vs ...string) predicate.EntityProperty
ValueTypeIn applies the In predicate on the "value_type" field.
func ValueTypeLT ¶
func ValueTypeLT(v string) predicate.EntityProperty
ValueTypeLT applies the LT predicate on the "value_type" field.
func ValueTypeLTE ¶
func ValueTypeLTE(v string) predicate.EntityProperty
ValueTypeLTE applies the LTE predicate on the "value_type" field.
func ValueTypeNEQ ¶
func ValueTypeNEQ(v string) predicate.EntityProperty
ValueTypeNEQ applies the NEQ predicate on the "value_type" field.
func ValueTypeNotIn ¶
func ValueTypeNotIn(vs ...string) predicate.EntityProperty
ValueTypeNotIn applies the NotIn predicate on the "value_type" field.
Types ¶
type OrderOption ¶
OrderOption defines the ordering options for the EntityProperty queries.
func ByCreatedAt ¶
func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption
ByCreatedAt orders the results by the created_at field.
func ByEntityID ¶
func ByEntityID(opts ...sql.OrderTermOption) OrderOption
ByEntityID orders the results by the entity_id field.
func ByEntityType ¶
func ByEntityType(opts ...sql.OrderTermOption) OrderOption
ByEntityType orders the results by the entity_type field.
func ByID ¶
func ByID(opts ...sql.OrderTermOption) OrderOption
ByID orders the results by the id field.
func ByProperty ¶
func ByProperty(opts ...sql.OrderTermOption) OrderOption
ByProperty orders the results by the property field.
func ByUpdatedAt ¶
func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption
ByUpdatedAt orders the results by the updated_at field.
func ByValue ¶
func ByValue(opts ...sql.OrderTermOption) OrderOption
ByValue orders the results by the value field.
func ByValueType ¶
func ByValueType(opts ...sql.OrderTermOption) OrderOption
ByValueType orders the results by the value_type field.