mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-01 06:52:19 +00:00

implement nullability check for Postgres as a query on pg_attribute implement type name fetching for Postgres as part of `describe()` add nullability for describe() to MySQL improve errors with unknown result column type IDs in `query!()` run cargo fmt and fix warnings improve error when feature gates for chrono/uuid types is not turned on workflows/rust: add step to UI-test missing optional features improve error for unsupported/feature-gated input parameter types fix `PgConnection::get_type_names()` for empty type IDs list fix `tests::mysql::test_describe()` on MariaDB 10.4 copy-edit unsupported/feature-gated type errors in `query!()` Postgres: fix SQL type of string array closes #107 closes #17 Co-Authored-By: Anthony Dodd <Dodd.AnthonyJosiah@gmail.com>
8 lines
210 B
Rust
8 lines
210 B
Rust
fn main() {
|
|
let _ = sqlx::query!("select CONVERT(now(), DATE) date");
|
|
|
|
let _ = sqlx::query!("select CONVERT(now(), TIME) time");
|
|
|
|
let _ = sqlx::query!("select CONVERT(now(), DATETIME) datetime");
|
|
}
|