Matt Aimonetti
fda5be213a
slight change of API, CR::Document now uses <action>_doc instead of <action>, also added #create! and #recreate! to Document instances
2009-01-28 18:16:55 -08:00
Chris Anderson
e9f7456eab
change couchrest back to _temp_view, rev gem version
2009-01-27 15:11:10 -08:00
Chris Anderson
8f24d7d5a3
bulk_save has an option to have couch add the uuids
2009-01-23 23:25:24 -08:00
Chris Anderson
6b57357fc0
merge deferred-delete
2009-01-12 20:01:37 -08:00
Chris Anderson
bca68cf1a9
design doc ids fixed throughout
2009-01-12 19:54:02 -08:00
Chris Anderson
d1f8970c84
fixed ddoc names on get
2009-01-12 19:50:00 -08:00
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
Nolan Darilek
84382d8af4
Removed model create/update callbacks and integrated with new bulk save infrastructure.
2008-12-15 10:27:53 -06: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
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