Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

miyagawa (1653)

  (email not shown publicly)
AOL IM: bulknews (Add Buddy, Send Message)

Journal of miyagawa (1653)

Wednesday February 05, 2003
11:45 PM

new module: Class::DBI::AbstractSearch

[ #10425 ]
10 minutes hack: Class::DBI::AbstractSearch.

This module glues SQL::Abstract into Class::DBI, which allows you to do:

package CD::Music;
use Class::DBI::AbstractSearch;

package main;
my @music = CD::Music->search_where(artists => ['Ozzy', 'Kelly']);

This would generate SELECT * FROM music WHERE artist = 'Ozzy' OR artist = 'Kelly', thanks to SQL::Abstract magic.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.