drizzle-team / drizzle-team/drizzle-orm

[FEATURE]: Add more dialect-agnostic types

Open
#1,820 0 comments 2 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### Describe what you want

The addition of more dialect-agnostic base types could improve the DX of implementing and sharing query helpers — things like `jsonAgg`, `getQueryFields` (a helper similar to `getTableColumns` that also accepts `Subquery` and selects, etc.

As a quick example, the latter could benefit from `type AnySelect = AnyPgSelect | AnyMySqlSelect | AnySQLiteSelect`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.