The following module was proposed for inclusion in the Module List:
modid: DBIx::Query
DSLIP: bdpOp
description: Simplified abstracted chained DBI subclass
userid: GRYPHON (Gryphon Shafer)
chapterid: 7 (Database_Interfaces)
communities:
irc.perl.org#dq
similar:
DBI DBIx::Simple
rationale:
DBIx::Query is a true subclass of DBI, but it adds in methods at
various levels (parent DBI class, database handle, statement handle,
etc) that allow a developer to interface with a database in a
simplified abstracted chained way. DBIx::Query is to DBI like jQuery
is to JavaScript, kinda.
print $dbi->sql('SELECT stuff FROM things WHERE thing =
?')->run(5)->next()->cell('stuff')->value(), "\n";
DBIx::Query supports a bi-directional SQL-to-data-structure and
data-structure-to-SQL interface.
print $dbi->get( 'things', [ qw( stuff thing_id ) ] )->where(
'thing' => 5
)->run()->next()->cell('stuff')->value(10)->save_by('thing_id'),
"\n";
enteredby: GRYPHON (Gryphon Shafer)
enteredon: Mon Jan 28 16:14:19 2013 GMT
The resulting entry would be:
DBIx::
::Query bdpOp Simplified abstracted chained DBI subclass GRYPHON
Thanks for registering,
--
The PAUSE
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=64a00000_13490e3cdbc3cb60&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=64a00000_13490e3cdbc3cb60&SUBMIT_pause99_add_mod_insertit=1
Peek at the current permissions:
https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=DBIx%3A%3AQuery