HNHacker News
TopNewBestAskShowJobs

jakeboone02

1 karma · joined March 23, 2020

submissionscomments
jakeboone02··on Ask HN: Open-Source Query Builder
Maintainer of `react-querybuilder` here. Couple of things:

Firstly, both RQB and RAQB facilitate the `WHERE` clause of a query, not the `SELECT`, `FROM`, or other clauses that would control aggregation.

Secondly, I would strongly discourage you from passing SQL from the client to the server, even if you parameterize it. For RQB, we recommend passing the native query object as JSON to your API and using our provided export method on the server to transform it into SQL (or whatever format you need).

Once in a blue moon I get requests for aggregation support in RQB, so to address your last question: yes, I think there would be some demand for something like that.

jakeboone02··on React Query Builder
Long-time maintainer of react-querybuilder here. Heading to bed soon but I’d be happy to answer any questions in the morning.

By the way, if anyone with some serious TypeScript chops sees this, I’d love to pick your brain about how to improve type inference in this library.

jakeboone02··on Ask HN: Who wants to be hired right now?

  Location: Phoenix, AZ
  Remote: Yes
  Willing to relocate: Yes
  Technologies: JavaScript/TypeScript, React/Redux, NodeJS
  Résumé/CV: https://github.com/jakeboone02/jakeboone02.github.com/blob/master/RESUME.md
  Email: <HN username> at gmail