A core library for the DbLink ORM providing foundational data handling capabilities for database operations. Current stable version: 1.4.1 (not frequently updated, likely in maintenance mode). It serves as the base for DbLink ORM, offering a thin abstraction over database drivers. No significant differentiators from established ORMs like TypeORM or Sequelize; primarily for internal use within the DbLink ecosystem.
npm install dblink-coreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a database client and executing a query with CoreHandler using environment variables for configuration.
Wrap client creation with a singleton pattern or use external pooling library.
Use a dedicated query builder or escape inputs manually. In future versions, parameterized queries may be added.
Replace any usage of handler.query() with handler.execute().
Use import { DbLinkCore } from 'dblink-core' instead of default import.Install with 'npm install dblink-core'. For bundlers, ensure package is in node_modules and imports are correct.
Check that you instantiated CoreHandler with a valid client. Use execute() as shown in examples.
Verify environment variables DB_HOST and DB_PORT, and ensure database is accessible.
Use bundler (e.g., esbuild, webpack) or set type: 'module' in package.json. For Node CommonJS, use dynamic import() or switch to TypeScript.
No dependency data recorded yet.