[Bast-commits] r8150 - in DBIx-Class/0.08/trunk: . lib/DBIx/Class
abraxxa at dev.catalyst.perl.org
abraxxa at dev.catalyst.perl.org
Fri Dec 18 14:59:58 GMT 2009
Author: abraxxa
Date: 2009-12-18 14:59:58 +0000 (Fri, 18 Dec 2009)
New Revision: 8150
Modified:
DBIx-Class/0.08/trunk/Changes
DBIx-Class/0.08/trunk/lib/DBIx/Class/Schema.pm
Log:
Schema POD inprovement for dclone
Modified: DBIx-Class/0.08/trunk/Changes
===================================================================
--- DBIx-Class/0.08/trunk/Changes 2009-12-18 14:59:56 UTC (rev 8149)
+++ DBIx-Class/0.08/trunk/Changes 2009-12-18 14:59:58 UTC (rev 8150)
@@ -5,6 +5,7 @@
- Cookbook POD fix for add_drop_table instead of add_drop_tables
- Views without a view_definition will throw an exception when
parsed by SQL::Translator::Parser::DBIx::Class
+ - Schema POD inprovement for dclone
0.08115 2009-12-10 09:02:00 (CST)
- Real limit/offset support for MSSQL server (via Row_Number)
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Schema.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Schema.pm 2009-12-18 14:59:56 UTC (rev 8149)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Schema.pm 2009-12-18 14:59:58 UTC (rev 8150)
@@ -1178,9 +1178,18 @@
=head2 dclone
-Recommeneded way of dcloning objects. This is needed to properly maintain
-references to the schema object (which itself is B<not> cloned.)
+=over 4
+=item Arguments: $object
+
+=item Return Value: dcloned $object
+
+=back
+
+Recommended way of dcloning objects. If a C<DBIx::Class::Row> object is passed
+its references to the schema object (which itself is B<not> cloned)
+are properly maintained.
+
=cut
sub dclone {
More information about the Bast-commits
mailing list