think-orm icon indicating copy to clipboard operation
think-orm copied to clipboard

alias 和 partition 一块儿使用时,生产的SQL语法是错误的

Open LLoyou00 opened this issue 2 years ago • 0 comments

RT

正确的语法是 select * from table_name partition(p1,p2) alias;

而代码生成的SQL是 select * from table_name alias partition(p1,p2);

LLoyou00 avatar Aug 04 '23 05:08 LLoyou00