<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'>> +=back
> +
> + my $unique_info = $source->unique_constraints_info();
> +
> +Read-only accessor returning all information about unique constraints.
> +
> +The hashref is keyed by the constraint name, and the values are
> +hashrefs contaning two keys:
> +
> +C<columns> is an arrayref of the columns originally provided to
> +L</add_unique_constraint> or L</add_unique_constraints>;
> +
> +C<extra> is the hashref originally passed to
> +L</add_unique_constraint>, or an empty hashref if none was provided.
> +
> +B<Note> 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</columns_info></code></p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<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>