brodycj / cordova-sqlite-ext

A Cordova/PhoneGap plugin to open and use sqlite databases on Android/iOS/macOS/Windows with REGEXP (Android/macOS/iOS) and pre-populated databases (Android/iOS/macOS/Windows)
Other
72 stars 55 forks source link

Export db to sql #57

Closed estvmachine closed 7 years ago

estvmachine commented 7 years ago

This actually works for export db, but i really want to export the db like sql query, you know a way to do that. I try with this plugin https://github.com/dpa99c/cordova-sqlite-porter.

$cordovaFile.copyFile( 'cordova.file.applicationStorageDirectory', 'demo.db', cordova.file.externalDataDirectory, 'newDb.db').then(
   ....
);
brodycj commented 7 years ago

Will be answered in litehelpers/Cordova-sqlite-help#27 when I get a chance.