As we can write ".sql" file in sql for creating schema and other commands. can we also write the similar something like ".nosql" or ".mongodb" file??
MongoDB, unsurprisingly, uses JavaScript for "scripting". You "invoke the scripts with the MongoDB shell. Here is the link to the documentation for writing scripts and the differences with the shell.
http://docs.mongodb.org/manual/tutorial/write-scripts-for-the-mongo-shell/
is it possible to create views using the Node.js MongoDB Driver (3.0)? There is no db.createView() in the drivers API reference.