Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/daniel-boll/scylla-csharp-rust-driver

Wrapper around ScyllaDB's rust-driver compatible with Datastax csharp-driver.
https://github.com/daniel-boll/scylla-csharp-rust-driver

Last synced: about 17 hours ago
JSON representation

Wrapper around ScyllaDB's rust-driver compatible with Datastax csharp-driver.

Awesome Lists containing this project

README

        

ScyllaDB C#-Rust Driver

Wrapper around ScyllaDB's rust-driver compatible with Datastax csharp-driver.

## Examples

```cs
var cluster = Cluster.Builder()
.AddContactPoints("localhost:9042")
.Build();

var session = await cluster.Connect("system_schema");

var rs = await session.Execute("SELECT * FROM tables LIMIT 2");

foreach (var row in rs) {
Console.WriteLine(row.GetValue("table_name"));
Console.WriteLine(row.GetValue("default_time_to_live"));
}
```