 			self.connection.close(db)
 			return db.lastInsertRowID()
 		} catch {
+			print(error)
 			throw StORMError.error(errorMsg)
 		}
 	}

	@discardableResult
	func execRows(_ smt: String, params: [String]) throws -> [StORMRow] {
		var rows = [StORMRow]()
		let results = try exec(smt, params: params)
		rows = parseRows(results)
		return rows
	}


			}, handleRow: {(statement: SQLiteStmt, i:Int) -> () in
				results.append(statement)
			})
			defer {
				self.connection.close(db)
			}
		} catch {
			throw StORMError.error(errorMsg)
		}
