GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  COUCHDB-PUSH (1)

.ds Aq ’

NAME

couchdb-push - Push documents from the filesystem to CouchDB

CONTENTS

SYNOPSIS

Usage:



  couchdb-push [OPTION]... <FILE>... <COUCHDB_DATABASE>



Pushing a directory of JSON documents to http://localhost:5984/mydb :



  couchdb-push * http://localhost:5984/mydb
  couchdb-push * mydb                         # same as above

  # Note that the filenames will be used as document ids



Pushing one design document to mydb:



  # The file "_design/comments" must exist in the filesystem.
  couchdb-push _design/comments mydb



Overwrite existing documents when pushing to mydb:



  couchdb-push --force * mydb



DESCRIPTION

This script will take a list of JSON-encoded files and publish them to a CouchDB database. The paths of the filenames will be used as document ids in CouchDB, and slashes in the path will be escaped properly. This will let you upload documents that have ids with ’/’s in them (like ’_design/docs’).

SEE ALSO

AnyEvent::CouchDB, AnyEvent::CouchDB::Database

AUTHOR

John Beppu <john.beppu@gmail.com>
Search for    or go to Top of page |  Section 1 |  Main Index


perl v5.20.3 COUCHDB-PUSH (1) 2011-08-29

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.