Add support for order by and limit on MySQL update queries.
Cast wheres to array.
Merge branch '4.0'