Commit graph

138 commits

Author SHA1 Message Date
Zach Daniel
52fcba79ac improvement: inform users about postgres incompatibility with multidimensional arrays 2022-12-01 20:24:49 -05:00
Zach Daniel
c035eed21a fix: properly turn custom index keys into atoms
improvement: support new transaction info with hooks
2022-11-30 19:06:51 -05:00
Zach Daniel
059837651d improvement: add unique constraints to changeset for custom unique indexes
improvement: separate out concurrent index creations and do them in a separate transaction
2022-11-25 14:06:22 -05:00
Zach Daniel
26668df73d improvement: add migration_defaults for customizing default values 2022-11-21 02:38:00 -05:00
Zach Daniel
fb8a13f33d improvement: set lateral join source for latest ash
improvement: use `prepend?: true` option when applying relationship sorts
2022-10-15 00:03:16 -05:00
Zach Daniel
7fd1e73baa fix: don't apply filter to array_agg 2022-10-10 12:06:54 -04:00
Zach Daniel
fd5ac60072 improvement: exists filters necessitate multiple aggregate joins (for now) 2022-09-28 18:01:20 -04:00
Zach Daniel
7fc6c91cac improvement: support manual relationships with joins 2022-09-13 16:40:12 -04:00
Zach Daniel
170b9fc9e7 improvement: support latest ash exists/2 expr 2022-09-06 18:33:17 -04:00
Zach Daniel
385214694d docs: total docs reorg 2022-08-24 12:07:38 -04:00
Zach Daniel
4a69edce2d important: update to ash 2.0 branch 2022-08-24 12:07:38 -04:00
Zach Daniel
e20e68e73a improvement: add custom_statements to migration generator 2022-07-21 13:34:38 -04:00
Zach Daniel
0f9a433c95 improvement: support || and && 2022-07-20 14:19:06 -04:00
Zach Daniel
c52917bca1 improvement: set update_defaults on upsert results 2022-07-06 14:44:18 -04:00
Zach Daniel
c352a1f1fa fix: support upsert_identity with base_filter 2022-07-01 19:12:14 -04:00
Zach Daniel
10c7e75f4a chore: small cleanups 2022-06-04 16:58:03 -04:00
Zach Daniel
d04fd201f2 fix: test and confirm behavior of schemas 2022-05-22 18:30:20 -04:00
Zach Daniel
ff05084b8f improvement: add explicit timeout capability declaration 2022-05-14 02:58:04 -04:00
Zach Daniel
6c5ee9aae5 improvement: add static schema specification in DSL
improvement: support static schema specification in migration generator
2022-05-13 17:41:30 -04:00
Zach Daniel
4e85466724 fix: handle combinations of distinct & sort
closes #93
2022-05-10 22:48:04 -04:00
Zach Daniel
662bf421c4 improvement: support new timeouts 2022-04-18 00:23:09 -04:00
Zach Daniel
b77ad2c808 improvement: make select unique before running query 2022-04-07 19:59:43 -04:00
Zach Daniel
48c6142040 chore: clean up docs for new docs site 2022-03-28 22:30:27 -04:00
kernel-io
ed8d4f29f2
improvement: add exclusion_constraint_names (#83) 2022-03-20 20:35:30 -04:00
Zach Daniel
2258e6f749 all green on dynamic refactor 2022-02-07 15:35:18 -05:00
Zach Daniel
fcee70b2f7 WIP 2022-02-07 15:35:18 -05:00
Zach Daniel
e19a44d7d9 WIP on dynamic refactor 2022-02-07 15:35:16 -05:00
Zach Daniel
1dcef728fe fix: don't sort when joining 2022-01-18 18:50:14 -05:00
Zach Daniel
d7874c5ecd fix: properly construct nested join relationships 2021-12-20 23:12:28 -05:00
Zach Daniel
912fab9a96 fix: use CiStringWrapper type in ash_postgres 2021-12-17 13:25:14 -05:00
kernel-io
2790a725cc
fix: ensure we are returning * on upserts (#79)
Co-authored-by: kernel-io <kernel>
2021-11-25 21:35:26 -05:00
kernel-io
df62c35801
improvement: don't upsert defaults on conflict (#77)
Co-authored-by: kernel-io <kernel>
2021-11-24 19:31:59 -05:00
Zach Daniel
98004f3251 fix: handle new if types
improvement: relax ash version requirement
2021-11-13 14:48:14 -05:00
Zach Daniel
af97c549c5 improvement: add custom migration types, and repo level override 2021-11-10 04:18:36 -05:00
kernel-io
5a0d145249
fix: copy query prefix to newly created query (#74) 2021-11-02 17:00:13 -04:00
Zach Daniel
4c4af7ebfa fix: use proper ecto types everywhere 2021-11-01 04:41:41 -04:00
Zach Daniel
ff261d75bb fix: try to fix missing paren issue in array_agg 2021-10-26 17:01:57 -04:00
Zach Daniel
2fdcea7ef8 improvement: support default on aggregates
chore: update to latest ash patterns for testing
2021-10-25 18:53:34 -04:00
kernel-io
e4de6f59f6
bugfix: fix can? for :joins (#73) 2021-10-07 04:16:33 -04:00
Zach Daniel
be1fbd6137 improvement: support custom_indexes 2021-09-20 16:38:36 -04:00
Zach Daniel
981f6c8ccd improvement!: update to latest ash/ecto versions w/ parameterized types 2021-09-13 12:58:23 -04:00
Zach Daniel
54765f300a fix: set subquery prefix properly 2021-07-27 23:03:39 -04:00
Zach Daniel
dc054e09fb chore: undo unnecessary expr casting 2021-07-27 19:15:28 -04:00
Zach Daniel
c6841c9e72 fix: set subquery source correctly
fix: create parameter for ci strings
2021-07-27 18:35:14 -04:00
Zach Daniel
7d9d7611cb fix: explicitly set prefix at each level 2021-07-24 16:59:23 -04:00
Zach Daniel
5e5b5f3fc0 fix: interaction w/ attribute and context tenancy 2021-07-24 11:28:58 -04:00
Zach Daniel
85f27337d6 improvement: upgrade ash dep
chore: remove comment
test: add a sort test
2021-07-22 15:23:38 -04:00
Zach Daniel
17efc83eaa fix: don't add a non-list to a list 2021-07-19 17:12:01 -04:00
Zach Daniel
487c9f32d6 improvement: fix significant performance issue in lateral joins
fix: ensure source table is sorted in lateral join
2021-07-19 13:56:36 -04:00
Zach Daniel
aa334eb152 improvement: support default_prefix configuration 2021-07-12 02:43:39 -04:00