title: Reading data from mongodb using sails js removes all collection data, why?
body: <p>I have a sails js app,
  The following codes works fine:</p>
  <pre><code>list: async(req, res) =&gt; {
      Data.find({}).exec((err, data)=&gt;{
        if(err){
          res.send(500, {message: 'db error'});
        }
        res.status(200).json({
          message: 'Data List',
          data: data
        });
      });
  </code></pre>
  <p>Outputs all the data of the collection correctly.
  While the below code removes all the data from the mongo db collection and then shows a empty array:</p>
  <pre><code>list: async(req, res) =&gt; {
      const data = await Data.find({});
      if(!data){
        res.send(500, {message: 'db error'});
      }
      res.status(200).json({
        message: 'Data List',
        data: data
      });
    }
  </code></pre>
  <p>I do not understand why so, I am more comfortable with async await also it makes code look cleaner hence I wanted to use the below method. Please help how can I make the below code snippet to work just like the above one.</p>