The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DBIx::Class::Storage::DBI::Pg - Automatic primary key class for PostgreSQL

SYNOPSIS

# In your table classes
__PACKAGE__->load_components(qw/PK::Auto Core/);
__PACKAGE__->set_primary_key('id');
__PACKAGE__->sequence('mysequence');

DESCRIPTION

This class implements autoincrements for PostgreSQL.

AUTHORS

Marcus Ramberg <m.ramberg@cpan.org>

LICENSE

You may distribute this code under the same terms as Perl itself.