This commit is contained in:
Richard Newman 2017-10-10 12:52:41 -07:00
parent 4aa647ddc5
commit e2e9fae660

View file

@ -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() {