Hi Ron,

not that I know of. I'm afraid your only option is to use
dbi_conn_error() and parse the error string in your application.

regards,
Markus

Ron Arts writes:
 > Hi,
 > 
 > I am looking into libdbi. In my application (which currently
 > is MySQL only) I check the return value of a query to find
 > out if it is ER_DUP_ENTRY, which means record already exists,
 > or something along that lines.
 > 
 > Can I do that in a database portable way in libdbi?
 > Could not find it in the docs.
 > 
 > Thanks,
 > Ron Arts

-- 
Markus Hoenicka
[EMAIL PROTECTED]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
libdbi-users mailing list
libdbi-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-users

Reply via email to