<p>In <a href="https://github.com/dbsrgits/dbix-class/pull/88#discussion_r43756903">lib/DBIx/Class/ResultSource.pm</a>:</p>
<pre style='color:#555'>&gt; +=back
&gt; +
&gt; +  my $unique_info = $source-&gt;unique_constraints_info();
&gt; +
&gt; +Read-only accessor returning all information about unique constraints.
&gt; +
&gt; +The hashref is keyed by the constraint name, and the values are
&gt; +hashrefs contaning two keys:
&gt; +
&gt; +C&lt;columns&gt; is an arrayref of the columns originally provided to
&gt; +L&lt;/add_unique_constraint&gt; or L&lt;/add_unique_constraints&gt;;
&gt; +
&gt; +C&lt;extra&gt; is the hashref originally passed to
&gt; +L&lt;/add_unique_constraint&gt;, or an empty hashref if none was provided.
&gt; +
&gt; +B&lt;Note&gt; that while similar functions return hash-shaped lists, this
</pre>
<p><code>s/hash-shaped/flattened hashes as a list/</code>, and I also would add <code>... just like L&lt;/columns_info&gt;</code></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/dbsrgits/dbix-class/pull/88/files#r43756903">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAo9C8F5N5C_c_z6RAnqQ0mubZuuuks5pCMNXgaJpZM4Ga5rQ.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/dbsrgits/dbix-class/pull/88/files#r43756903"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>