{"library":"react-sql-query-builder","type":"library","category":null,"description":"React SQL Query Builder is a React-based component for building SQL query conditions via a visual rule tree. Version 4.2.0 provides a simple API to initialize a query builder with rules, fields, and operators, generating SQL WHERE clauses. It is not a managed UI component but rather uses imperative initialization with a DOM ID. The library is lightweight with no external dependencies, but lacks TypeScript definitions, ESM support, and active maintenance (last release over 2 years ago). It competes with react-querybuilder but offers a simpler tree-based rule structure, though with less flexibility and community support.","language":"javascript","status":"maintenance","version":"4.2.0","tags":["javascript","react","sql","query"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install react-sql-query-builder","imports":["import { QueryBuilder } from 'react-sql-query-builder'","new QueryBuilder()","queryBuilder.init({ rules, fields, operators, id, handleChange })"]},{"cmd":"yarn add react-sql-query-builder","imports":[]},{"cmd":"pnpm add react-sql-query-builder","imports":[]}],"homepage":"https://github.com/fridaymeng/react-sql-query-builder.git","github":"https://github.com/fridaymeng/react-sql-query-builder.git","docs":null,"changelog":null,"pypi":null,"npm":"react-sql-query-builder","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}