Backendless Support
 
Answered

DataQueryBuilder.setWhereClause(), android

Hi,

I just cannot find the syntax of the setWhereClause and how it is used. Can somebody point me in a correct direction please?

Regards

Rhonwen

Leave a Comment

Comments (2)

photo
1

Hi I finally got an answer. Thank you anyway. For those who has the same question... The syntax is below:

  1. builder.setWhereClause("[COLUMN NAME] = " + "\'" + [VALUE YOU ARE SEARCHING FOR IN THE SPECIFIED COLUMN] + "\'");

Link: https://backendless.com/docs/android/doc.html#search-with-the-where-clause

photo
1

Hi Rhonwen,

Glad you found the answer!

Best Regards