From c9472ec709d5c98e4d37aa431c3c0983e2568297 Mon Sep 17 00:00:00 2001 From: Alexey Orlenko Date: Mon, 28 Oct 2024 14:53:41 +0100 Subject: [PATCH] switch to sqlite visitor --- query-engine/core/src/compiler/translate/query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query-engine/core/src/compiler/translate/query.rs b/query-engine/core/src/compiler/translate/query.rs index fe6eae207e3..37bcacb7bc1 100644 --- a/query-engine/core/src/compiler/translate/query.rs +++ b/query-engine/core/src/compiler/translate/query.rs @@ -30,7 +30,7 @@ pub(crate) fn translate_query(query: Query) -> TranslateResult { } fn build_db_query<'a>(query: impl Into>) -> TranslateResult { - let (sql, params) = quaint::visitor::Postgres::build(query)?; + let (sql, params) = quaint::visitor::Sqlite::build(query)?; let params = params .into_iter() .map(convert::quaint_value_to_prisma_value)