update any number of records of a given table using given $where clause and then return number of rows affected

db:update(STRING $table, ARRAY $data, ARRAY $where=[ ]) : INT

db:update('users', ['name' => 'johnny'], ['name' => 'john'])
#=> 0

Copyright ©2013-2022 SunSed®. All rights reserved.