update(null,$data) |
This is by design to allow one-time "global" updates, as discussed here and an attempt to change this behavior in here. Since this behavior is quite risky, you should put the necessary guards such that the primary ID you will be passing to update is not empty. By empty I mean anything considered by PHP as empty, such as null, false, or an empty string.
|
Messages In This Thread |
update(null,$data) - by whiteshadow - 05-18-2021, 06:39 AM
RE: update(null,$data) - by paulbalandan - 05-18-2021, 10:06 AM
RE: update(null,$data) - by whiteshadow - 05-19-2021, 11:16 PM
RE: update(null,$data) - by moammad khalid - 05-19-2021, 02:41 AM
|