Lines Matching refs:insert_stmt
1217 let mut insert_stmt = db.prepare("INSERT INTO foo(x) VALUES(?)").unwrap(); in test_prepare_execute() localVariable
1218 assert_eq!(insert_stmt.execute(&[1i32]).unwrap(), 1); in test_prepare_execute()
1219 assert_eq!(insert_stmt.execute(&[2i32]).unwrap(), 1); in test_prepare_execute()
1220 assert_eq!(insert_stmt.execute(&[3i32]).unwrap(), 1); in test_prepare_execute()
1222 assert_eq!(insert_stmt.execute(&["hello".to_string()]).unwrap(), 1); in test_prepare_execute()
1223 assert_eq!(insert_stmt.execute(&["goodbye".to_string()]).unwrap(), 1); in test_prepare_execute()
1224 assert_eq!(insert_stmt.execute(&[types::Null]).unwrap(), 1); in test_prepare_execute()
1237 let mut insert_stmt = db.prepare("INSERT INTO foo(x) VALUES(?)").unwrap(); in test_prepare_query() localVariable
1238 assert_eq!(insert_stmt.execute(&[1i32]).unwrap(), 1); in test_prepare_query()
1239 assert_eq!(insert_stmt.execute(&[2i32]).unwrap(), 1); in test_prepare_query()
1240 assert_eq!(insert_stmt.execute(&[3i32]).unwrap(), 1); in test_prepare_query()
1511 let mut insert_stmt = db.prepare("INSERT INTO foo(i, x) VALUES(?, ?)").unwrap(); in test_get_raw() localVariable
1514 assert_eq!(insert_stmt.execute(params![i_to_insert, v]).unwrap(), 1); in test_get_raw()