Latest #ash-query Threads Top

moxley
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
sezaru
I have this field in my resource: attribute :metadata, :union do public? true allow_nil? false constraints types:...
New
MartinVolerich
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
Sakthibalan
How to count weekly average points from tasks resource? defmodule Ash.Assignments.Milestone do ... attributes do uuid_primary_k...
New
Sakthibalan
How to fetch unique user by ‘user_id’ a query with distinct Resources: Ash.Domain.User Ash.Domain.Project has_many :milestones ...
New
Chrichton
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
kamaroly
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
moxley
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
toberoni
I’m trying to understand how Ash.Query.after_action/2 works and when relationships get loaded during the action lifecycle. The problem: ...
New
moxley
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 Top

This Month's Trending Top

This Year's Trending Top

moxley
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
sezaru
I have this field in my resource: attribute :metadata, :union do public? true allow_nil? false constraints types:...
New

Last Three Year's Trending Top

sezaru
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
dewetblomerus
I am trying to filter records by a calculated interval. My resource has these two attributes: attribute :retry_at, :utc_datetime, a...
New
rbino
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
moxley
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
sezaru
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
moxley
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
sezaru
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
moxley
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
MartinVolerich
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
sezaru
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
superchris
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
toberoni
I’m trying to understand how Ash.Query.after_action/2 works and when relationships get loaded during the action lifecycle. The problem: ...
New
sezaru
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
Chrichton
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
moxley
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

Trending Over Three Years Top

Sakthibalan
How to count weekly average points from tasks resource? defmodule Ash.Assignments.Milestone do ... attributes do uuid_primary_k...
New
sezaru
I have this filter in my action: |> Ash.Query.filter(organization_id == ^actor.organization_id) The issue with it is that organizati...
New
kamaroly
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
Sakthibalan
How to fetch unique user by ‘user_id’ a query with distinct Resources: Ash.Domain.User Ash.Domain.Project has_many :milestones ...
New
  • Follow
  • Join
  • Shape
the conversation

Latest on Elixir Forum

Elixir Forum

Similar Portals

    None added yet

We're in Beta

About us Mission Statement