Skip to content
Snippets Groups Projects

Implements Storm_Model_Loader::updateAll

Merged Laurent requested to merge add_update_all_by into master
  1. Dec 15, 2021
    • Laurent's avatar
      Implements Storm_Model_Loader::updateAll · c6c8e371
      Laurent authored
      Storm_Model_Loader now handles update request like:
      
      Video::updateAllBy(['support' => 'vhs',
                          'where' => 'year < 2000'],
                         ['support' => 'dvd']);
      
      Also handle like and negative clauses in updateAll and deleteBy
      c6c8e371