Commit graph

17 commits

Author SHA1 Message Date
Antony Blakey 36945d5a13 Add bulk save deferal option to db.delete / doc.destroy, just like on save. 2009-01-09 20:29:08 +10:30
Matt Lyon 9faa9daaca support for couchdb's support for the COPY and MOVE verbs. depends on my commit to RestClient, currently only in b5d75acc68
I have considered adding this to the CouchRest::Document class as well ("@doc.copy new-id" and such) but haven't yet.
2009-01-05 00:44:12 -08:00
Matt Lyon e15581b1dd fix temp_view -> slow_view stuff for couchdb trunk 2009-01-04 23:00:59 -08:00
Chris Anderson 7aaffe5d63 change count to limit 2009-01-04 21:00:36 -08:00
Chris Anderson c488aab338 Merge branch 'janl/master' 2008-12-31 15:16:32 -08:00
Nolan Darilek d8d5645ebd Make bulk saving more flexible.
* Database#save(doc, true) caches the doc in a database-specific bulk
cache.
* Database#save(doc, false), default, saves normally, bulk saving and
emptying the cache if one exists.
* The cache is automatically saved on Database#save if it excedes a
configurable limit, 50 by default.
* Database#bulk_save without arguments saves and clears the bulk save
cache.
2008-12-14 23:17:35 -06:00
Nolan Darilek dd7f109878 Add support for database compaction. 2008-12-14 17:29:15 -06:00
Jan Lehnardt 7461e3fede s/localhost/127.0.0.1/ 2008-12-14 12:05:02 +01:00
Chris Anderson 19a70ffd7d got view queries happening correctly 2008-11-21 16:21:20 -08:00
Chris Anderson 0769c2690f on the road toward design docs 2008-11-08 16:28:58 -08:00
Chris Anderson 6851c7a2be views accept blocks 2008-10-14 15:08:17 -07:00
Chris Anderson 254eb20161 view blocks flow 2008-10-14 01:07:48 -07:00
Chris Anderson 54a0afdf8e added block yields to db.view 2008-10-13 16:46:48 -07:00
Chris Anderson 7a92723260 include-docs support 2008-10-08 12:32:22 -07:00
Chris Anderson e2f7163816 multi-key support for views, temp-views, and alldocs 2008-10-08 12:19:28 -07:00
Chris Anderson 2b7e49c9c6 put attachments 2008-09-30 17:22:54 -07:00
Chris Anderson 902e1bed26 moved specs so the autotest filemapping works better 2008-09-30 16:21:28 -07:00
Renamed from spec/database_spec.rb (Browse further)