Comment

Comment by everythingabili

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) }

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton