X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass.pm;h=854df8e293d0d0e2c46ea7c9fa468cad5b8e2dee;hb=c94f64f9ad6dd8957ebb722e97e13ba24b546664;hp=2a33c10fe8c52025d7a24d193b5db44c726c80bd;hpb=e7827df02409b8e642cd68fca01de4a1c8fbb628;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class.pm b/lib/DBIx/Class.pm index 2a33c10..854df8e 100644 --- a/lib/DBIx/Class.pm +++ b/lib/DBIx/Class.pm @@ -23,7 +23,7 @@ sub component_base_class { 'DBIx::Class' } # i.e. first release of 0.XX *must* be 0.XX000. This avoids fBSD ports # brain damage and presumably various other packaging systems too -$VERSION = '0.08004'; +$VERSION = '0.08007'; sub MODIFY_CODE_ATTRIBUTES { my ($class,$code,@attrs) = @_; @@ -123,6 +123,8 @@ Then you can use these classes in your application's code: my $cd = $millennium_cds_rs->next; # SELECT ... FROM cds JOIN artists ... my $cd_artist_name = $cd->artist->name; # Already has the data so no query + # new() makes a DBIx::Class::Row object but doesnt insert it into the DB. + # create() is the same as new() then insert(). my $new_cd = $schema->resultset('CD')->new({ title => 'Spoon' }); $new_cd->artist($cd->artist); $new_cd->insert; # Auto-increment primary key filled in after INSERT @@ -161,9 +163,9 @@ APIs, since DBIx::Class is used in production in many organisations, and even backwards incompatible changes to non-published APIs will be fixed if they're reported and doing so doesn't cost the codebase anything. -The test suite is quite substantial, and several developer releases are -generally made to CPAN before the -current branch is merged back to trunk for -a major release. +The test suite is quite substantial, and several developer releases +are generally made to CPAN before the branch for the next release is +merged back to trunk for a major release. The community can be found via: @@ -171,6 +173,8 @@ The community can be found via: SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ + SVNWeb: http://dev.catalyst.perl.org/svnweb/bast/browse/DBIx-Class/ + IRC: irc.perl.org#dbix-class =head1 WHERE TO GO NEXT @@ -189,6 +193,8 @@ is traditional :) abraxxa: Alexander Hartmaier +aherzog: Adam Herzog + andyg: Andy Grundman ank: Andres Kievsky @@ -259,6 +265,8 @@ sszabo: Stephan Szabo Todd Lipcon +Tom Hukins + typester: Daisuke Murase victori: Victor Igumnov