Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
where.go15.1 kB
// Code generated by ent, DO NOT EDIT. package propertyschemafield import ( "entgo.io/ent/dialect/sql" "entgo.io/ent/dialect/sql/sqlgraph" "github.com/Southclaws/storyden/internal/ent/predicate" "github.com/rs/xid" ) // ID filters vertices based on their ID field. func ID(id xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldLTE(FieldID, id)) } // Name applies equality check predicate on the "name" field. It's identical to NameEQ. func Name(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldEQ(FieldName, v)) } // Type applies equality check predicate on the "type" field. It's identical to TypeEQ. func Type(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldEQ(FieldType, v)) } // Sort applies equality check predicate on the "sort" field. It's identical to SortEQ. func Sort(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldEQ(FieldSort, v)) } // SchemaID applies equality check predicate on the "schema_id" field. It's identical to SchemaIDEQ. func SchemaID(v xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldEQ(FieldSchemaID, v)) } // NameEQ applies the EQ predicate on the "name" field. func NameEQ(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldEQ(FieldName, v)) } // NameNEQ applies the NEQ predicate on the "name" field. func NameNEQ(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldNEQ(FieldName, v)) } // NameIn applies the In predicate on the "name" field. func NameIn(vs ...string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldIn(FieldName, vs...)) } // NameNotIn applies the NotIn predicate on the "name" field. func NameNotIn(vs ...string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldNotIn(FieldName, vs...)) } // NameGT applies the GT predicate on the "name" field. func NameGT(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldGT(FieldName, v)) } // NameGTE applies the GTE predicate on the "name" field. func NameGTE(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldGTE(FieldName, v)) } // NameLT applies the LT predicate on the "name" field. func NameLT(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldLT(FieldName, v)) } // NameLTE applies the LTE predicate on the "name" field. func NameLTE(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldLTE(FieldName, v)) } // NameContains applies the Contains predicate on the "name" field. func NameContains(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldContains(FieldName, v)) } // NameHasPrefix applies the HasPrefix predicate on the "name" field. func NameHasPrefix(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldHasPrefix(FieldName, v)) } // NameHasSuffix applies the HasSuffix predicate on the "name" field. func NameHasSuffix(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldHasSuffix(FieldName, v)) } // NameEqualFold applies the EqualFold predicate on the "name" field. func NameEqualFold(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldEqualFold(FieldName, v)) } // NameContainsFold applies the ContainsFold predicate on the "name" field. func NameContainsFold(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldContainsFold(FieldName, v)) } // TypeEQ applies the EQ predicate on the "type" field. func TypeEQ(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldEQ(FieldType, v)) } // TypeNEQ applies the NEQ predicate on the "type" field. func TypeNEQ(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldNEQ(FieldType, v)) } // TypeIn applies the In predicate on the "type" field. func TypeIn(vs ...string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldIn(FieldType, vs...)) } // TypeNotIn applies the NotIn predicate on the "type" field. func TypeNotIn(vs ...string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldNotIn(FieldType, vs...)) } // TypeGT applies the GT predicate on the "type" field. func TypeGT(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldGT(FieldType, v)) } // TypeGTE applies the GTE predicate on the "type" field. func TypeGTE(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldGTE(FieldType, v)) } // TypeLT applies the LT predicate on the "type" field. func TypeLT(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldLT(FieldType, v)) } // TypeLTE applies the LTE predicate on the "type" field. func TypeLTE(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldLTE(FieldType, v)) } // TypeContains applies the Contains predicate on the "type" field. func TypeContains(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldContains(FieldType, v)) } // TypeHasPrefix applies the HasPrefix predicate on the "type" field. func TypeHasPrefix(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldHasPrefix(FieldType, v)) } // TypeHasSuffix applies the HasSuffix predicate on the "type" field. func TypeHasSuffix(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldHasSuffix(FieldType, v)) } // TypeEqualFold applies the EqualFold predicate on the "type" field. func TypeEqualFold(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldEqualFold(FieldType, v)) } // TypeContainsFold applies the ContainsFold predicate on the "type" field. func TypeContainsFold(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldContainsFold(FieldType, v)) } // SortEQ applies the EQ predicate on the "sort" field. func SortEQ(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldEQ(FieldSort, v)) } // SortNEQ applies the NEQ predicate on the "sort" field. func SortNEQ(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldNEQ(FieldSort, v)) } // SortIn applies the In predicate on the "sort" field. func SortIn(vs ...string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldIn(FieldSort, vs...)) } // SortNotIn applies the NotIn predicate on the "sort" field. func SortNotIn(vs ...string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldNotIn(FieldSort, vs...)) } // SortGT applies the GT predicate on the "sort" field. func SortGT(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldGT(FieldSort, v)) } // SortGTE applies the GTE predicate on the "sort" field. func SortGTE(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldGTE(FieldSort, v)) } // SortLT applies the LT predicate on the "sort" field. func SortLT(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldLT(FieldSort, v)) } // SortLTE applies the LTE predicate on the "sort" field. func SortLTE(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldLTE(FieldSort, v)) } // SortContains applies the Contains predicate on the "sort" field. func SortContains(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldContains(FieldSort, v)) } // SortHasPrefix applies the HasPrefix predicate on the "sort" field. func SortHasPrefix(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldHasPrefix(FieldSort, v)) } // SortHasSuffix applies the HasSuffix predicate on the "sort" field. func SortHasSuffix(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldHasSuffix(FieldSort, v)) } // SortEqualFold applies the EqualFold predicate on the "sort" field. func SortEqualFold(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldEqualFold(FieldSort, v)) } // SortContainsFold applies the ContainsFold predicate on the "sort" field. func SortContainsFold(v string) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldContainsFold(FieldSort, v)) } // SchemaIDEQ applies the EQ predicate on the "schema_id" field. func SchemaIDEQ(v xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldEQ(FieldSchemaID, v)) } // SchemaIDNEQ applies the NEQ predicate on the "schema_id" field. func SchemaIDNEQ(v xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldNEQ(FieldSchemaID, v)) } // SchemaIDIn applies the In predicate on the "schema_id" field. func SchemaIDIn(vs ...xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldIn(FieldSchemaID, vs...)) } // SchemaIDNotIn applies the NotIn predicate on the "schema_id" field. func SchemaIDNotIn(vs ...xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldNotIn(FieldSchemaID, vs...)) } // SchemaIDGT applies the GT predicate on the "schema_id" field. func SchemaIDGT(v xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldGT(FieldSchemaID, v)) } // SchemaIDGTE applies the GTE predicate on the "schema_id" field. func SchemaIDGTE(v xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldGTE(FieldSchemaID, v)) } // SchemaIDLT applies the LT predicate on the "schema_id" field. func SchemaIDLT(v xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldLT(FieldSchemaID, v)) } // SchemaIDLTE applies the LTE predicate on the "schema_id" field. func SchemaIDLTE(v xid.ID) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.FieldLTE(FieldSchemaID, v)) } // SchemaIDContains applies the Contains predicate on the "schema_id" field. func SchemaIDContains(v xid.ID) predicate.PropertySchemaField { vc := v.String() return predicate.PropertySchemaField(sql.FieldContains(FieldSchemaID, vc)) } // SchemaIDHasPrefix applies the HasPrefix predicate on the "schema_id" field. func SchemaIDHasPrefix(v xid.ID) predicate.PropertySchemaField { vc := v.String() return predicate.PropertySchemaField(sql.FieldHasPrefix(FieldSchemaID, vc)) } // SchemaIDHasSuffix applies the HasSuffix predicate on the "schema_id" field. func SchemaIDHasSuffix(v xid.ID) predicate.PropertySchemaField { vc := v.String() return predicate.PropertySchemaField(sql.FieldHasSuffix(FieldSchemaID, vc)) } // SchemaIDEqualFold applies the EqualFold predicate on the "schema_id" field. func SchemaIDEqualFold(v xid.ID) predicate.PropertySchemaField { vc := v.String() return predicate.PropertySchemaField(sql.FieldEqualFold(FieldSchemaID, vc)) } // SchemaIDContainsFold applies the ContainsFold predicate on the "schema_id" field. func SchemaIDContainsFold(v xid.ID) predicate.PropertySchemaField { vc := v.String() return predicate.PropertySchemaField(sql.FieldContainsFold(FieldSchemaID, vc)) } // HasSchema applies the HasEdge predicate on the "schema" edge. func HasSchema() predicate.PropertySchemaField { return predicate.PropertySchemaField(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.M2O, true, SchemaTable, SchemaColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasSchemaWith applies the HasEdge predicate on the "schema" edge with a given conditions (other predicates). func HasSchemaWith(preds ...predicate.PropertySchema) predicate.PropertySchemaField { return predicate.PropertySchemaField(func(s *sql.Selector) { step := newSchemaStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // HasProperties applies the HasEdge predicate on the "properties" edge. func HasProperties() predicate.PropertySchemaField { return predicate.PropertySchemaField(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.O2M, false, PropertiesTable, PropertiesColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasPropertiesWith applies the HasEdge predicate on the "properties" edge with a given conditions (other predicates). func HasPropertiesWith(preds ...predicate.Property) predicate.PropertySchemaField { return predicate.PropertySchemaField(func(s *sql.Selector) { step := newPropertiesStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // And groups predicates with the AND operator between them. func And(predicates ...predicate.PropertySchemaField) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.AndPredicates(predicates...)) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.PropertySchemaField) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.OrPredicates(predicates...)) } // Not applies the not operator on the given predicate. func Not(p predicate.PropertySchemaField) predicate.PropertySchemaField { return predicate.PropertySchemaField(sql.NotPredicates(p)) }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Southclaws/storyden'

If you have feedback or need assistance with the MCP directory API, please join our Discord server