X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FManual%2FIntro.pod;h=4bd95d5f9a34a7f22a0079d57a814226090bd1eb;hb=e338dbecfeed34d9dbc8a6c17f0684bf77c03c8e;hp=d4ee303fd07ab19168d9bf56353d429d5a4b7a7d;hpb=d53178fd413748460fe7ab2747602b42454eddad;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/Manual/Intro.pod b/lib/DBIx/Class/Manual/Intro.pod index d4ee303..4bd95d5 100644 --- a/lib/DBIx/Class/Manual/Intro.pod +++ b/lib/DBIx/Class/Manual/Intro.pod @@ -13,14 +13,16 @@ better way? You've come to the right place. Here are a few simple tips that will help you get your bearings with DBIx::Class. -=head2 Tables become ResultSources +=head2 Tables become Result classes -DBIx::Class needs to know what your Table structure looks like. You do that by -defining Ls. Each table gets a ResultSource, which -defines the Columns it has, along with any Relationships it has to other tables. -(And oh, so much more besides) The important thing to understand: +DBIx::Class needs to know what your Table structure looks like. You +do that by defining Result classes. Result classes are defined by +calling methods proxied to L. Each Result +class defines one Table, which defines the Columns it has, along with +any Relationships it has to other tables. (And oh, so much more +besides) The important thing to understand: - A ResultSource == Table + A Result class == Table (most of the time, but just bear with my simplification) @@ -62,6 +64,11 @@ The important thing to understand: Setting up a ResultSet does not execute the query; retrieving the data does. +=head2 Search results are returned as Rows + +Rows of the search from the database are blessed into +L objects. + =head1 SETTING UP DBIx::Class Let's look at how you can set and use your first native L tree. @@ -373,6 +380,16 @@ L. For a complete overview of the available attributes, see L. +=head1 NOTES + +=head2 Problems on RHEL5/CentOS5 + +There is a problem with slow performance of certain DBIx::Class operations in +perl-5.8.8-10 and later on RedHat and related systems, due to a bad backport of +a "use overload" related bug. The problem is in the Perl binary itself, not in +DBIx::Class. If your system has this problem, you will see a warning on +startup, with some options as to what to do about it. + =head1 SEE ALSO =over 4