CodeIgniter Forums
DB insert - array() vs. set() - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: DB insert - array() vs. set() (/thread-9096.html)



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.