vlorql 0.5.0

High-level SQL query optimization and LLM-powered natural language querying library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! MySQL executor (type alias for the generic sqlx executor).

/// Executes compiled SQL queries against a MySQL database.
///
/// # Example
///
/// ```ignore
/// use vlorql::execute::MysqlExecutor;
/// use vlorql_core::execute::DatabaseExecutor;
///
/// let executor = MysqlExecutor::new("mysql://user:pass@localhost/db")
///     .await
///     .expect("connect");
/// ```
pub type MysqlExecutor = crate::execute::sqlx_executor::SqlxExecutor<sqlx::MySqlPool>;