masonite
masonite copied to clipboard
Change Redis driver to use incrby methods
Describe the bug
Hi, why do you want to do this? and poor performance

Why not do this?

Expected behaviour
No response
Steps to reproduce the bug
No response
Screenshots
No response
OS
Linux
OS version
deepin
Browser
No response
Masonite Version
4.15.0
Anything else ?
No response
Hello, don't write this code like this, it provides the correct way to write it, why not use it?
We will get to it. The issue is open I didn't close it. If you want to see this fixed then please open a PR and I will review it. If not then please wait until we get to this issue
thank you for your work
@josephmancuso
Using Driver native methods where they exist would be preferable as it incurs less overhead (hits on the store).
@josephmancuso
This is really a moot point now as PR #686 covers this by updating an internal cache for these methods
eg .increment() and .decrement() so the native driver methods are no longer relevant to setting incremented/decremented values directly in the store