阅读背景:

如何将MongoDB查询捕获为字符串并将其显示在我的Node JS页面中(使用mongojs驱动程序)?

来源:互联网 

I would like to be able to query my mongoDB and display this result on my web page made with Node...right now I am using the mongojs driver - I've found the driver very very good for putting data into the DB - the syntax is the same as the Mongo shell and I can put the code right in my Node app. This task...simply showing the results of the query on the webpage, or even on the console, has proven very difficult. Here are the relevant parts of my code and what I tried.I would like to be able to query my mongoDB and




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: