C# Parameterized Query MySQL with `in` clause

前端 未结 7 1807
感情败类
感情败类 2020-12-03 15:36

I am in the process of converting several queries which were hard-coded into the application and built on the fly to parameterized queries. I\'m having trouble with one part

7条回答
  •  孤城傲影
    2020-12-03 16:17

    i'd suggest creating a function (assuming that mysql supports user defined functions) to break the parameter apart to return a table.

提交回复
热议问题