Prisma Snippets
This VSCode extension provides a collection of handy snippets that make working with Prisma more efficient and enjoyable.
Features
- Ease of use: Just type the prefix and the snippet unfolds.
- Variety: Snippets for models, enums, relations, fields, and queries.
- Time-saving: Speed up your development process.
Shortcuts
mdib : Adds a shortcut for a MongoDB ID line
pmodel : Defines a new Prisma model
penum : Defines a new Prisma enum
prelation : Defines a new Prisma relation
pfield : Defines a new Prisma field
punique : Defines a new Prisma field with a unique constraint
poptional : Defines a new optional Prisma field
pdatetime : Defines a new Prisma DateTime field
pfindunique : Defines a new Prisma find unique query
pcount : Defines a new Prisma count query
pfirst : Defines a new Prisma find first query
pclient : Initializes a new Prisma Client instance
Contributing
If you have suggestions for improvements, please open an issue. Contributions are welcome!
License
MIT
| |