From e2e9fae66092cd6cc58dcae6d7bd3defa5e0082a Mon Sep 17 00:00:00 2001 From: Richard Newman Date: Tue, 10 Oct 2017 12:52:41 -0700 Subject: [PATCH] DEBUG --- src/query.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/query.rs b/src/query.rs index da12f601..ab9d7be9 100644 --- a/src/query.rs +++ b/src/query.rs @@ -84,6 +84,7 @@ pub fn q_once<'sqlite, 'schema, 'query, T> let select = query_to_select(algebrized)?; let SQLQuery { sql, args } = select.query.to_sql_query()?; +println!("SQL: {:?}", sql); let mut statement = sqlite.prepare(sql.as_str())?; let rows = if args.is_empty() {