vue-sqlite-hook
Vue Hook for @capacitor-community/sqlite@web
vue-sqlite-hook@latest
Capacitor 4
A Vue Hook to help Capacitor developpers to use @capacitor-community/sqlite@latest plugin in Vue or Ionic/Vue applications
@LATEST For Capacitor 4 (Main)
The Capacitor4 vue-sqlite-hook interfacing the @capacitor-community/sqlite@latest
For Capacitor 3 (v2.1.8)
The Capacitor3 vue-sqlite-hook interfacing the @capacitor-community/sqlite@2.1.8t
@REFACTOR REFACTOR 🚀 (Move to branch 2.9.x)
The refactor vue-sqlite-hook interfacing the @capacitor-community/sqlite@refactor !!! The MAINTAINANCE is now STOPPED !!!
@INITIAL 🛑 (Move to branch 2.4.x)
The initial vue-sqlite-hook interfacing the @capacitor-community/sqlite@initial. !!! The MAINTAINANCE is now STOPPED !!!
Maintainers
| Maintainer | GitHub | Social |
|---|---|---|
| Quéau Jean Pierre | jepiqueau |
Installation
npm install --save @capacitor-community/sqlite@latest
npm install --save-dev vue-sqlite-hook
Supported methods
| Name | Android | iOS | Electron | Web |
|---|---|---|---|---|
| echo | ✅ | ✅ | ✅ | ✅ |
| getPlatform | ✅ | ✅ | ✅ | ✅ |
| getCapacitorSQLite | ✅ | ✅ | ✅ | ✅ |
| addUpgradeStatement | ✅ | ✅ | ✅ | ✅ |
| createConnection | ✅ | ✅ | ✅ | ✅ |
| retrieveConnection | ✅ | ✅ | ✅ | ✅ |
| retrieveAllConnections | ✅ | ✅ | ✅ | ✅ |
| closeConnection | ✅ | ✅ | ✅ | ✅ |
| closeAllConnections | ✅ | ✅ | ✅ | ✅ |
| isConnection | ✅ | ✅ | ✅ | ✅ |
| isDatabase | ✅ | ✅ | ✅ | ✅ |
| getDatabaseList | ✅ | ✅ | ✅ | ✅ |
| getMigratableDbList | ✅ | ✅ | ❌ | ❌ |
| addSQLiteSuffix | ✅ | ✅ | ❌ | ❌ |
| deleteOldDatabases | ✅ | ✅ | ❌ | ❌ |
| importFromJson | ✅ | ✅ | ✅ | ✅ |
| isJsonValid | ✅ | ✅ | ✅ | ✅ |
| copyFromAssets | ✅ | ✅ | ✅ | ✅ |
| checkConnectionsConsistency | ✅ | ✅ | ✅ | ✅ |
| isSecretStored | ✅ | ✅ | ❌ | ❌ |
| setEncryptionSecret | ✅ | ✅ | ❌ | ❌ |
| changeEncryptionSecret | ✅ | ✅ | ❌ | ❌ |
| clearEncryptionSecret | ✅ | ✅ | ❌ | ❌ |
| removeListeners | ✅ | ✅ | ✅ | ✅ |
| initWebStore | ❌ | ❌ | ❌ | ✅ |
| saveToStore | ❌ | ❌ | ❌ | ✅ |
| getNCDatabasePath | ✅ | ✅ | ❌ | ❌ |
| createNCConnection | ✅ | ✅ | ❌ | ❌ |
| closeNCConnection | ✅ | ✅ | ❌ | ❌ |
| retrieveNCConnection | ✅ | ✅ | ❌ | ❌ |
| isNCConnection | ✅ | ✅ | ❌ | ❌ |
| isNCDatabase | ✅ | ✅ | ❌ | ❌ |
| getFromHTTPRequest | ✅ | ✅ | ✅ | ✅ |
Supported listeners
| Name | Android | iOS | Electron | Web |
|---|---|---|---|---|
| onProgressImport | ✅ | ✅ | 🚧 | ✅ |
| onProgressExport | ✅ | ✅ | 🚧 | ✅ |
Documentation
Applications demonstrating the use of the plugin and the vue hook
Vue 3
Ionic/Vue
Usage
The usage of vue-sqlite-hookis demonstrated in
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Jean Pierre Quéau 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!
Related Packages
Create a Vue + Capacitor + SQLite app from the cavulsqa templates: Framework7 (i...
expo-sqlite wrapped for SymbioteNative — one framework-agnostic core, built once...
Version History
| Version | Released | License |
|---|---|---|
| 4.0.0 | MIT | |
| 3.0.3 | MIT | |
| 3.0.2 | MIT | |
| 3.0.1 | MIT | |
| 3.0.0 | MIT | |
| 2.1.8 | MIT | |
| 2.1.7 | MIT | |
| 2.1.6 | MIT | |
| 2.1.5 | MIT | |
| 2.1.4 | MIT | |
| 2.1.3 | MIT | |
| 2.1.2 | MIT | |
| 2.1.1 | MIT | |
| 2.1.0 | MIT | |
| 2.0.8 | MIT | |
| 2.0.7 | MIT | |
| 2.0.6 | MIT | |
| 2.0.5 | MIT | |
| 2.0.4 | MIT | |
| 2.0.3 | MIT | |
| 2.0.2 | MIT | |
| 2.0.1 | MIT | |
| 2.0.0 | MIT | |
| 1.0.1 | MIT | |
| 1.0.0 | MIT | |
| 0.0.8 | MIT | |
| 0.0.7 | MIT | |
| 0.0.6 | MIT | |
| 0.0.5 | MIT | |
| 0.0.4 | MIT |
Showing the latest 30 of 33. See every release on npm
Pre-releases (8)
| Version | Released | License |
|---|---|---|
| 2.0.0-alpha.1 | MIT | |
| 1.0.0-beta.4 | MIT | |
| 1.0.0-beta.3 | MIT | |
| 1.0.0-beta.2 | MIT | |
| 1.0.0-beta.1 | MIT | |
| 1.0.0-alpha.1 | MIT | |
| 0.0.8-1 | MIT | |
| 0.0.1-alpha | MIT |