Skip to content

Commit

Permalink
Updated docs to reflect prefixing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
benrudolph authored and daleharvey committed Apr 8, 2013
1 parent 656cc08 commit a90efbc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/api.md
Expand Up @@ -49,6 +49,8 @@ Retrieves all databases from PouchDB. (Adapter prefix of database is included if

This method gets an existing database if one exists or creates a new one if one does not exist. You may also explicitly specify which backend you want to use for local database (e.g. `idb://dbname` or `leveldb://dbname`) but usually it is convenient to let PouchDB choose the best backend by itself.

Note: Pouch reserves the prefix '_pouch' for the creation of local databases -- all local databases will automatically be preprended with '_pouch'.

var pouchdb = Pouch('test');

pouchdb.post(...;
Expand Down

0 comments on commit a90efbc

Please sign in to comment.