Fix unioning more than 1 query
Add support for order by and limit on MySQL update queries.
Cast wheres to array.