druid SQLSelectBuilderImpl bug

g6ll5ycj  于 2022-10-27  发布在  Druid
关注(0)|答案(1)|浏览(258)

代码:

SQLSelectBuilderImpl sqlSelectBuilder = new SQLSelectBuilderImpl(JdbcConstants.MYSQL);
 sqlSelectBuilder.from("test").orderBy("test desc").limit(1);
 System.out.println(sqlSelectBuilder);

输出:

SELECT FROM test LIMIT 1 ORDER BY test DESC

相关问题