insert_batch returning -1 when query fails |
I'm trying to work with the query builder's insert_batch function. According to the documentation, it should return FALSE on failure. That is not the case.
Try this controller method: PHP Code: public function barf() { Seems to me it should probably throw an exception and at the very least it should return false. |
Messages In This Thread |
insert_batch returning -1 when query fails - by sneakyimp - 11-30-2016, 03:11 PM
RE: insert_batch returning -1 when query fails - by sneakyimp - 11-30-2016, 03:57 PM
RE: insert_batch returning -1 when query fails - by sneakyimp - 11-30-2016, 04:57 PM
RE: insert_batch returning -1 when query fails - by Narf - 12-01-2016, 04:34 AM
RE: insert_batch returning -1 when query fails - by sneakyimp - 12-02-2016, 06:45 PM
|