Permalink
Browse files

[nano] 1.1.2

* added an alias for config at the db level
  • Loading branch information...
dscape committed Jan 13, 2012
1 parent ba9371a commit 2a5080cf596d1758030039dd8604b66c2cb84f4b
Showing with 7 additions and 5 deletions.
  1. +5 −4 README.md
  2. +1 −0 nano.js
  3. +1 −1 package.json
View
@@ -113,10 +113,11 @@ errors include responses from couchdb which had a non 200 response code. that's
`nano.use` sets `db_name` in scope so you don't have to specify it every time
-`nano.db.get: [doc.info(callback*)]`
-`nano.db.replicate: [doc.replicate(target,continuous*,callback*)]`
-`nano.db.compact: [doc.compact(callback*), doc.view.compact(design_name,callback*)]`
-`nano.db.changes: [doc.changes(params*,callback*)]`
+`server.get: [db.info(callback*)]`
+`server.replicate: [db.replicate(target,continuous*,callback*)]`
+`server.compact: [db.compact(callback*), db.view.compact(design_name,callback*)]`
+`server.changes: [db.changes(params*,callback*)]`
+`server.config: [db.config]`
## advanced
View
@@ -543,6 +543,7 @@ module.exports = exports = nano = function database_module(cfg) {
, destroy: destroy_doc
, bulk: bulk_docs
, list: list_docs
+ , config: cfg
, attachment: { insert: insert_att
, get: get_att
, destroy: destroy_att
View
@@ -2,7 +2,7 @@
, "description" : "minimalistic couchdb driver for node.js"
, "homepage" : "http://github.com/dscape/nano"
, "repository" : "git://github.com/dscape/nano"
-, "version" : "1.1.1"
+, "version" : "1.1.2"
, "author" : "Nuno Job <nunojobpinto@gmail.com> (http://nunojob.com)"
, "contributors" :
[ "Thiago Arrais <thiago.arrais@gmail.com> (http://thiagoarrais.com)"

0 comments on commit 2a5080c

Please sign in to comment.