X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader.pm;h=72abc6f4d57d6ebce9e4fc0e7a201a41244f05ab;hb=a60b5b8dba39bf151b904b4fa5b53d65117b2801;hp=a51bfc5ede2251480008260c1d749f3b2f669813;hpb=79fe00812d679113a87eed3f9031470d4116e0f5;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader.pm b/lib/DBIx/Class/Schema/Loader.pm index a51bfc5..72abc6f 100644 --- a/lib/DBIx/Class/Schema/Loader.pm +++ b/lib/DBIx/Class/Schema/Loader.pm @@ -290,9 +290,11 @@ Re-scans the database for newly added tables since the initial load, and adds them to the schema at runtime, including relationships, etc. Does not process drops or changes. +Returns a list of the new monikers added. + =cut -sub rescan { shift->_loader->rescan } +sub rescan { my $self = shift; $self->_loader->rescan($self) } =head1 EXAMPLE