Internal adapter code providing the WebSQL and SQLite-based storage backend for PouchDB. Version 7.0.0 is pegged to PouchDB's release; this package does not follow semver. It is intended for use by PouchDB or its plugins, not directly by end users. The adapter leverages the WebSQL API (deprecated in browsers) and SQLite on mobile via Cordova/PhoneGap, enabling offline-first databases in environments where IndexedDB is unavailable. It is part of the PouchDB monorepo and is rarely installed directly.
npm install pouchdb-adapter-websql-coreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import WebSQL core adapter and create a PouchDB instance using the WebSQL adapter.
Install with npm install --save-exact pouchdb-adapter-websql-core
Switch to pouchdb-adapter-idb or pouchdb-adapter-idb-next
Call PouchDB.plugin(WebSQLAdapter) before creating a database with adapter: 'websql'
Use .then()/catch() or async/await instead of callbacks
Register adapter: PouchDB.plugin(WebSQLAdapter). Use in Chromium-based browser or Cordova.
Ensure both PouchDB and the adapter use the same module system (ESM or CJS). Import PouchDB first.
Run: npm install --save-exact pouchdb-adapter-websql-core