We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
let doc = store.doc(...).new({ ... }); let cancel = this.query.append(doc); let model = this.models.find(model => model.doc === doc); try { await doc.save(); } catch(err) { cancel(); }
The text was updated successfully, but these errors were encountered:
In addition to that, doc.delete() should also have support for this.
let model = this.models.find(model => model.id === 'foof'); let cancel = this.query.remove(doc); // this.models.includes(model) // → false try { await model.doc.delete(); } catch(err) { cancel(); }
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: