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

use Objects::Collection::AutoSQL;
my $metaobj = new Objects::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 }

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

Objects::Collection::AutoSQL, Objects::Collection, README

Zahatski Aliaksandr, <zag@cpan.org>

Copyright (C) 2005-2006 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.