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

It's way too easy to type 'db' instead of 'tx' #3

Open
Quelklef opened this issue Sep 25, 2020 · 0 comments
Open

It's way too easy to type 'db' instead of 'tx' #3

Quelklef opened this issue Sep 25, 2020 · 0 comments

Comments

@Quelklef
Copy link
Owner

Within a transaction, one should use tx. methods instead of db. methods: write tx.$.store.by.index.doWhatever, not db..

If this is forgotten, the resulting bug is arcane and difficult to pin down.

However, such a mistake is extremely easy to do.

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