Zahatski Aliaksandr

NAME

Collection::AutoSQLnotUnique - class for collections of data, stored in database.

SYNOPSIS

  use Collection::AutoSQL;
  my $metaobj = new Collection::AutoSQL::
      dbh => $dbh,         #database connect
      table => 'metadata', #table name
      field=> 'mid',       #key field (IDs)
      cut_key =>1,         #delete field mid from readed records, 
                           #or delete_key=>1
      sub_ref =>
              #callback for create objects for readed records
              sub { my $id = shift; new MyObject:: shift }
             

DESCRIPTION

Provide simply access to records, with not unique key field.

SEE ALSO

Collection::AutoSQL, Collection, README

AUTHOR

Zahatski Aliaksandr, <zag@cpan.org>

COPYRIGHT AND LICENSE

Copyright (C) 2005-2008 by Zahatski Aliaksandr

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.