Hi,
is there a way to add custom field during deletion with sync gateway?
My problem is if i delete a document, the document become:
{
_deleted: true,
_id: 'id',
_rev: '1-f71486306fb077e506e70be78dfc1e01'
}
I need to keep the “type” field, so my document should be like this:
{
_deleted: true,
_id: 'id',
_rev: '1-f71486306fb077e506e70be78dfc1e01' ,
type: "type"
}
Is it possible?
Thanks in advance