Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bitliner/mongo2sql
Convert MongoDB query to SQL query
https://github.com/bitliner/mongo2sql
Last synced: about 20 hours ago
JSON representation
Convert MongoDB query to SQL query
- Host: GitHub
- URL: https://github.com/bitliner/mongo2sql
- Owner: bitliner
- License: apache-2.0
- Created: 2015-10-06T13:51:37.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-06T20:34:52.000Z (over 9 years ago)
- Last Synced: 2024-04-09T21:32:23.596Z (10 months ago)
- Language: JavaScript
- Homepage:
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mongo2sql
Convert a query expressed in MongoDB query language to a query expressed in SQL language.
## Why?
* you are migrating to Cassandra, you have queries expressed in Mongodb query language, and you want to convert them to Cassandra Query Language
* you are using PostgreSQL to query MongoDB, and you don't want to create SQL-queries from scratch, but you want to translate the existing ones expressed in Mongodb Query Language
* to make interoperability easier
* for fun## Example
## Limitations
## Roadmap
* ~~simple query without operators - e.g. {text:'ciao', page:0}~~
* query with operators, but without $and, $or operators
* query including $and, $or operators