Categorygithub.com/razcoen/cqlc
repository
0.6.1
Repository: https://github.com/razcoen/cqlc.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

cqlc

GitHub CI codecov Go Report Card


cqlc is a tool designed to simplify working with Cassandra databases by generating type-safe code from CQL queries.

Overview

Features

  • 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.