9

I'm currently using MongoDB native and I'm familiar with it.

Only thing I'm worrying about it is my source quality.

Because of the native driver's nature, nested loop is inevitable.

I have looked at Mongoose but I prefer schemaless way of using MongoDB.

And I could not make a choice among

mongodb-native, mongoose (using mix type), mongolian, mongous, mongoskin

Or is there a way or tutorial to use MongoDB native with keeping the source DRY?

1
  • 4
    Your question is basically: "how to avoid deep nesting with mongodb-native?" This has been answered by @Raynos. See stackoverflow.com/a/5669435/45974 Commented Mar 4, 2012 at 14:25

2 Answers 2

8

mongodb-native will shortly be on the officially support driver list for mongoDB, so from that perspective, it is probably the safest choice. Combine that (for quality of support) with the Raynos answer in the comments and that should make the choice for you.

Sign up to request clarification or add additional context in comments.

1 Comment

Just to note, since this post the mongodb-native developer has been hired by 10gen and the driver is now on the officially supported list :)
0

Check this URL http://docs.mongodb.org/ecosystem/drivers/node-js/ mongoose also become official

Mongoose is the officially supported ODM for Node.js

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.