Skip to content
dev
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Go Report Card codecov

Mongo Playground

Mongo playground: a simple sandbox to test and share MongoDB queries. Try it online : https://mongoplayground.net

Limitations

Size limitations

This playground has several limitations:

  • a database can't contain more than 10 collections
  • a collection can't contain more than 100 documents

Queries

Currently, the playground can run only find(), aggregate() and update() queries

shell regex

Currently, shell regex doesn't work in query.

so instead of

db.collection.find({
  "k": /pattern/
})

use

db.collection.find({
  "k": {
    "$regex": "pattern"
  }
})

Developpement

create to directory: storage and backups, and then run the playground with docker compose:

docker-compose up --build

Credits

This playground is heavily inspired from The Go Playground

Editors are created with ace, and the documentation is styled using github-markdown-css

Favicon was created on favicon.io from an emoji provided by twemoji

About

a simple sandbox to test and share MongoDB queries

Topics

Resources

License

Releases

No releases published

Packages

No packages published