Filewatcher File Search File Search
Catalog
Content Search
» » » » » » perl-DBIx-DBSchema-0.15-10.i386.rpm » Content »
pkg://perl-DBIx-DBSchema-0.15-10.i386.rpm:39414/usr/share/man/man3/  info  HEADER  downloads

perl-DBIx-DBSchema - DBIx-DBSchema module for perl (./DBIx)…  more info»

DBIx::DBSchema::DBD.3pm.gz

DBSchema::DBD(3) User Contributed Perl DocumentationDBSchema::DBD(3)



NAME
       DBIx::DBSchema::DBD - DBIx::DBSchema Driver Writer's Guide
       and Base Class

SYNOPSIS
         perldoc DBIx::DBSchema::DBD

         package DBIx::DBSchema::DBD::FooBase
         use DBIx::DBSchmea::DBD;
         @ISA = qw(DBIx::DBSchema::DBD);


DESCRIPTION
       Drivers should be named DBIx::DBSchema::DBD::DatabaseName,
       where DatabaseName is the same as the DBD:: driver for this
       database.  Drivers should implement the following class meth‐
       ods:

       columns CLASS DBI_DBH TABLE
           Given an active DBI database handle, return a listref of
           listrefs (see the perllol manpage), each containing six
           elements: column name, column type, nullability, column
           length, column default, and a field reserved for driver-
           specific use.

       column CLASS DBI_DBH TABLE COLUMN
           Same as columns above, except return the listref for a
           single column.  You can inherit from DBIx::DBSchema::DBD
           to provide this function.

       primary_key CLASS DBI_DBH TABLE
           Given an active DBI database handle, return the primary
           key for the specified table.

       unique CLASS DBI_DBH TABLE
           Given an active DBI database handle, return a hashref of
           unique indices.  The keys of the hashref are index names,
           and the values are arrayrefs which point a list of column
           names for each.  See the HASHES OF LISTS entry in the
           perldsc manpage and the DBIx::DBSchema::ColGroup manpage.

       index CLASS DBI_DBH TABLE
           Given an active DBI database handle, return a hashref of
           (non-unique) indices.  The keys of the hashref are index
           names, and the values are arrayrefs which point a list of
           column names for each.  See the HASHES OF LISTS entry in
           the perldsc manpage and the DBIx::DBSchema::ColGroup man‐
           page.

AUTHOR
       Ivan Kohler <ivan-dbix-dbschema@420.am>

COPYRIGHT
       Copyright (c) 2000 Ivan Kohler Copyright (c) 2000 Mail Abuse
       Prevention System LLC All rights reserved.  This program is
       free software; you can redistribute it and/or modify it under
       the same terms as Perl itself.

BUGS
       %typemap needs to be documented.

SEE ALSO
       the DBIx::DBSchema manpage, the DBIx::DBSchema::DBD::mysql
       manpage, the DBIx::DBSchema::DBD::Pg manpage, the
       DBIx::DBSchema::ColGroup manpage, the DBI manpage, the
       DBI::DBD manpage, the perllol manpage, the HASHES OF LISTS
       entry in the perldsc manpage



3rd Berkeley Distribution    perl v5.6.0            DBSchema::DBD(3)
Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017 FileWatcher.com