PostgreSQL helper slots for Magic allowing you to easily connect to a PostgreSQL database, and read, update, delete and insert into your database. To use package go to https://polterguy.github.io
$ dotnet add package magic.lambda.pgsqlThis is the PostreSQL data adapter for Magic. This project allows you to provide a semantic lambda structure to its slots, which in turn will dynamically create a PgSQL dialect SQL statement for you, for all basic types of CRUD SQL statements. In addition, it provides slots to open a PgSQL 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.
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 slots with , 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 read the documentation for this project.
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.
This project is the copyright(c) 2020-2021 of Thomas Hansen thomas@servergardens.com, and is licensed under the terms of the LGPL version 3, as published by the Free Software Foundation. See the enclosed LICENSE file for details.