mercredi 26 août 2015

In laravel 5 using DB::raw , how to retrieve mysql_info()?

How to get mysql_info (Affected Rows, Deleted, Skipped, Warnings ) after performing a query like:

dump(DB::connection('mysql')->unprepared(DB::raw($SQLscript)));

It seems that I'm getting only true or false if any row is affected.



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1JxUigx
via IFTTT

Aucun commentaire:

Enregistrer un commentaire