Shared library used by Juttle adapters for PostgreSQL, MySQL, and SQLite. Version 0.6.0 is the latest stable release (maintenance mode, last updated ~2016). Provides common SQL query building and optimized read operations (filter, reduce, head/tail). Key differentiator: works with Juttle graph-based analytics language, enables pushdown of Juttle operations into SQL. Low activity, no recent updates.
npm install juttle-sql-adapter-commonNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a SQL adapter instance, configure connection, and read data from a table with optimization enabled.
Add option optimize: false to read or omit optimization for complex queries.
Consider migrating to a more actively maintained database adapter.
Check documentation for list of supported reduce operations.
Place filter expressions inside the read sql statement, not as a pipeline filter.
Run 'npm install juttle-sql-adapter-common' and ensure juttle is installed as a peer.
Use 'const AdapterCommon = require("juttle-sql-adapter-common");' or 'const { SQLAdapter } = require("...");'.Ensure database is running and connectionConfig contains correct host, port, user, password, and database.