Hi
For getValue
Storage::getValue( key, callback)
is the callback mandatory or optional? It seems optional when using localStorage only, but I just wanted to check.
Also about setting a database name using
databaseName : string
like so
Storage {
id: myLocalStorage
databaseName: "words"
onStorageError: {
console.debug("myLocalStorage: there was an error:", errorData.message)
}
}
(similar to my previous posting example) but I noticed the sqlite filename in the storage area (for windows)
C:\Users\<userName>\AppData\Local\<appName>\QML\OfflineStorage\Databases
is still showing a random key like filename instead of ‘words’. Is it expected? How can I get it to be named?
Thanks.