Probably it is impossible, but it would be really usefull.
I'm doing something like:
my $sth = $dbh->prepare('INSERT INTO my_table(field_1) VALUES (?)');
$sth->bind_param( 1, 'pippo', { 'ora_type' => SQLT_BIN } );
$sth->execute;
since I need to pass a parameter in the bind_param
I would really like to do something like:
$dbh->do( 'INSERT INTO my_table(field_1) VALUES (?)', [ 'pippo', {
'ora_type' => SQLT_BIN } ] )
is there a way to do this?
maybe with some DBIx
Best Regards
Marcos Rebelo
--
Marcos Rebelo
http://www.oleber.com/
Milan Perl Mongers leader https://sites.google.com/site/milanperlmongers/
Webmaster of http://perl5notebook.oleber.com
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/