I want to know how to use IN clause on Android.
Please give me an example code like below.
String modifyCode = “[1001,1002]”;
Database database = DatabaseManager.getDatabase();
Query qry = QueryBuilder
.select(SelectResult.expression(Meta.id),
SelectResult.property(“MODIFY_OPTION_NAME”),
SelectResult.property(“MODIFY_OPTION_PRICE”))
.from(DataSource.database(database))
.where(Expression.property(“type”).equalTo(Expression.string(“OPTION”))
.and(Expression.property(“MODIFY_CODE”).in(Expression.string(modifyCode)))
);