You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by iilyak <gi...@git.apache.org> on 2016/05/17 23:52:54 UTC

[GitHub] couchdb-couch pull request: Support create_if_missing option in co...

GitHub user iilyak opened a pull request:

    https://github.com/apache/couchdb-couch/pull/174

    Support create_if_missing option in couch_db:open

    Pass `create_if_missing` option to be used in cases like these:
    
    - [fabric_rpc:get_or_create_db/2](https://github.com/apache/couchdb-fabric/blob/master/src/fabric_rpc.erl#L270)
    - [mem3_rpc:get_or_create_db/2](https://github.com/apache/couchdb-mem3/pull/21/files#diff-4d22d90c9d6ea299758d2f1262352379R278)
     

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-couch create_db_if_missing

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-couch/pull/174.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #174
    
----
commit 9c349b9b18456bc75486defb87b205c38da4a05d
Author: ILYA Khlopotov <ii...@ca.ibm.com>
Date:   2016-05-17T23:44:13Z

    Support create_if_missing option in couch_db:open

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-couch pull request: Support create_if_missing option in co...

Posted by rnewson <gi...@git.apache.org>.
Github user rnewson commented on the pull request:

    https://github.com/apache/couchdb-couch/pull/174#issuecomment-219965844
  
    +1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-couch pull request: Support create_if_missing option in co...

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/couchdb-couch/pull/174


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---