You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by ro...@apache.org on 2015/07/12 13:55:52 UTC
[32/50] couchdb-nano git commit: Fix docs: doc_name has been renamed
to docName
Fix docs: doc_name has been renamed to docName
Project: http://git-wip-us.apache.org/repos/asf/couchdb-nano/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-nano/commit/6a65db73
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-nano/tree/6a65db73
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-nano/diff/6a65db73
Branch: refs/heads/master
Commit: 6a65db73ece57f8503b7c46f6593a410ca046e2c
Parents: dd61fef
Author: Johannes Jörg Schmidt <jo...@die-tf.de>
Authored: Wed Mar 18 11:59:13 2015 +0100
Committer: Johannes Jörg Schmidt <jo...@die-tf.de>
Committed: Wed Mar 18 11:59:13 2015 +0100
----------------------------------------------------------------------
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-nano/blob/6a65db73/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 4b26937..e9aee87 100644
--- a/README.md
+++ b/README.md
@@ -398,7 +398,7 @@ process.nextTick(function () {
### db.insert(doc, [params], [callback])
-inserts `doc` in the database with optional `params`. if params is a string, its assumed as the intended document name. if params is an object, its passed as query string parameters and `doc_name` is checked for defining the document name.
+inserts `doc` in the database with optional `params`. if params is a string, its assumed as the intended document name. if params is an object, its passed as query string parameters and `docName` is checked for defining the document name.
``` js
var alice = nano.use('alice');
@@ -494,7 +494,7 @@ additional query string `params` can be specified, this is the same method as fe
### db.multipart.insert(doc, attachments, params, [callback])
-inserts a `doc` together with `attachments` and `params`. if params is a string, its assumed as the intended document name. if params is an object, its passed as query string parameters and `doc_name` is checked for defining the document name.
+inserts a `doc` together with `attachments` and `params`. if params is a string, its assumed as the intended document name. if params is an object, its passed as query string parameters and `docName` is checked for defining the document name.
refer to the [doc](http://wiki.apache.org/couchdb/HTTP_Document_API#Multiple_Attachments) for more details.
`attachments` must be an array of objects with `name`, `data` and `content_type` properties.