vue-sqlite-hook

Vue Hook for @capacitor-community/sqlite
13,443 5
Install
npm install vue-sqlite-hook@next
Latest Version:4.0.0
Vue:3
License:MIT
Last Updated:Jun 27, 2024
Links: GitHub  ·  npm
Maintainer: jeepq


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

@cavulsqa/create

Create a Vue + Capacitor + SQLite app from the cavulsqa templates: Framework7 (i...

3,484 0
zq-vue-hook

easy create form page

313 1
@effect/atom-vue

Vue bindings for the Effect Atom modules

32,715 17,355
@symbiote-native/sqlite

expo-sqlite wrapped for SymbioteNative — one framework-agnostic core, built once...

870 72

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
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