@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.
@@ -31,7 +31,7 @@
31
31
  {
32
32
  "id": "expression.arithmetic",
33
33
  "classification": "different",
34
- "reason": "Minnow has one JavaScript number type: integer-looking division stays fractional, and division by zero returns NULL instead of raising PostgreSQL's error."
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 its number type; PostgreSQL has no % operator for double precision."
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 one number type accepts combinations that PostgreSQL's distinct integer, numeric, and double-precision overloads do not."
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": "Minnow exposes one snapshot transaction model, so there is no session isolation level to configure."
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",