Skip to main content

Extensions

Turso provides several built-in extensions that add specialized SQL functions and virtual tables. Extensions can be loaded at runtime using the load_extension() function.

Loading Extensions

Turso supports loading Turso-native extensions. SQLite .so/.dll loadable extensions are not supported.

UUID Extension

The UUID extension provides functions for generating and working with UUIDs. UUIDs are stored as 16-byte BLOBs by default.

Functions

Examples

Regexp Extension

The regexp extension provides regular expression functions compatible with sqlean-regexp.

Functions

Examples

Vector Extension

Turso Extension: Native vector search for similarity search and semantic search applications.
The vector extension provides functions for creating, storing, and searching vector embeddings. Vectors are stored as BLOBs. For the complete function reference, see Vector Functions.

Quick Reference

Example

Time Extension

The time extension is compatible with sqlean-time and provides advanced time manipulation functions.

Key Functions

Duration Constants

Example

Full-Text Search (FTS)

Turso Extension: Full-text search powered by Tantivy, replacing SQLite’s FTS3/FTS4/FTS5.
Turso provides full-text search through the FTS index method. For the complete reference including query syntax, tokenizers, and scoring, see FTS Functions.

Quick Reference

CSV Extension

The CSV extension provides a virtual table for reading CSV files.

Usage

Percentile Extension

Statistical aggregate functions for computing percentiles.

Functions

Examples

generate_series

The generate_series table-valued function generates a sequence of integers.

See Also