ronindev

ronindev

Turso with ecto, any solution

Hey folks! :waving_hand:

I’m a big fan of SQLite and recently came across Turso, which offers distributed SQLite with edge capabilities. I was wondering — is there currently any way to integrate Turso with Elixir using Ecto?

Ideally, I’d love to use it alongside Ash Framework, and I think it would be an amazing combo — fast, lightweight, and perfect for edge/decentralized setups.

Has anyone explored this already? Or would it require a custom Ecto adapter to make it work with Turso’s libSQL backend?

Would love to hear your thoughts or experiences!

Most Liked

dimitarvp

dimitarvp

When I finally get over the slump of GitHub actions running out of memory during very tame and minimal tests, I’ll officially release my Elixir <=> Rust bridge library that works with SQLite. My test suite can very likely be reused to test Turso as well.

I’m keeping an eye on them but their Rust SQLite implemention is extremely raw.

In any case, after I release my library I’ll be neck-deep into making a 100% coverage Ecto3 adapter. Hopefully that can be reused for Turso as well.

Zero promises on distribution features however. Was never my focus and likely never will be.

dimitarvp

dimitarvp

Ah, I am aware, thanks. But I am only interested in their pure Rust thing.

Don’t know when will people finally grow up and get the elementary fact that C will never be safe. Guess not in my lifetime.

Where Next?

Popular in Questions Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
Werner
Hi, I’m using Ubuntu 18.04 and after updating to OTP-24.0 yesterday i have this warning when I run “mix local.hex”: 14:57:30.512 [warn] ...
New
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
mgjohns61585
Could someone help me? I'm making my first elixir program, number guessing game. I can't figure out how to convert the user's guess from ...
New
chensan
I have a User schema with a :from_id field set to type :string: defmodule TweetBot.Repo.Migrations.CreateUsers do use Ecto.Migration ...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
chrisalley
ExUnit now has describe blocks which is a welcome addition coming from RSpec. In the docs, it states that nested hierarchies of describe ...
New
skosch
To my knowledge, put_in, Map.update etc. all have the one limitation of not automatically creating intermediate keys when needed (for exa...
New

Other popular topics Top

KronicDeth
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine) This is a plugin that adds support for Elixir to JetBrains IntelliJ...
289 35421 110
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
qwerescape
Is there a way to get the call stack or stack trace at any point in the code? Not from exceptions, but an expression that returns how the...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
ovidiubadita
Hey all, I discovered Elixir and I love it. I always wanted to learn a functional programming and I intended to go for Haskell, but afte...
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
AstonJ
We’ve put together this wiki for Phoenix LiveView - please feel free to add any info you feel is worth including. What is Phoenix LiveV...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New

We're in Beta

About us Mission Statement