Passer au contenu

@capgo/capacitor-data-storage-sqlite

SQLite Storage of key/value strings pair.

SQLite Storage of key/value strings pair.

  • openStore - Open a store.
  • closeStore - Close the Store.
  • isStoreOpen - Check if the Store is opened.
  • isStoreExists - Check if the Store exists.
MethodDescription
openStoreOpen a store.
closeStoreClose the Store.
isStoreOpenCheck if the Store is opened.
isStoreExistsCheck if the Store exists.
deleteStoreDelete a store.
setTableSet or Add a table to an existing store.
setStore a data with given key and value.
getRetrieve a data value for a given data key.
removeRemove a data with given key.
clearClear the Data Store (delete all keys).
iskeyCheck if a data key exists.
keysGet the data key list.
valuesGet the data value list.
filtervaluesGet the data value list for filter keys.
keysvaluesGet the data key/value pair list.
isTableCheck if a table exists.
tablesGet the table list for the current store.
deleteTableDelete a table.
importFromJsonImport a database From a JSON.
isJsonValidCheck the validity of a JSON Object.
exportToJsonExport the given database to a JSON Object.
getPluginVersionGet the native Capacitor plugin version.

This reference is synced from src/definitions.ts in capacitor-data-storage-sqlite.