magic.lambda.cql 14.0.8

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.8                
NuGet\Install-Package magic.lambda.cql -Version 14.0.8                
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.8" />                
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.8                
#r "nuget: magic.lambda.cql, 14.0.8"                
#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.8

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

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 225 12/14/2023
16.11.5 165 11/12/2023
16.9.0 151 10/9/2023
16.7.0 177 7/11/2023
16.4.1 156 7/2/2023
16.4.0 153 6/22/2023
16.3.1 182 6/7/2023
16.3.0 159 5/28/2023
16.1.9 175 4/30/2023
15.10.11 211 4/13/2023
15.9.1 224 3/27/2023
15.9.0 231 3/24/2023
15.8.2 244 3/20/2023
15.7.0 235 3/6/2023
15.5.0 375 1/28/2023
15.2.0 452 1/18/2023
15.1.0 789 12/28/2022
14.5.7 506 12/13/2022
14.5.5 537 12/6/2022
14.5.1 441 11/23/2022
14.5.0 430 11/18/2022
14.4.5 508 10/22/2022
14.4.1 457 10/22/2022
14.4.0 464 10/17/2022
14.3.1 580 9/12/2022
14.3.0 385 9/10/2022
14.1.3 676 8/7/2022
14.1.2 419 8/7/2022
14.1.1 392 8/7/2022
14.0.14 441 7/26/2022
14.0.12 450 7/24/2022
14.0.11 432 7/23/2022
14.0.10 424 7/23/2022
14.0.9 416 7/23/2022
14.0.8 524 7/17/2022
14.0.5 573 7/11/2022
14.0.4 713 7/6/2022
14.0.3 671 7/2/2022
14.0.2 626 7/2/2022
14.0.0 841 6/25/2022
13.4.0 2,078 5/31/2022
13.3.4 1,407 5/9/2022
13.3.0 909 5/1/2022
13.2.0 1,152 4/21/2022
13.1.0 974 4/7/2022
13.0.0 682 4/5/2022
11.0.5 1,372 3/2/2022
11.0.4 749 2/22/2022
11.0.3 722 2/9/2022
11.0.2 774 2/6/2022
11.0.1 741 2/5/2022
10.0.21 722 1/28/2022
10.0.20 705 1/27/2022
10.0.19 742 1/23/2022