Skip to content

Implement Turso support (basically SQLite)#1311

Open
brandur wants to merge 1 commit into
masterfrom
brandur-turso
Open

Implement Turso support (basically SQLite)#1311
brandur wants to merge 1 commit into
masterfrom
brandur-turso

Conversation

@brandur

@brandur brandur commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Here, start testing against Turso, which is a SQLite-compatible database
rewritten in Rust and with some nice additional features. There are a
couple minor tweaks we need to make to SQLite queries to make this work,
but nothing major, so the idea here is that like libSQL, we can get
Turso support without any major maintenance overhead and hopefully make
it a bit of a PR win.

I tried to do this originally a few months ago, but Turso had a few bugs
around JSON handling that we couldn't work our way around. These were
fixed recently, so now it's possible to do.

@brandur
brandur force-pushed the brandur-turso branch 6 times, most recently from 5cecee3 to fd35a4e Compare July 17, 2026 19:31
@brandur
brandur requested a review from bgentry July 17, 2026 19:33
Here, start testing against Turso, which is a SQLite-compatible database
rewritten in Rust and with some nice additional features. There are a
couple minor tweaks we need to make to SQLite queries to make this work,
but nothing major, so the idea here is that like libSQL, we can get
Turso support without any major maintenance overhead and hopefully make
it a bit of a PR win.

I tried to do this originally a few months ago, but Turso had a few bugs
around JSON handling that we couldn't work our way around. These were
fixed recently, so now it's possible to do.
@brandur

brandur commented Jul 17, 2026

Copy link
Copy Markdown
Contributor Author

@bgentry Thoughts on this one? Managed to get the diff down to be pretty small, so it shouldn't have too much future effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant