Skip to main content

Or

or can be used with where to filter records to include records where any of the condition is true.

Sql

Select * From Table_Name
Where
Column1=some_value
or
Column2=some_another_value;

JsStore

var results = await connection.select({
from: "Table_Name",
where: {
column1: some_value,
or: {
column2: some_another_value
}
}
});
//results will be array of objects.
console.log(results);

Example