Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/daniel-boll/scylla-csharp-rust-driver
- Owner: Daniel-Boll
- Created: 2024-06-19T01:56:58.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-06-19T01:57:52.000Z (5 months ago)
- Last Synced: 2024-06-19T08:52:12.186Z (5 months ago)
- Language: Rust
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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"));
}
```