apollo-datasource-mongodb
JSON →Apollo data source for MongoDB that integrates with Apollo Server. Version 0.6.0 supports Apollo Server 4.x; versions ≤0.5.4 support Apollo Server 3.x. Uses DataLoader for batching and per-request memoization caching, with optional shared application-level caching via Apollo cache backends. Provides methods: findOneById, findManyByIds, findByFields, and cache deletion helpers. Ships TypeScript types. Compatible with native MongoDB driver and Mongoose models.
Resources
packageapollo-datasource-mongodb ↗