Latest #ash-query Threads 
I’m trying to understand the Ash filter expression syntax for working with json arrays within a jsonb column in ash_postgres.
I have a j...
New
I have this field in my resource:
attribute :metadata, :union do
public? true
allow_nil? false
constraints types:...
New
I’m stuck on how best to create a read action that takes a first argument of a struct (another Ash resource) that is used (via its id att...
New
How to count weekly average points from tasks resource?
defmodule Ash.Assignments.Milestone do
...
attributes do
uuid_primary_k...
New
How to fetch unique user by ‘user_id’ a query with distinct
Resources:
Ash.Domain.User
Ash.Domain.Project
has_many :milestones
...
New
I am creating an admin app with data similar to the Tunez app from the Ash book from PragPro.
I want to query the artists by name sorted...
New
Is there a way to chain preparations on a query directly without having to go through an action? I went through the online documentation...
New
I want to calculate the number of unread Posts for each User in a list of User IDs. Read (verb, past tense) Posts are tracked with PostVi...
New
I’m trying to understand how Ash.Query.after_action/2 works and when relationships get loaded during the action lifecycle.
The problem: ...
New
I’m creating a read AshGraphql query, and I want it to return an error for certain conditions. When I call Ash.Query.add_error(query, "so...
New
This Week's Trending
This Month's Trending
This Year's Trending
I’m trying to understand the Ash filter expression syntax for working with json arrays within a jsonb column in ash_postgres.
I have a j...
New
I have this field in my resource:
attribute :metadata, :union do
public? true
allow_nil? false
constraints types:...
New
Last Three Year's Trending
I have an Ash query that I need to convert into an Ecto query to do some more complex manipulations (group by, etc) using the Ash.Query.d...
New
I am trying to filter records by a calculated interval.
My resource has these two attributes:
attribute :retry_at, :utc_datetime, a...
New
In my application I want to retrieve all tags that are currently assigned to at least a device.
In Ecto I did this with:
def list_dev...
New
I’m trying to query members that have all the given tag IDs. The code needs to dynamically build an expression like:
member.member_tags....
New
Hi, I want to translate the following query to a query inside Ash with my resource:
select buy_record.transaction_id as buy_transaction,...
New
I’m building a module that builds up an Ash.Query from parameters. I want it to be able to “OR” two queries together, like this:
left_qu...
New
I have a read action that I want to do some checks first.
To do that, I want to create some preparations, the first one will fetch some ...
New
I want to calculate the number of unread Posts for each User in a list of User IDs. Read (verb, past tense) Posts are tracked with PostVi...
New
I’m stuck on how best to create a read action that takes a first argument of a struct (another Ash resource) that is used (via its id att...
New
Hey, I have a read query that uses pg_trgm and I want to set word_similarity_threshold before running it.
I tried something like this:
...
New
I’m trying to understand how Ash.Query.after_action/2 works and when relationships get loaded during the action lifecycle.
The problem: ...
New
I’m sure this must be a trivial thing to do, but in looking through the documentation so far I have not figured this out. I’m trying to m...
New
I’m upgrading one of my projects from Ash 2.0 to 3.0 and one of the things that changed was this:
resource.actions.read.filter can now ...
New
I am creating an admin app with data similar to the Tunez app from the Ash book from PragPro.
I want to query the artists by name sorted...
New
How to count weekly average points from tasks resource?
defmodule Ash.Assignments.Milestone do
...
attributes do
uuid_primary_k...
New
Trending Over Three Years
I’m creating a read AshGraphql query, and I want it to return an error for certain conditions. When I call Ash.Query.add_error(query, "so...
New
I have this filter in my action:
|> Ash.Query.filter(organization_id == ^actor.organization_id)
The issue with it is that organizati...
New
Is there a way to chain preparations on a query directly without having to go through an action? I went through the online documentation...
New
How to fetch unique user by ‘user_id’ a query with distinct
Resources:
Ash.Domain.User
Ash.Domain.Project
has_many :milestones
...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







