Commit graph

966 commits

Author SHA1 Message Date
Sean Corfield
d17d44ffcf fix #451 2023-01-14 15:11:16 -08:00
Sean Corfield
6b015400ed fix #445 #453 2023-01-14 14:58:13 -08:00
Sean Corfield
83ad5cff74 fx #447 by updating deps/actions 2023-01-14 14:18:03 -08:00
Sean Corfield
ca953e3c42 add test for #455 (which passes) 2023-01-13 13:01:35 -08:00
Sean Corfield
56823b8888 prep for 2.4.962 2022-12-17 16:18:19 -08:00
Sean Corfield
295be57bfc
Merge pull request #446 from seancorfield/issue-405
Fix Issue 405 by adding :numbered true option
2022-12-17 16:10:57 -08:00
Sean Corfield
bf96f034c3 update docs; fix set-options! 2022-12-17 16:02:02 -08:00
Sean Corfield
d0ae02a6ef more tests 2022-12-17 00:15:11 -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
Sean Corfield
0faf611855 wordsmith 2.4.947 changes 2022-12-07 12:24:57 -08:00
Sean Corfield
6e5e1b100d fix #433 #432 by smithing the docs 2022-11-20 04:49:31 -08:00
Sean Corfield
b5e55cf95a note cast fix #443 in changelog 2022-11-19 19:35:44 -08:00
Sean Corfield
e4f0a5eff3
Merge pull request #443 from duddlf23/cast-type-format-fix
Improve type formatting logic in :cast function
2022-11-19 19:25:21 -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
fd64353f41 prep for 2.4.947 2022-11-05 17:24:15 -07: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
Sean Corfield
dda3aa017e Merge branch 'develop' of github.com:seancorfield/honeysql into develop 2022-10-01 00:31:25 -07:00
Sean Corfield
6c107b7cf0 fix #435 by documenting CREATE TEMP TABLE etc 2022-10-01 00:31:20 -07:00
Sean Corfield
9a03dde4d1
Merge pull request #432 from MawiraIke/feature/with-clause-clickhouse
Allow `with expr AS ident` syntax in WITH clause
2022-09-23 09:37:09 -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
e553f4f169 add a test for #431 :) 2022-09-20 04:37:43 -07:00
Sean Corfield
74b05965c1 fix #431 by using if-some instead of if-let 2022-09-20 03:51:19 -07:00
Sean Corfield
9af194f8a2 fix #415 docs already suggest this should work
so this is "just" a bug fix and there are already tests in place.
2022-09-12 18:53:33 -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
fb601c90d9 fix #430 by clarifying the additional escape hatch semantics 2022-09-12 12:45:50 -07:00
Sean Corfield
02d20bd78c address #430 by expanding escape hatch from #352 2022-09-11 20:52:53 -07:00
Sean Corfield
a2571ef312 close #427 by documenting the new function 2022-09-11 19:43:13 -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
ae27fb75e9 note release date for 2.3.928 2022-09-03 21:43:37 -07:00
Sean Corfield
23be700b7e prep for 2.3.928 2022-09-03 21:39:37 -07:00
Sean Corfield
2f1d3ae870 fixes #421 replace into 2022-09-03 21:34:09 -07:00
Sean Corfield
d0e0badf2c add/update docs for #422 #423 2022-09-03 21:07:06 -07:00
Sean Corfield
9569b19a34 address #425 for map inserts 2022-09-02 22:35:17 -07:00
Sean Corfield
c913ffe155
Merge pull request #424 from seancorfield/issue-422-quoting
#423 #424 #425
2022-09-01 22:57:04 -07:00
Sean Corfield
3073d28525 address #423 by adding support for default
needs documentation
2022-09-01 22:54:00 -07:00
Sean Corfield
737699c11a fix #425 by clarifying MySQL vs PostgreSQL 2022-09-01 22:23:33 -07:00
Sean Corfield
e204f3b45e add security notes about quoting
also consistently use SQL entity names instead of identifiers so the
documentation is consistent in terminology.
2022-08-23 17:18:00 -07:00
Sean Corfield
a879a2d8a1 auto-quote unusual entities by default 2022-08-23 15:41:38 -07:00
Sean Corfield
7a23ab649e with materialization 2022-08-16 17:48:41 -07:00
Sean Corfield
e0157263ab
Merge pull request #420 from robhanlon22/with-materialization
Support materialization control in WITH
2022-08-16 17:45:11 -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