From: Aaron Crane Date: Tue, 29 Nov 2016 17:36:35 +0000 (+0000) Subject: Tweak "exclude" and "constraint" option docs X-Git-Tag: 0.07047~12 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ca1389c8998c1646875df6f64494f5ff49153420;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Tweak "exclude" and "constraint" option docs A user reading the documentation online may click on a TOC link to the "exclude" option, not seeing that the description also applies to the "constraint" option immediately above. This commit seeks to remedy that by moving the description to the "constraint" section and giving "exclude" and explicit backward reference to it. --- diff --git a/lib/DBIx/Class/Schema/Loader/Base.pm b/lib/DBIx/Class/Schema/Loader/Base.pm index 52e3a96..3ff501a 100644 --- a/lib/DBIx/Class/Schema/Loader/Base.pm +++ b/lib/DBIx/Class/Schema/Loader/Base.pm @@ -561,10 +561,6 @@ database and/or schema. Only load matching tables. -=head2 exclude - -Exclude matching tables. - These can be specified either as a regex (preferably on the C form), or as an arrayref of arrayrefs. Regexes are matched against the (unqualified) table name, while arrayrefs are matched according to @@ -582,6 +578,13 @@ For example: In this case only the tables C and C in C and C in C will be dumped. +=head2 exclude + +Exclude matching tables. + +The tables to exclude are specified in the same way as for the +L option. + =head2 moniker_map Overrides the default table name to moniker translation. Either