Can we retrieve data from database in this format?
<p>Can we retrieve data from database in this format in node.js ?</p>

<pre><code>'{
     SchoolCode: 1,
    [{
     LABName: 'Physics',
     Category :[{
        SubCategory: 'Internal',
         Questions:[{
            QuestionNumber: 1,
            QuestionText: ?????????,
         },{
            QuestionNumber: 2,
            QuestionText: ?????????,
         }]
     }]
}'
</code></pre>