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

Object is deleted but still exist in database #79

Open
Abdullah-7 opened this issue Apr 20, 2017 · 1 comment
Open

Object is deleted but still exist in database #79

Abdullah-7 opened this issue Apr 20, 2017 · 1 comment

Comments

@Abdullah-7
Copy link

Abdullah-7 commented Apr 20, 2017

Hello,
I tried to delete an object using this method:

delete(id){
    console.log("Id : " + id);
    this.db.rel.find('destination', id).then(doc => {
      return this.db.rel.del('destination', doc).then(data => {
        console.log(data);
      });
    });
  }

The result I get from the console:
{deleted: true}

But after I refresh the app the object appears again.

@mrbhaskar
Copy link

mrbhaskar commented Jul 17, 2020

hey @Abdullah-7 did you find the solution?
I am having the same issue with this delete function

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

2 participants