| 1 | =head1 NAME | ||
| 2 | |||
| 3 | XAO::DO::FS::Glue::MySQL_DBI - DBD::mysql driver for XAO::FS | ||
| 4 | |||
| 5 | =head1 SYNOPSIS | ||
| 6 | |||
| 7 | Should not be used directly. | ||
| 8 | |||
| 9 | =head1 DESCRIPTION | ||
| 10 | |||
| 11 | The module uses DBD/DBI interface; whenever possible it is recommended | ||
| 12 | to use direct MySQL module that works directly with database without | ||
| 13 | DBD/DBI layer in between. | ||
| 14 | |||
| 15 | This is the lowest level XAO::FS knows about. | ||
| 16 | |||
| 17 | See L<XAO::DO::FS::Glue::Base_DBI> and | ||
| 18 | L<XAO::DO::FS::Glue::Base_MySQL> for method details. | ||
| 19 | |||
| 20 | =cut | ||
| 21 | |||
| 22 | ############################################################################### | ||
| 23 | package XAO::DO::FS::Glue::MySQL_DBI; | ||
| 24 | use strict; | ||
| 25 | use Error qw(:try); | ||
| 26 | use XAO::Utils qw(:debug :args :keys); | ||
| 27 | use XAO::Objects; | ||
| 28 | |||
| 29 | use base XAO::Objects->load(objname => 'FS::Glue::Base_MySQL'); | ||
| 30 | |||
| 31 | use vars qw($VERSION); | ||
| 32 | $VERSION=(0+sprintf('%u.%03u',(q$Id: MySQL_DBI.pm,v 2.12 2007/05/09 21:03:09 am Exp $ =~ /\s(\d+)\.(\d+)\s/))) || die "Bad VERSION"; | ||
| 33 | |||
| 34 | ############################################################################### | ||
| 35 | |||
| 36 | sub connector_create ($) { | ||
| 37 | return XAO::Objects->new(objname => 'FS::Glue::Connect_DBI'); | ||
| 38 | } | ||
| 39 | |||
| 40 | ############################################################################### | ||
| 41 | 1; | ||
| 42 | __END__ |