Merge branch 'master' of git://github.com/jchris/couchrest
* 'master' of git://github.com/jchris/couchrest: added bulk_load macro version support note
This commit is contained in:
commit
1b6ed9ce93
3 changed files with 12 additions and 0 deletions
|
@ -44,6 +44,11 @@ module CouchRest
|
|||
end
|
||||
end
|
||||
|
||||
# load a set of documents by passing an array of ids
|
||||
def get_bulk(ids)
|
||||
documents(:keys => ids, :include_docs => true)
|
||||
end
|
||||
|
||||
# POST a temporary view function to CouchDB for querying. This is not
|
||||
# recommended, as you don't get any performance benefit from CouchDB's
|
||||
# materialized views. Can be quite slow on large databases.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue