Skip to content

Commit

Permalink
fix a compilation failure
Browse files Browse the repository at this point in the history
  • Loading branch information
imor committed Aug 29, 2024
1 parent b160021 commit edb6348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/commands/uninstall.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
use anyhow::Context;
use sqlx::postgres::PgConnection;
use sqlx::postgres::{PgConnection, PgRow};
use sqlx::Row;

pub async fn uninstall(extension_name: &str, mut conn: PgConnection) -> anyhow::Result<()> {
let quoted_extension_name: String = sqlx::query("select quote_ident($1) as ident")
.bind(extension_name)
.map(|row| row.get("ident"))
.map(|row: PgRow| row.get("ident"))
.fetch_one(&mut conn)
.await
.context("Failed to get quoted identifier")?;
Expand Down

0 comments on commit edb6348

Please sign in to comment.