react-sqlite-hook
TypeScript icon, indicating that this package has built-in type declarations

3.2.1 • Public • Published


React Hook for @capacitor-community/sqlite@latest plugin

react-sqlite-hook@latest


Capacitor 4


A React Hook to help Capacitor developpers to use @capacitor-community/sqlite@latest plugin in React or Ionic/React applications




@LATEST For Capacitor 4 (Master)

The Capacitor4react-sqlite-hook interfacing the @capacitor-community/sqlite@latest

For Capacitor 3 (v2.1.12)

The Capacitor3react-sqlite-hook interfacing the @capacitor-community/sqlite@3.7.0

@REFACTOR REFACTOR 🚀 (Move to branch 2.9.x)

The refactor react-sqlite-hook interfacing the @capacitor-community/sqlite@refactor

@INITIAL 🛑 (Move to branch 2.4.x)

The initial react-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@next
npm install --save-dev react-sqlite-hook@next

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

Usage

The usage of react-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!

Package Sidebar

Install

npm i react-sqlite-hook

Weekly Downloads

399

Version

3.2.1

License

MIT

Unpacked Size

150 kB

Total Files

26

Last publish

Collaborators

  • jeepq