How To Use MeroDB!

We will learn following points from this tutorial.
  1. Load data into a database
  2. activate a collection
  3. get all data from a collection
  4. get documents fullfilling given condition
  5. insert new documents
  6. update documents
  7. delete documents
※ Please see Javascript portion for to learn how to use MeroDB.

1. Select

Select all documents
Select documents having salary greater then 10 and sex M

2. Insert

Insert a new document {id:6,name:"ok",salary:55,sex:"F"}

3. Update

update salary to 66 for documents having age between 20 and 30.

4. Delete

Delete documents whose name contains "k"