drizzle-team / drizzle-team/drizzle-orm

[BUG]: Unable to access RelationalQueryBuilder type

Open
#1,319 9 comments 0 reactions 1 assignee Claimed by @Angelelz View on GitHub
improvement priority rqb
Dominant language
TypeScript
Stars
35.8k
Forks
1.6k
Avg merge
2d 7h
Merged PRs (30d)
4

Description

### What version of `drizzle-orm` are you using?

0.28.6

### What version of `drizzle-kit` are you using?

_No response_

### Describe the Bug

Attempting to import RelationalQueryBuilder to do generic relational querying. It appears that (at least for pg-core, possibly for other drivers as well) that the `query-builders/query.d.ts` declaration file isn't exported in that folders' barrel file and therefore cannot be imported.

Have also attempted to import from the file relatively but as is usually the case doing this most tsconfigs won't be setup to support it and ran into issues.

### Expected behavior

_No response_

### Environment & setup

_No response_

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.