kern-db 0.6.0 → 0.6.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.
Files changed (2) hide show
  1. package/dist/testing.mjs +4 -1
  2. package/package.json +1 -1
package/dist/testing.mjs CHANGED
@@ -217,15 +217,18 @@ function describeDriverContract(options, runner) {
217
217
  const created = await database.execute(createStatement("CREATE TEMP TABLE pg_count_test (id integer) ON COMMIT DROP"));
218
218
  const inserted = await database.execute(createStatement("INSERT INTO pg_count_test VALUES (1), (2), (3)"));
219
219
  const updated = await database.execute(createStatement("UPDATE pg_count_test SET id = id + 1 WHERE id > 1"));
220
+ const selected = await database.execute(createStatement("SELECT FROM pg_count_test WHERE id > 2"));
220
221
  return [
221
222
  created.count,
222
223
  inserted.count,
223
- updated.count
224
+ updated.count,
225
+ selected.count
224
226
  ];
225
227
  });
226
228
  assert.deepEqual(counts, [
227
229
  0,
228
230
  3,
231
+ 2,
229
232
  2
230
233
  ]);
231
234
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kern-db",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "description": "PostgreSQL database layer with ambient transactions, typed SQL queries, and test transactions",
5
5
  "keywords": [
6
6
  "database",