Better HN
topnewbestaskshowjobs
Log inSign up

jakeboone02

1 karma · joined Mar 23, 2020 (6y ago) · 3 submissions

Submissions

comment 2y ago · link · parent

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.

comment 3y ago · link · parent

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.

comment 6y ago · link · parent

  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