Commit graph

97 commits

Author SHA1 Message Date
Sean Corfield
4efa9a38ef
address #539 by improving getting started
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-09-21 18:12:10 -07:00
Ben Lieberman
b531747918
Update pg_ops.cljc
Add docstring info to @@ operator pertaining to its text search usage
2024-07-14 09:43:28 -06:00
Jakub Holý
e7ef940e24
Update pg-ops/- docstring wrt array input
The `-` operator also works for arrays:

```sql
select '{"a":1,"b":2,"c":3}' - array['a','b'];
-- => {c:3}
select '["a","b","c"]'::jsonb - array['a','b']
-- => ["c"]
```
2024-07-04 17:13:24 +02:00
Sean Corfield
2149a80852
fix #523
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-02-03 12:37:43 -08:00
Sean Corfield
52ed86284a
linting
Signed-off-by: Sean Corfield <sean@corfield.org>
2024-01-14 17:09:46 -08:00
Hannu Hartikainen
e70e3713fc Implement CREATE INDEX
Fixes #348.
2023-12-08 13:09:39 +02:00
Sean Corfield
7d05220cfa partial #513 by dissoc'ing common metadata 2023-11-16 22:13:42 -08:00
Sean Corfield
1fe526a734 prep for 2.5.1090 2023-10-28 14:04:35 -07:00
Sean Corfield
d45e1dff0f #510 improve nrql helper docstrings 2023-10-21 15:47:33 -07:00
Sean Corfield
440b86633a #510 make facet multi-arg 2023-10-17 11:59:25 -07:00
Sean Corfield
5e9bdba777 #510 basic facet support 2023-10-16 21:23:07 -07:00
Sean Corfield
2c6b89751d start work on nrql dialect #510 2023-10-16 16:35:37 -07:00
Sean Corfield
a9d33a8873 minor code dedupe 2023-09-27 23:25:31 -07:00
Sean Corfield
11e1a93c59 fix #505 by rewriting helper-merge 2023-09-27 23:13:16 -07:00
Sean Corfield
ac09fc1abd add distinct/expr clauses 2023-09-08 22:28:25 -07:00
Sean Corfield
2f99103ed1 add matching helper 2023-08-23 12:55:21 -07:00
Sean Corfield
5164c24342 improve helpers ns docstring 2023-06-24 10:23:07 -07:00
Jakub Holý
3d88db6f21
improve on-conflict docstring
It was unclear to me what the "hash map" where-condition meant so I tried to clarify.
2023-05-20 21:53:38 +02:00
Sean Corfield
3f31e5a61f fix #478 2023-03-12 17:40:53 -07:00
Jakub Holý
e6f9ffdc32
pg-ops: add docs 2023-03-01 15:40:38 +01:00
Eugene Pakhomov
3fba12fbcc Allow single kw in :order-by and other clauses 2023-02-26 14:20:09 +02:00
Sean Corfield
762252b660 fixes #459 by making all operators variadic
except for := and the various :<> variants

some operators only make sense in binary usage and will produce invalid
SQL if used in a non-binary manner
2023-02-11 13:35:55 -08:00
Sean Corfield
6bdc262e7c close #452 - support :replace-into in all dialects 2023-01-14 15:27:42 -08:00
Sean Corfield
74b05965c1 fix #431 by using if-some instead of if-let 2022-09-20 03:51:19 -07:00
Sean Corfield
061288f1c0 address #415 by supporting multi-column add/alter/modify 2022-09-12 18:17:26 -07:00
Sean Corfield
5d7a3faea5 address #415 by supporting multiple drop columns 2022-09-12 13:51:54 -07:00
Sean Corfield
2cba8bc3d7 fix cljs for #419 2022-08-06 22:02:21 -07:00
Sean Corfield
99e955f420 fix #419 by adding InlineValue protocol 2022-08-06 21:49:49 -07:00
Sean Corfield
f0ada59fff fix #406 2022-07-29 15:41:04 -07:00
Cora Sutton
79c005b765 Change public-fns-have-clauses assertion to allow custom clauses
Fixes #416
2022-07-28 22:38:01 -05:00
Sean Corfield
fb1decbd1e fixes #409 by making the check conditional 2022-05-20 10:46:04 -07:00
Sean Corfield
e45ea8586e Add PostgreSQL JSON / regex operators fixes #398 2022-04-23 15:40:47 -07:00
Sean Corfield
314f497417 fix #400 by adding :table clause 2022-03-26 16:58:28 -07:00
Sean Corfield
2e7da61f56 #398 add names for all ops; hash is mnemonic for # 2022-03-26 14:20:58 -07:00
Sean Corfield
ab7c235329 fix #399 by correcting docs and tests 2022-03-26 13:45:43 -07:00
Sean Corfield
17319cdd26 #398 treat -> as variadic 2022-03-26 08:28:24 -07:00
Sean Corfield
af69f12630 address #398 (needs docs) 2022-03-25 21:48:00 -07:00
Sean Corfield
1d22086fce fix #381 by adding generic helpers; prep for 2.2.861 2022-01-30 22:31:37 -08:00
Sean Corfield
e562329669 typo in docstring 2021-12-04 09:39:43 -08:00
Sean Corfield
dc37852024 fix #372 2021-12-02 15:20:03 -08:00
Sean Corfield
87039e7159 clarify argument lists of helper functions 2021-11-27 15:53:36 -08:00
Sean Corfield
52e2a57fca Fix fetch helper 2021-07-17 16:51:34 -07:00
Sean Corfield
395ba6a5bd Address #334 in part by correcting :arglist 2021-06-21 15:17:04 -07:00
Sean Corfield
b32911d808 Fix bug in unrolling with-columns args 2021-06-21 14:50:55 -07:00
Sean Corfield
bece0f1fd1 Fixes #327 by correcting generic-1 helper 2021-06-12 18:57:36 -07:00
Sean Corfield
46b3c1773b Fixes #324 by correcting insert-into 2021-05-01 12:56:42 -07:00
Sean Corfield
f606dc6044 Fixes #323 by allowing multiple column names 2021-04-22 19:16:30 -07:00
Sean Corfield
dd52ebe7e8 Fixes #322 by rewriting where/having merge 2021-04-13 12:51:21 -07:00
Sean Corfield
e6a5bdb001 Fixes #308 by adding support for clauses
This also corrects the docstring for the join-by helper.
2021-04-11 04:18:14 -07:00
Sean Corfield
50fd829752 Addresses #310 by adding filter, order-by, within-group syntax 2021-04-11 14:32:48 -07:00