XP is just a number | |
PerlMonks |
Re^3: RFC: Array::GroupBy (DBD::Sponge)by jdporter (Paladin) |
on Jan 06, 2009 at 22:07 UTC ( [id://734507]=note: print w/replies, xml ) | Need Help?? |
You're right, my bad. Despite allegedly supporting SQL::Statement::Syntax, in fact DBD::Sponge essentially ignores the statement and does a plain ol' SELECT *.... and the only use I can envision for that is as a bridge between your perl data and some black-box module which requires a statement handle. The documentation of DBD::Sponge's prepare() is pretty unclear on this issue: The $statement here is an arbitrary statement or name you want to provide as identity of your data. If you're using DBI::Profile it will appear in the profile data.huh? Anyway, sorry for the red herring. Update: I checked into a couple of DBD modules which allow to access in-memory perl data structures as sources for DBI — DBD::AnyData and DBD::RAM (both, like SQL::Statement and other parts of the DBIverse, by jZed). Alas, neither supports GROUP BY!
Between the mind which plans and the hands which build, there must be a mediator... and this mediator must be the heart.
In Section
Meditations
|
|