Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: How to know if a DBI connexion is read-only?by mje (Curate) |
on Oct 03, 2012 at 14:27 UTC ( [id://997070]=note: print w/replies, xml ) | Need Help?? |
"without failing on writing" I don't think there is a way that will work for all DBDs under DBI. e.g., ReadOnly in DBD::ODBC is mapped to the ODBC connection attribute READ_ONLY and you set it to give the driver a hint you will only be reading but it does not stop you writing.
In Section
Seekers of Perl Wisdom
|
|