How to use multiple where clause, i have below error
Opened this issue · 1 comments
Eswaran95 commented
ReActiveAndroid Version:
implementation 'com.reactiveandroid:reactiveandroid:1.4.3'
Bug or Feature Request:
public static int getactualarea(String seasonid,String crop,String section) {
return (int) Select.from(PlatationMasterDb.class).where("section_id LIKE ? AND season_id LIKE ? AND season_id LIKE ?", section, seasonid,crop).sum("manual_area");
}
bhapps commented
Post your error report
I think your syntax is incorrect, also refer to responses/issues;
Refer to below;
LIKE '?%'
Note note = Select.from(Note.class).where("id=? AND title LIKE '?%'", 1, "Hello").sum();