cqlc is a tool designed to simplify working with Cassandra databases by generating type-safe code from CQL queries.
-
Type-Safe Code Generation:
Automatically generates code from your CQL queries, ensuring compile-time type safety.
Currently only Golang is supported. -
Supported CQL Commands:
-
SELECT -
INSERT -
DELETE -
CREATE TABLE -
ALTER TABLE-
ADD COLUMN -
DROP COLUMN -
ALTER TYPE
-
-
DROP TABLE -
CREATE TYPE
-
-
Supported Query Annotations:
When defining your CQL queries, you can use the following annotations to specify the expected behavior of each query::one— Fetch a single row.:many— Fetch multiple rows.:exec— Execute a query without returning rows.:batch— Execute a batch of insert operations.