【发布时间】:2012-12-31 15:32:57
【问题描述】:
我想做一个这样的查询:
SELECT * FROM my_table where column_one <= column_two;
使用 QueryBuilder 我可以创建 where().le(column_one, Object obj),但我想要一些像 where().le(column_one, column_two) 的东西;
其实我想要如下查询:
SELECT * FROM table_one INNER JOIN table_two ON table_one.column_foreign_id = table_two.id WHERE table_two.column_one
最好的方法是什么?
感谢您的宝贵时间。
【问题讨论】:
标签: android where-clause ormlite