LibSqlConnection
Este conteúdo não está disponível em sua língua ainda.
LibSqlConnection =
object
Defined in: src/persistence/journals/LibSqlClient.ts:54
Connection options shared by all three libSQL stores.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”authToken?
Section titled “authToken?”
readonlyoptionalauthToken?:string
Defined in: src/persistence/journals/LibSqlClient.ts:61
Turso auth token. Omit for an unauthenticated local sqld.
client?
Section titled “client?”
readonlyoptionalclient?:LibSqlClientLike
Defined in: src/persistence/journals/LibSqlClient.ts:68
Pre-built client — bypasses the lazy @libsql/client import entirely.
Use to share ONE client across the journal, snapshot and durable-state
stores (see registerLibSqlPlugins), to inject a fake in tests, or to
supply a client built with options this connection shape does not model.
readonlyoptionalurl?:string
Defined in: src/persistence/journals/LibSqlClient.ts:59
Database URL — libsql://… (Turso), or http(s):// / ws(s):// for a
self-hosted sqld. Required unless client is supplied.
