1DBIx::Class::PK::Auto(3U)ser Contributed Perl DocumentatiDoBnIx::Class::PK::Auto(3)
2
3
4

NAME

6       DBIx::Class::PK::Auto - Automatic primary key class
7

SYNOPSIS

9       use base 'DBIx::Class::Core'; __PACKAGE__->set_primary_key('id');
10

DESCRIPTION

12       This class overrides the insert method to get automatically incremented
13       primary keys.
14
15       PK::Auto is now part of Core.
16
17       See DBIx::Class::Manual::Component for details of component
18       interactions.
19

LOGIC

21       "PK::Auto" does this by letting the database assign the primary key
22       field and fetching the assigned value afterwards.
23

METHODS

25   insert
26       The code that was handled here is now in Row for efficiency.
27
28   sequence
29       The code that was handled here is now in ResultSource, and is being
30       proxied to Row as well.
31

FURTHER QUESTIONS?

33       Check the list of additional DBIC resources.
34
36       This module is free software copyright by the DBIx::Class (DBIC)
37       authors. You can redistribute it and/or modify it under the same terms
38       as the DBIx::Class library.
39
40
41
42perl v5.30.1                      2020-01-29          DBIx::Class::PK::Auto(3)
Impressum