File tree Expand file tree Collapse file tree 4 files changed +20
-6
lines changed Expand file tree Collapse file tree 4 files changed +20
-6
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,15 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
1111
1212<!-- changelog -->
1313
14+ ## [ v0.3.6] ( https://github.com/ash-project/ash_sql/compare/v0.3.5...v0.3.6 ) (2025-10-15)
15+
16+
17+
18+
19+ ### Improvements:
20+
21+ * support combination_acc/1 function to get current combination accumulator by [ @zachdaniel ] ( https://github.com/zachdaniel )
22+
1423## [ v0.3.5] ( https://github.com/ash-project/ash_sql/compare/v0.3.4...v0.3.5 ) (2025-10-15)
1524
1625
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ Shared functionality for ecto-based sql data layers.
1919``` elixir
2020def deps do
2121 [
22- {:ash_sql , " ~> 0.3.5 " }
22+ {:ash_sql , " ~> 0.3.6 " }
2323 ]
2424end
2525```
Original file line number Diff line number Diff line change @@ -51,10 +51,15 @@ defmodule AshSql.Query do
5151 if context [ :data_layer ] [ :lateral_join_source ] do
5252 500
5353 else
54- if context [ :data_layer ] [ :previous_combination ] do
55- context [ :data_layer ] [ :previous_combination ]
56- else
57- 0
54+ case context [ :data_layer ] [ :previous_combination ] do
55+ % { __ash_bindings__: % { current: current } } ->
56+ current
57+
58+ current when is_integer ( current ) ->
59+ current
60+
61+ _ ->
62+ 0
5863 end
5964 end
6065
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ defmodule AshSql.MixProject do
1010 Shared utilities for ecto-based sql data layers.
1111 """
1212
13- @ version "0.3.5 "
13+ @ version "0.3.6 "
1414
1515 def project do
1616 [
You can’t perform that action at this time.
0 commit comments