 	var busyHandler: UnsafeMutablePointer<BusyHandler>?
 
 	/// Prepared statements
-	var preparedStatements = [String: Statement]()
+	var preparedStatements = [AnyHashable: Statement]()
 
 	/// Creates an in-memory database.
 	///

	/// - throws: An error if `sql` could not be compiled
	///
	/// - returns: A compiled SQL statement
	public func prepareStatement(sql: String, forKey key: String) throws {
		preparedStatements[key] = try prepare(sql: sql)
	}


	///
	/// - parameter statement: A compiled SQL statement
	/// - parameter key: A key used to identify the statement
	public func setPreparedStatement(_ statement: Statement, forKey key: AnyHashable) {
//		precondition(statement.database.db == self.db)
		preparedStatements[key] = statement
	}
