turso-cloud
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTurso Cloud Skills
Turso Cloud 技能
This skill combines documentation for working with Turso Cloud, the fully managed SQLite-compatible database platform. Pick the relevant sub-skill below.
本技能整合了使用Turso Cloud(全托管SQLite兼容数据库平台)的相关文档。请选择下方相关的子技能。
turso-cloud-js
turso-cloud-js
Work with the TypeScript/JavaScript SDK for remote Turso Cloud databases — queries, positional/named parameters, batches, and interactive transactions — plus the local-first sync family (, , ). Use when connecting to Turso Cloud from Node.js, serverless/edge functions, browsers, or React Native.
@tursodatabase/serverless@tursodatabase/sync-wasm-react-native使用 TypeScript/JavaScript SDK操作远程Turso Cloud数据库——包括查询、位置/命名参数、批量处理和交互式事务——以及本地优先同步系列库(、、)。适用于从Node.js、无服务器/边缘函数、浏览器或React Native连接到Turso Cloud的场景。
@tursodatabase/serverless@tursodatabase/sync-wasm-react-nativeturso-cloud-py
turso-cloud-py
Work with Turso Cloud from Python: for local-first databases that sync with the cloud, and for remote-only access over the libsql protocol. Use when connecting Python applications to Turso Cloud.
pytursolibsql从Python中操作Turso Cloud:使用实现与云端同步的本地优先数据库,使用通过libsql协议实现仅远程访问。适用于将Python应用连接到Turso Cloud的场景。
pytursolibsqlturso-cloud-go
turso-cloud-go
Work with Turso Cloud from Go: for local-first databases that sync with the cloud, and for remote-only access over the libsql protocol. Use when connecting Go applications to Turso Cloud.
tursogolibsql-client-go从Go中操作Turso Cloud:使用实现与云端同步的本地优先数据库,使用通过libsql协议实现仅远程访问。适用于将Go应用连接到Turso Cloud的场景。
tursogolibsql-client-goturso-cloud-rust
turso-cloud-rust
Work with Turso Cloud from Rust: the crate ( feature) for local-first databases that sync with the cloud, and the crate for remote-only access over the libsql protocol. Use when connecting Rust applications to Turso Cloud.
tursosynclibsql从Rust中操作Turso Cloud:使用 crate(特性)实现与云端同步的本地优先数据库,使用 crate通过libsql协议实现仅远程访问。适用于将Rust应用连接到Turso Cloud的场景。
tursosynclibsqlturso-cloud-auth
turso-cloud-auth
Authenticate and authorize access to Turso Cloud databases: database URLs, platform tokens via the Turso CLI, scoping (group/database/read-only/time-limited), fine-grained per-table permissions, external auth providers via JWKS (Clerk, Auth0), and token invalidation. Use when issuing credentials, restricting what a client can do, or wiring an existing auth provider to Turso.
对Turso Cloud数据库的访问进行身份认证与授权:数据库URL、通过Turso CLI生成的平台令牌、权限范围(分组/数据库/只读/限时)、细粒度的单表权限、通过JWKS集成外部认证提供商(Clerk、Auth0),以及令牌失效。适用于颁发凭证、限制客户端操作权限,或将现有认证提供商与Turso集成的场景。
turso-cloud-vercel
turso-cloud-vercel
Use and manage Turso Cloud databases provisioned through the Vercel Marketplace (integration slug ): injected environment variables, inspecting and provisioning resources with the Vercel CLI, region selection, and safety rules for credentials and destructive operations. Use when a Vercel project has — or needs — a Turso database.
tursocloud使用和管理通过Vercel市场(集成标识)配置的Turso Cloud数据库:注入环境变量、使用Vercel CLI检查和配置资源、区域选择,以及凭证和破坏性操作的安全规则。适用于Vercel项目已使用或需要Turso数据库的场景。
tursocloudTurso Cloud features
Turso Cloud 功能
Turso Cloud databases support these features out of the box:
- Vector search — native similarity search for AI/RAG workflows, no extensions needed. Supports cosine, L2, and L1 distance functions with DiskANN indexing.
- Full-text search — keyword search with BM25 ranking via built-in FTS support.
- AI & embeddings — native vector types for storing and querying embeddings.
- Branching — create isolated copy-on-write database branches for testing/staging.
- Point-in-time recovery — restore databases to any previous point in time (retention depends on plan).
- Embedded replicas — local replicas that sync with Turso Cloud for fast reads and offline support.
- SQLite extensions — JSON, FTS5, R*Tree, SQLean, UUID, regexp.
Turso Cloud数据库默认支持以下功能:
- 向量搜索 — 用于AI/RAG工作流的原生相似度搜索,无需扩展。支持余弦、L2和L1距离函数,以及DiskANN索引。
- 全文搜索 — 通过内置FTS支持实现带BM25排序的关键词搜索。
- AI与嵌入 — 用于存储和查询嵌入向量的原生向量类型。
- 分支功能 — 创建独立的写时复制数据库分支,用于测试/预发布环境。
- 时间点恢复 — 将数据库恢复到任意历史时间点(保留时长取决于套餐)。
- 嵌入式副本 — 与Turso Cloud同步的本地副本,实现快速读取和离线支持。
- SQLite扩展 — JSON、FTS5、R*Tree、SQLean、UUID、正则表达式。
Further reading
延伸阅读
Turso online docs — (Mintlify — append to any URL path for raw markdown, e.g. ). Each sub-skill carries its own docs links; general references:
https://docs.turso.tech.mdhttps://docs.turso.tech/sdk/ts/quickstart.md| Topic | URL |
|---|---|
| AI & embeddings | |
| Embedded replicas | |
| Cloud limitations | |
| SQLite extensions | |
| Full docs index (for LLMs) | |
Turso 在线文档 — (基于Mintlify — 在任意URL路径后追加即可获取原始Markdown文件,例如)。每个子技能都带有各自的文档链接;通用参考如下:
https://docs.turso.tech.mdhttps://docs.turso.tech/sdk/ts/quickstart.md| 主题 | URL |
|---|---|
| AI与嵌入 | |
| 嵌入式副本 | |
| 云端限制 | |
| SQLite扩展 | |
| 完整文档索引(供LLM使用) | |