Difference between revisions of "MongoDB"
From mi-linux
Jump to navigationJump to searchLine 11: | Line 11: | ||
Commands to try out are in a box, for example: | Commands to try out are in a box, for example: | ||
− | + | db.myCollectionName.find(); | |
There will be exercises for you to try out too. In most cases you will be given the results so you can check your answer. These will also be presented in a blue font, for example: | There will be exercises for you to try out too. In most cases you will be given the results so you can check your answer. These will also be presented in a blue font, for example: | ||
<pre style="color: blue"> | <pre style="color: blue"> | ||
− | + | db.myCollectionName.find(deptNo: 10); | |
</pre> | </pre> | ||
[[MongoDB_Workbook|MongoDB Workbook]] | [[MongoDB_Workbook|MongoDB Workbook]] |
Revision as of 11:40, 27 October 2016
Main Page >> MongoDB
MongoDB Workbook
Note: this workbook is currently Work in Progress!
MongoDB is a NoSQL database available on mi-linux, using a command line prompt.
If you are taking a module using this database you will have an account automatically created for you. If you are a Project student who wishes to use the database, please contact M.Garvey@wlv.ac.uk to get an account setup.
Commands to try out are in a box, for example:
db.myCollectionName.find();
There will be exercises for you to try out too. In most cases you will be given the results so you can check your answer. These will also be presented in a blue font, for example:
db.myCollectionName.find(deptNo: 10);