sql-from-mongo
JSON →Converts MongoDB-like query objects into SQL WHERE clauses or full SELECT statements, targeting DocumentDB and similar SQL databases. Version 0.2.1 is the latest, with infrequent releases. Supports most MongoDB query operators ($or, $and, $gt, $in, etc.) plus extras like $startsWith, $isArray, and $geoWithin. Designed for single-table queries, no joins. Lightweight with zero dependencies. Key differentiator: simple, direct translation without a query builder layer. Not actively maintained.
Resources
packagesql-from-mongo ↗