Doc fixes for PK::Auto::DB references. All handled in storage now.
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Manual / FAQ.pod
CommitLineData
3b44ccc6 1=head1 NAME
9c82c181 2
40dbc108 3DBIx::Class::Manual::FAQ - Frequently asked questions
9c82c181 4
40dbc108 5=head1 GENERAL
ee38fa40 6
35d4fe78 7=head2 What is the point of this module? Is it a fork of Class::DBI?
ee38fa40 8
40dbc108 9This is an alternative to L<Class::DBI>, intended to provide greater
159a8515 10functionality and simplicity.
11
25bb283d 12It is inspired by the L<Class::DBI> framework, and provides a compat
13layer to ease porting, but with a resultset-oriented, MI-based
14design that makes extension easier and allows us to support more
15complex relational operations like self-joins, C<DISTINCT>,
40dbc108 16C<GROUP BY>s and more.
ee38fa40 17
130c6439 18=head2 What databases does it support?
ee38fa40 19
25bb283d 20At least MSSQL, MySQL, Oracle, PostgreSQL, SQLite and DB2.
159a8515 21
130c6439 22=head2 What's the current status of this module?
ee38fa40 23
159a8515 24This project is still at an early stage, so the maintainers don't make
25any absolute promise that full backwards-compatibility will be
26supported; however, if we can without compromising the improvements
27we're trying to make, we will, and any non-compatible changes will
28merit a full justification on the mailing list and a CPAN developer
29release for people to test against.
30
130c6439 31=head2 Where can I go for support?
ee38fa40 32
35d4fe78 33 Mailing list: http://lists.rawmode.org/mailman/listinfo/dbix-class/
159a8515 34
35d4fe78 35 SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
159a8515 36
35d4fe78 37 Wiki: http://dbix-class.shadowcatsystems.co.uk/
159a8515 38
35d4fe78 39 IRC: irc.perl.org#dbix-class
159a8515 40
61d1e2c2 41=head2 Inflating your date/time columns
42
43You can use L<DBIx::Class::InflateColumn> to automatically create
44L<DateTime> objects from your date/time columns. For more information,
45see L<DBIx::Class::InflateColumn>.
46
40dbc108 47=head1 POSTGRESQL-SPECIFIC PROBLEMS
159a8515 48
40dbc108 49=head2 Can't get last insert ID; inserts with serial primary keys fail
159a8515 50
40dbc108 51Older L<DBI> and L<DBD::Pg> versions do not handle C<last_insert_id>
52correctly, causing code that uses auto-incrementing primary key
53columns to fail with a message such as:
159a8515 54
35d4fe78 55 Can't get last insert id at /.../DBIx/Class/Row.pm line 95
159a8515 56
57In particular the RHEL 4 and FC3 Linux distributions both ship with
40dbc108 58combinations of L<DBI> and L<DBD::Pg> modules that do not work
59correctly.
159a8515 60
40dbc108 61L<DBI> version 1.50 and L<DBD::Pg> 1.43 are known to work.
159a8515 62
40dbc108 63=head1 SEE ALSO
64
65=over 4
ee38fa40 66
40dbc108 67=item L<DBIx::Class::Manual::Intro>
68
69=back
70
71=cut