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
In first place it'll be great to have possibility to have write mode locked. So any unattended changes are rejected.
Then it might be good to have a method which will allow to proceed with updates in provided callback, e.g.:
database.write(function () { obj.foo = 'bar'; // change saved obj.delete('bar'); // change saved }); obj.foo = 'foo'; // exception thrown
Above could also serve as transaction handler (see also #58 for notes on transactions handling)
Then it might be good to have two different write methods:
obj.foo = 'bar'; // event record created obj.foo = 'bar'; // event record created
obj.foo = 'bar'; // event record created only if value was not 'bar' already obj.foo = 'bar'; // no event record created
The text was updated successfully, but these errors were encountered:
medikoo
No branches or pull requests
In first place it'll be great to have possibility to have write mode locked. So any unattended changes are rejected.
Then it might be good to have a method which will allow to proceed with updates in provided callback, e.g.:
Above could also serve as transaction handler (see also #58 for notes on transactions handling)
Then it might be good to have two different write methods:
The text was updated successfully, but these errors were encountered: