summaryrefslogtreecommitdiff
path: root/fml/lib/SQL
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-03-18 04:40:26 +0000
committerfukachan <fukachan>2001-03-18 04:40:26 +0000
commit5cde1627879fdbb147977caab63e3f339004860b (patch)
tree2b53da62d72e0f780cf3419dd6bb15c322823bed /fml/lib/SQL
parent21047bfa4d80d8d2793c58cd6446252cea88d4d6 (diff)
downloadfml8-5cde1627879fdbb147977caab63e3f339004860b.tar.gz
fml8-5cde1627879fdbb147977caab63e3f339004860b.tar.bz2
fml8-5cde1627879fdbb147977caab63e3f339004860b.zip
modify MySQL adapter interface
move model specific part to SQL::Schema class remove IO::Adapter::MySQL class
Diffstat (limited to 'fml/lib/SQL')
-rw-r--r--fml/lib/SQL/Schema/toymodel.pm13
1 files changed, 11 insertions, 2 deletions
diff --git a/fml/lib/SQL/Schema/toymodel.pm b/fml/lib/SQL/Schema/toymodel.pm
index 911bb1d5..5ae90645 100644
--- a/fml/lib/SQL/Schema/toymodel.pm
+++ b/fml/lib/SQL/Schema/toymodel.pm
@@ -7,7 +7,7 @@
#
-package IO::Adapter::MySQL::toymodel;
+package SQL::Schema::toymodel;
use strict;
use vars qw(@ISA @EXPORT @EXPORT_OK $AUTOLOAD);
@@ -15,15 +15,24 @@ use Carp;
=head1 NAME
-IO::Adapter::MySQL::toymodel - toymodel by SQL
+SQL::Schema::toymodel - SQL statement dependent on toymodel
=head1 SYNOPSIS
+ use SQL::Schema::toymodel;
+ $obj = new SQL::Schema::toymodel;
+
=head1 DESCRIPTION
+SQL::Schema modules hold SQL statement dependent on each specific
+model.
+
=head1 METHODS
=cut
+sub new
+{
+}
1;