@minnowdb/core 0.7.2 → 0.7.5
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/dist/engine/database.d.ts +6 -0
- package/dist/engine/database.js +385 -88
- package/dist/engine/optimizer.js +48 -26
- package/dist/engine/query.d.ts +98 -0
- package/dist/engine/query.js +1452 -165
- package/dist/engine/sql-domains.d.ts +11 -0
- package/dist/engine/sql-domains.js +56 -0
- package/dist/engine/sql-functions.js +129 -3
- package/dist/engine/sql-json.d.ts +2 -0
- package/dist/engine/sql-json.js +4 -0
- package/dist/engine/sql-semantics.d.ts +9 -1
- package/dist/engine/sql-semantics.js +19 -3
- package/dist/engine/vector.js +29 -13
- package/dist/plan/model.d.ts +14 -2
- package/dist/storage/memory.d.ts +2 -1
- package/dist/storage/memory.js +29 -4
- package/dist/testing/sqllogictest.js +3 -1
- package/package.json +1 -1
- package/postgres-feature-profile.json +9 -4
- package/sql-feature-matrix.json +541 -4
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
{
|
|
32
32
|
"id": "expression.arithmetic",
|
|
33
33
|
"classification": "different",
|
|
34
|
-
"reason": "
|
|
34
|
+
"reason": "Division by zero returns NULL instead of raising PostgreSQL's error. Integer division itself follows PostgreSQL: two integer operands truncate toward zero."
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
"id": "expression.round",
|
|
@@ -43,6 +43,11 @@
|
|
|
43
43
|
"classification": "extension",
|
|
44
44
|
"reason": "PostgreSQL uses $n parameters. Minnow also accepts ? as adapter-friendly shorthand."
|
|
45
45
|
},
|
|
46
|
+
{
|
|
47
|
+
"id": "mutation.truncate",
|
|
48
|
+
"classification": "different",
|
|
49
|
+
"reason": "TRUNCATE reports the number of rows it removed, where PostgreSQL's command tag carries no count. The resulting table state is identical."
|
|
50
|
+
},
|
|
46
51
|
{
|
|
47
52
|
"id": "mutation.upsert-replace",
|
|
48
53
|
"classification": "extension",
|
|
@@ -91,7 +96,7 @@
|
|
|
91
96
|
{
|
|
92
97
|
"id": "expression.modulo",
|
|
93
98
|
"classification": "different",
|
|
94
|
-
"reason": "Minnow permits % on
|
|
99
|
+
"reason": "Minnow permits % on double precision values; PostgreSQL has no % operator for double precision."
|
|
95
100
|
},
|
|
96
101
|
{
|
|
97
102
|
"id": "expression.date-trunc",
|
|
@@ -101,7 +106,7 @@
|
|
|
101
106
|
{
|
|
102
107
|
"id": "function.numeric-core",
|
|
103
108
|
"classification": "different",
|
|
104
|
-
"reason": "Minnow's
|
|
109
|
+
"reason": "Minnow's numeric functions accept integer, exact, and double-precision arguments interchangeably, where PostgreSQL's distinct integer, numeric, and double-precision overloads do not."
|
|
105
110
|
},
|
|
106
111
|
{
|
|
107
112
|
"id": "function.string-extended",
|
|
@@ -247,7 +252,7 @@
|
|
|
247
252
|
{
|
|
248
253
|
"id": "transaction.isolation-level",
|
|
249
254
|
"classification": "inapplicable",
|
|
250
|
-
"reason": "
|
|
255
|
+
"reason": "Every transaction reads one snapshot and commits atomically, which satisfies READ UNCOMMITTED, READ COMMITTED, and REPEATABLE READ, so those levels are accepted and ignored. SERIALIZABLE promises more than one snapshot can, and is refused rather than silently downgraded."
|
|
251
256
|
},
|
|
252
257
|
{
|
|
253
258
|
"id": "privileges.grant",
|