What problem does it solve?
This Skill simplifies database interactions within Expo React Native applications by providing a structured way to define schemas, manage migrations, and perform CRUD operations using Drizzle ORM and Expo SQLite.
Core Features & Use Cases
- Schema Definition: Define database tables and columns using TypeScript.
- Migrations: Generate and run SQL migrations to manage database schema evolution.
- CRUD Operations: Perform insert, query, update, and delete operations efficiently.
- Type Safety: Infer TypeScript types from your schema for enhanced code safety.
- Use Case: When you need to add a new feature that requires storing user preferences or transaction history in your Expo app, use this Skill to set up the database schema and implement the necessary data operations.
Quick Start
Use the expo-drizzle skill to insert a new item into the database with id '123', name 'Sample Item', and amount '50.0'.