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
+2 -2
View File
@@ -52,7 +52,7 @@ resources: {
`sensitive` replaces the whole pattern, for every resource. Start from `DEFAULT_SENSITIVE` to add words rather than lose the defaults:
```ts
import { createREST, DEFAULT_SENSITIVE } from '@crudy/restloom';
import { createREST, DEFAULT_SENSITIVE } from '@crudy/restloom-postgres';
createREST({
db, // from a database package, see Dialects
@@ -64,7 +64,7 @@ createREST({
## Hooks
```ts
import { createREST, RestError } from '@crudy/restloom';
import { createREST, RestError } from '@crudy/restloom-postgres';
createREST({
db, // from a database package, see Dialects