turso-cloud

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Turso 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
@tursodatabase/serverless
TypeScript/JavaScript SDK for remote Turso Cloud databases — queries, positional/named parameters, batches, and interactive transactions — plus the local-first sync family (
@tursodatabase/sync
,
-wasm
,
-react-native
). Use when connecting to Turso Cloud from Node.js, serverless/edge functions, browsers, or React Native.
使用
@tursodatabase/serverless
TypeScript/JavaScript SDK操作远程Turso Cloud数据库——包括查询、位置/命名参数、批量处理和交互式事务——以及本地优先同步系列库(
@tursodatabase/sync
-wasm
-react-native
)。适用于从Node.js、无服务器/边缘函数、浏览器或React Native连接到Turso Cloud的场景。

turso-cloud-py

turso-cloud-py

Work with Turso Cloud from Python:
pyturso
for local-first databases that sync with the cloud, and
libsql
for remote-only access over the libsql protocol. Use when connecting Python applications to Turso Cloud.
从Python中操作Turso Cloud:使用
pyturso
实现与云端同步的本地优先数据库,使用
libsql
通过libsql协议实现仅远程访问。适用于将Python应用连接到Turso Cloud的场景。

turso-cloud-go

turso-cloud-go

Work with Turso Cloud from Go:
tursogo
for local-first databases that sync with the cloud, and
libsql-client-go
for remote-only access over the libsql protocol. Use when connecting Go applications to Turso Cloud.
从Go中操作Turso Cloud:使用
tursogo
实现与云端同步的本地优先数据库,使用
libsql-client-go
通过libsql协议实现仅远程访问。适用于将Go应用连接到Turso Cloud的场景。

turso-cloud-rust

turso-cloud-rust

Work with Turso Cloud from Rust: the
turso
crate (
sync
feature) for local-first databases that sync with the cloud, and the
libsql
crate for remote-only access over the libsql protocol. Use when connecting Rust applications to Turso Cloud.
从Rust中操作Turso Cloud:使用
turso
crate(
sync
特性)实现与云端同步的本地优先数据库,使用
libsql
crate通过libsql协议实现仅远程访问。适用于将Rust应用连接到Turso Cloud的场景。

turso-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
tursocloud
): 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.
使用和管理通过Vercel市场(集成标识
tursocloud
)配置的Turso Cloud数据库:注入环境变量、使用Vercel CLI检查和配置资源、区域选择,以及凭证和破坏性操作的安全规则。适用于Vercel项目已使用或需要Turso数据库的场景。

Turso 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
https://docs.turso.tech
(Mintlify — append
.md
to any URL path for raw markdown, e.g.
https://docs.turso.tech/sdk/ts/quickstart.md
). Each sub-skill carries its own docs links; general references:
TopicURL
AI & embeddings
https://docs.turso.tech/features/ai-and-embeddings.md
Embedded replicas
https://docs.turso.tech/features/embedded-replicas/introduction.md
Cloud limitations
https://docs.turso.tech/cloud/limitations.md
SQLite extensions
https://docs.turso.tech/features/sqlite-extensions.md
Full docs index (for LLMs)
https://docs.turso.tech/llms.txt
Turso 在线文档
https://docs.turso.tech
(基于Mintlify — 在任意URL路径后追加
.md
即可获取原始Markdown文件,例如
https://docs.turso.tech/sdk/ts/quickstart.md
)。每个子技能都带有各自的文档链接;通用参考如下:
主题URL
AI与嵌入
https://docs.turso.tech/features/ai-and-embeddings.md
嵌入式副本
https://docs.turso.tech/features/embedded-replicas/introduction.md
云端限制
https://docs.turso.tech/cloud/limitations.md
SQLite扩展
https://docs.turso.tech/features/sqlite-extensions.md
完整文档索引(供LLM使用)
https://docs.turso.tech/llms.txt