Re: Value expression strings on relational table update
Hi Lianto,
it seems to work fine in the MySQL Shell, as you mention, so I would say it is some kind of limitation in Connector/Node.js.
Can you please report a bug at
https://bugs.mysql.com/ using the "Connector for Node.js" category?
If you need a workaround, the easiest way out is probably using SQL.
session.sql('UPDATE <table_name> SET age = age + 1 WHERE name ?')
.bind('Andy')
.execute()
Thanks
Subject
Written By
Posted
February 01, 2021 09:18AM
Re: Value expression strings on relational table update
February 04, 2021 05:23AM
February 04, 2021 08:41AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.