| Crates.io | prax-mysql |
| lib.rs | prax-mysql |
| version | 0.5.0 |
| created_at | 2025-12-21 16:28:41.52513+00 |
| updated_at | 2026-01-07 18:34:03.515906+00 |
| description | MySQL database driver for Prax ORM |
| homepage | |
| repository | https://github.com/pegasusheavy/prax-orm |
| max_upload_size | |
| id | 1998251 |
| size | 131,699 |
MySQL query engine for Prax ORM.
prax-mysql provides an async MySQL backend using the mysql_async driver.
use prax_mysql::MySqlEngine;
let engine = MySqlEngine::new("mysql://user:pass@localhost/db").await?;
// Execute queries through Prax client
let client = PraxClient::with_engine(engine);
let users = client.user().find_many().exec().await?;
use prax_query::connection::PoolConfig;
let config = PoolConfig::new()
.max_connections(20)
.min_connections(5);
Licensed under either of Apache License, Version 2.0 or MIT license at your option.