Skip to content

Commit

Permalink
API doc fixes
Browse files Browse the repository at this point in the history
remove duplicate
fix zmin to zmax
  • Loading branch information
ximex committed Feb 4, 2015
1 parent 0f33fb8 commit 2180562
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ API

`db.spatial('ddoc/functionName', [[xmin, ymin], [xmax, ymax]], options, callback);`

`db.spatial('ddoc/functionName', [[xmin, ymin, zmin], [xmax, ymax, zmin]], options, callback);`
`db.spatial('ddoc/functionName', [[xmin, ymin, zmin], [xmax, ymax, zmax]], options, callback);`

`db.spatial('ddoc/functionName', [xmin, ymin, zmin], [xmax, ymax, zmin], options, callback);`

`db.spatial('ddoc/functionName', [[xmin, ymin, zmin], [xmax, ymax, zmin]], options, callback);`
`db.spatial('ddoc/functionName', [xmin, ymin, zmin], [xmax, ymax, zmax], options, callback);`

`db.spatial('ddoc/functionName', [xmin, ymin, xmax, ymax], options).then(function (result) {}, function (err) {});`

Expand All @@ -34,4 +32,4 @@ you may either give a function or a path to a ddoc, bounding boxes may be given

If the callback is omited then a promise is returned.

Options are optional and valid options are include_docs and stale
Options are optional and valid options are include_docs and stale

0 comments on commit 2180562

Please sign in to comment.