CI4: how to check DB connection? |
Hi evryone!!! I have small trouble with how to right way check database connection. In my case I do this way:
PHP Code: public function checkDBConnection( array $DBConfig = [] ) : bool { But I am not sure in this way. Please need advice or comment with right descision. Thanks |
Messages In This Thread |
CI4: how to check DB connection? - by Avega Soft - 11-20-2019, 09:25 AM
RE: CI4: how to check DB connection? - by MGatner - 11-20-2019, 09:48 AM
RE: CI4: how to check DB connection? - by Avega Soft - 11-20-2019, 08:00 PM
RE: CI4: how to check DB connection? - by babski123 - 11-02-2022, 03:11 PM
|