magic.lambda.mysql 11.0.4

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

Using MySQL from Hyperlambda

This is the MySQL data adapter for Magic. This project allows you to provide a semantic lambda structure to its slots, which in turn will dynamically create a MySQL dialect SQL statement for you, for all basic types of CRUD SQL statements. In addition, it provides slots to open a MySQL database connection, and such allows you to declare your own SQL statements to be executed towards a MySQL database. Slots this project contains are as follows.

  • [mysql.connect] - Connects to a database
  • [mysql.create] - Creates a single record in the specified table
  • [mysql.read] - Reads multiple records from the specified table
  • [mysql.update] - Updates a single record in the specified table
  • [mysql.delete] - Deletes a single record in the specified table
  • [mysql.select] - Executes an arbitrary SQL statement, and returns results of reader as lambda objects to caller
  • [mysql.scalar] - Executes an arbitrary SQL statement, and returns the result as a scalar value to caller
  • [mysql.execute] - Executes an aribitrary SQL statement
  • [mysql.transaction.create] - Creates a new transaction
  • [mysql.transaction.commit] - Explicitly commits an open transaction
  • [mysql.transaction.rollback] - Explicitly rolls back an open transaction

Notice - If you use any of the CRUD slots from above, the whole idea is that you can polymorphistically use the same lambda object, towards any of the underlaying database types, and the correct specific syntax for your particular database vendor's SQL syntax will be automatically generated. This allows you to transparently use the same lambda object, towards any of the database types Magic supports, without having to change it in any ways.

All of the slots in this project are documented in the documentation for the "magic.data.common" project. If you replace the [data.xxx] or [sql.xxx] slots with [mysql.xxx], you will use the MySQL specific slots, instead of the generic, and/or polymorphistic slots. Hence, please refer to the documentation for "magic.data.common" to see the complete documentation for this project.

Project website

The source code for this repository can be found at github.com/polterguy/magic.lambda.mysql, and you can provide feedback, provide bug reports, etc at the same place.

Quality gates

  • Build status
  • Quality Gate Status
  • Bugs
  • Code Smells
  • Coverage
  • Duplicated Lines (%)
  • Lines of Code
  • Maintainability Rating
  • Reliability Rating
  • Security Rating
  • Technical Debt
  • Vulnerabilities
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. 
.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.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on magic.lambda.mysql:

Package Downloads
magic.library

Helper project for Magic to wire up everything easily by simply adding one package, and invoking two simple methods. When using Magic, this is (probably) the only package you should actually add, since this package pulls in everything else you'll need automatically, and wires up everything sanely by default. To use package go to https://polterguy.github.io

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
17.2.0 1,090 1/22/2024
17.1.7 217 1/12/2024
17.1.6 188 1/11/2024
17.1.5 197 1/5/2024
17.0.1 232 1/1/2024
17.0.0 362 12/14/2023
16.11.5 338 11/12/2023
16.9.0 337 10/9/2023
16.7.0 574 7/11/2023
16.4.1 364 7/2/2023
16.4.0 409 6/22/2023
16.3.1 377 6/7/2023
16.3.0 340 5/28/2023
16.1.9 629 4/30/2023
15.10.11 486 4/13/2023
15.9.1 589 3/27/2023
15.9.0 494 3/24/2023
15.8.2 532 3/20/2023
15.7.0 408 3/6/2023
15.5.0 1,616 1/28/2023
15.2.0 687 1/18/2023
15.1.0 1,175 12/28/2022
14.5.7 722 12/13/2022
14.5.5 831 12/6/2022
14.5.1 681 11/23/2022
14.5.0 629 11/18/2022
14.4.5 731 10/22/2022
14.4.1 752 10/22/2022
14.4.0 693 10/17/2022
14.3.2 1,043 9/18/2022
14.3.1 782 9/12/2022
14.3.0 672 9/10/2022
14.1.3 940 8/7/2022
14.1.2 701 8/7/2022
14.1.1 679 8/7/2022
14.0.14 721 7/26/2022
14.0.12 680 7/24/2022
14.0.11 646 7/23/2022
14.0.10 684 7/23/2022
14.0.9 679 7/23/2022
14.0.8 773 7/17/2022
14.0.5 815 7/11/2022
14.0.4 844 7/6/2022
14.0.3 736 7/2/2022
14.0.2 684 7/2/2022
14.0.0 901 6/25/2022
13.4.0 2,119 5/31/2022
13.3.4 1,455 5/9/2022
13.3.0 1,002 5/1/2022
13.2.1 1,009 4/25/2022
13.2.0 794 4/21/2022
13.1.0 1,064 4/7/2022
13.0.0 767 4/5/2022
11.0.5 1,425 3/2/2022
11.0.4 799 2/22/2022
11.0.3 839 2/9/2022
11.0.2 862 2/6/2022
11.0.1 823 2/5/2022
10.0.21 811 1/28/2022
10.0.20 790 1/27/2022
10.0.19 804 1/23/2022
10.0.18 771 1/17/2022
10.0.16 794 1/14/2022
10.0.15 769 12/31/2021
10.0.14 607 12/28/2021
10.0.7 1,527 12/22/2021
10.0.5 787 12/18/2021
10.0.1 831 12/13/2021
9.9.9 1,309 11/29/2021
9.9.3 1,005 11/9/2021
9.9.2 671 11/4/2021
9.9.0 770 10/30/2021
9.8.9 744 10/29/2021
9.8.7 670 10/27/2021
9.8.6 644 10/27/2021
9.8.5 707 10/26/2021
9.8.0 1,457 10/20/2021
9.7.9 684 10/19/2021
9.7.5 1,546 10/14/2021
9.7.0 897 10/9/2021
9.6.7 702 8/30/2021
9.6.6 1,021 8/14/2021
9.4.0 3,766 6/24/2021
9.2.0 3,135 5/26/2021
9.1.4 1,317 4/21/2021
9.1.1 873 4/15/2021
9.1.0 707 4/14/2021
9.0.1 718 4/12/2021
9.0.0 608 4/5/2021
8.9.9 1,152 3/30/2021
8.9.3 1,658 3/19/2021
8.9.2 1,141 1/29/2021
8.9.1 1,108 1/24/2021
8.9.0 1,188 1/22/2021
8.7.0 2,495 11/15/2020
8.6.9 1,396 11/8/2020
8.6.6 2,101 11/2/2020
8.6.0 4,057 10/28/2020
8.5.0 1,990 10/23/2020
8.4.0 5,714 10/13/2020
8.3.1 2,739 10/5/2020
8.3.0 1,331 10/3/2020
8.2.2 2,156 9/26/2020
8.2.1 1,444 9/25/2020
8.2.0 1,420 9/25/2020
8.1.18 6,108 9/13/2020
8.1.17 1,439 9/13/2020
8.1.16 733 9/13/2020
8.1.15 2,027 9/12/2020
8.1.11 2,674 9/11/2020
8.1.10 1,409 9/6/2020
8.1.9 1,399 9/3/2020
8.1.8 1,405 9/2/2020
8.1.7 1,264 8/28/2020
8.1.4 1,316 8/25/2020
8.1.3 1,329 8/18/2020
8.1.2 1,309 8/16/2020
8.1.1 1,406 8/15/2020
8.1.0 723 8/15/2020
8.0.1 2,849 8/7/2020
8.0.0 1,330 8/7/2020
7.0.1 1,438 6/28/2020
7.0.0 1,332 6/28/2020
5.0.2 4,238 2/27/2020
5.0.1 3,329 2/25/2020
5.0.0 1,455 2/25/2020
4.0.4 7,957 1/27/2020
4.0.3 1,335 1/27/2020
4.0.2 1,496 1/16/2020
4.0.1 1,426 1/11/2020
4.0.0 1,457 1/5/2020
3.1.1 4,253 12/4/2019
3.1.0 2,832 11/10/2019
3.0.1 2,803 10/28/2019
3.0.0 1,980 10/23/2019
2.0.5 1,127 10/21/2019
2.0.4 3,496 10/19/2019
2.0.2 1,921 10/18/2019
2.0.1 3,985 10/15/2019
2.0.0 1,721 10/13/2019
1.1.9 1,477 10/11/2019
1.1.8 1,490 10/10/2019
1.1.7 659 10/9/2019
1.1.6 724 10/6/2019
1.1.5 701 10/6/2019
1.1.4 698 10/6/2019
1.1.3 716 10/5/2019
1.1.2 699 10/5/2019