magic.lambda.cql
14.1.2
See the version list below for details.
dotnet add package magic.lambda.cql --version 14.1.2
NuGet\Install-Package magic.lambda.cql -Version 14.1.2
<PackageReference Include="magic.lambda.cql" Version="14.1.2" />
paket add magic.lambda.cql --version 14.1.2
#r "nuget: magic.lambda.cql, 14.1.2"
// Install magic.lambda.cql as a Cake Addin #addin nuget:?package=magic.lambda.cql&version=14.1.2 // Install magic.lambda.cql as a Cake Tool #tool nuget:?package=magic.lambda.cql&version=14.1.2
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
Product | Versions 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. |
-
.NETStandard 2.0
- CassandraCSharpDriver (>= 3.17.1)
- magic.node.extensions (>= 14.1.2)
- magic.signals (>= 14.1.2)
- Microsoft.Extensions.Configuration (>= 6.0.0)
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 | 224 | 12/14/2023 |
16.11.5 | 164 | 11/12/2023 |
16.9.0 | 150 | 10/9/2023 |
16.7.0 | 176 | 7/11/2023 |
16.4.1 | 155 | 7/2/2023 |
16.4.0 | 152 | 6/22/2023 |
16.3.1 | 181 | 6/7/2023 |
16.3.0 | 158 | 5/28/2023 |
16.1.9 | 174 | 4/30/2023 |
15.10.11 | 210 | 4/13/2023 |
15.9.1 | 223 | 3/27/2023 |
15.9.0 | 230 | 3/24/2023 |
15.8.2 | 243 | 3/20/2023 |
15.7.0 | 232 | 3/6/2023 |
15.5.0 | 374 | 1/28/2023 |
15.2.0 | 451 | 1/18/2023 |
15.1.0 | 788 | 12/28/2022 |
14.5.7 | 505 | 12/13/2022 |
14.5.5 | 535 | 12/6/2022 |
14.5.1 | 440 | 11/23/2022 |
14.5.0 | 429 | 11/18/2022 |
14.4.5 | 507 | 10/22/2022 |
14.4.1 | 456 | 10/22/2022 |
14.4.0 | 461 | 10/17/2022 |
14.3.1 | 579 | 9/12/2022 |
14.3.0 | 384 | 9/10/2022 |
14.1.3 | 675 | 8/7/2022 |
14.1.2 | 418 | 8/7/2022 |
14.1.1 | 391 | 8/7/2022 |
14.0.14 | 440 | 7/26/2022 |
14.0.12 | 449 | 7/24/2022 |
14.0.11 | 429 | 7/23/2022 |
14.0.10 | 423 | 7/23/2022 |
14.0.9 | 415 | 7/23/2022 |
14.0.8 | 523 | 7/17/2022 |
14.0.5 | 570 | 7/11/2022 |
14.0.4 | 710 | 7/6/2022 |
14.0.3 | 670 | 7/2/2022 |
14.0.2 | 625 | 7/2/2022 |
14.0.0 | 840 | 6/25/2022 |
13.4.0 | 2,075 | 5/31/2022 |
13.3.4 | 1,406 | 5/9/2022 |
13.3.0 | 908 | 5/1/2022 |
13.2.0 | 1,151 | 4/21/2022 |
13.1.0 | 971 | 4/7/2022 |
13.0.0 | 681 | 4/5/2022 |
11.0.5 | 1,371 | 3/2/2022 |
11.0.4 | 748 | 2/22/2022 |
11.0.3 | 721 | 2/9/2022 |
11.0.2 | 773 | 2/6/2022 |
11.0.1 | 740 | 2/5/2022 |
10.0.21 | 721 | 1/28/2022 |
10.0.20 | 704 | 1/27/2022 |
10.0.19 | 741 | 1/23/2022 |