Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

readme updates (playing with formating)

  • Loading branch information...
commit dc9c4eef3cba3eb11a70a8b47d831e9cbf140384 1 parent ddb4b05
@nw nw authored
Showing with 11 additions and 6 deletions.
  1. +11 −6 README.md
View
17 README.md
@@ -46,7 +46,7 @@ Query Promises
Mongoose implements the promise pattern for queries. This assures the developer that execution happens in proper order.
var promise = Collection.find();
- promise.gt({'age' : 20}).lt({'bio.age' : 25}).limit(10); // promise commands are chainable.
+ promise.gt({age : 20}).lt({age : 25}).limit(10); // promise commands are chainable.
Currently the Mongoose QueryPromise API is lazy. A query action is not performed until an 'action' method has been assigned.
@@ -72,9 +72,9 @@ An example using each
QueryPromise query helper methods.
- 'sort','limit','skip','hint','timeout','snapshot','explain',
- 'where','in','nin','ne','gt','gte','lt','lte', 'min','max','mod','all','size','exists','type','not'
- 'inc','set','unset','push','pushAll','addToSet','pop','pull','pullAll'
+ _sort_,_limit_,_skip_,_hint_,_timeout_,_snapshot_,_explain_,
+ _where_,_in_,_nin_,_ne_,_gt_,_gte_,_lt_,_lte_, _min_,_max_,_mod_,_all_,_size_,_exists_,_type_,_not_
+ _inc_,_set_,_unset_,_push_,_pushAll_,_addToSet_,_pop_,_pull_,_pullAll_
Models
@@ -83,8 +83,13 @@ Models
Configuration and Setup
-----------------------
-Connections
-...........
+### Connections
+
+### Options
+
+
+Plugins
+-------
Example
Please sign in to comment.
Something went wrong with that request. Please try again.