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

Hashref bind values in insert() no longer cause a warning #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kraih
Copy link
Contributor

@kraih kraih commented Nov 22, 2019

This is a fairly simple change. When this warning was added 11 years ago we didn't know relational databases would be using JSON in 2019. But now we do know there are very valid use cases for hashrefs in bind values. The feature is already used in Mojo::Pg, and judging by discussions on IRC there are plans to have native support for JSON in DBD::Pg at some point in the future. So i believe this deprecation should be reverted.

@coveralls
Copy link

coveralls commented Nov 23, 2019

Pull Request Test Coverage Report for Build 56

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.4%) to 88.212%

Totals Coverage Status
Change from base Build 26: -0.4%
Covered Lines: 8636
Relevant Lines: 9790

💛 - Coveralls

@kraih
Copy link
Contributor Author

kraih commented Nov 23, 2019

The build fail wasn't my fault, tests pass, there's just a problem with Codecov.

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

Successfully merging this pull request may close these issues.

2 participants