Zach Daniel
|
48488c7bad
|
fix: don't double-cast to array for list aggregates
|
2023-02-13 13:30:47 -05:00 |
|
Zach Daniel
|
128d8a2be8
|
improvement: significantly optimize aggregate queries
|
2023-02-12 23:18:08 -05:00 |
|
Zach Daniel
|
589fb4d620
|
improvement: better type casting for concat operator
|
2023-02-12 19:09:25 -05:00 |
|
Zach Daniel
|
bbb45f3622
|
fix: sorting on optimized first aggregates
|
2023-02-09 17:49:37 -05:00 |
|
Zach Daniel
|
8e8a308cd2
|
improvement: support new uniq? option on count/list aggregates
|
2023-02-09 16:09:44 -05:00 |
|
Zach Daniel
|
b76289f39f
|
docs: add AshPostgres module to the documentation
|
2023-02-08 22:56:00 -05:00 |
|
Zach Daniel
|
80cd06818d
|
improvement: optimized first aggregates where possible
|
2023-02-08 14:46:29 -05:00 |
|
Zach Daniel
|
8d45e92fc2
|
fix: do limit/offset outside of query if distinct is required
|
2023-02-07 19:15:44 -05:00 |
|
Zach Daniel
|
b41d383b47
|
fix: load by __order__ ascending
|
2023-02-07 17:43:53 -05:00 |
|
zimt28
|
d0bc394e36
|
fix: Actually use AshPostgres.Repo behaviour (#129)
|
2023-02-05 12:46:44 -05:00 |
|
Zach Daniel
|
93e2a786f4
|
improvement: authorization filters are now attached by ash core
|
2023-02-04 01:56:06 -05:00 |
|
Zach Daniel
|
dc74dd534c
|
fix: properly set next migration name
|
2023-02-03 11:44:34 -05:00 |
|
Zach Daniel
|
cc643393d9
|
improvement: add migration_ignore_attributes
chore: update ash, fix ci
|
2023-02-01 02:05:04 -05:00 |
|
Zach Daniel
|
42ec9cf46a
|
fix: override insert function for proper ecto interop
|
2023-01-29 20:27:43 -05:00 |
|
Zach Daniel
|
b52da94b32
|
fix: properly convert to/from ecto, only when necessary
|
2023-01-29 18:20:59 -05:00 |
|
Zach Daniel
|
ce3cb0f2df
|
fix: support latest ecto interop changes in ash core
|
2023-01-27 20:54:40 -05:00 |
|
Zach Daniel
|
49c55eaac4
|
improvement: properly cast division to floats for elixir-y behavior
|
2023-01-26 23:48:19 -05:00 |
|
Zach Daniel
|
a9d46e0163
|
improvement: support for dynamically set repo
|
2023-01-19 09:33:19 -05:00 |
|
Zach Daniel
|
c9abef6e2c
|
chore: remove doc index
|
2023-01-18 01:00:23 -05:00 |
|
Zach Daniel
|
ee97fde9dc
|
fix: nest subqueries when required for distinct
fix: replace `{:in, ...}` type with `{:array, ...}`
|
2023-01-17 09:57:05 -05:00 |
|
Zach Daniel
|
91f9d9b9b2
|
fix: allow for non attribute aggregate references for first/list
|
2023-01-11 07:51:12 -05:00 |
|
Zach Daniel
|
79f84041ae
|
fix: properly join to all required relationships
|
2023-01-09 13:56:05 -05:00 |
|
Zach Daniel
|
1aab3dd7e3
|
fix: properly type cast in fragments (and elsewhere)
|
2023-01-09 09:48:25 -05:00 |
|
Zach Daniel
|
c15a6e4613
|
fix: undo changes that caused type casting bugs
|
2023-01-06 17:45:10 -05:00 |
|
Zach Daniel
|
3c496512e2
|
fix: use parent_expr instead of this
fix: various expression & type building fixes
|
2023-01-06 17:05:23 -05:00 |
|
Zach Daniel
|
475ec0f1ca
|
feat: support latest ash
|
2023-01-04 12:36:18 -05:00 |
|
Zach Daniel
|
7f3f02fc44
|
chore: optimize binding calculation
|
2022-12-31 09:22:12 -05:00 |
|
Zach Daniel
|
5a7f42fac1
|
improvement: support calc constraints
|
2022-12-28 23:11:55 -05:00 |
|
Zach Daniel
|
301962cbb1
|
fix: honor calculation constraints
|
2022-12-28 23:01:19 -05:00 |
|
Zach Daniel
|
87617f8d97
|
improvement: support new cast_in_query?/2
|
2022-12-28 22:41:32 -05:00 |
|
Zach Daniel
|
301466e1b5
|
improvement: support calculations as aggregate targets
fix: handle lists with expressions inside
|
2022-12-28 22:08:07 -05:00 |
|
Zach Daniel
|
4f91e65d51
|
fix: properly set migrations_path default in umbrellas
|
2022-12-27 18:19:18 -05:00 |
|
Zach Daniel
|
eac649e5fb
|
fix: don't subquery unless we have to
|
2022-12-21 23:59:27 -05:00 |
|
Zach Daniel
|
e81e77840a
|
fix: don't group aggregates that reference relationships in their filters
|
2022-12-21 16:58:12 -05:00 |
|
Zach Daniel
|
09b19c8bfd
|
improvement: add like and ilike
|
2022-12-21 16:12:49 -05:00 |
|
Zach Daniel
|
5a9abdc69c
|
fix: properly skip unique indexes when configured
|
2022-12-21 02:16:30 -05:00 |
|
Zach Daniel
|
a5b1bc8a3f
|
fix: properly add aggregates to query when referenced from calculations
fixes: #127
|
2022-12-18 02:23:39 -05:00 |
|
Zach Daniel
|
bfefef7fd5
|
improvement: distinct on source of query, not relationship destination
|
2022-12-15 17:16:53 -05:00 |
|
Zach Daniel
|
5987515b8d
|
fix: properly combine sort + to many join filter
|
2022-12-14 22:37:10 -05:00 |
|
Zach Daniel
|
46f3676e9a
|
improvement: udpate to latest ash, fix array issues
|
2022-12-14 21:47:50 -05:00 |
|
Zach Daniel
|
10fe4541d5
|
fix: pattern match error in lazy_non_matching_defaults/1
|
2022-12-13 17:17:57 -05:00 |
|
Zach Daniel
|
87bada531f
|
fix: use attribute name not attribute for default funs
|
2022-12-13 17:14:12 -05:00 |
|
Zach Daniel
|
891974caf3
|
fix: *actually* fix default_fun upserts
|
2022-12-13 17:12:06 -05:00 |
|
Zach Daniel
|
cdca33a5ff
|
fix: fix upserting update_defaults
|
2022-12-13 17:06:39 -05:00 |
|
Zach Daniel
|
98418599f9
|
chore: release version v1.2.0
|
2022-12-13 14:55:26 -05:00 |
|
Zach Daniel
|
9d6996be25
|
fix: make migration generator work better for umbrellas
|
2022-12-13 13:31:57 -05:00 |
|
Zach Daniel
|
70645af88f
|
fix: don't make migration generation recursive
|
2022-12-10 18:54:09 -05:00 |
|
Zach Daniel
|
48cfadc1fc
|
fix: nevermind, can't make migrate recursive
|
2022-12-10 16:20:41 -05:00 |
|
Zach Daniel
|
eebd40459a
|
improvement: make migrate task recursive as well
|
2022-12-10 16:17:10 -05:00 |
|
Zach Daniel
|
9a7626ab46
|
improvement: mark generate_migrations as recursive for umbrellas
|
2022-12-10 16:13:25 -05:00 |
|