8 ms·
You can do this with GQuery. It's really good (no affiliation). /* Uses: https://github.com/FCPS-TSSC/GQuery https://github.com/FCPS-TSSC/GQuery */ function
by everythingabili 6mo ago
You can do this with GQuery.
It's really good (no affiliation).
/*
Uses: https://github.com/FCPS-TSSC/GQuery 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)
}