zachdaniel
Creator of Ash
Hey folks! We’ve just released the beta 0.1.0 version of ash_sqlite. Take a look at the guide here: https://hexdocs.pm/ash_sqlite/get-started-with-sqlite.html
Keep in mind, this is an initial beta release! I’ve tried it out, it’s been smooth for me, but there will almost certainly be some issues that need to be addressed.
Happy hacking!
Big thanks to @warmwaffles for getting some changes in and cutting a release so that we could launch!
Trending in News & Updates
Hologram v0.12 is out! This one is for the big apps. Evo Store, Hologram’s Performance Sponsor, has an app with over 9,000 Elixir modules...
New
Your standard application generally only tracks what is true right now. Updates overwrite previous data, and asking questions about the p...
New
ReqLLM v1.28.0 has been released.
Features:
add StepFun chat and audio providers (#1087) by mikehostetler
openai: honour image deta...
New
Doggo 0.18.3 has been released.
Added
tabs: Add a disabled attribute to the :panel slot. A disabled tab can be focused with the arrow k...
New
Nerves v2.0.0-pre.4 and v2.0.0-pre.3 has been released.
Changes
Fix typo preventing SOURCE_DATE_EPOCH from propogating through the
fi...
New
Mob 0.9.17, 0.9.16 and 0.9.15 has been released.
Added
Async work in screens, the LiveView way. Mob.Socket.start_async/3 runs
a functi...
New
Finitomata v1.0.0-rc.0 and v0.43.0 has been released.
Published to Hex.pm: finitomata | Hex
Documentation: Finitomata v1.0.0-rc.0 — Doc...
New
Other Trending Topics
A little off-topic, but I feel like people here have a good head on their shoulders.
I used to be quite good at making software. Was luc...
New
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with.
But I don’t use it anymore.
Serverless was the promis...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixirconf-us
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #elixirconf-eu
- #api
- #forms
- #security
- #metaprogramming










Showing Posts 1 to 5- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
warmwaffles
If you encounter and issues, feel free to open tickets.
mayl
Exciting!
As far as the Ash ecosystem goes, were there any features of Ash Postgres which Ash Sqlite wasn’t able to support? Or are they full one to one replacements for each other?
zachdaniel
There are various features we could not support. The big ones are aggregates and certain expressions do not have a parallel (or one that we cared to build in the first release) in
SQLite3. For example,concat_ws([list, of, things])is not supported.Aggregates are a pretty big feature and not being able to use them may or may not affect a given use case. You can always use calculations to extract similar data, but it likely won’t be usable in filters and sorts unless you write it as a fragment that does a subquery.
We will most likely be able to support all aggregate types except for
listat some point, but we couldn’t use the implementation fromash_postgresbecause it uses lateral joins which are not available inSQLite3. Something new will need to be devised forAshSqlite.Another issue w/ the current implementation is that the migration generator currently is essentially fully copied from
AshPostgresbutAshPostgresuses alter column and that is not supported bySQLite3, meaning that those migrations need to be adjusted by hand. We should fix the migration generator to have it do something like warn to the user and drop some comments in the migration file, or something like that. Still TBD.While I’m using
AshSqlite3In https://ash-hq.org I will likely not need any advanced feature support at any point in the near future, so hopefully those that do use it can champion pushing it forward in the above regards.Neophen
Hey people I’m new to ash. any ideas how i could do this would be really nice.

I have a table like this.
I want to create a read action something like:
This action would return the title/content as string from the json column, extra credit if it could default to some defined locale if the current locale is empty. here’s the resource code:
Neophen
Here’s the fix:
And this is how you call it:
But i’ve decided against using this, as this is quite a bit of code and while i could most likely add an extension it feels somewhat magical.