__PACKAGE__->load_components(qw/ +My::Component /);
-Once a component is loaded all of it's methods, or otherwise,
+Once a component is loaded all of its methods, or otherwise,
that it provides will be available in your class.
The order in which is you load the components may be very
=head2 prefetch
-Similiar to a join, except the related result objects are fetched and
+Similar to a join, except the related result objects are fetched and
cached for future use, instead of used directly from the ResultSet. This
allows you to jump to different relationships within a Result without
worrying about generating a ton of extra SELECT statements.
But I'll explain anyway. Assuming you have created your database in a
more or less sensible way, you will end up with several tables that
contain C<related> information. For example, you may have a table
-containing information about C<CD>s, containing the CD title and it's
+containing information about C<CD>s, containing the CD title and its
year of publication, and another table containing all the C<Track>s
for the CDs, one track per row.
When you wish to extract information about a particular CD and all
-it's tracks, You can either fetch the CD row, then make another query
+its tracks, You can either fetch the CD row, then make another query
to fetch the tracks, or you can use a join. Compare:
SELECT ID, Title, Year FROM CD WHERE Title = 'Funky CD';
INNER JOIN `artist` `artist` ON `artist`.`artistid` = `me`.`artist`
)',
[],
- 'overriden default join type works',
+ 'overridden default join type works',
);
}