Sean Corfield
10b2a17718
#510 support :timeseries :auto
2023-10-21 15:42:11 -07:00
Sean Corfield
7d56daacca
initial BigQuery :create-table-as :or-replace
2023-10-20 10:50:09 -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
872cb1d006
fix #509 by checking for ident? first
2023-10-16 11:32:45 -07:00
Sean Corfield
756ed95b43
fix #503 by adding at time zone special syntax
2023-09-16 11:34:05 -07:00
Sean Corfield
ac09fc1abd
add distinct/expr clauses
2023-09-08 22:28:25 -07:00
Sean Corfield
75830df509
address #504 by adding ignore/respect null support
2023-09-08 21:55:24 -07:00
Sean Corfield
87f3e731b1
docs for #496
2023-08-27 09:53:28 -07:00
Sean Corfield
ad1b0f9880
address #496 by adding :overriding-value option
2023-08-26 16:45:39 -07:00
Sean Corfield
44ffd340f5
fix #501 by making insert/columns/values talk to each other
2023-08-26 16:20:32 -07:00
Sean Corfield
bf1517a60e
fix bigquery support for #407
2023-08-26 14:52:20 -07:00
Sean Corfield
1d6ae7b376
fix #407 by adding temporal clause support
2023-08-26 14:39:15 -07:00
Sean Corfield
810e95fe11
fix #389 by showing ONLY(table) examples
2023-08-26 12:48:35 -07:00
Sean Corfield
aa5d8e094a
remove stray debug println
2023-08-26 12:32:49 -07:00
Sean Corfield
686cbf7272
fix #497 by adding tests and documenting :alias
2023-08-26 12:31:38 -07:00
Sean Corfield
17dbbce0d2
remove lsp-provided "help"; update default clause order
2023-08-23 12:52:07 -07:00
Sean Corfield
664e5e2644
add create or replace view for postgresql
2023-08-23 12:45:19 -07:00
Sean Corfield
d187c66987
add :alias special syntax #497
2023-08-11 19:06:30 -07:00
Sean Corfield
ba336f2884
clarify :values clause behavior with columns
...
also add more examples to the RCF at the bottom of honey.sql.
2023-08-10 19:31:17 -07:00
Sean Corfield
e679e93362
add formatf experiment #495
2023-06-23 16:05:41 -07:00
Sean Corfield
e7972ac1b4
on-conflict needs ( ) around exprs
2023-06-20 13:03:19 -07:00
Sean Corfield
290537c581
fix #494 by supporting expressions in on conflict
2023-06-20 12:11:00 -07:00
Dangercoder
93c8ad75a6
Added honey.sql/upper-case for clojure-clr
2023-06-02 20:24:52 +02:00
Sean Corfield
84a41cba7d
Initial ClojureCLR compat changes
2023-05-21 16:05:30 -07:00
Sean Corfield
bc66ec5aee
fix #485 by adding :with-ordinality operator
2023-04-15 11:37:20 -07:00
Sean Corfield
1710e07231
fix #486 by support ansi/postgresl interval
2023-04-13 22:46:37 -07:00
Sean Corfield
2efe05def2
fix #484 by adding TABLE to TRUNCAT
2023-04-10 14:09:28 -07:00
Sean Corfield
858d157863
address #483 (still needs tests and docs)
2023-04-06 22:49:13 -07:00
Sean Corfield
e8753efa3e
fix #478 by removing duplication in one branch
2023-03-13 14:24:11 -07:00
Sean Corfield
3f31e5a61f
fix #478
2023-03-12 17:40:53 -07:00
Sean Corfield
f7cf5718cc
fix #476 by restoring multi-argument :raw
2023-03-04 14:21:40 -08:00
Sean Corfield
3c65999ef1
fix #474 by documenting dot-selection
...
and adding support for two levels of field/column selection
2023-03-03 15:26:22 -08:00
Sean Corfield
c905853366
address #471 by switching prefix to :!
2023-03-02 09:56:30 -08:00
Sean Corfield
da150f03e3
address #474
2023-03-01 16:55:54 -08:00
Sean Corfield
0936095040
address #471
2023-02-28 17:38:13 -08:00
Sean Corfield
a610f256dd
address #466 by collapsing 0-arity :and/:or
2023-02-27 20:07:24 -08:00
Sean Corfield
44b6de4139
Merge pull request #469 from p-himik/464-typed-arrays
...
Add optional type argument to the :array special
2023-02-27 16:14:54 -08:00
Eugene Pakhomov
0c7642a357
Add optional type argument to the :array special
2023-02-28 02:04:05 +02:00
Sean Corfield
fc3397650e
Merge pull request #470 from p-himik/467-allow-scalar-order-by-et-al
...
Allow single kw in :order-by and other clauses
2023-02-27 14:00:44 -08:00
Eugene Pakhomov
3fba12fbcc
Allow single kw in :order-by and other clauses
2023-02-26 14:20:09 +02:00
Eugene Pakhomov
dae73c6195
Allow multiple expressions in special :order-by
2023-02-26 12:22:12 +02:00
Sean Corfield
de0adf56ef
fixes #461 ; prep for 2.4.980
2023-02-15 22:10:45 -08: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
f8532dfd33
fixes #458 by adding four registered-*? predicates
2023-02-11 12:54:43 -08:00
Sean Corfield
213c152fdb
fixes #456
2023-02-01 22:20:14 -08:00
Sean Corfield
4a7c3631a6
fix #454 by allowing - to be variadic
2023-01-14 15:35:03 -08:00
Sean Corfield
6bdc262e7c
close #452 - support :replace-into in all dialects
2023-01-14 15:27:42 -08:00
Sean Corfield
bf96f034c3
update docs; fix set-options!
2022-12-17 16:02:02 -08:00
Sean Corfield
c62f5da3f8
make numbered params work with 'in'
2022-12-16 23:56:53 -08:00
Sean Corfield
4ea630ed90
basic testing for numbered params
2022-12-16 23:20:17 -08:00
Sean Corfield
359d9de668
basic numbered parameter support
2022-12-16 23:11:45 -08:00
Youngil Choi
a87fa0c9ab
Improve type formatting logic in :cast function
2022-11-20 06:51:43 +09:00
Sean Corfield
562b20634a
fix #434 by special-casing array
2022-11-17 22:39:48 -08:00
Sean Corfield
15cf3ae588
improve :values error message
2022-11-17 08:31:27 -08:00
Sean Corfield
db1b37eaa3
fix #441
2022-11-07 09:18:36 -08:00
Sean Corfield
95e50a930e
fixes #386 #437 #439
2022-11-05 17:15:32 -07:00
Sean Corfield
e8ea9283cc
fix Support full TRUNCATE syntax (cascade, identity) #438
2022-11-04 23:40:30 -07:00
Ike Mawira
73d36ab2b5
Update docs and tests for WITH clause
2022-09-23 16:54:30 +03:00
Ike Mawira
30e554f31c
Allow with expr AS ident syntax in WITH clause
2022-09-22 19:40:15 +03: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
02d20bd78c
address #430 by expanding escape hatch from #352
2022-09-11 20:52:53 -07:00
Sean Corfield
723b134e90
fix set-dialect! reset and document it
2022-09-11 15:09:12 -07:00
Sean Corfield
63df2f3dc9
address #427 by adding set-options!
2022-09-11 14:21:39 -07:00
Sean Corfield
2f1d3ae870
fixes #421 replace into
2022-09-03 21:34:09 -07:00
Sean Corfield
9569b19a34
address #425 for map inserts
2022-09-02 22:35:17 -07:00
Sean Corfield
3073d28525
address #423 by adding support for default
...
needs documentation
2022-09-01 22:54:00 -07:00
Sean Corfield
a879a2d8a1
auto-quote unusual entities by default
2022-08-23 15:41:38 -07:00
Rob Hanlon
204f6fa72a
Support materialization control in WITH
...
Adds an optional third value to `with` vectors, which can be the
following:
* `:materialized` -> SQL is `WITH cte AS MATERIALIZED (...)`
* `:not-materialized` -> SQL is `WITH cte AS NOT MATERIALIZED (...)`
* omitted or anything else -> SQL is `WITH cte AS (...)`
Note that materialization control is not available on WITH RECURSIVE
CTEs, so `format-with` was modified to take a third argument that
returns the `AS ...` separator, which is constantly `"AS"` for WITH
RECURSIVE, and obeys the aforementioned rules for non-recursive CTEs.
Resolves #392 .
2022-08-16 16:01:52 -07:00
Sean Corfield
d31600d2c0
fix string for cljs too
2022-08-06 22:29:17 -07:00
Sean Corfield
c10a97e1ec
use default instead of js/Object
...
This shuts the cljs compiler up
2022-08-06 22:20:29 -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
e6654f7a22
check for empty where clauses fix #413
2022-08-06 21:11:08 -07:00
Sean Corfield
f0ada59fff
fix #406
2022-07-29 15:41:04 -07:00
Sean Corfield
91e75a7edf
Merge branch 'develop' of github.com:seancorfield/honeysql into develop
2022-05-20 10:46:07 -07:00
Sean Corfield
d065a04e18
placeholder (should :array unwrap params?)
2022-05-20 10:34:10 -07:00
Sean Corfield
2e9b395b31
remove old calva workaround
2022-05-19 20:29:32 -07:00
Sean Corfield
5fe73c75bc
Support custom dialects fixes #401 (add docs/tests)
2022-05-01 17:34:31 -07:00
Sean Corfield
8c8b05e67f
Support custom dialects: addresses #401
...
Still needs tests and documentation.
2022-04-30 22:03:36 -07:00
Sean Corfield
5e847cde0e
only throw for named param #396
2022-04-23 16:03:21 -07:00
Sean Corfield
270b9439c8
attempting to cache SQL that contains IN () will throw fixes #396
2022-04-23 15:54:24 -07:00
Sean Corfield
124fac6f28
:insert-into should support abitrary functions for table fixes #402
2022-04-23 15:12:55 -07:00
Sean Corfield
7f8b7a79b1
addresses #403 : improve error message; improve docs
2022-04-23 13:40:34 -07:00
Sean Corfield
a2e02c8a03
fix #394 by escaping quote chars
...
This matches the HoneySQL 1.x behavior now.
2022-03-31 17:34:51 -07:00
Sean Corfield
314f497417
fix #400 by adding :table clause
2022-03-26 16:58:28 -07:00
Sean Corfield
af69f12630
address #398 (needs docs)
2022-03-25 21:48:00 -07:00
Fredrik Vaeng Røtnes
ca0feb57e5
Fix docstring of add-clause-before
...
The result of adding a clause to a list in which the it already appears, is not to remove it from the list, but to move it to the end.
2022-03-19 22:16:20 +00:00
Sean Corfield
f711b934fa
fix #387 properly
2022-02-22 21:27:10 -08:00
Sean Corfield
803ff41dc0
Dehyphen improvements fixes #387
2022-02-21 19:09:49 -08:00
Sean Corfield
4bf76920ef
fix #385 by quoting inlined uuids
2022-02-09 10:20:36 -08:00
Sean Corfield
c7c634d694
change :' to use format-entity #352
2022-02-02 23:51:01 -08:00
Sean Corfield
1f2773bd16
address #352 by treating :'foo literally
2022-02-02 22:04:44 -08:00
Sean Corfield
8a2f447676
Fix #382 by adding :case-expr syntax
2022-01-29 17:19:17 -08:00
Sean Corfield
139de6f56c
fix #380 by accounting for vars
2022-01-21 13:05:15 -08:00
Sean Corfield
e3de2a621d
document :cache option
...
Also try to clear up confusion about function syntax while I'm adding
examples!
2022-01-20 13:02:17 -08:00
Sean Corfield
18adeb1048
rename to satisfy Eastwood
2022-01-10 11:12:47 -08:00
Michiel Borkent
e331ba0a0e
Improve performance and GraalVM image size
2022-01-10 13:58:25 +01:00