Welcome Guest, Not a member yet? Register   Sign In
CI4 - > MySQLI Database -> query return result object even if error
#4

Hi there. Okay I discovered a errors in my post. Firstly
query returns a object based on the BaseConnection class that will return a
BaseResult object basically always. Thus I have to check the object as discribed above to get a
idea of something went wrong.

Then secondly hasError only works on Query Builder not on normal direct query functions. Thus
the reasons it does not get called. Thus one can ignore the statement that hasError dont work as I am not
using query builder todo these query tests.

Thank you
Reply


Messages In This Thread
RE: CI4 - > MySQLI Database -> query return result object even if error - by johannes - 07-11-2020, 01:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB