Premix Core
The foundational library for Premix ORM.
premix-core provides the essential traits, types, and logic that power the ORM functionality. It includes:
- Database abstraction traits (
SqlDialect) - Executor logic (
IntoExecutor,Executor) - Model traits (
Model) - SQLx integration helpers
Research Status
This crate is part of an AI-assisted research prototype. APIs may change and production use is not recommended yet.
Installation
Most users should depend on premix-orm instead. Use premix-core directly only if you are building extensions or low-level tooling.
[]
= "1.0.8-alpha"
Quick Start
use ;
use SqlitePool;
async
Features
- sqlite (default): Support for SQLite
- postgres: Support for PostgreSQL
- mysql: Support for MySQL (partial)
Compatibility
premix-core uses sqlx under the hood. Make sure your sqlx features match the database feature you enable here.
License
This project is licensed under the MIT license.