百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
M

mongoplayground

> 数据库
开源

一个简单的沙箱,用于测试和共享 MongoDB 查询

191 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

一个简单的沙箱,用于测试和共享 MongoDB 查询

Mongo Playground

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

Shared playgrounds

Shared playgrounds are saved forever. Do not share playground containing sensitive data, as they can get accessed by anyone who get the playground link!

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

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

use

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

Developpement

To automatically restart the server when a file changes, use:

bash
ls  *.go internal/*.go internal/web/src/* | entr tools/restart.sh

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

Queries are executed in an atlas cluster graciously provided by MongoDB

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Gofiddlemgodatagenmongodbplayground

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类数据库
定价开源

> 相关工具

P
PostgreSQL
功能强大的开源关系型数据库
R
Redis
内存数据结构存储,常用作缓存与队列
M
MySQL
广泛使用的开源关系型数据库