Export to GitHub

db2php - issue #20

CRUD Operation May be missed out


Posted on Apr 22, 2013 by Happy Rhino

I succeed to try to insert some data to my database , and update some data and delete others with db2php library , however , my question is : is it possible to return the status of each CRUD operation in case it succeeds it must return a FLAG or something like a BOOLEAN variable to check and display a confirmation message to the final user or an error when it fails ...

Does this library covers opeation status ?

Comment #1

Posted on Apr 22, 2013 by Grumpy Horse

It uses PDO.

http://php.net/manual/en/class.pdoexception.php

Status: Invalid

Labels:
Priority-Medium