You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Anup Bishnoi <pi...@gmail.com> on 2011/05/30 16:46:48 UTC

attachments access in validate_doc_update?

Is it possible to access and validate attachments on a doc using
validate_doc_update?
Or, to use the attachments for the purpose of validation?

Re: attachments access in validate_doc_update?

Posted by Robert Newson <ro...@gmail.com>.
Only the stub info (name, content-type, length), not the actual bytes.

B.

On 1 June 2011 08:06, Anup Bishnoi <pi...@gmail.com> wrote:
> What I mean is, can I access a doc's attachments inside the
> validate_doc_update function?
>
> On Mon, May 30, 2011 at 8:16 PM, Anup Bishnoi <pi...@gmail.com>wrote:
>
>> Is it possible to access and validate attachments on a doc using
>> validate_doc_update?
>> Or, to use the attachments for the purpose of validation?
>>
>

Re: attachments access in validate_doc_update?

Posted by Anup Bishnoi <pi...@gmail.com>.
What I mean is, can I access a doc's attachments inside the
validate_doc_update function?

On Mon, May 30, 2011 at 8:16 PM, Anup Bishnoi <pi...@gmail.com>wrote:

> Is it possible to access and validate attachments on a doc using
> validate_doc_update?
> Or, to use the attachments for the purpose of validation?
>