Skip to content

Update method rewritten to support better updates

Latest

Choose a tag to compare

@dcblogdev dcblogdev released this 18 Dec 02:05
· 4 commits to master since this release
09b0caf

Fix ORDER & LIMIT argument type casting.
Bind integers as 'PARAM_INT' when running query - prevent explicit int values (such as in ORDER or LIMIT) from being quoted.

Fix 'update' where $data and $where fields have the same column
Merge array of $data and $where in update will result in omitted data if $data and $where fields have the same columns. Updated to append all passed values, so same columns in $data and $where will now use both values.