update maximum of one record of a given table using given $where clause and return number of records updated (0 or 1)

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

db:update_one('users', ['account_type' => 5], ['account_type' => 1])
#=> 0

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