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

var results = await connection.select({
    from: "Table_Name",
    where: {
        Column_Name: {
            '>': some_value
        },
    }
});
//results will be array of objects.
console.log(results);

Example