docker exec -it scylla cqlsh
CREATE KEYSPACE my_keyspace
WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1};
USE my_keyspace;
CREATE TABLE users (
id UUID PRIMARY KEY,
name text,
age int,
email text
);
INSERT INTO users (id, name, age, email)
VALUES (uuid(), 'Alice', 28, '[email protected]');
- To run the example we need to first build the examples using the following command:
cargo build
- Run the example with dapr using the following command:
cargo run
If everything went well you should see the following output: