I want to disable MySQL strict mode only for one query inside a controller not for whole laravel application,
I know the risks of disabling MySQL strict mode so I don't want to disable it for my whole application from config/database.php,
I am facing problem with only one query in my whole application, so I want to disable it inside my controller before running that query only for one time!
Please help me is there any way for given situation.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire