Carbunqlex 0.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Carbunqlex --version 0.0.2
                    
NuGet\Install-Package Carbunqlex -Version 0.0.2
                    
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="Carbunqlex" Version="0.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Carbunqlex" Version="0.0.2" />
                    
Directory.Packages.props
<PackageReference Include="Carbunqlex" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Carbunqlex --version 0.0.2
                    
#r "nuget: Carbunqlex, 0.0.2"
                    
#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.
#:package Carbunqlex@0.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Carbunqlex&version=0.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Carbunqlex&version=0.0.2
                    
Install as a Cake Tool

CarbunqleX - SQL Parser and Modeler

CarbunqleX dramatically improves the reusability and maintainability of RawSQL.

By deeply analyzing the AST of RawSQL—including subqueries and CTEs—it enables advanced query modifications while preserving semantic integrity. With CarbunqleX, you can:

  • Overwrite selection columns
  • Insert JOIN and WHERE conditions
  • Transform queries into various SQL statements (CREATE TABLE AS, INSERT INTO, UPDATE, DELETE)

🚀 Advanced CTE Handling

One of CarbunqleX's most powerful features is its flexible handling of CTEs.
Normally, CTEs are limited to the WITH clause and cannot be directly referenced in WHERE or JOIN conditions.
However, CarbunqleX detects existing CTEs and lifts them to the top level, allowing seamless inclusion in conditions where they would otherwise be invalid.
This enables highly dynamic and reusable query transformations.

💥 Easy Insertion of Search Conditions

Another standout feature of CarbunqleX is its ease of inserting search conditions.
With AST parsing, the library automatically identifies the most effective point for insertion, such as within subqueries or CTEs, ensuring that the conditions are applied optimally.

Unlike general libraries where you have to manually specify where to insert search conditions (usually at the top level of the query), CarbunqleX automatically detects the deepest relevant level of the query and inserts conditions at that level.
For instance, when dealing with a GROUP BY query, it's crucial to insert search conditions before the grouping to ensure they are effective. CarbunqleX handles this seamlessly without you needing to worry about the hierarchical structure of the query!

🔥 Lightweight & Easy to Use

  • Minimal dependencies – Works directly with RawSQL
  • No special setup or DBMS required – Operates purely on query strings
  • Seamless integration – Works alongside general ORM libraries

Let's make RawSQL more powerful and reusable with CarbunqleX!

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.
  • net9.0

    • No dependencies.

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
0.0.4 196 3/11/2025
0.0.3 173 3/9/2025
0.0.2.1 125 3/2/2025
0.0.2 106 3/1/2025