Get Updated Value in MySQL instead of affected rows

后端 未结 5 550
攒了一身酷
攒了一身酷 2020-11-30 04:59

I\'ve been trying to find an answer to this question, but haven\'t found any definitive \"yes\" or \"no\" in all my research.

I\'m running a simple MySQL query like

5条回答
  •  误落风尘
    2020-11-30 05:35

    No, there's nothing like postgresql's UPDATE ... RETURNING output_expression in MySQL (yet?).

提交回复
热议问题