zod-paginate 1.1.0 → 1.1.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.
- package/README.md +8 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -591,3 +591,11 @@ responseSchema.parse({
|
|
|
591
591
|
const parsed3 = queryParamsSchema.parse({});
|
|
592
592
|
// parsed3.select → ["id", "name", "price"]
|
|
593
593
|
```
|
|
594
|
+
|
|
595
|
+
## Adapters
|
|
596
|
+
|
|
597
|
+
`zod-paginate` is ORM/query-builder agnostic by design — it parses and validates query parameters but does not generate database queries. **Adapters** bridge the gap between the parsed output and your data layer.
|
|
598
|
+
|
|
599
|
+
| Adapter | Description | Link |
|
|
600
|
+
|---|---|---|
|
|
601
|
+
| **zod-paginate-drizzle** | Drizzle ORM adapter — automatically maps parsed pagination, filters, sorting, and select to Drizzle queries. | [GitHub](https://github.com/nolway/zod-paginate-drizzle) |
|