Permalink
Browse files

some documentation changes

  • Loading branch information...
1 parent f777f9a commit 3a87c35fcbcd0daac7ea0342d52d9e3a48d4de46 @masylum committed May 13, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 README.md
View
@@ -9,7 +9,7 @@
"Y88888P'
-Mongolia is a layer that sits on top of the mongo driver and helps you dealing with your data logic.
+Mongolia is a thin layer that sits on top of the mongo native driver and helps you dealing with your data logic.
Mongolia is not an ORM. Models contains no state, just logic.
Mongolia contains no magic.
@@ -44,11 +44,11 @@ This allows mongolia to extend the driver with extra functionalties:
* Mapping: Allows you to apply functions to the documents attributes going and coming from the db.
* Hooks: They are triggered before and after a call is done.
-The default usage is:
+There are two APIs:
`mongo('method[:namespace]', args)`
-If you want to disable any functionality you can by doing:
+ and
`mongo({method: method[, namespace: namespace, namespacing: false, mapping: false, hooks: false])`
@@ -193,7 +193,7 @@ USER.mongo('insert', {email: 'foo@bar.com'});
## Embedded documents
-Mongolia helps you to _denormalize_ your mongo database.
+Mongolia helps you to _denormalize_ your mongo collections.
### getEmbeddedDocument
@@ -473,7 +473,7 @@ make
## Example
-Monoglia has a fully working blog example on the `example` folder.
+Mongolia has a fully working blog example on the `example` folder.
## Contributors

0 comments on commit 3a87c35

Please sign in to comment.