sqlx-oldapi 0.6.53

🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, SQLite, MSSQL, and ODBC.
Documentation
1
2
3
4
5
6
7
fn main() {
    let _ = sqlx_oldapi::query!("select CONVERT(now(), DATE) date");

    let _ = sqlx_oldapi::query!("select CONVERT(now(), TIME) time");

    let _ = sqlx_oldapi::query!("select CONVERT(now(), DATETIME) datetime");
}