CodeIgniter Forums
DB insert - array() vs. set() - 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: DB insert - array() vs. set() (/showthread.php?tid=9096)



DB insert - array() vs. set() - El Forum - 06-11-2008

[eluser]PV-Patrick[/eluser]
Using the active record:
I have noticed that when adding insert values as an array(), values can NOT be null. However, when using the set() method, they can be null and not break the query. Is this true?

EDIT: This post can be deleted, I noticed another thread in the Bug section directly related.