[DBIx-Class-Devel] [dbix-class] Allow SQLT options to be passed to unique constraints (#88)

Peter Rabbitson notifications at github.com
Tue Nov 3 14:59:35 GMT 2015


> +=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

`s/hash-shaped/flattened hashes as a list/`, and I also would add `... just like L</columns_info>`


---
Reply to this email directly or view it on GitHub:
https://github.com/dbsrgits/dbix-class/pull/88/files#r43756903
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scsys.co.uk/pipermail/dbix-class-devel/attachments/20151103/1df16e37/attachment.htm>


More information about the DBIx-Class-Devel mailing list