Adapters
Drizzle ORM Adapter
Add type-safe database operations to your X Framework application
Drizzle ORM Adapter
The Drizzle ORM adapter provides a type-safe wrapper around your Drizzle database instance, allowing you to perform database operations with full TypeScript support.
Installation
You'll also need a database driver. For example, for SQLite:
Basic Usage
First, set up your Drizzle database instance:
Then integrate it with X Framework:
Using with Different Databases
The adapter works with any Drizzle-supported database:
PostgreSQL
MySQL
Integration with Other Adapters
The Drizzle adapter works seamlessly with other X Framework adapters:
For more details on using Drizzle ORM, see the Drizzle documentation.