Posts

Showing posts from April, 2019

MongoDB Tips: Views

use <db>; This command will give you all view definition under the db you are in.  db.getCollectionInfos({type:'view'}); ex: {                 "name" : "utilizationSubcategoryNumbersOMD",                 "type" : "view",                 "options" : {                         "viewOn" : "utilizationSubcategoryNumbers",                         "pipeline" : [                                 {                                         "$match" : {                           ...