https://github.com/mranv/scylla
ScyllaDB session setup and basic CRUD operations
https://github.com/mranv/scylla
database rust scylla
Last synced: 2 months ago
JSON representation
ScyllaDB session setup and basic CRUD operations
- Host: GitHub
- URL: https://github.com/mranv/scylla
- Owner: mranv
- Created: 2024-07-10T13:03:21.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-10T13:07:02.000Z (almost 2 years ago)
- Last Synced: 2025-02-28T14:08:53.850Z (over 1 year ago)
- Topics: database, rust, scylla
- Language: Rust
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ScyllaDB Rust Driver Setup
This repository contains the setup for a ScyllaDB session using the Scylla Rust driver. It includes the creation of a new keyspace and table, along with basic CRUD operations: inserting a value and querying rows from the table. The connection to ScyllaDB is configurable via the SCYLLA_URI environment variable, defaulting to localhost.
## Features
- Establish ScyllaDB session with configurable URI
- Create keyspace and table if they do not exist
- Implement insert and query operations for basic data interaction
## Getting Started
To get started with this ScyllaDB Rust driver setup, follow these steps:
1. Clone the repository: `git clone https://github.com/mranv/scylla`
2. Set the SCYLLA_URI environment variable to configure the ScyllaDB connection. If not set, it will default to localhost.
3. Build and run the application.
## Usage
Once the setup is complete, you can use the ScyllaDB Rust driver for basic data interaction with ScyllaDB. The provided code includes examples of inserting a value and querying rows from the table.
## Contributing
Contributions are welcome! If you have any ideas, suggestions, or improvements, please open an issue or submit a pull request.