feat: one install and one import per database; server dialects open their pool from a URL; nodeListener answers a throwing context; 0.5.0

This commit is contained in:
2026-11-03 13:06:04 +01:00
parent 1391c21c1f
commit e7637c3704
24 changed files with 194 additions and 227 deletions
+3 -3
View File
@@ -9,9 +9,9 @@ import { sqlite } from '../packages/sqlite/dist/index.js';
// The table in docs/dialects.md is what readers compare databases by, on the
// site too. It must say what each dialect's capabilities say.
const DIALECTS = {
'@crudy/restloom-postgres': postgres({}),
'@crudy/restloom-mysql': mysql({}),
'@crudy/restloom-mssql': mssql({}),
'@crudy/restloom-postgres': postgres({ connect() {} }),
'@crudy/restloom-mysql': mysql({ getConnection() {} }),
'@crudy/restloom-mssql': mssql({ request() {} }),
'@crudy/restloom-sqlite': sqlite({ pragma() {} }),
};