@capgo/capacitor-data-storage-sqlite
SQLite Storage of key/value strings pair.
Overview
Section titled “Overview”SQLite Storage of key/value strings pair.
Core Capabilities
Section titled “Core Capabilities”openStore- Open a store.closeStore- Close the Store.isStoreOpen- Check if the Store is opened.isStoreExists- Check if the Store exists.
Public API
Section titled “Public API”| Method | Description |
|---|---|
openStore | Open a store. |
closeStore | Close the Store. |
isStoreOpen | Check if the Store is opened. |
isStoreExists | Check if the Store exists. |
deleteStore | Delete a store. |
setTable | Set or Add a table to an existing store. |
set | Store a data with given key and value. |
get | Retrieve a data value for a given data key. |
remove | Remove a data with given key. |
clear | Clear the Data Store (delete all keys). |
iskey | Check if a data key exists. |
keys | Get the data key list. |
values | Get the data value list. |
filtervalues | Get the data value list for filter keys. |
keysvalues | Get the data key/value pair list. |
isTable | Check if a table exists. |
tables | Get the table list for the current store. |
deleteTable | Delete a table. |
importFromJson | Import a database From a JSON. |
isJsonValid | Check the validity of a JSON Object. |
exportToJson | Export the given database to a JSON Object. |
getPluginVersion | Get the native Capacitor plugin version. |
Source Of Truth
Section titled “Source Of Truth”This reference is synced from src/definitions.ts in capacitor-data-storage-sqlite.