# cznic/ql

github.com/cznic/ql has moved to modernc.org/ql

Repository: https://github.com/cznic/ql
Canonical: https://ross.abutalabs.com/products/ql
Homepage: https://godoc.org/modernc.org/ql
Language: Go
License: BSD-3-Clause
License Family: permissive
Archived: true
Last push: 2018-11-22T10:19:02+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4686, "days_push": 2841, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1298, forks 76 (observed 2026-08-28T04:04:17.132438+00:00)

## What it is
Package ql is a pure Go embedded (S)QL database engine that runs in-process without CGO, originally developed under github.com/cznic/ql. This GitHub repository is now archived and the project has moved to modernc.org/ql, which also ships an accompanying CLI tool for playing with a database.

## Use cases
- embed a sql database in a go application
- pure go sql database without cgo
- lightweight in-process database engine for go programs
- store and query structured data locally with sql
- portable embedded relational database that compiles anywhere go does
- single-user zero-dependency data storage for go apps

## When to choose
- You need an SQL database embedded directly in a Go binary with no CGO or external dependencies
- You want a storage engine written entirely in Go that is easy to cross-compile and distribute
- You are comfortable using the project's own SQL dialect with its custom types, expressions, and pattern matching

## When to avoid
- You need a mainstream, widely supported database such as SQLite, Postgres, or BoltDB with broad tooling and community support
- You require strict standard SQL compatibility or interoperability with existing SQL clients
- You are still importing the old github.com/cznic/ql path, since the repo is archived and the module now lives at modernc.org/ql
- You need multi-user, client-server, or heavy concurrent write workloads

## Facets
- artifact type: library
- maturity: maintenance
- function: database, cli
- domain: databases, developer-tools
- platform: go, cross-platform, windows
- tags: embedded-database, sql, pure-go, no-cgo, in-process, relational-database, database-engine, custom-sql-dialect, archived-repo, moved-to-modernc, linux, macos

## Member repositories
- cznic/ql (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:17.132438+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:53:49.462257+00:00, confidence not recorded.
  - readme: https://github.com/cznic/ql (fetched 2026-08-28T04:04:17.132438+00:00, sha d634138ffc44)
  - homepage: https://godoc.org/modernc.org/ql (fetched 2026-08-29T12:10:12.871775+00:00, sha 11eee4f29dd3)
  - site_page: https://pkg.go.dev/about (fetched 2026-08-29T12:10:12.883531+00:00, sha 757852027879)
  - site_page: https://pkg.go.dev/modernc.org/ql (fetched 2026-08-29T12:10:12.878548+00:00, sha 17cb22ffe9d7)
  - site_page: https://go.dev/project (fetched 2026-08-29T12:10:12.885349+00:00, sha d5ca00bb378b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
