JsStore supports following operators : -

  • " > " : Finds value greater than supplied value.
  • " < " : Finds value less than supplied value.
  • " >= " : Finds value greater than or equal to supplied value.
  • " <= " : Finds value less than or equal to supplied value.
  • " - " : Finds value between two supplied value.
  • " != " : Finds value not equal to supplied value.

Sql

Select * From Table_Name;
Where
Column_Name > some_value

JsStore

connection.select({
    from: "Table_Name",
    where: {
        Column_Name: {
            '>': some_value
        },
    }
}).then(function(results) {
    //results will be array of objects.
    console.log(results);
}).catch(function(error) {
    alert(error.message);
});

Example