CodeIgniter Forums
How to know if rows are deleted using mysqli dbdriver - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: How to know if rows are deleted using mysqli dbdriver (/showthread.php?tid=51195)



How to know if rows are deleted using mysqli dbdriver - El Forum - 04-24-2012

[eluser]bleu[/eluser]
I am using codeigniter 2.1.0 with mysqli dbdriver.
I have the below query and would like to know when it is successfull


Code:
$query = $this->db->query("delete FROM abc WHERE id IN (" . $IdList . ")");

How can I know if the related rows are deleted?


How to know if rows are deleted using mysqli dbdriver - El Forum - 04-24-2012

[eluser]Phil Sturgeon[/eluser]
Check the documentation.