projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
PK::Auto doc patch from dwc
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
PK
/
Auto
/
MySQL.pm
diff --git
a/lib/DBIx/Class/PK/Auto/MySQL.pm
b/lib/DBIx/Class/PK/Auto/MySQL.pm
index
8644120
..
57b428d
100644
(file)
--- a/
lib/DBIx/Class/PK/Auto/MySQL.pm
+++ b/
lib/DBIx/Class/PK/Auto/MySQL.pm
@@
-19,6
+19,10
@@
DBIx::Class::PK::Auto::MySQL - Automatic Primary Key class for MySQL
=head1 SYNOPSIS
+ # In your table classes
+ __PACKAGE__->load_components(qw/PK::Auto::MySQL Core/);
+ __PACKAGE__->set_primary_key('id');
+
=head1 DESCRIPTION
This class implements autoincrements for MySQL.