X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FManual%2FIntro.pod;h=c4c928ed4c45fa7bb9f324cf4b51d152a3c6b5d2;hb=409a3b1e1774dcaceb591544e656dd09e3a75878;hp=eebc98c2ab963b3d4acc52e3d9d08546e7e6a073;hpb=4e11ba0a6468bee185050fb164ae3aa1cbdf1895;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Manual/Intro.pod b/lib/DBIx/Class/Manual/Intro.pod index eebc98c..c4c928e 100644 --- a/lib/DBIx/Class/Manual/Intro.pod +++ b/lib/DBIx/Class/Manual/Intro.pod @@ -67,7 +67,7 @@ The important thing to understand: =head2 Search results are returned as Rows Rows of the search from the database are blessed into -L objects. +L objects. =head1 SETTING UP DBIx::Class @@ -209,7 +209,7 @@ If you have a mixed-case database, use the C option, e.g.: If you are using L, then you can use the helper that comes with L: - $ script/myapp_create.pl model MyDB DBIC::Schema MyDB::Schema \ + $ script/myapp_create.pl model MyModel DBIC::Schema MyApp::Schema \ create=static moniker_map='{ foo => "FOO" }' dbi:SQLite:./myapp.db \ on_connect_do='PRAGMA foreign_keys=ON' quote_char='"' @@ -420,7 +420,7 @@ similarity ends. Any time you call a CRUD operation on a row (e.g. L, L, L, -etc.) DBIx::Class will use the values of of the +etc.) DBIx::Class will use the values of the L columns to populate the C clause necessary to accomplish the operation. This is why it is important to declare a L @@ -445,10 +445,10 @@ L For example, the following would not work (assuming C does not have a declared PK): - my $row = $schema->resultset('People') + my $result = $schema->resultset('People') ->search({ last_name => 'Dantes' }) ->next; - $row->update({ children => 2 }); # <-- exception thrown because $row isn't + $result->update({ children => 2 }); # <-- exception thrown because $result isn't # necessarily unique So instead the following should be done: @@ -471,4 +471,13 @@ information on this can be found in L =back -=cut +=head1 FURTHER QUESTIONS? + +Check the list of L. + +=head1 COPYRIGHT AND LICENSE + +This module is free software L +by the L. You can +redistribute it and/or modify it under the same terms as the +L.