From c8e994462d1a74dc77c327843f0ed60051bfae45 Mon Sep 17 00:00:00 2001 From: Giorgi Dalakishvili Date: Thu, 28 Nov 2024 10:32:03 +0400 Subject: [PATCH] Do not throw if parameter index isn't found --- DuckDB.NET.Data/Internal/PreparedStatement.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/DuckDB.NET.Data/Internal/PreparedStatement.cs b/DuckDB.NET.Data/Internal/PreparedStatement.cs index 19bdbcd..f4bd59f 100644 --- a/DuckDB.NET.Data/Internal/PreparedStatement.cs +++ b/DuckDB.NET.Data/Internal/PreparedStatement.cs @@ -96,10 +96,6 @@ private static void BindParameters(DuckDBPreparedStatement preparedStatement, Du { BindParameter(preparedStatement, index, param); } - else - { - throw new DuckDBException($"Cannot get index for parameter {param.ParameterName}"); - } } } else