Welcome to the PuddySQL ecosystem — a modular toolkit for building advanced SQL query layers with clarity, safety, and full control over dynamic data access.
Whether you're creating dashboards, data explorers, or just want a smarter SQL abstraction, PuddySQL gives you the tools to do it your way.
Choose a module to explore:
-
PuddySqlEngine.md
🔧 Low-level query engine responsible for core execution, debugging, and database access management. -
PuddySqlInstance.md
🧠 Extends the engine to manage per-database configurations, table registries, and styled debug output. -
PuddySqlQuery.md
📊 High-level query handler for filtering, JOINs, pagination, tag criteria, and structured search logic. -
PuddySqlTags.md
🏷️ Tag parser and translator for building flexible tag-based filters compatible with JSON/array fields. -
PuddySqlMigrator.md
🚚 Version-based migration runner, available throughinstance.migrator/instance.startMigration(). -
PuddySqlEvents(puddysql/Events)
🎯 Static class holding every event name emitted by the library (Connection-Error,Migration-*). Also exposesPuddySqlEvents.allandPuddySqlEvents.isValid(event).
The default export exposes every module as a static property:
import PuddySql from 'puddysql';
PuddySql.Instance; // PuddySqlInstance
PuddySql.Query; // PuddySqlQuery
PuddySql.Tags; // PuddySqlTags
PuddySql.Events; // PuddySqlEvents
PuddySql.Migrator; // PuddySqlMigrator
PuddySql.Utils; // Utility helpers
PuddySql.pg; // PostgreSQL driver wrapper
PuddySql.sqlite3; // SQLite3 driver wrapperYou can mix and match them as needed — everything is modular and documented in detail.