couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Anderson" <>
Subject Re: Auto-adding additional fields on PUT/POST? (datetime stamps)
Date Tue, 02 Dec 2008 04:06:33 GMT
On Mon, Dec 1, 2008 at 7:07 PM, Jason Huggins <> wrote:
> On Mon, Dec 1, 2008 at 6:56 PM, Jedediah Smith
> <> wrote:
>> The new validation functions might be able to do this for you if they are
>> allowed to modify the document. Whether or not they are was asked on the dev
>> list but not answered. I hope they are as that would be endlessly useful. It
>> would be *really* neat if a function could also handle merging for revision
>> conflicts.

I'm not sure about changing documents -- I think it would be simple to
add if the demand is strong.

> Are validation functions in trunk or a released version?... or still
> on the drawing board? (I suppose I should switch to the dev list to
> ask that question to a more targeted audience.) :-)

I wrote up my dive through the security_validation tests here:

Validations are in trunk, but you'd have to do some work to use them
in an application.

Chris Anderson

View raw message