We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example usage of the update API:
import { update } from "sdk/db"; const UPDATE_BY_CODE = "UPDATE `oc_order_total` SET `value` = ? WHERE (`order_id` = ? AND `code`=?)"; const orderId = 1; const value = 13.13; const code = 'total'; const params = [value, orderId, code]; update.execute(UPDATE_BY_CODE, params, 'ElectronicsStoreOpenCartDB');
Results in incorrect value 13, must be 13.13:
13
13.13
Most probably due to the following code
parameterElement.getAsInt()
in here
The text was updated successfully, but these errors were encountered:
PR: #3929
Sorry, something went wrong.
iliyan-velichkov
No branches or pull requests
Example usage of the update API:
Results in incorrect value
13
, must be13.13
:Most probably due to the following code
in here
The text was updated successfully, but these errors were encountered: