Hacker News new | ask | show | jobs
by everythingabili 75 days ago
You can do this with GQuery.

It's really good (no affiliation).

/* Uses: https://github.com/FCPS-TSSC/GQuery */

function exampleQuery1() { const gq = new GQuery(); const result = gq .from("Tags") .select(["ID","Name"]) .where((row) => row.ID == 12) // you can use > or < etc .get(); JSON.stringify(result, null, 2) }