Commit graph

219 commits

Author SHA1 Message Date
Sean Corfield
efa2fe6af5 Fix v2 badge 2021-02-14 10:59:41 -08:00
Sean Corfield
66d9f9dacb Fix some version-related links 2021-02-14 10:45:49 -08:00
Sean Corfield
e585ded37e Restore upsert helper for #293 2021-02-13 19:08:40 -08:00
Sean Corfield
f6975ef6bd Fix select as, select distinct on 2021-02-13 15:58:56 -08:00
Sean Corfield
1b749c1599 Overhaul differences document 2021-02-01 16:24:19 -08:00
Sean Corfield
469e5a393e Link to differences; fix clojars/cljdoc links etc 2021-02-01 15:09:27 -08:00
Sean Corfield
53bcfd8bea Move toward 2.0.0 Alpha 1 2021-02-01 14:49:17 -08:00
Sean Corfield
379d3d05c4 Drop ? from all keyword options 2021-02-01 13:10:57 -08:00
Sean Corfield
1f4c4ff7ba Show :lift example in :raw 2021-01-30 12:42:08 -08:00
Sean Corfield
429761f106 Fixes #261 by re-implementing :raw 2021-01-30 12:35:51 -08:00
Sean Corfield
4af4f3f7ed Fixes #274 by committing to seancorfield/honeysql for v2 2021-01-30 11:59:35 -08:00
Sean Corfield
d0f3068f3f Minor README update around raw 2021-01-30 11:00:22 -08:00
Sean Corfield
07eb66759a Restore cljs compatibility 2021-01-30 17:27:00 -08:00
Sean Corfield
87eec786e1 It's 2021 2021-01-29 16:11:52 -08:00
Sean Corfield
0880d0212f Minor version/tooling updates 2021-01-29 13:17:01 -08:00
Sean Corfield
e8196e266d
Add caveat about strings in parameterizer none 2020-12-15 10:16:38 -08:00
Sean Corfield
57dbfaad48 Add example from PR #287 to v2 README 2020-12-15 10:12:39 -08:00
Yehonathan Sharvit
94765ca7db
Mention how to disable paremeterization 2020-12-15 14:21:07 +02:00
Sean Corfield
ccd5447a09 Format sequential values as full SQL expressions 2020-10-12 11:33:18 -07:00
Sean Corfield
2decf35072 Fix most of the README formatting 2020-10-09 23:59:43 -07:00
Sean Corfield
98b18bbb6e Fix where/having helpers; add select-distinct 2020-10-09 23:05:05 -07:00
Sean Corfield
a83998d354 Documented extension mechanism; updated README
Helpers are the next big piece of work.
2020-10-09 22:31:55 -07:00
Sean Corfield
9f8d1a8564 Implement :?foo [:param :foo] and primitive [:raw "sql"] 2020-10-01 23:30:18 -07:00
Sean Corfield
8b2f0ef292 Add locking select support via for/lock 2020-09-28 20:45:43 -07:00
Sean Corfield
867d5d3482 Implement composite; clean up readme 2020-09-28 19:24:17 -07:00
Sean Corfield
6aced04179 Address #266 by adding :pretty? true option
Adds newline before, after, and between each SQL clause.
2020-09-25 23:58:51 -07:00
Sean Corfield
1c7e08bb82 A first pass over the README for V2 2020-09-24 20:49:22 -07:00
Sean Corfield
11ef895c4a Clean up dialect support; start docs
Also move old namespaces to test-only tree for reference while I 
continue developing V2.
2020-09-24 19:07:32 -07:00
Sean Corfield
e6ca5c7d15 Adjust CircleCI links 2020-06-16 11:32:23 -07:00
Sean Corfield
1e45fdff28 Prep for 1.0.444 release 2020-05-29 16:10:16 -07:00
Sean Corfield
919ffb3c4b Add CI badge; update change log 2020-05-29 13:41:27 -07:00
Sean Corfield
8af9790cf0 Update links after repo transfer 2020-05-29 12:25:49 -07:00
scott-silver
6f6fd0aef5
Update README.md
typo
2020-05-07 08:28:44 -07:00
Sean Corfield
ac92047d5e Refer/link to next.jdbc as appropriate 2020-03-08 15:40:08 -07:00
Sean Corfield
1c4b36f6dc Removed CircleCI badge; refer to new readme tester
The CircleCI badge will come back once it is set up there.
2020-03-08 15:19:54 -07:00
Sean Corfield
6e68bb9122 Switch dev/test infrastructure from Leiningen to CLI/deps.edn 2020-03-08 15:17:18 -07:00
Ted Coakley
e7dce6b347 Adds support for except set operation #254 2020-03-06 17:34:06 +00:00
Sean Corfield
5bc1fafddd Switch to seancorfield/readme for deps.edn run 2020-03-02 23:20:08 -08:00
Sean Corfield
ed20b39056 Merge branch 'master' of github.com:jkk/honeysql 2020-02-12 12:10:42 -08:00
Sean Corfield
d7e5e3f050 Group (by) example now has more than one column 2020-02-12 12:10:24 -08:00
JC
3ca332f111
docs: section up Readme for permalinkability 2020-02-07 13:49:32 -08:00
JC
5441cb5488
docs: clarify SQL AND 2020-02-07 10:31:57 -08:00
Sean Corfield
370ff4f45d Add PostGIS example
A lot of people ask about this so having it in the README should help 
head off those questions!
2019-10-19 12:12:23 -07:00
Sean Corfield
a732815b37 Fixes #249 by adding :namespace-as-table? option for 0.9.8 2019-09-07 23:42:38 -07:00
Sean Corfield
bb73dcbda7 Fixes #162 by adding composite/:composite
Relies on paren-wrapping within subqueries which is the context for 
values.
2019-09-07 15:56:06 -07:00
Sean Corfield
f17a6f5582 Fixes #247 by reverting #132 / #131
Adds `*allow-namespaced-names?*` Var and `:allow-namespaced-names?` 
option so the previous behavior can still be used.
2019-09-07 15:18:10 -07:00
Sean Corfield
c573f3bd9c Fixes #235 by adding two different SET priority variants
This allows the behavior change in #200 to be worked around.
2019-09-07 14:55:06 -07:00
Sean Corfield
7831ebed38 Fixes #128 by adding :truncate / truncate 2019-09-07 13:24:46 -07:00
Sean Corfield
4fbf69e59e Fixes #99 by clarifying column names in the readme 2019-09-07 13:14:36 -07:00
Sean Corfield
29aa1670e5 Expand Extensibility section
Add `register-clause!`. Add note about standard (ANSI) vs. non-standard 
SQL extensions.
2019-03-25 14:40:00 -07:00
Sean Corfield
cd5824a126
Narrow the Zulip chat URL
Link directly to the stream.
2019-02-11 14:36:53 -08:00
Thiago Lewin
97609cdb45 Fix a typo in the Extensibility section
The current version doesn't work and returns a non-obvious error message:

```
interface honeysql.format.ToSql is not a protocol
```
2018-12-31 00:38:17 +01:00
Sean Corfield
ceac686fd2
Link to Zulip 2018-11-21 14:43:16 -08:00
Sean Corfield
b3dd0d1287 Clarify sset example with sql/call #227 2018-09-27 13:00:58 -07:00
Sean Corfield
61d8926a63 First cut for #219 2018-06-29 21:59:17 -07:00
Sean Corfield
ea76608c7c Merge branch 'delete' of https://github.com/MichaelBlume/honeysql into MichaelBlume-delete
Corrects `delete` to support multiple tables.
Adds tests.
Adds README examples.

# Conflicts:
#	src/honeysql/format.cljc
#	src/honeysql/helpers.clj
2018-06-26 18:24:01 -07:00
Sean Corfield
0c44eaa6e7 Fix #215 by adding select alias example 2018-06-25 13:00:42 -07:00
Sean Corfield
cc9b786602 Fix #213 by add raw/inline explanations to README 2018-06-25 12:30:48 -07:00
Daniel Compton
dfcaf1c8e9
Add Deps Versions dependency status 2017-12-18 21:35:48 +13:00
Colin Yates
b105b2f2e5 Added doc to use custom datatypes re: #177 (#179) 2017-08-26 11:39:04 -07:00
Vincent Storme
36239778ef Update copywrite year to current
... it's almost 2018
2017-08-26 11:27:03 -07:00
Michael Blume
a9dffec632 update jdbc example 2017-08-20 22:44:06 -07:00
Michael Blume
a707222d53 Run all code samples from README as tests
using `lein test-readme` alias
2017-07-19 10:28:51 -07:00
Michael Blume
e213364012 Update README to better reflect reality 2017-07-18 22:47:08 -07:00
Michael Blume
db32c8a654 match close parens in README 2017-05-20 21:47:05 -07:00
Michael Blume
2088a198e9 clarify in README that honeysql just generates sql
and has nothing to do with your db connection

Fix #148?
2017-05-20 21:45:20 -07:00
Richard Newman
29f3cd1099 Update README example to match #142. 2016-11-06 12:29:37 -08:00
Dave Della Costa
815389b58f add link to PostgreSQL extension lib, bump copyright year 2016-07-10 14:43:18 -04:00
Michael Blume
1e6902d17e fix lock example in readme 2016-05-07 11:09:09 -07:00
Jon Doane
93e66c90c4 Minor README typo. 2015-10-19 12:36:46 -07:00
Jon Doane
62947623c9 Updated README with examples of dashed names. 2015-10-19 12:30:33 -07:00
Donald Ball
ec2cd1cd29 Document the correct use of the :union clause
My co-workers and I naively expected to include the :union in the
primary query, not as a container. This is a good representation, but
merits explanation.
2015-08-25 11:25:05 -04:00
Donald Ball
da88383cc0 Document locking selects 2015-04-19 21:57:44 -04:00
Andrii V. Mishkovskyi
04f0447c92 Corrected README example 2015-04-17 12:09:50 +02:00
Andrii V. Mishkovskyi
76303c2ffe Adding example of what I'm trying to achieve in the README 2015-04-16 20:21:21 +02:00
Howard M. Lewis Ship
a48ea1c4d2 Give an example of where combining terms using and 2015-03-24 17:31:07 -07:00
Howard M. Lewis Ship
921bb8f362 Add missing close bracket to insert-into example 2015-03-17 09:22:05 -07:00
Mike Blume
f8809c883b add build badges to readme 2015-03-15 17:59:44 -07:00
Alan Thompson
34bbe0b4ab Update README.md
Put in automatic lein coordinates from clojars
2015-03-03 14:39:54 -08:00
Howard M. Lewis Ship
0c3f3d0403 Fix example of insert-into w/ nested query
The previous example generated SQL that could not actually execute.
2014-10-22 10:01:46 -07:00
Howard M. Lewis Ship
0aeb9990da Update README.md 2014-10-07 15:08:57 -07:00
Howard M. Lewis Ship
f9ec9001e0 Extend the examples for insert-into 2014-10-07 15:07:39 -07:00
Howard M. Lewis Ship
6622c49b47 Merge pull request #22 from stathissideris/master
Just some updates to readme to reflect that insert, update and delete are implemented
2014-10-07 14:43:19 -07:00
Alan Thompson
54e77ec4c9 Update README.md
Hi - I just started using honeysql and wanted to update the docs for a confusing area.
Alan
2014-07-24 22:52:08 -07:00
Stathis Sideris
e283c1437e Better examples 2014-06-21 15:14:46 +01:00
Stathis Sideris
3abe6a104f Updated readme to reflect the fact that insert, update, delete are
already implemented.
2014-06-21 13:23:02 +01:00
Justin Kramer
88bc556578 0.4.3 2013-12-13 12:32:31 -05:00
Justin Kramer
730706fca8 0.4.2 2013-08-08 09:04:19 -04:00
Justin Kramer
bdfd34a35c 0.4.1 2013-08-07 14:34:40 -04:00
Justin Kramer
b1413128f3 0.4.0 2013-08-06 16:37:37 -04:00
Justin Kramer
ed5dab3d4f readme tweak 2013-08-06 16:36:56 -04:00
Justin Kramer
2b22ca3eb1 fix readme 2013-08-06 16:32:07 -04:00
Justin Kramer
23659e94bc mention that :ansi quoting is for postgres 2013-08-06 16:17:05 -04:00
Justin Kramer
b3da410e38 identifier quoting 2013-08-06 15:08:09 -04:00
Justin Kramer
4590b93df5 keyword syntax for bindable param 2013-08-06 14:27:56 -04:00
Justin Kramer
96ddbc18f4 keyword syntax for sql calls 2013-08-06 14:06:00 -04:00
Justin Kramer
f379e02273 0.3.0 2012-12-24 16:16:02 -05:00
Justin Kramer
49f723a4bf why 2012-12-03 12:38:48 -05:00
Justin Kramer
1258880235 cut 0.2.0 release 2012-11-01 13:58:16 -04:00
Justin Kramer
d1ca59173e readme: pull request note 2012-10-22 10:20:26 -04:00
Justin Kramer
76d6ccbcdb :left-join & :right-join clauses; simplifies :join syntax 2012-10-19 12:41:26 -04:00
Justin Kramer
d489005fcd release 0.1.1 2012-08-24 23:09:50 -04:00
Justin Kramer
b717070bbc qualifier and param examples 2012-08-24 23:06:24 -04:00
Justin Kramer
92feca7eec readme tweak 2012-08-24 21:40:48 -04:00
Justin Kramer
4b8c73d5ff 0.1.0 release 2012-08-24 18:49:52 -04:00
Justin Kramer
a4a4d271ad one more readme update 2012-08-24 18:37:03 -04:00
Justin Kramer
b20a8ab06d more readme updates 2012-08-24 18:31:49 -04:00
Justin Kramer
ee7f891aea readme update 2012-08-24 18:20:58 -04:00
Justin Kramer
cef05d4ef5 fix params 2012-07-13 17:20:48 -04:00
Justin Kramer
0a45e72794 one more readme update 2012-07-13 13:16:29 -04:00
Justin Kramer
fe1561e355 readme tweaks 2012-07-13 13:13:37 -04:00
Justin Kramer
f73b02907f todo 2012-07-13 13:11:46 -04:00
Justin Kramer
1db311accd revise readme to cover all clause helpers 2012-07-13 13:09:02 -04:00
Justin Kramer
039ab16447 make SqlCall and SqlRaw readable and accept metadata 2012-07-13 12:35:58 -04:00
Justin Kramer
b575439cb4 remove sql/sql from readme 2012-07-13 11:49:27 -04:00
Justin Kramer
004b75b86d revise readme 2012-07-13 11:46:50 -04:00
Justin Kramer
b9f1e17c91 revise api 2012-07-13 10:53:19 -04:00
Justin Kramer
f3556016aa readme update 2012-07-13 09:57:47 -04:00
Justin Kramer
22866a6edc initial commit - basic working data structure -> sql 2012-07-12 21:50:13 -04:00