FlyQL is a lightweight, injection-proof query language that parses human-readable filter expressions into a portable AST, transpiles to SQL across ClickHouse, PostgreSQL, and StarRocks, and evaluates in-memory. Current stable version is 1.0.0, released infrequently. It differentiates from similar tools (e.g., TypeORM, Sequelize) by focusing on safe query parsing with AST support and multiple SQL dialects. Unlike raw SQL builders, FlyQL parses a DSL that cannot be directly injected, and its AST can be used for custom transformations. It also includes column expression parsing and syntax highlighting.
npm install flyqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parses a filter expression and generates ClickHouse SQL WHERE clause.
Ensure Node.js 16+ is installed (v18 recommended).
Use import from 'flyql/generators/clickhouse' etc.
Import from 'flyql/matcher'.
Run 'npm install flyql' and ensure import path is correct.
Use 'import { generateWhere } from 'flyql/generators/clickhouse''.Switch to 'import' syntax or use dynamic import.
No dependency data recorded yet.