graphql-to-mongodb
JSON →A library that generates MongoDB query filters, projections, and sort/pagination arguments from GraphQL types at runtime. Version 1.6.5, last updated in 2023, with no active release cadence. It provides helper functions like getGraphQLQueryArgs and getMongoDbQueryResolver to automatically create input filter types and resolve them into MongoDb find operations. Unlike code-first ORMs, it works with existing GraphQL schema types and supports nested field filtering, logical operators (AND, OR, NOR), and sort/pagination. Requires graphql >=14.2.1. Ships TypeScript definitions.
Traffic · last 30 days stale · no recent hits
total hits 8
actors 3 distinct systems
last hit 16d ago AhrefsBot
top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇫🇷 France
Resources
packagegraphql-to-mongodb ↗
API endpoints
full doc /v1/registry/graphql-to-mongodb