a tool for mongodb web search
git clone https://github.com/SnailDev/SnailDev.MongoStudio.git
cd src/MongoStudio
npm install
npm start
open src/MongoStudio/util/db.js
exports.getservers = function (callback) {
var servers = [
{
ID: genNonDuplicateID(3),
PID: 0,
Type: 'server',
ShowName: 'LocalDB',
Name: '127.0.0.1:27017',
Icon: '/lib/ligerui/skins/icons/process.gif',
}
// you can add your db server struct here and just need modify **ShowName** and **Name**.
]
if (callback) callback(servers);
}
Find with objectId, just use string value, such as {"_id":"55ae2b90fb99313f33c05384"}
if this project is useful to you, you could ask me for a cup of coffee.
The MIT License (MIT). Please see LICENSE for more information.