@capgo/capacitor-fast-sql 7.2.5 → 7.2.6
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/README.md
CHANGED
|
@@ -8,6 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
High-performance native SQLite plugin with HTTP server for efficient sync operations and IndexedDB replacement.
|
|
10
10
|
|
|
11
|
+
## Why Fast SQL?
|
|
12
|
+
|
|
13
|
+
Traditional Capacitor plugins serialize data through the JavaScript bridge, which becomes inefficient with large datasets. Fast SQL solves this by establishing a local HTTP server for direct native communication, making it ideal for:
|
|
14
|
+
|
|
15
|
+
- **Local-first sync systems** (CRDTs, operational transforms)
|
|
16
|
+
- **IndexedDB replacement** on platforms with broken/limited implementations
|
|
17
|
+
- **Large dataset operations** requiring high throughput
|
|
18
|
+
- **Batch operations** with thousands of rows
|
|
19
|
+
- **Binary data storage** (BLOBs, files)
|
|
20
|
+
|
|
11
21
|
## Documentation
|
|
12
22
|
|
|
13
23
|
The most complete doc is available here: https://capgo.app/docs/plugins/fast-sql/
|
|
@@ -19,7 +19,7 @@ import java.util.Map;
|
|
|
19
19
|
@CapacitorPlugin(name = "CapgoCapacitorFastSql")
|
|
20
20
|
public class CapgoCapacitorFastSqlPlugin extends Plugin {
|
|
21
21
|
|
|
22
|
-
private final String PLUGIN_VERSION = "7.2.
|
|
22
|
+
private final String PLUGIN_VERSION = "7.2.6";
|
|
23
23
|
|
|
24
24
|
private Map<String, SQLDatabase> databases = new HashMap<>();
|
|
25
25
|
private SQLHTTPServer server;
|
|
@@ -10,7 +10,7 @@ import SQLite3
|
|
|
10
10
|
*/
|
|
11
11
|
@objc(CapgoCapacitorFastSqlPlugin)
|
|
12
12
|
public class CapgoCapacitorFastSqlPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
13
|
-
private let PLUGIN_VERSION: String = "7.2.
|
|
13
|
+
private let PLUGIN_VERSION: String = "7.2.6"
|
|
14
14
|
public let identifier = "CapgoCapacitorFastSqlPlugin"
|
|
15
15
|
public let jsName = "CapgoCapacitorFastSql"
|
|
16
16
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/capacitor-fast-sql",
|
|
3
|
-
"version": "7.2.
|
|
3
|
+
"version": "7.2.6",
|
|
4
4
|
"description": "High-performance native SQLite plugin with custom protocol for efficient sync operations and IndexedDB replacement",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|