=for comment POD_DERIVED_INDEX_GENERATED The following documentation is automatically generated. Please do not edit this file, but rather the original, inline with DBIx::Class::PK at lib/DBIx/Class/PK.pm (on the system that originally ran this). If you do edit this file, and don't want your changes to be removed, make sure you change the first line. =cut =head1 NAME DBIx::Class::PK - Primary Key class =head1 SYNOPSIS =head1 DESCRIPTION This class contains methods for handling primary keys and methods depending on them. =head1 METHODS =head2 id Returns the primary key(s) for a row. Can't be called as a class method. =head2 ID Returns a unique id string identifying a result object by primary key. Used by L and L. =over 4 =item WARNING The default C<_create_ID> method used by this function orders the returned values by the alphabetical order of the primary column names, B the L method, which follows the same order in which columns were fed to L. =back =head2 ident_condition my $cond = $result_source->ident_condition(); my $cond = $result_source->ident_condition('alias'); Produces a condition hash to locate a row based on the primary key(s). =head1 INHERITED METHODS =over 4 =item L L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L, L =back =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.