Gtk2-Ex-Datasheet-DBI-0.8 and SQLite



I am trying to write a small demo using  Gtk2-Ex-Datasheet-DBI-0.8 and SQLite
but it seems SQLite does not know what to do with this call:

$self->{dbh}->column_info

therefore I had to hardcode the information about my database into the module.

the sample application is at
http://svn1.hostlocal.com/szabgab/trunk/gtk2/dbi/phonebook/
including the module with the hard coded columns
http://svn1.hostlocal.com/szabgab/trunk/gtk2/dbi/phonebook/lib/Gtk2/Ex/Datasheet/DBI.pm

Is there a better way to handle this ?


BTW 

I think Class::DBI::AutoLoader does some similar thing but it can
handle SQLite as well.
http://search.cpan.org/dist/Class-DBI-AutoLoader

Gabor



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]