Laravel this is not only a practical framework, it is also a programming style
how to return something similar to PHP function mysql_affected_rows() when use Laravel 5 DB class,
mysql_affected_rows()
ex: DB::delete("DELETE FROM chat WHERE id = {$mid}");
DB::delete("DELETE FROM chat WHERE id = {$mid}");
how to return number of affected row?
thanks,
Aucun commentaire:
Enregistrer un commentaire