mirror of
https://gitee.com/shuto/cordova-plugin-dbcopy.git
synced 2024-10-05 17:22:06 +08:00
Update sqlDB.js
This commit is contained in:
parent
f0c36b0fdf
commit
191f414e14
@ -8,8 +8,8 @@ exports.remove = function(dbname, location, success,error) {
|
||||
exec(success, error, "sqlDB", "remove", [dbname, location]);
|
||||
};
|
||||
|
||||
exports.copyDbToStorage = function(dbname,location,destination, success,error){
|
||||
exec(success, error, "sqlDB", "copyDbToStorage", [dbname, location, destination]);
|
||||
exports.copyDbToStorage = function(dbname,location,destination, overwrite, success,error){
|
||||
exec(success, error, "sqlDB", "copyDbToStorage", [dbname, location, destination, overwrite]);
|
||||
};
|
||||
|
||||
exports.copyDbFromStorage = function(dbname,location,source, deleteolddb, success,error){
|
||||
|
Loading…
Reference in New Issue
Block a user