Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
where.go16.9 kB
// Code generated by ent, DO NOT EDIT. package eventparticipant import ( "time" "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.EventParticipant { return predicate.EventParticipant(sql.FieldEQ(FieldID, id)) } // IDEQ applies the EQ predicate on the ID field. func IDEQ(id xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldEQ(FieldID, id)) } // IDNEQ applies the NEQ predicate on the ID field. func IDNEQ(id xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldNEQ(FieldID, id)) } // IDIn applies the In predicate on the ID field. func IDIn(ids ...xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldIn(FieldID, ids...)) } // IDNotIn applies the NotIn predicate on the ID field. func IDNotIn(ids ...xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldNotIn(FieldID, ids...)) } // IDGT applies the GT predicate on the ID field. func IDGT(id xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldGT(FieldID, id)) } // IDGTE applies the GTE predicate on the ID field. func IDGTE(id xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldGTE(FieldID, id)) } // IDLT applies the LT predicate on the ID field. func IDLT(id xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldLT(FieldID, id)) } // IDLTE applies the LTE predicate on the ID field. func IDLTE(id xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldLTE(FieldID, id)) } // CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ. func CreatedAt(v time.Time) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldEQ(FieldCreatedAt, v)) } // Role applies equality check predicate on the "role" field. It's identical to RoleEQ. func Role(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldEQ(FieldRole, v)) } // Status applies equality check predicate on the "status" field. It's identical to StatusEQ. func Status(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldEQ(FieldStatus, v)) } // AccountID applies equality check predicate on the "account_id" field. It's identical to AccountIDEQ. func AccountID(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldEQ(FieldAccountID, v)) } // EventID applies equality check predicate on the "event_id" field. It's identical to EventIDEQ. func EventID(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldEQ(FieldEventID, v)) } // CreatedAtEQ applies the EQ predicate on the "created_at" field. func CreatedAtEQ(v time.Time) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldEQ(FieldCreatedAt, v)) } // CreatedAtNEQ applies the NEQ predicate on the "created_at" field. func CreatedAtNEQ(v time.Time) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldNEQ(FieldCreatedAt, v)) } // CreatedAtIn applies the In predicate on the "created_at" field. func CreatedAtIn(vs ...time.Time) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldIn(FieldCreatedAt, vs...)) } // CreatedAtNotIn applies the NotIn predicate on the "created_at" field. func CreatedAtNotIn(vs ...time.Time) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldNotIn(FieldCreatedAt, vs...)) } // CreatedAtGT applies the GT predicate on the "created_at" field. func CreatedAtGT(v time.Time) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldGT(FieldCreatedAt, v)) } // CreatedAtGTE applies the GTE predicate on the "created_at" field. func CreatedAtGTE(v time.Time) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldGTE(FieldCreatedAt, v)) } // CreatedAtLT applies the LT predicate on the "created_at" field. func CreatedAtLT(v time.Time) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldLT(FieldCreatedAt, v)) } // CreatedAtLTE applies the LTE predicate on the "created_at" field. func CreatedAtLTE(v time.Time) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldLTE(FieldCreatedAt, v)) } // RoleEQ applies the EQ predicate on the "role" field. func RoleEQ(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldEQ(FieldRole, v)) } // RoleNEQ applies the NEQ predicate on the "role" field. func RoleNEQ(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldNEQ(FieldRole, v)) } // RoleIn applies the In predicate on the "role" field. func RoleIn(vs ...string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldIn(FieldRole, vs...)) } // RoleNotIn applies the NotIn predicate on the "role" field. func RoleNotIn(vs ...string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldNotIn(FieldRole, vs...)) } // RoleGT applies the GT predicate on the "role" field. func RoleGT(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldGT(FieldRole, v)) } // RoleGTE applies the GTE predicate on the "role" field. func RoleGTE(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldGTE(FieldRole, v)) } // RoleLT applies the LT predicate on the "role" field. func RoleLT(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldLT(FieldRole, v)) } // RoleLTE applies the LTE predicate on the "role" field. func RoleLTE(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldLTE(FieldRole, v)) } // RoleContains applies the Contains predicate on the "role" field. func RoleContains(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldContains(FieldRole, v)) } // RoleHasPrefix applies the HasPrefix predicate on the "role" field. func RoleHasPrefix(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldHasPrefix(FieldRole, v)) } // RoleHasSuffix applies the HasSuffix predicate on the "role" field. func RoleHasSuffix(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldHasSuffix(FieldRole, v)) } // RoleEqualFold applies the EqualFold predicate on the "role" field. func RoleEqualFold(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldEqualFold(FieldRole, v)) } // RoleContainsFold applies the ContainsFold predicate on the "role" field. func RoleContainsFold(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldContainsFold(FieldRole, v)) } // StatusEQ applies the EQ predicate on the "status" field. func StatusEQ(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldEQ(FieldStatus, v)) } // StatusNEQ applies the NEQ predicate on the "status" field. func StatusNEQ(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldNEQ(FieldStatus, v)) } // StatusIn applies the In predicate on the "status" field. func StatusIn(vs ...string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldIn(FieldStatus, vs...)) } // StatusNotIn applies the NotIn predicate on the "status" field. func StatusNotIn(vs ...string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldNotIn(FieldStatus, vs...)) } // StatusGT applies the GT predicate on the "status" field. func StatusGT(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldGT(FieldStatus, v)) } // StatusGTE applies the GTE predicate on the "status" field. func StatusGTE(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldGTE(FieldStatus, v)) } // StatusLT applies the LT predicate on the "status" field. func StatusLT(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldLT(FieldStatus, v)) } // StatusLTE applies the LTE predicate on the "status" field. func StatusLTE(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldLTE(FieldStatus, v)) } // StatusContains applies the Contains predicate on the "status" field. func StatusContains(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldContains(FieldStatus, v)) } // StatusHasPrefix applies the HasPrefix predicate on the "status" field. func StatusHasPrefix(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldHasPrefix(FieldStatus, v)) } // StatusHasSuffix applies the HasSuffix predicate on the "status" field. func StatusHasSuffix(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldHasSuffix(FieldStatus, v)) } // StatusEqualFold applies the EqualFold predicate on the "status" field. func StatusEqualFold(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldEqualFold(FieldStatus, v)) } // StatusContainsFold applies the ContainsFold predicate on the "status" field. func StatusContainsFold(v string) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldContainsFold(FieldStatus, v)) } // AccountIDEQ applies the EQ predicate on the "account_id" field. func AccountIDEQ(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldEQ(FieldAccountID, v)) } // AccountIDNEQ applies the NEQ predicate on the "account_id" field. func AccountIDNEQ(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldNEQ(FieldAccountID, v)) } // AccountIDIn applies the In predicate on the "account_id" field. func AccountIDIn(vs ...xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldIn(FieldAccountID, vs...)) } // AccountIDNotIn applies the NotIn predicate on the "account_id" field. func AccountIDNotIn(vs ...xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldNotIn(FieldAccountID, vs...)) } // AccountIDGT applies the GT predicate on the "account_id" field. func AccountIDGT(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldGT(FieldAccountID, v)) } // AccountIDGTE applies the GTE predicate on the "account_id" field. func AccountIDGTE(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldGTE(FieldAccountID, v)) } // AccountIDLT applies the LT predicate on the "account_id" field. func AccountIDLT(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldLT(FieldAccountID, v)) } // AccountIDLTE applies the LTE predicate on the "account_id" field. func AccountIDLTE(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldLTE(FieldAccountID, v)) } // AccountIDContains applies the Contains predicate on the "account_id" field. func AccountIDContains(v xid.ID) predicate.EventParticipant { vc := v.String() return predicate.EventParticipant(sql.FieldContains(FieldAccountID, vc)) } // AccountIDHasPrefix applies the HasPrefix predicate on the "account_id" field. func AccountIDHasPrefix(v xid.ID) predicate.EventParticipant { vc := v.String() return predicate.EventParticipant(sql.FieldHasPrefix(FieldAccountID, vc)) } // AccountIDHasSuffix applies the HasSuffix predicate on the "account_id" field. func AccountIDHasSuffix(v xid.ID) predicate.EventParticipant { vc := v.String() return predicate.EventParticipant(sql.FieldHasSuffix(FieldAccountID, vc)) } // AccountIDEqualFold applies the EqualFold predicate on the "account_id" field. func AccountIDEqualFold(v xid.ID) predicate.EventParticipant { vc := v.String() return predicate.EventParticipant(sql.FieldEqualFold(FieldAccountID, vc)) } // AccountIDContainsFold applies the ContainsFold predicate on the "account_id" field. func AccountIDContainsFold(v xid.ID) predicate.EventParticipant { vc := v.String() return predicate.EventParticipant(sql.FieldContainsFold(FieldAccountID, vc)) } // EventIDEQ applies the EQ predicate on the "event_id" field. func EventIDEQ(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldEQ(FieldEventID, v)) } // EventIDNEQ applies the NEQ predicate on the "event_id" field. func EventIDNEQ(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldNEQ(FieldEventID, v)) } // EventIDIn applies the In predicate on the "event_id" field. func EventIDIn(vs ...xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldIn(FieldEventID, vs...)) } // EventIDNotIn applies the NotIn predicate on the "event_id" field. func EventIDNotIn(vs ...xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldNotIn(FieldEventID, vs...)) } // EventIDGT applies the GT predicate on the "event_id" field. func EventIDGT(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldGT(FieldEventID, v)) } // EventIDGTE applies the GTE predicate on the "event_id" field. func EventIDGTE(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldGTE(FieldEventID, v)) } // EventIDLT applies the LT predicate on the "event_id" field. func EventIDLT(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldLT(FieldEventID, v)) } // EventIDLTE applies the LTE predicate on the "event_id" field. func EventIDLTE(v xid.ID) predicate.EventParticipant { return predicate.EventParticipant(sql.FieldLTE(FieldEventID, v)) } // EventIDContains applies the Contains predicate on the "event_id" field. func EventIDContains(v xid.ID) predicate.EventParticipant { vc := v.String() return predicate.EventParticipant(sql.FieldContains(FieldEventID, vc)) } // EventIDHasPrefix applies the HasPrefix predicate on the "event_id" field. func EventIDHasPrefix(v xid.ID) predicate.EventParticipant { vc := v.String() return predicate.EventParticipant(sql.FieldHasPrefix(FieldEventID, vc)) } // EventIDHasSuffix applies the HasSuffix predicate on the "event_id" field. func EventIDHasSuffix(v xid.ID) predicate.EventParticipant { vc := v.String() return predicate.EventParticipant(sql.FieldHasSuffix(FieldEventID, vc)) } // EventIDEqualFold applies the EqualFold predicate on the "event_id" field. func EventIDEqualFold(v xid.ID) predicate.EventParticipant { vc := v.String() return predicate.EventParticipant(sql.FieldEqualFold(FieldEventID, vc)) } // EventIDContainsFold applies the ContainsFold predicate on the "event_id" field. func EventIDContainsFold(v xid.ID) predicate.EventParticipant { vc := v.String() return predicate.EventParticipant(sql.FieldContainsFold(FieldEventID, vc)) } // HasAccount applies the HasEdge predicate on the "account" edge. func HasAccount() predicate.EventParticipant { return predicate.EventParticipant(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.M2O, true, AccountTable, AccountColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasAccountWith applies the HasEdge predicate on the "account" edge with a given conditions (other predicates). func HasAccountWith(preds ...predicate.Account) predicate.EventParticipant { return predicate.EventParticipant(func(s *sql.Selector) { step := newAccountStep() sqlgraph.HasNeighborsWith(s, step, func(s *sql.Selector) { for _, p := range preds { p(s) } }) }) } // HasEvent applies the HasEdge predicate on the "event" edge. func HasEvent() predicate.EventParticipant { return predicate.EventParticipant(func(s *sql.Selector) { step := sqlgraph.NewStep( sqlgraph.From(Table, FieldID), sqlgraph.Edge(sqlgraph.M2O, true, EventTable, EventColumn), ) sqlgraph.HasNeighbors(s, step) }) } // HasEventWith applies the HasEdge predicate on the "event" edge with a given conditions (other predicates). func HasEventWith(preds ...predicate.Event) predicate.EventParticipant { return predicate.EventParticipant(func(s *sql.Selector) { step := newEventStep() 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.EventParticipant) predicate.EventParticipant { return predicate.EventParticipant(sql.AndPredicates(predicates...)) } // Or groups predicates with the OR operator between them. func Or(predicates ...predicate.EventParticipant) predicate.EventParticipant { return predicate.EventParticipant(sql.OrPredicates(predicates...)) } // Not applies the not operator on the given predicate. func Not(p predicate.EventParticipant) predicate.EventParticipant { return predicate.EventParticipant(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