Understandable.
What I'm looking to do is save as much data about the STH as possible. MySQL returns the number of rows that it found, Oracle doesn't. That makes me question whether or not there is a simple way to figure out what methods are available in every DBD type and how to save them to a file.
Because this implementation is very simple, it doesn't strike me as something that's difficult to incorporate as some sort of extension to DBI or DBD or whatever.
At the very least, a person, no matter what database driver they are using should be able to save the contents of a handle to disk and open it back up again. The supporting code to do this very basic thing minimally involves storing $sth->{NAME} and then the records that follow.
I need to know how to proceed. As a standalone module, it's pretty nifty. As a thing that's available in DBI it would be pretty cool.
I'm new to submitting modules to CPAN. I'm new to the inheritance model of Perl (i've written some things, but I don't want to write anything offensive).
In reply to Re^4: Save a statement handle to a file and open it again as a 'cursor' or something.
by uber_spaced
in thread Save a statement handle to a file and open it again as a 'cursor' or something.
by uber_spaced
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |