<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: nguyennobita9999</title>
    <description>The latest articles on DEV Community by nguyennobita9999 (@nguyennobita9999).</description>
    <link>https://dev.to/nguyennobita9999</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F194554%2Fd245cfab-7b7c-423c-9bfd-c7244585dbc7.png</url>
      <title>DEV Community: nguyennobita9999</title>
      <link>https://dev.to/nguyennobita9999</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/nguyennobita9999"/>
    <language>en</language>
    <item>
      <title>Get more collection in mongodb output page home ? </title>
      <dc:creator>nguyennobita9999</dc:creator>
      <pubDate>Fri, 12 Jul 2019 20:19:11 +0000</pubDate>
      <link>https://dev.to/nguyennobita9999/get-more-collection-in-mongodb-output-page-home-5h53</link>
      <guid>https://dev.to/nguyennobita9999/get-more-collection-in-mongodb-output-page-home-5h53</guid>
      <description>&lt;p&gt;function index(req , res , next){&lt;/p&gt;

&lt;p&gt;db.collection("product").find({}).toArray(function(err , product){&lt;/p&gt;

&lt;p&gt;db.collection("banner").find({}).toArray(function(err , banner){&lt;/p&gt;

&lt;p&gt;db.collection("newest").find({}).toArray(function(err , newest){&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  return res.render("/index" , {product : product ,banner : banner , newest : newest}); 
})
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;})&lt;br&gt;
})&lt;br&gt;&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;Please help me?&lt;/p&gt;

</description>
      <category>node</category>
    </item>
  </channel>
</rss>
