TypeScript interface for remote SQL databases with batch transaction support, version 0.0.7. Provides a minimal set of type-safe abstractions for preparing statements, binding parameters, and executing batch transactions, designed for serverless and edge computing environments. Releases are rare; only 7 versions as of early 2025. Differentiates from full ORMs like Prisma or Drizzle by focusing solely on remote database operations with a lightweight, framework-agnostic interface. Ships TypeScript types and is ESM-only.
npm install remote-sqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates batch execution using RemoteSQL interface. Shows prepare, bind, and batch usage.
Use a concrete adapter like '@remote-sql/planetscale' or implement the RemoteSQL interface.
Check documentation for batch() ordering contract before upgrading.
Use chaining: remoteSQL.prepare('...').bind(...).all()Ensure remoteSQL is an instance of a concrete adapter that implements RemoteSQL.
Set moduleResolution to 'node16' or 'bundler' in tsconfig.json.
No dependency data recorded yet.