# ScyllaDB gocql driver

ScyllaDB gocql is a shard-aware fork of the Apache Cassandra GoCQL driver. It
keeps the `github.com/gocql/gocql` package API and adds ScyllaDB-specific
features, including shard-aware routing and shard-aware ports.

## Other documentation

- [Source code and releases](https://github.com/scylladb/gocql)
- [ScyllaDB documentation](https://docs.scylladb.com/)

## Contents

- [Quick start](https://gocql-driver.docs.scylladb.com/stable/quick-start.md) — install the driver and run a first query.
- [Connecting to the cluster](https://gocql-driver.docs.scylladb.com/stable/connecting/index.md) — configure contact points,
  compression, authentication, TLS, and private networking.
- [Executing CQL statements](https://gocql-driver.docs.scylladb.com/stable/statements/index.md) — execute prepared, paged,
  batch, and lightweight-transaction statements.
- [Data types](https://gocql-driver.docs.scylladb.com/stable/data-types.md) — map CQL values to Go values.
- [Load balancing](https://gocql-driver.docs.scylladb.com/stable/load-balancing.md) — route requests to replicas, data
  centers, and shards.
- [Retry policy configuration](https://gocql-driver.docs.scylladb.com/stable/retry-policy.md) — control failed execution
  attempts and statement idempotence.
- [Speculative execution](https://gocql-driver.docs.scylladb.com/stable/speculative-execution.md) — start additional
  attempts for slow idempotent requests.
