Documentation menu

Docs / Clients

libSQL clients and ORMs

A libSQL-compatible HTTP endpoint, and the ORMs that come with it, are planned for v1. They are not available today.

Coming View Markdown

Coming. Gauntlet's HTTP API is its own JSON shape. A libSQL SDK pointed at a Gauntlet node will not work today.

#What is planned

Item Plan What it will add
libSQL-compatible HTTP endpoint P10.2 A route to the existing libSQL client and ORM ecosystem, in the dialect Gauntlet already speaks
Certified client and ORM list P10.8 One page of what works, what is partial and what is refused, per combination
SDK helpers P10.7 Retry on 40001 and outcome lookup on 40003, which no stock driver does

#Why libSQL and not PostgreSQL

Gauntlet's SQL is the SQLite family. The libSQL protocol carries that dialect, so tools built for it send SQL Gauntlet can run. Promising PostgreSQL compatibility would mean PostgreSQL types, pg_catalog and a second SQL dialect; that is not planned for v1. PostgreSQL wire stays a transport.

#Until then

  • Use a PostgreSQL driver with hand-written SQL: PostgreSQL wire.
  • From an edge runtime that has only fetch, call the HTTP API directly.

Search runs in your browser over an index of these pages. No query leaves this site.