<p>This is a fairly simple change. When this warning was added <a href="https://github.com/kraih/sql-abstract/commit/5db47f9fe6d06048b35092378a04e3a292d03a19">11 years ago</a> 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 <a href="https://metacpan.org/pod/Mojo::Pg::Database#insert" rel="nofollow">Mojo::Pg</a>, and judging by discussions on IRC there are plans to have native support for JSON in <code>DBD::Pg</code> at some point in the future. So i believe this deprecation should be reverted.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>&nbsp;&nbsp;<a href='https://github.com/dbsrgits/sql-abstract/pull/18'>https://github.com/dbsrgits/sql-abstract/pull/18</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Hashref bind values in insert() no longer cause a warning</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-abstract/pull/18/files#diff-0">lib/SQL/Abstract.pm</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/sql-abstract/pull/18/files#diff-1">t/01generate.t</a>
    (5)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/dbsrgits/sql-abstract/pull/18.patch'>https://github.com/dbsrgits/sql-abstract/pull/18.patch</a></li>
  <li><a href='https://github.com/dbsrgits/sql-abstract/pull/18.diff'>https://github.com/dbsrgits/sql-abstract/pull/18.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/dbsrgits/sql-abstract/pull/18?email_source=notifications&amp;email_token=AACJ4AQU6WLXD6U34FAPUV3QVBW7PA5CNFSM4JQXLJVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3QSDCA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AACJ4ATZKNGPX4YY4DHAUGTQVBW7PANCNFSM4JQXLJVA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AACJ4AREIILUNAFOYCRDJKDQVBW7PA5CNFSM4JQXLJVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3QSDCA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/dbsrgits/sql-abstract/pull/18?email_source=notifications\u0026email_token=AACJ4AQU6WLXD6U34FAPUV3QVBW7PA5CNFSM4JQXLJVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3QSDCA",
"url": "https://github.com/dbsrgits/sql-abstract/pull/18?email_source=notifications\u0026email_token=AACJ4AQU6WLXD6U34FAPUV3QVBW7PA5CNFSM4JQXLJVKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H3QSDCA",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>