We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
当sql中有强制索引select /+index(a,idx)/ * from a时,日志中打印的sql会将/+index(a,idx)/部分去除。
The text was updated successfully, but these errors were encountered:
上java代码
Sorry, something went wrong.
JAVA NutDao dao = new NutDao(ds); FileSqlManager sqlManager = new FileSqlManager("all.sql"); Sql sql = sqlManager.create("test"); sql.setCallback(Sqls.callback.entities()); sql.setEntity(dao.getEntity(NetType.class)); dao.execute(sql); System.err.println(sql.getList(NetType.class));
all.sql /test/ select /+index(a,idx)/ * from a
日中中打印出来就是 select * from a 另外Dao和Sql两者分工看上去有点模糊,不过还没看源码哈。。
新的NutSql已经重写并兼容了
wendal
No branches or pull requests
当sql中有强制索引select /+index(a,idx)/ * from a时,日志中打印的sql会将/+index(a,idx)/部分去除。
The text was updated successfully, but these errors were encountered: