mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-04-14 16:30:16 +00:00
tweak type decoding in text mode for floats
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
use sqlx::{PgConnection, Connect, Row};
|
||||
use sqlx::postgres::PgRow;
|
||||
use sqlx::{Connect, PgConnection, Row};
|
||||
|
||||
async fn connect() -> anyhow::Result<PgConnection> {
|
||||
Ok(PgConnection::connect(dotenv::var("DATABASE_URL")?).await?)
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
use futures::TryStreamExt;
|
||||
use sqlx::{
|
||||
postgres::PgConnection, Connect, Executor, Row,
|
||||
};
|
||||
use std::time::Duration;
|
||||
use sqlx::postgres::{PgPool, PgRow};
|
||||
use sqlx::{postgres::PgConnection, Connect, Executor, Row};
|
||||
use std::time::Duration;
|
||||
|
||||
#[cfg_attr(feature = "runtime-async-std", async_std::test)]
|
||||
#[cfg_attr(feature = "runtime-tokio", tokio::test)]
|
||||
|
||||
Reference in New Issue
Block a user