chore: show fancy new composite type accessor in guide

This commit is contained in:
Zach Daniel 2024-07-14 22:17:08 -04:00
parent ca2ef74125
commit d5dbfa0a42

View file

@ -59,9 +59,7 @@ Thanks to `ex_money_sql`, there are excellent tools for lowering support for mon
```elixir
sum :sum_of_usd_balances, :accounts, :balance do
filter expr(
fragment("(?).currency_code", balance) == "USD"
)
filter expr(balance[:currency_code] == "USD")
end
```