Sels.SQL.QueryBuilder 1.0.0-beta-000321

This is a prerelease version of Sels.SQL.QueryBuilder.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Sels.SQL.QueryBuilder --version 1.0.0-beta-000321
                    
NuGet\Install-Package Sels.SQL.QueryBuilder -Version 1.0.0-beta-000321
                    
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="Sels.SQL.QueryBuilder" Version="1.0.0-beta-000321" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Sels.SQL.QueryBuilder" Version="1.0.0-beta-000321" />
                    
Directory.Packages.props
<PackageReference Include="Sels.SQL.QueryBuilder" />
                    
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 Sels.SQL.QueryBuilder --version 1.0.0-beta-000321
                    
#r "nuget: Sels.SQL.QueryBuilder, 1.0.0-beta-000321"
                    
#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 Sels.SQL.QueryBuilder@1.0.0-beta-000321
                    
#: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=Sels.SQL.QueryBuilder&version=1.0.0-beta-000321&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Sels.SQL.QueryBuilder&version=1.0.0-beta-000321&prerelease
                    
Install as a Cake Tool

Framework for creating sql queries using fluent builders.
Uses a (somewhat) easy to extend expression system that gets compiled into SQL using compilers.
Can be used for simple queries or more advanced queries (Joins, conditions (WHERE), sub queries, order by, group by, functions (MIN, AVG, ...), Union, case when then else, ...)

Supports the following sql statements:
- Insert
- Update
- Delete
- Select
- Common table expressions (CTE)
- If, else if, else
- Declare variable
- Set variable

Use IServiceCollection.AddSqlQueryProvider() or IServiceCollection.AddCachedSqlQueryProvider to inject ISqlQueryProvider or ICachedSqlQueryProvider to start building sql queries.

Official compilers:
- Sels.SQL.QueryBuilder.MySQL

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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.  net9.0 was computed.  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. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen 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.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Sels.SQL.QueryBuilder:

Package Downloads
Sels.Core.Data.SQL

Contains code for working with Sql based databases. Used by projects maintained here: https://github.com/Jenssels1998

Sels.SQL.QueryBuilder.MySQL

MySQL compiler for Sels.SQL.QueryBuilder. Supports MySQL and MariaDB. Custom expressions: - SELECT FOR UPDATE - INSERT ON DUPLICATE KEY - SELECT LIMIT - RECURSIVE Cte - MariaDB RETURNING - NOW, UTC_TIMESTAMP, DATE_ADD, CONCACT functions Start creating queries using one of the following static helper methods: - Sels.SQL.QueryBuilder.MySQL.MySql.Insert(); - Sels.SQL.QueryBuilder.MySQL.MySql.Update(); - Sels.SQL.QueryBuilder.MySQL.MySql.Delete(); - Sels.SQL.QueryBuilder.MySQL.MySql.Select(); - Sels.SQL.QueryBuilder.MySQL.MySql.With(); - Sels.SQL.QueryBuilder.MySQL.MySql.If(); - Sels.SQL.QueryBuilder.MySQL.MySql.Set(); Use IServiceCollection.AddMySqlQueryProvider() or IServiceCollection.AddCachedMySqlQueryProvider to inject ISqlQueryProvider or ICachedSqlQueryProvider to start building MySQL queries.

Sels.DistributedLocking.SQL

Locking provider that uses a ISqlLockProvider to manage lock state. Uses basic sql locking for concurrency. Exposes a BaseSqlLockRepository that can be implemented to provide support for more RDBMS.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-beta-000345 125 11/25/2024
1.0.0-beta-000343 129 11/6/2024
1.0.0-beta-000337 156 8/18/2024
1.0.0-beta-000331 125 6/25/2024
1.0.0-beta-000330 139 6/25/2024
1.0.0-beta-000325 153 4/26/2024
1.0.0-beta-000322 167 4/3/2024
1.0.0-beta-000321 159 4/1/2024
1.0.0-beta-000319 157 1/29/2024
1.0.0-beta-000318 139 1/28/2024
1.0.0-beta-000314 148 1/26/2024
1.0.0-beta-000313 170 1/20/2024
1.0.0-beta-000312 196 1/7/2024
1.0.0-beta-000311 192 1/3/2024
1.0.0-beta-000310 168 1/2/2024
1.0.0-beta-000309 186 12/28/2023
1.0.0-beta-000308 158 12/22/2023
1.0.0-beta-000307 194 12/8/2023
1.0.0-beta-000306 141 12/8/2023
1.0.0-beta-000301 217 10/22/2023
1.0.0-beta-000300 166 10/15/2023
1.0.0-beta-000299 145 10/15/2023
1.0.0-beta-000298 144 10/12/2023
1.0.0-beta-000297 173 9/18/2023
1.0.0-beta-000296 189 9/7/2023
1.0.0-beta-000295 173 9/6/2023
1.0.0-beta-000294 164 9/6/2023
1.0.0-beta-000293 175 9/6/2023
1.0.0-beta-000292 163 9/4/2023
1.0.0-beta-000291 166 9/4/2023
1.0.0-beta-000290 192 8/17/2023
1.0.0-beta-000287 234 8/15/2023
1.0.0-beta-000286 222 7/16/2023
1.0.0-beta-000281 172 5/14/2023
1.0.0-beta-000280 185 5/13/2023