Checkbox and advanced search in JS SDK

How can I search for multiple criteria for a single column?
That’s what i want:

var contactStorage = Backendless.Persistence.of( Contact );
var dataQuery = { condition: "name = John or Sam or Adam"};
var myContact = contactStorage.find( dataQuery );

How can I do that?

Hi, Anton!

In order to do that you can use the following statement:

"name IN ('John', 'Sam', 'Adam')"

Alex Navara