An open API service indexing awesome lists of open source software.

https://github.com/marcosvbras/mongo-query-guide

Descriptive tests of how to create queries within MongoDB
https://github.com/marcosvbras/mongo-query-guide

database mongodb nosql query

Last synced: about 2 months ago
JSON representation

Descriptive tests of how to create queries within MongoDB

Awesome Lists containing this project

README

          

# MongoDB Query Guide



## What is this?

This is a descriptive project to document how to make queries on MongoDB. Sometimes, it's tough to find the right syntax to solve your search problem, and sometimes you don't know what type of result can be returned. Thinking about it, this documentation shows what each command can do with and gives for you a equivalent SQL script to a easy comparison.

This guide was written based on [MongoDB 3.6](https://www.mongodb.com/) and contains some databases that you can use to test or to other proposes:

- **Cinema**: A database with movie informations
- **Zips**: A database with zip codes of USA cities
See more in [datasets](datasets/).

## Helpers

1. [How to import and export databases](examples/import.md)

## Topics

### Aggregation
1. [$group](examples/group.md)