node.js - Are there any (GUI) tools for MongoDB use Mongoose like syntax? -


i'm new both node.js , mongodb. i'm using mongoose query , aggregation. mongoose's syntax bit different native mongodb. i'm looking kind of tools, gui tools better, test mongoose query.

you give mongobooster try. mongobooster support mongoose-like fluent query builder enables build query using chaining syntax, rather specifying json object.

// instead of writing: db.user.find({age:{:18,:65}},{name,1,age:1,_id:-1}).sort({age:-1, name:1});  // can write: db.user.where('age').gte(18).lte(65).select('name age -_id').sort("-age name");      // passing query conditions permitted db.collection.find().where({ name: 'mongobooster' })  // chaining db.collection         .where('age').gte(18).lte(65)         .where({ 'name': /^mongobooster/i })         .where('friends').slice(10)  // aggregation db.companies.aggregate(qb.where('founded_year').gte(2000).lte(2010)) //qb:querybuilder       .group({_id:"$category_code",count:{$sum:1}})       .sort('-count')       .limit(100) 

http://www.mongobooster.com


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

java - Digest auth with Spring Security using javaconfig -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -