dj_goku
AEAsh Elixir
•Created by dj_goku on 3/23/2023 in #showcase
Proof of Concept using Ash
I am wondering if some of the Main functions can be put in the resources. Learned a lot and got a lot of help from Zach!
https://github.com/djgoku/poc
10 replies
AEAsh Elixir
•Created by dj_goku on 3/22/2023 in #support
Does order matter in filtering resources?
This seems to be returning all buys and not filtering by
user_id == user.id
.
6 replies
AEAsh Elixir
•Created by dj_goku on 3/20/2023 in #support
Calculate aggregations?
I want to
sum_1 = sum_some_data(user_1, :column_1)
, sum_2 = sum_some_data(user_1, :column_2)
then sum_1 - sum_2
and return this value.17 replies
AEAsh Elixir
•Created by dj_goku on 3/20/2023 in #support
Postgres Table(s)
I have a user resource and I need to assign a user to one_on_one resource. The one_on_one resource has two arguments user_1 and user_2. I am at a loss on how I should define the relationship. I know how I want the table design to be:
Where user_id_1 can't be the same as user_id_2. Anyone else struggle with this part of Ecto?
37 replies