In a blog application, when a post is updated, the Active Record Class method sequence that is most appropriate is: ________.

  • set()
  • update()
  • update_batch()
  • where()
The correct sequence for updating a record in CodeIgniter using Active Record is set() to set the values, followed by where() to specify the condition, and then update() to perform the update. update_batch() is used for updating multiple records simultaneously.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *