DuckDB.NET.Bindings.Full
0.10.3
.NET 6.0
This package targets .NET 6.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package DuckDB.NET.Bindings.Full --version 0.10.3
NuGet\Install-Package DuckDB.NET.Bindings.Full -Version 0.10.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DuckDB.NET.Bindings.Full" Version="0.10.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DuckDB.NET.Bindings.Full --version 0.10.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DuckDB.NET.Bindings.Full, 0.10.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DuckDB.NET.Bindings.Full as a Cake Addin #addin nuget:?package=DuckDB.NET.Bindings.Full&version=0.10.3 // Install DuckDB.NET.Bindings.Full as a Cake Tool #tool nuget:?package=DuckDB.NET.Bindings.Full&version=0.10.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DuckDB.NET
DuckDB bindings for C#
Usage
dotnet add package DuckDB.NET.Data.Full
using (var duckDBConnection = new DuckDBConnection("Data Source=file.db"))
{
duckDBConnection.Open();
using var command = duckDBConnection.CreateCommand();
command.CommandText = "CREATE TABLE integers(foo INTEGER, bar INTEGER);";
var executeNonQuery = command.ExecuteNonQuery();
command.CommandText = "INSERT INTO integers VALUES (3, 4), (5, 6), (7, 8);";
executeNonQuery = command.ExecuteNonQuery();
command.CommandText = "Select count(*) from integers";
var executeScalar = command.ExecuteScalar();
command.CommandText = "SELECT foo, bar FROM integers";
var reader = command.ExecuteReader();
PrintQueryResults(reader);
}
private static void PrintQueryResults(DbDataReader queryResult)
{
for (var index = 0; index < queryResult.FieldCount; index++)
{
var column = queryResult.GetName(index);
Console.Write($"{column} ");
}
Console.WriteLine();
while (queryResult.Read())
{
for (int ordinal = 0; ordinal < queryResult.FieldCount; ordinal++)
{
var val = queryResult.GetInt32(ordinal);
Console.Write(val);
Console.Write(" ");
}
Console.WriteLine();
}
}
Documentation
Documentation is available at https://duckdb.net
Support
If you encounter a bug with the library Create an Issue. Join the DuckDB dotnet
channel for DuckDB.NET-related topics.
Contributors
Sponsors
A big thanks to the AWS Open Source Software Fund for sponsoring the project!
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- No dependencies.
-
net6.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on DuckDB.NET.Bindings.Full:
Package | Downloads |
---|---|
DuckDB.NET.Data.Full
DuckDB ADO.NET Provider for C#. |
|
TheTechIdea.Beep.DuckDBDataSourceCore
Package Description |
|
DuckDbSharp
Bidirectional interoperability layer between DuckDB and .NET. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on DuckDB.NET.Bindings.Full:
Repository | Stars |
---|---|
apache/arrow-adbc
Database connectivity API standard and libraries for Apache Arrow
|
Version | Downloads | Last updated |
---|---|---|
1.1.3 | 19,011 | 11/7/2024 |
1.1.2.1 | 46,702 | 10/21/2024 |
1.1.2-alpha.5 | 207 | 10/10/2024 |
1.1.1 | 77,807 | 9/24/2024 |
1.1.0.1 | 148,322 | 9/9/2024 |
1.0.2 | 73,522 | 7/22/2024 |
1.0.1 | 30,592 | 6/22/2024 |
1.0.0 | 45,069 | 6/3/2024 |
0.10.3 | 11,165 | 5/22/2024 |
0.10.2 | 11,074 | 4/21/2024 |
0.10.1.2 | 107,089 | 3/22/2024 |
0.10.1 | 37,461 | 3/18/2024 |
0.9.2 | 182,782 | 11/14/2023 |
0.9.1 | 45,384 | 10/13/2023 |
0.9.0.3 | 10,532 | 10/4/2023 |
0.9.0 | 3,016 | 10/2/2023 |
0.8.1 | 142,235 | 7/8/2023 |
0.8.0 | 25,215 | 5/17/2023 |
0.7.1 | 38,005 | 3/4/2023 |
0.6.1 | 4,971 | 1/8/2023 |
Update to DuckDB 0.10.3.