title: node.js how to get the column value in mongodb
body: <p>I have been studying node.js and mongodb. I want to bring the specific db values​​. But is not easy for me. I want to get values that array in the Vidget.
  I don't know how to implement.</p>
  
  <p>my mongodb data</p>
  
  <pre><code>  {
      "Seq": 1,
      "UID": "kingnight99",
      "DBID": "yyyymmddhhmmss",
      "NAME": "name",
      "DESC": "desc",
      "Forms": [
                {
                 "Seq": 1,
                 "Name": "aaa",
                 "Desc": "aaa",
                 "Vidget": [
                             {
                               "Seq": 1,
                               "Vid": "ID",
                               "X": "x",
                               "Y": "y",
                               "W": "w",
                               "H": "h"
                              },
                            {
                              "Seq": 2,
                              "Vid": "ID",
                              "X": "x",
                              "Y": "y",
                              "W": "w",
                              "H": "h"
                            },
                            {
                             "Seq": 3,
                             "Vid": "ID",
                             "X": "x",
                             "Y": "y",
                             "W": "w",
                             "H": "h"
                            }
                         ]
                 }
               ]     
     }
  </code></pre>
  
  <p>my node.js</p>
  
  <pre><code>var db = require('mongojs').connect('vizboard', [ 'member', 'count','Dashboard' ]);
  exports.checkData=function(req,res){
    console.log('check Dats json in');
    console.log('Forms Seq:'+req.param('seq'));
    db.Dashboard.find({
       "Forms":{"Seq":Number(req.param('seq'))}
   },function(error,result){
      if(error){
          console.log('error:'+error);
      }
      console.log('data':'+JSON.stringify(result));
  }).Vidget;
  }
  </code></pre>
  
  <p>result is null... i ask for some advice!</p>