Is there a MySQL-like view in mongo?

as mentioned, is there a MySQL-like view in mongoose? How do we do that?

Mar.12,2021

3.4 begins to support read-only views. There is an introduction in the document:
db.createView

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9ffbb-5c8b8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9ffbb-5c8b8.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?