FireboltNetSDK 0.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package FireboltNetSDK --version 0.0.1
NuGet\Install-Package FireboltNetSDK -Version 0.0.1
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="FireboltNetSDK" Version="0.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FireboltNetSDK --version 0.0.1
#r "nuget: FireboltNetSDK, 0.0.1"
#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 FireboltNetSDK as a Cake Addin
#addin nuget:?package=FireboltNetSDK&version=0.0.1

// Install FireboltNetSDK as a Cake Tool
#tool nuget:?package=FireboltNetSDK&version=0.0.1

firebolt-net-sdk

License

This is an implementation of .NET Core driver(.NET 6) for Firebolt DB in a form of ADO.NET DbProvider API. Supports all latest .NET frameworks and all platforms.

This project is developed under Visual Studio 2022. Earlier versions of Visual Studio are not supported.

Installing the Package

Packages can be directly downloaded from nuget.org.

It can also be downloaded using Visual Studio UI (Tools > NuGet Package Manager > Manage NuGet Packages for Solution and search for "Firebolt")

Alternatively, packages can also be downloaded using Package Manager Console:

PM> Install-Package Firebolt

Examples

The following example demonstrates how to open a connection to Firebolt

            string database = "****";
            var username = "****";
            var password = "****";
            string endpoint = "****";
            string account = "firebolt";
            string engine = "****";
            string conn_string = $"database={database};username={username};password={password};endpoint={endpoint};account={account}";
          
            using var conn = new FireboltConnection(conn_string);
           
            conn.Open();

            conn.Close();

Connect and set specific engine if empty will take default

    
            string conn_string = $"database={database};username={username};password={password};endpoint={endpoint};";
          
            using var conn = new FireboltConnection(conn_string);
           
            conn.Open();

            conn.SetEngine(engine);

            conn.Close();

Execute command


            var connString = $"database={_database};username={_username};password={_password};endpoint={_endpoint};";

            using var conn = new FireboltConnection(connString);
            conn.Open();

            var cursor = conn.CreateCursor();

            cursor.Execute("SELECT 1");

            conn.Close();

Execute command with SET parameter

            var connString = $"database={_database};username={_username};password={_password};endpoint={_endpoint};account={_account}";

            using var conn = new FireboltConnection(connString);
            conn.Open();

            var cursor = conn.CreateCursor();
            cursor.Execute("SET use_standard_sql=0");

            cursor.Execute("SELECT 1");

            conn.Close();
Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.0 68 4/30/2024
1.0.0 90 2/5/2024
1.0.0-alpha 178 11/3/2023
0.2.0 229 3/3/2023
0.1.0 236 1/20/2023
0.0.1 273 8/19/2022

Initial release of a Firebolt .NET sdk. Supported features
- Authentication
- SQL Query execution
- SET statement support