use sqlite3_ext::{query::*, *}; fn column_borrow(conn: &Connection) -> Result<()> { let mut stmt = conn.prepare("SELECT 1, 2, 3")?; let results: Vec = stmt.query(())?.map(|r| Ok(r[0])).collect()?; assert_eq!(results.len(), 1); Ok(()) } fn main() {}