summaryrefslogtreecommitdiff
path: root/fml/lib/IO/Adapter/MySQL.pm
diff options
context:
space:
mode:
authorfukachan <fukachan>2001-12-24 07:40:55 +0000
committerfukachan <fukachan>2001-12-24 07:40:55 +0000
commit09daa35160a012328aef1fe60017dcc98c9f696b (patch)
treed216c1988fbf37534c20e3d9493fceb4fb423a59 /fml/lib/IO/Adapter/MySQL.pm
parent0b7a915175bb0130e9916bd764a62f9542f47cdf (diff)
downloadfml8-09daa35160a012328aef1fe60017dcc98c9f696b.tar.gz
fml8-09daa35160a012328aef1fe60017dcc98c9f696b.tar.bz2
fml8-09daa35160a012328aef1fe60017dcc98c9f696b.zip
update documents, comments
Diffstat (limited to 'fml/lib/IO/Adapter/MySQL.pm')
-rw-r--r--fml/lib/IO/Adapter/MySQL.pm21
1 files changed, 19 insertions, 2 deletions
diff --git a/fml/lib/IO/Adapter/MySQL.pm b/fml/lib/IO/Adapter/MySQL.pm
index 3ecb0d49..1a5bc529 100644
--- a/fml/lib/IO/Adapter/MySQL.pm
+++ b/fml/lib/IO/Adapter/MySQL.pm
@@ -3,7 +3,7 @@
# Copyright (C) 2000,2001 Ken'ichi Fukamachi
# All rights reserved.
#
-# $FML: MySQL.pm,v 1.16 2001/09/17 11:35:21 fukachan Exp $
+# $FML: MySQL.pm,v 1.17 2001/12/22 09:21:13 fukachan Exp $
#
@@ -48,6 +48,7 @@ IO::Adapter::MySQL - interface to talk with a MySQL server
This module is a top level driver to talk with a MySQL server in SQL
(Structured Query Language).
+This module inherits C<IO::Adapter::DBI> class.
The model dependent SQL statement is expected to be holded in
C<IO::Adapter::SQL::> modules.
@@ -57,7 +58,6 @@ new($args).
It is expected to provdie C<add()>, C<delete()> and
C<get_next_value()> method.
-
=head1 METHODS
=head2 C<configure($me, $args)>
@@ -68,6 +68,11 @@ customizatoins and functions.
=cut
+
+# Descriptions: initialize MySQL specific configuration
+# Arguments: OBJ($self) HASH_REF($me) HASH_REF($args)
+# Side Effects: none
+# Return Value: none
sub configure
{
my ($self, $me, $args) = @_;
@@ -117,6 +122,10 @@ After re-opening, we moved to the specified $pos.
=cut
+# Descriptions: set position in database handle
+# Arguments: OBJ($self) NUM($pos)
+# Side Effects: none
+# Return Value: none
sub setpos
{
my ($self, $pos) = @_;
@@ -145,6 +154,10 @@ sub setpos
=cut
+# Descriptions: get position in database handle
+# Arguments: OBJ($self) NUM($pos)
+# Side Effects: none
+# Return Value: NUM
sub getpos
{
my ($self) = @_;
@@ -157,6 +170,10 @@ sub getpos
=cut
+# Descriptions: EOF or not?
+# Arguments: OBJ($self)
+# Side Effects: none
+# Return Value: 1 or 0
sub eof
{
my ($self) = @_;