prisma-generator-drizzle
prisma-generator-drizzle copied to clipboard
v1
Planned Features
These are the essential features needed for querying and mutating purposes, providing 1:1 feature mapping from Prisma. Please mention if there's anything missed from this list.
Models
- [x] Field types
- [x] Constraints
- [x] ID
- [x] primaryKey
- [x]
notNull
(when no ? modifier)
- [ ] Custom
@db.
field
Helpers
- [x] Custom
$type<...>()
defined from Prisma schema - [x] default and default fn
Config
- [x] Support for all providers
- [x] postgres
- [x] mysql
- [x] sqlite
Not planned
v1 will concentrates exclusively on query and mutation operations, these parts are currently not on consideration:
- Unique constraints
- Composite key and indexes
- foreignKey (.references(...))