Skip to content

Commit

Permalink
switch to sqlite visitor
Browse files Browse the repository at this point in the history
  • Loading branch information
aqrln committed Dec 19, 2024
1 parent 9de0e38 commit 1b65df1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query-engine/core/src/compiler/translate/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ pub(crate) fn translate_query(query: Query) -> TranslateResult<Expression> {
}

fn build_db_query<'a>(query: impl Into<quaint::ast::Query<'a>>) -> TranslateResult<DbQuery> {
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)
Expand Down

0 comments on commit 1b65df1

Please sign in to comment.