From: Peter Rabbitson Date: Fri, 14 Nov 2008 17:44:25 +0000 (+0000) Subject: we use register_extra_source() now X-Git-Tag: v0.08240~240 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=dbe79da9ff6d8eb539dee5131faaf7b31832d2b1;p=dbsrgits%2FDBIx-Class.git we use register_extra_source() now --- diff --git a/lib/DBIx/Class/Manual/Cookbook.pod b/lib/DBIx/Class/Manual/Cookbook.pod index 293363d..d2dfcf9 100644 --- a/lib/DBIx/Class/Manual/Cookbook.pod +++ b/lib/DBIx/Class/Manual/Cookbook.pod @@ -141,7 +141,7 @@ you have to add to your User class: SQL # Finally, register your new ResultSource with your Schema - My::Schema->register_source( 'UserFriendsComplex' => $new_source ); + My::Schema->register_extra_source( 'UserFriendsComplex' => $new_source ); Next, you can execute your complex query using bind parameters like this: