Commit graph

14 commits

Author SHA1 Message Date
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
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 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
Chris Anderson b3b58ffa83 polished documentation 2008-09-29 23:39:57 -07:00
Chris Anderson 26c4db7fc6 documenting CouchRest::Model 2008-09-29 23:26:34 -07:00
Chris Anderson 9e4d5c0eda backwards compatibility for old couchdbs 2008-09-13 18:59:24 -04:00
Chris Anderson f5fdc8b913 made CouchRest a module 2008-09-11 21:14:34 -07:00
Renamed from lib/couchrest/database.rb (Browse further)