Skip to content

find and delete by id not working #117

@st-sathish

Description

@st-sathish

I was using pouchDB to make sync with other service API call not with couchDB. However, I was making straight forward action to find document by id and need to delete. I can get the document by id (see the response) and i was getting "document conflict 409" when I can able to perform delete operation.

age: "35"
created_at: 1568531345051
hcc_id: 1
id: "eker_2_551659A0-3E79-01F6-9780-DAA30B0AE304"
last_synced_at: null
mobile: "9944717544"
mode: "offline"
name: "vikas offline"
rev: "1-d10fa2e0b4c443ad9b3eadc7312f0172"
updated_at: 1568531345051

I have passed this output as the second parameter in the db.rel.delete('schema', ) API. please let me know what I am missing

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions