libSQL is an open-source fork of SQLite with added features like a server mode and replication. It’s SQLite-compatible, so QueryBear queries it through the same read-only security gateway used for local SQLite.Documentation Index
Fetch the complete documentation index at: https://docs.querybear.com/llms.txt
Use this file to discover all available pages before exploring further.
Connection options
libSQL can run in several modes:- Local file — a libSQL/SQLite file on disk. Point QueryBear at the file path, exactly like local SQLite.
- Server mode (
sqld) — libSQL running as a server, reachable over anhttp://orlibsql://URL, optionally with an auth token. - Hosted (Turso) — see the dedicated Turso integration.
Add the connection to QueryBear
In the QueryBear dashboard → Connections → New connection → SQLite / libSQL:- Local file: provide the absolute path to the
.db/ libSQL file. - Server mode: provide the
http:///libsql://URL (and auth token if yoursqldrequires one).
libSQL-specific notes
- Read-only enforced at the QueryBear gateway. If your
sqldserver supports read-only tokens, use one for defense in depth. ATTACH DATABASEis blocked at the parser.- SQLite feature parity: JSON1 functions, FTS5 virtual tables, and views all work.