X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FSchema%2FLoader%2FDBI%2FWriting.pm;h=12506b2d938d43bd9e2d0d70caecf2c26f49b1ba;hb=b1ad1a8402a5eb0955c6b76310809c2ab29291a9;hp=3ac5618920381e8bdb8bf1addae9e65f5ca2d4b5;hpb=996be9ee6e82ec9928f801ecdc69c9e07d64339c;p=dbsrgits%2FDBIx-Class-Schema-Loader.git diff --git a/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm b/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm index 3ac5618..12506b2 100644 --- a/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm +++ b/lib/DBIx/Class/Schema/Loader/DBI/Writing.pm @@ -1,6 +1,8 @@ package DBIx::Class::Schema::Loader::DBI::Writing; use strict; +our $VERSION = '0.04999_10'; + # Empty. POD only. 1; @@ -18,6 +20,7 @@ DBIx::Class::Schema::Loader::DBI::Writing - Loader subclass writing guide for DB use strict; use warnings; use base 'DBIx::Class::Schema::Loader::DBI'; + use Carp::Clan qw/^DBIx::Class/; use Class::C3; sub _table_uniq_info { @@ -42,14 +45,15 @@ DBIx::Class::Schema::Loader::DBI::Writing - Loader subclass writing guide for DB =head1 DETAILS The only required method for new subclasses is C<_table_uniq_info>, -as I have not to date found any pseudo-standardized or DBD-agnostic -way for obtaining this information. +as there is not (yet) any standardized, DBD-agnostic way for obtaining +this information from DBI. The base DBI Loader contains generic methods that *should* work for everything else in theory, although in practice some DBDs need to override one or more of the other methods. The other methods one might -likely want to override are: C<_table_pk_info>, C<_table_fk_info>, and -C<_tables_list>. See the included DBD drivers for examples of these. +likely want to override are: C<_table_pk_info>, C<_table_fk_info>, +C<_tables_list> and C<_extra_column_info>. See the included DBD drivers +for examples of these. =cut