From: Mark A. Stratman Date: Tue, 14 Jun 2011 17:48:34 +0000 (-0500) Subject: Documented $resultsource->name X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=167e763417033d41f16744cc28d555971f85b45e;p=dbsrgits%2FDBIx-Class-Historic.git Documented $resultsource->name --- diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index 0476cad..ae1a04b 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -406,6 +406,8 @@ michaelr: Michael Reddick milki: Jonathan Chu +mstratman: Mark A. Stratman + ned: Neil de Carteret nigel: Nigel Metheringham diff --git a/lib/DBIx/Class/ResultSource.pm b/lib/DBIx/Class/ResultSource.pm index 9489f49..75287bd 100644 --- a/lib/DBIx/Class/ResultSource.pm +++ b/lib/DBIx/Class/ResultSource.pm @@ -1041,6 +1041,20 @@ sub resultset { ); } +=head2 name + +=over 4 + +=item Arguments: None + +=item Result value: $name + +=back + +Returns the name of the result source, which will typically be the table +name. This may be a scalar reference if the result source has a non-standard +name. + =head2 source_name =over 4