magic.lambda.cql 14.0.0

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

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

CQL data adapters for Magic and Hyperlambda

This project provides Magic and Hyperlambda with CQL data adapters, allowing you to perform CRUD operations towards for instance Cassandra or ScyllaDB.

Slots

The project contains the following slots.

  • [cql.connect] - Creates a session towards a CQL cluster
  • [cql.execute] - Executes some CQL statement towards an open session and returns the result to caller

The basic idea of the slots are to allow for things such as follows.

cql.connect:[generic|space]
   cql.select:"select * from table where column = 'foo/bar'"

Where the generic parts above is a reference to a cluster you'll have to configure in your "appsettings.json", while the space parts above is a keyspace within that cluster. In such a regard the slots resembles the generic RDBMS slots in usage, except of course it opens a connection towards a NoSQL database such as Cassandra or ScyllaDB, and returns the result of executing your SQL towards a keyspace within that cluster. To use parameters in your CQL you can use something resembling the following.

cql.connect:[generic|space]
   cql.select:"select * from table where column1 = :foo and column2 = :bar"
      foo:bar
      bar:x:@.arguments/*/some-arg

The way arguments are resolved is that in the above example :foo becomes a reference to the [foo] node's value, and/or expression's value.

Configuration

The primary configuration for the project to apply for your "appsettings.json" file can be found below.

{
  "magic": {
    "cql": {
      "generic": {
        "host": "127.0.0.1"
      }
    }
  }
}

The above configures the adapter to use 127.0.0.1 as the host for your generic contact point or cluster. You can add as many cluster connection points as you want to, and reference these using their unique names.

Project website

The source code for this repository can be found at github.com/polterguy/magic.lambda.cql, 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

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
17.0.0 177 12/14/2023
16.11.5 132 11/12/2023
16.9.0 119 10/9/2023
16.7.0 149 7/11/2023
16.4.1 128 7/2/2023
16.4.0 124 6/22/2023
16.3.1 154 6/7/2023
16.3.0 129 5/28/2023
16.1.9 146 4/30/2023
15.10.11 181 4/13/2023
15.9.1 195 3/27/2023
15.9.0 203 3/24/2023
15.8.2 215 3/20/2023
15.7.0 205 3/6/2023
15.5.0 343 1/28/2023
15.2.0 418 1/18/2023
15.1.0 758 12/28/2022
14.5.7 468 12/13/2022
14.5.5 506 12/6/2022
14.5.1 413 11/23/2022
14.5.0 395 11/18/2022
14.4.5 479 10/22/2022
14.4.1 427 10/22/2022
14.4.0 436 10/17/2022
14.3.1 551 9/12/2022
14.3.0 360 9/10/2022
14.1.3 647 8/7/2022
14.1.2 391 8/7/2022
14.1.1 370 8/7/2022
14.0.14 418 7/26/2022
14.0.12 423 7/24/2022
14.0.11 401 7/23/2022
14.0.10 396 7/23/2022
14.0.9 388 7/23/2022
14.0.8 500 7/17/2022
14.0.5 550 7/11/2022
14.0.4 678 7/6/2022
14.0.3 637 7/2/2022
14.0.2 594 7/2/2022
14.0.0 802 6/25/2022
13.4.0 2,011 5/31/2022
13.3.4 1,357 5/9/2022
13.3.0 874 5/1/2022
13.2.0 1,110 4/21/2022
13.1.0 932 4/7/2022
13.0.0 650 4/5/2022
11.0.5 1,326 3/2/2022
11.0.4 698 2/22/2022
11.0.3 690 2/9/2022
11.0.2 740 2/6/2022
11.0.1 708 2/5/2022
10.0.21 691 1/28/2022
10.0.20 677 1/27/2022
10.0.19 713 1/23/2022