mirror of
https://github.com/moparisthebest/PhoneGap-SQLitePlugin-Android
synced 2024-11-22 00:42:20 -05:00
Update project status & quick description of project future
This commit is contained in:
parent
aab9ea68e6
commit
199eb6a15e
@ -11,9 +11,13 @@ Android version by @marcucio and @chbrody
|
||||
|
||||
API changes by @chbrody
|
||||
|
||||
# Project Status
|
||||
## Project Status
|
||||
|
||||
Unfortunately @chbrody will have very little time to support this fork project due to some upcoming professional commitments. This fork will be kept open for bug fixes only. I would like to ask for all bug fixes to be well tested, with unit testing if at all possible, in decent coding style and submitted as pull requests. I have opened [issue #33](https://github.com/chbrody/Cordova-SQLitePlugin/issues/33) for discussion about the future of this project and finding a new home.
|
||||
This fork will be kept open to concentrate on bug fixing and documentation improvements. Bug fixes in the form of pull requests that are well tested, with unit testing if at all possible, and in decent coding style will be highly appreciated. Due to professional commitments @chbrody cannot guarantee any level of support at this time.
|
||||
|
||||
## Project future
|
||||
|
||||
See [issue #33](https://github.com/chbrody/Cordova-SQLitePlugin/issues/33): to provide the maximum benefits of customization it should be possible to build with a replacement of the sqlite C library itself, and also make extensions such as SQLCipher possible (#32). This enhancement would solve #22 for all versions of the Android API. @chbrody expects to concentrate on the Android version using the NDK.
|
||||
|
||||
Highlights
|
||||
----------
|
||||
|
@ -174,6 +174,10 @@ public class SQLitePlugin extends Plugin {
|
||||
long insertId = myStatement.executeInsert();
|
||||
this.sendJavascript("dddb.completeQuery('" + tx_id + "', [{'insertId':'" + insertId +
|
||||
"', 'rowsAffected':'1'}]);");
|
||||
} else if (cmd.startsWith("update") || cmd.startsWith("delete")) {
|
||||
SQLiteStatement myStatement = this.myDb.compileStatement(query);
|
||||
int rowsAffected = myStatement.executeUpdateDelete();
|
||||
this.sendJavascript("dddb.completeQuery('" + tx_id + "', [{'rowsAffected':'" + rowsAffected + "'}]);");
|
||||
} else if (isDDL(query)) {
|
||||
this.myDb.execSQL(query);
|
||||
this.sendJavascript("dddb.completeQuery('" + tx_id + "', '');");
|
||||
|
Loading…
Reference in New Issue
Block a user