@citadeldb/wasm 0.4.0 → 0.4.1
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 +11 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
WebAssembly bindings for [Citadel](https://github.com/yp3y5akh0v/citadel) - an encrypted-first embedded database engine that outperforms unencrypted SQLite.
|
|
4
4
|
|
|
5
|
-
Every
|
|
5
|
+
Every page is encrypted at rest with AES-256-CTR + HMAC-SHA256. Runs entirely in the browser or Node.js with no server required.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -59,9 +59,17 @@ db.free();
|
|
|
59
59
|
|
|
60
60
|
## SQL Support
|
|
61
61
|
|
|
62
|
-
CREATE/DROP TABLE,
|
|
62
|
+
**Statements** - CREATE/DROP TABLE, ALTER TABLE (ADD/DROP/RENAME COLUMN, RENAME TABLE), CREATE/DROP INDEX, INSERT (VALUES, SELECT), SELECT, UPDATE, DELETE, BEGIN/COMMIT/ROLLBACK, EXPLAIN
|
|
63
63
|
|
|
64
|
-
|
|
64
|
+
**Constraints** - PRIMARY KEY, NOT NULL, UNIQUE, DEFAULT, CHECK (column + table level), FOREIGN KEY (RESTRICT/NO ACTION)
|
|
65
|
+
|
|
66
|
+
**Types** - INTEGER, REAL, TEXT, BLOB, BOOLEAN
|
|
67
|
+
|
|
68
|
+
**Clauses** - JOINs (INNER, LEFT, RIGHT, CROSS), subqueries (scalar, IN, EXISTS), CTEs (WITH / WITH RECURSIVE), UNION/INTERSECT/EXCEPT [ALL], CASE, BETWEEN, LIKE, DISTINCT, GROUP BY/HAVING, ORDER BY, LIMIT/OFFSET
|
|
69
|
+
|
|
70
|
+
**Functions** - COUNT, SUM, AVG, MIN, MAX, LENGTH, UPPER, LOWER, SUBSTR, ABS, ROUND, COALESCE, NULLIF, CAST, TYPEOF, HEX, TRIM, REPLACE, RANDOM, IIF, GLOB
|
|
71
|
+
|
|
72
|
+
**Prepared statements** - `$1, $2, ...` positional parameters
|
|
65
73
|
|
|
66
74
|
## License
|
|
67
75
|
|