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
It will be nice to provide a get method which return a default value when nothing was stored for a given key into database like a defaultdict http://docs.python.org/2/library/collections.html#collections.defaultdict
db.get('key', 'default_value')
The text was updated successfully, but these errors were encountered:
Added this feature and created a PR #23
Sorry, something went wrong.
No branches or pull requests
It will be nice to provide a get method which return a default value when nothing was stored for a given key into database like a defaultdict
http://docs.python.org/2/library/collections.html#collections.defaultdict
The text was updated successfully, but these errors were encountered: