CockroachDB

This page contains the latest information of the releases of RepoDb.CockroachDb library.

View the NuGet package here or download it directly here.

RepoDb.CockroachDb (v0.0.1-alpha1) - Preview

Released: September 26, 2026

New

First (alpha) release of the dedicated CockroachDB provider for RepoDB, built on top of the Npgsql-backed RepoDb.Connector.CockroachDb — a thin ADO.NET wrapper and type-mapping layer that exposes CockroachDB-specific, CockroachDb-prefixed objects (CockroachDbConnection, CockroachDbParameter, CockroachDbType, etc.).

What’s included

Known limitations (v1)

  • RepoDb.Connector.CockroachDb is an independent, unofficial ADO.NET provider for CockroachDB (a thin wrapper over Npgsql) — not affiliated with or endorsed by Cockroach Labs, and still in early development.
  • InsertAll’s generated key retrieval assumes the RETURNING clause of a multi-row INSERT returns rows in the same order they were listed — this has not been independently verified against CockroachDB.
  • The spatial (geometry, geography) types have no CLR representation and resolve to typeof(object).
  • No native GUID storage distinction beyond uuid — arrays and other CockroachDB-only types not listed by ClientTypeToCockroachDbTypeResolver throw when an explicit CockroachDbType can’t be inferred.

Bumps

  • Referenced the RepoDb package v1.17.0-alpha2.
  • References the RepoDb.Connector.CockroachDb package v0.0.1-alpha1.