From ca1389c8998c1646875df6f64494f5ff49153420 Mon Sep 17 00:00:00 2001 From: Aaron Crane Date: Tue, 29 Nov 2016 17:36:35 +0000 Subject: [PATCH] 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. --- lib/DBIx/Class/Schema/Loader/Base.pm | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/DBIx/Class/Schema/Loader/Base.pm b/lib/DBIx/Class/Schema/Loader/Base.pm index 52e3a968f..3ff501a71 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