We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b160021 commit edb6348Copy full SHA for edb6348
cli/src/commands/uninstall.rs
@@ -1,11 +1,11 @@
1
use anyhow::Context;
2
-use sqlx::postgres::PgConnection;
+use sqlx::postgres::{PgConnection, PgRow};
3
use sqlx::Row;
4
5
pub async fn uninstall(extension_name: &str, mut conn: PgConnection) -> anyhow::Result<()> {
6
let quoted_extension_name: String = sqlx::query("select quote_ident($1) as ident")
7
.bind(extension_name)
8
- .map(|row| row.get("ident"))
+ .map(|row: PgRow| row.get("ident"))
9
.fetch_one(&mut conn)
10
.await
11
.context("Failed to get quoted identifier")?;
0 commit comments