ImangazalievM/ReActiveAndroid

How to use multiple where clause, i have below error

Opened this issue · 1 comments

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");
}

Post your error report

I think your syntax is incorrect, also refer to responses/issues;

#43
#39 (comment)

Refer to below;

LIKE '?%'

Note note = Select.from(Note.class).where("id=? AND title LIKE '?%'", 1, "Hello").sum();