@unvired/cordova-plugin-unvired-electron-db 0.0.44 → 0.0.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/plugin.xml +1 -1
- package/src/android/DBPlugin.java +3 -3
- package/src/electron/package.json +1 -1
package/package.json
CHANGED
package/plugin.xml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<?xml version='1.0' encoding='utf-8'?>
|
|
2
2
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
3
3
|
id="@unvired/cordova-plugin-unvired-electron-db"
|
|
4
|
-
version="0.0.
|
|
4
|
+
version="0.0.45"
|
|
5
5
|
xmlns:android="http://schemas.android.com/apk/res/android">
|
|
6
6
|
<name>Unvired DB</name>
|
|
7
7
|
<description>Unvired DB Native Support for Cordova</description>
|
|
@@ -146,12 +146,12 @@ public class DBPlugin extends CordovaPlugin {
|
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
try {
|
|
149
|
-
|
|
149
|
+
Object[] selectionArgs = null;
|
|
150
150
|
if (queryArgs != null && queryArgs.length() > 0) {
|
|
151
|
-
selectionArgs = new
|
|
151
|
+
selectionArgs = new Object[queryArgs.length()];
|
|
152
152
|
for (int i = 0; i < queryArgs.length(); i++) {
|
|
153
153
|
Object val = queryArgs.get(i);
|
|
154
|
-
selectionArgs[i] = (val == null || val == JSONObject.NULL) ? null :
|
|
154
|
+
selectionArgs[i] = (val == null || val == JSONObject.NULL) ? null : val;
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
|