drizzle-team / drizzle-team/drizzle-orm
[FEATURE]: mysql `replace into` support
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 35.8k
- Forks
- 1.6k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 4
Description
### Feature hasn't been suggested before.
- [x] I have verified this feature I'm about to request hasn't been suggested before.
### Describe the enhancement you want to request
https://dev.mysql.com/doc/refman/8.4/en/replace.html
```ts
db.replace(posts).values({
id: 5,
title: 'new title'
})
```
transforms into:
```sql
replace into posts (id, title) values (5, 'new title')
```
Contributor guide
Assessment
This issue has not been assessed yet.