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
It's look like if I use more than one SET, I can't use different $escape value.
$this->set('tanggal_transaksi', $data['tanggal_transaksi'], true)->set('balance', 'balance + ' . $data['amount'], FALSE)->where('user_id',$data['user_id'])->update();
generate this query
UPDATE transaksi SET tanggal_transaksi = 2019-04-09, balance = balance + 0.1 WHERE user_id = '12'
transaksi
user_id
In this case I need tanggal transaksi to be escaped, and balance are not esacpe
The text was updated successfully, but these errors were encountered:
Can you provide a more complete example please. What do you expect the outcome to be above? Where does different $escape values come into play?
Sorry, something went wrong.
test for codeigniter4#1929
9b9f21e
I couldn't reproduce it. But I added a test to make sure.
Michal's tests have proven consistent and this appears to have been a misunderstanding, or at least is no longer an issue.
No branches or pull requests
It's look like if I use more than one SET, I can't use different $escape value.
$this->set('tanggal_transaksi', $data['tanggal_transaksi'], true)->set('balance', 'balance + ' . $data['amount'], FALSE)->where('user_id',$data['user_id'])->update();
generate this query
UPDATE
transaksi
SET tanggal_transaksi = 2019-04-09, balance = balance + 0.1 WHEREuser_id
= '12'In this case I need tanggal transaksi to be escaped, and balance are not esacpe
The text was updated successfully, but these errors were encountered: