Where to store SQL commands for execution

后端 未结 12 1468
后悔当初
后悔当初 2021-02-05 16:00

We face code quality issues because of inline mysql queries. Having self-written mysql queries really clutters the code and also increases code base etc.

Our code is clu

12条回答
  •  独厮守ぢ
    2021-02-05 16:39

    Can you create a view which that query.

    Then select from the view

    I don't see any parameters in the query so I suppose view creation is possible.

提交回复
热议问题