![]() |
But the current behavior does not seem a bug.
Quote:Now, whenever you call the insert(), update(), or save() methods, the data will be validated. If it fails, the model will return boolean false. You can use the errors() method to retrieve the validation errors: According to the documentation, developers need to check if there are validation errors. |
Messages In This Thread |
Transactions with Model - by RedWd - 11-19-2022, 07:43 AM
RE: Transactions with Model - by InsiteFX - 11-19-2022, 11:49 PM
RE: Transactions with Model - by RedWd - 11-23-2022, 06:29 PM
RE: Transactions with Model - by kenjis - 11-23-2022, 10:40 PM
RE: Transactions with Model - by RedWd - 11-24-2022, 02:57 AM
RE: Transactions with Model - by kenjis - 11-25-2022, 02:40 PM
RE: Transactions with Model - by kenjis - 11-25-2022, 11:18 PM
SOLVED Transactions with Model - by RedWd - 11-27-2022, 01:37 AM
RE: SOLVED Transactions with Model - by nfaiz - 11-27-2022, 08:05 AM
|