SQLite How to Change Database Location


#1

import {SQLite} from “@ionic-native/SQLite”

this.storage.create({name: “data.db”, location: “default”})

How can I give it an arbitrary location through a file path
ex. cordova.file.applicationDirectory + “www”

Alternatively, how can i use the File API to copy the db file created in location:“default” to another location


#2

i meet the same problem
have you solve this problem?


#3

Did you find a solution on this?