I am new to DataMapper ORM in CodeIgniter, here is my question. According to the manual :
Be careful with this method. Without having limited it with where statements or similar methods it will modify every single row on the table!
Also, this method bypasses validation, and can also operate on in-table foreign keys, so please be aware of the risks.
If the update method bypasses validation, what is the way to update a record validating it before update? A sample code will be appreciated.