Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

find and delete by id not working #117

Open
st-sathish opened this issue Sep 15, 2019 · 0 comments
Open

find and delete by id not working #117

st-sathish opened this issue Sep 15, 2019 · 0 comments

Comments

@st-sathish
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant