Zach Daniel
|
68e2f74fe0
|
improvement: support aggregates using other aggregates
fix: various fixes for unnecessary aggregate additions
test: added a test to confirm context based multitenancy behavior
|
2023-12-22 21:14:40 -05:00 |
|
Zach Daniel
|
5d246cc23b
|
chore: take proper args from codegen args
|
2023-12-22 15:11:49 -05:00 |
|
Zach Daniel
|
9ca9272426
|
improvement: only start savepoints when necessary
|
2023-12-21 16:56:57 -05:00 |
|
Zach Daniel
|
61d229c685
|
fix: use lateral joins when joining to subquery w/ parent reference
|
2023-12-19 18:15:00 -05:00 |
|
Barnabas Jovanovics
|
c916034931
|
fix: replace upsert field with source in EXCLUDED fragment (#187)
|
2023-12-19 15:05:05 +01:00 |
|
Zach Daniel
|
5e0f3c4657
|
fix: handle strings in get_path
|
2023-12-15 18:11:18 -05:00 |
|
Zach Daniel
|
407a7163ed
|
improvement: support for error/2 expression
|
2023-12-14 17:10:11 -05:00 |
|
Zach Daniel
|
51f51d92d2
|
fix: properly cast lazy update defaults to target type
|
2023-12-04 14:55:40 -05:00 |
|
Zach Daniel
|
dc984e83c7
|
fix: avoid empty error on upserts with :nothing
docs: add some small docs for custom extensions
|
2023-11-27 11:12:22 -05:00 |
|
Riccardo Binetti
|
021b7e4233
|
improvement: allow specifying multi-column foreign keys (#180)
* improvement: add match_with option on references
* improvement: add match_type option on references
|
2023-11-20 16:52:50 -05:00 |
|
Zach Daniel
|
39754d1f38
|
fix: handle no_attributes? flag on aggregates better
fix: properly handle sorted relationships in aggregates
|
2023-11-16 17:48:39 -05:00 |
|
Zach Daniel
|
4d672ba088
|
fix: don't append update_defaults automatically if upsert_fields was set
|
2023-11-15 16:08:44 -05:00 |
|
Zach Daniel
|
db8255e5b1
|
improvement: support a 2 argument function for the repo option
|
2023-11-14 10:56:22 -05:00 |
|
Zach Daniel
|
342920a3c4
|
improvement: support parent in sort expressions
|
2023-10-26 09:47:56 -04:00 |
|
Zach Daniel
|
0325196a20
|
improvement: allow for combining AshPostgres.Repo with other repos
fixes #172
|
2023-10-13 22:47:11 -04:00 |
|
Zach Daniel
|
cd6a7cae69
|
fix: don't raise all errors
|
2023-10-11 16:26:48 -04:00 |
|
Zach Daniel
|
1a6e469e57
|
improvement: support atomics on upserts
|
2023-10-11 15:17:50 -04:00 |
|
Zach Daniel
|
c6d71d74bf
|
fix: fix type specification for foreign_key_names
|
2023-10-10 15:47:53 -04:00 |
|
Zach Daniel
|
772c12b5a3
|
fix: don't run main query if only exists aggs are specified
fixes: #170
|
2023-10-10 09:43:09 -04:00 |
|
Zach Daniel
|
5fdc81bf06
|
fix: subquery aggregate if limit is applied
|
2023-10-03 12:56:44 -04:00 |
|
Zach Daniel
|
99e8029499
|
improvement: fix upsert_fields behavior for upserts
|
2023-09-25 15:32:20 -04:00 |
|
Zach Daniel
|
b00dcf20c9
|
chore: format & fix docs
|
2023-09-22 17:16:47 -04:00 |
|
Zach Daniel
|
cca5f0244b
|
chore: fix type names I just broke
|
2023-09-22 17:04:39 -04:00 |
|
Zach Daniel
|
a56f4ef52f
|
docs: overhaul hexdocs
|
2023-09-22 16:14:25 -04:00 |
|
Zach Daniel
|
49490e6fb4
|
improvement: support data_layer_context option on transactions
chore: refactor create/upsert to use bulk create
|
2023-09-22 15:43:17 -04:00 |
|
Dmitry Maganov
|
b03fb51c36
|
fix: use :wrap_list type instead of custom validaitons (#167)
|
2023-09-21 15:44:02 -04:00 |
|
Zach Daniel
|
e8a4b41758
|
improvement: support vector types and vector_cosine_distance
|
2023-09-11 22:34:51 -04:00 |
|
James Harton
|
6cc88c82b4
|
improvement: Allow resources to opt out of the primary key requirement. (#166)
|
2023-09-06 01:18:57 -04:00 |
|
Zach Daniel
|
5182a1c6d0
|
improvement: implement ash lifecycle tasks
|
2023-09-04 13:08:14 -04:00 |
|
Zach Daniel
|
3f4f8c1d32
|
fix: ensure we always select at least one field, and change one field
|
2023-08-31 16:11:29 -04:00 |
|
Zach Daniel
|
1359068a69
|
fix: use provided values for updates
|
2023-08-31 16:03:23 -04:00 |
|
Zach Daniel
|
9f77304b22
|
fix: don't clobber loaded data on update
|
2023-08-31 13:04:08 -04:00 |
|
Zach Daniel
|
5a4a52854b
|
improvement: support atomics (#165)
|
2023-08-28 16:18:56 -04:00 |
|
Zach Daniel
|
99b2a5631c
|
improvement: support in-line aggregates
fix: support non-atom named aggregates
|
2023-08-22 14:51:31 -04:00 |
|
Zach Daniel
|
7ce33cac2c
|
fix: handle interaction between distinct, join filters and sort
|
2023-08-04 22:52:56 -04:00 |
|
Zach Daniel
|
d568ac18a8
|
improvement: support new from_many? option
improvement: subquery after distinct to handle distinct
|
2023-08-04 18:53:23 -04:00 |
|
Zach Daniel
|
83e78ad786
|
fix: properly alter deferrability on attribute alter
|
2023-07-27 13:57:42 -04:00 |
|
Zach Daniel
|
4146e6c25a
|
improvement: apply sort in subqueries properly
|
2023-07-26 19:20:19 -04:00 |
|
Zach Daniel
|
b4ec957651
|
improvement: handle no_attributes? better in more places
|
2023-07-26 18:50:58 -04:00 |
|
Zach Daniel
|
d2e309c126
|
improvement: support the new parent/1 expr in relationships
|
2023-07-26 17:32:09 -04:00 |
|
Zach Daniel
|
9396a9dd2d
|
improvement: explicitly lock the source row
|
2023-07-25 23:08:56 -04:00 |
|
Zach Daniel
|
c7866c6c16
|
improvement: support new distinct_sort option
|
2023-07-19 12:50:05 -04:00 |
|
Zach Daniel
|
442191799e
|
fix: type casting improvements, handle manual relationships in exists
|
2023-07-19 10:20:37 -04:00 |
|
Michael St Clair
|
33c1fd4cd9
|
fix: protected names in conflict_target (#158)
|
2023-07-18 19:21:45 -04:00 |
|
Zach Daniel
|
c920b09277
|
improvement: support new distinct features from ash core
|
2023-07-18 14:48:35 -04:00 |
|
Zach Daniel
|
d2e071773e
|
improvement: support exists aggregates
|
2023-07-13 00:13:50 -04:00 |
|
Zach Daniel
|
a09dae4d26
|
fix: raise better error on invalid filter values
closes #154
We still want to build something better directly into `Ash.Filter`
that determines field types and casts them up front
|
2023-06-28 11:29:54 -04:00 |
|
Zach Daniel
|
0e6bcd047e
|
improvement: add simple_join_first_aggregates option
|
2023-06-11 20:33:20 -04:00 |
|
Zach Daniel
|
d8e4801c8d
|
chore: remove bad typespec
|
2023-06-05 18:43:03 -04:00 |
|
Zach Daniel
|
6712943e74
|
fix: properly handle nested aggregate references
|
2023-06-05 18:35:22 -04:00 |
|