magic.lambda.pgsql 14.1.2

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

// Install magic.lambda.pgsql as a Cake Tool
#tool nuget:?package=magic.lambda.pgsql&version=14.1.2                

Using PostgreSQL from Hyperlambda

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

  • [pgsql.connect] - Connects to a database
  • [pgsql.create] - Creates a single record in the specified table
  • [pgsql.read] - Reads multiple records from the specified table
  • [pgsql.update] - Updates a single record in the specified table
  • [pgsql.delete] - Deletes a single record in the specified table
  • [pgsql.select] - Executes an arbitrary SQL statement, and returns results of reader as lambda objects to caller
  • [pgsql.scalar] - Executes an arbitrary SQL statement, and returns the result as a scalar value to caller
  • [pgsql.execute] - Executes an aribitrary SQL statement
  • [pgsql.transaction.create] - Creates a new transaction
  • [pgsql.transaction.commit] - Explicitly commits an open transaction
  • [pgsql.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 [pgsql.xxx], you will use the PgSQL 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.pgsql, 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. 
.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.pgsql:

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 425 1/22/2024
17.1.7 193 1/12/2024
17.1.6 142 1/11/2024
17.1.5 149 1/5/2024
17.0.1 202 1/1/2024
17.0.0 351 12/14/2023
16.11.5 321 11/12/2023
16.9.0 324 10/9/2023
16.7.0 557 7/11/2023
16.4.1 367 7/2/2023
16.4.0 371 6/22/2023
16.3.1 300 6/7/2023
16.3.0 314 5/28/2023
16.1.9 588 4/30/2023
15.10.11 445 4/13/2023
15.9.1 563 3/27/2023
15.9.0 427 3/24/2023
15.8.2 466 3/20/2023
15.7.0 334 3/6/2023
15.5.0 1,533 1/28/2023
15.2.0 617 1/18/2023
15.1.0 1,120 12/28/2022
14.5.7 664 12/13/2022
14.5.5 765 12/6/2022
14.5.1 629 11/23/2022
14.5.0 566 11/18/2022
14.4.5 672 10/22/2022
14.4.1 724 10/22/2022
14.4.0 614 10/17/2022
14.3.1 1,232 9/12/2022
14.3.0 603 9/10/2022
14.1.3 854 8/7/2022
14.1.2 618 8/7/2022
14.1.1 635 8/7/2022
14.0.14 629 7/26/2022
14.0.12 628 7/24/2022
14.0.11 606 7/23/2022
14.0.10 611 7/23/2022
14.0.9 598 7/23/2022
14.0.8 699 7/17/2022
14.0.5 736 7/11/2022
14.0.4 740 7/6/2022
14.0.3 670 7/2/2022
14.0.2 636 7/2/2022
14.0.0 838 6/25/2022
13.4.0 2,019 5/31/2022
13.3.4 1,393 5/9/2022
13.3.0 903 5/1/2022
13.2.0 1,118 4/21/2022
13.1.0 992 4/7/2022
13.0.0 707 4/5/2022
11.0.5 1,375 3/2/2022
11.0.4 702 2/22/2022
11.0.3 726 2/9/2022
11.0.2 749 2/6/2022
11.0.1 718 2/5/2022
10.0.21 713 1/28/2022
10.0.20 729 1/27/2022
10.0.19 711 1/23/2022
10.0.18 674 1/17/2022
10.0.16 705 1/14/2022
10.0.15 686 12/31/2021
10.0.14 532 12/28/2021
10.0.7 1,429 12/22/2021
10.0.5 695 12/18/2021
10.0.1 752 12/13/2021