drizzle-team / drizzle-team/drizzle-orm
[FEATURE]: Bigint as string
Open
enhancement
priority
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### Describe what you want
I'd like to add a new `string` alongside mode for bigint. Some popular Postgres libraries already do this such as node-pg.
This is my current workaround:
```typescript
const bigint = customType<{
data: string
}>({
dataType: () => 'bigint',
})
```
Contributor guide
Assessment
This issue has not been assessed yet.