# HoneySQL 2.0 Alpha 3

**URL:** https://clojureverse.org/t/honeysql-2-0-alpha-3/7348
**Category:** Your Projects and Libraries
**Tags:** honeysql
**Created:** [March 14, 2021, 3:38am UTC](https://clojureverse.org/t/honeysql-2-0-alpha-3/7348 "2021-03-14T03:38:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![seancorfield](https://clojureverse.org/user_avatar/clojureverse.org/seancorfield/32/195_2.png) [@seancorfield](https://clojureverse.org/u/seancorfield)
#### Post date: [March 14, 2021, 3:38am UTC](https://clojureverse.org/t/honeysql-2-0-alpha-3/7348/1 "2021-03-14T03:38:09Z")

</div>

While Alpha 2 was mostly a documentation expansion over Alpha 1, Alpha 3 has a **lot** of new functionality as well as improved documentation:

- [Closed Issues for 2.0.0](https://github.com/seancorfield/honeysql/issues?q=is%3Aclosed+milestone%3A2.0.0)
- [Change log for 2.0.0-alpha3](https://cljdoc.org/d/com.github.seancorfield/honeysql/2.0.0-alpha3/doc/changes)

A lot of work has gone into expanding DDL support in this release, as well as `TOP`, `FETCH`, `OFFSET`, `LATERAL`, `SELECT .. INTO`, a way of performing a series of `JOIN`’s in a specific order, and a number of other things.

The README has both a data DSL version and a helper version of most examples now. All the helper functions have docstrings. This alpha also provides parity with [nilenso/honeysql-postgres](https://github.com/nilenso/honeysql-postgres) 0.3.104 (but it just had a new release with some new features which will be incorporated into the next HoneySQL release).

For Leiningen: `[com.github.seancorfield/honeysql "2.0.0-alpha3"]`

For `deps.edn`: `com.github.seancorfield/honeysql {:mvn/version "2.0.0-alpha3"}`

Note that I’ve switched to a reverse domain name group ID with this release, per [Cloars’ Verified Group Names policy](https://github.com/clojars/clojars-web/wiki/Verified-Group-Names) (but I am also double-publishing under the old `seancorfield` group for now).

```clojure
(require '[honey.sql :as sql] '[honey.sql.helpers :as h])
;; you can :refer whatever helpers you want from honey.sql.helpers
;; but it has six helpers now that shadow clojure.core functions:
;; for, group-by, into, partition-by, set, and update

```

If you’re new to HoneySQL, read the [Getting Started guide](https://cljdoc.org/d/com.github.seancorfield/honeysql/2.0.0-alpha3/doc/getting-started) otherwise you could start with the [SQL Clause Reference](https://cljdoc.org/d/com.github.seancorfield/honeysql/2.0.0-alpha3/doc/getting-started/sql-clause-reference)…

> Note: This can be used _alongside_ HoneySQL 1.0 because it uses a different group ID _and_ different namespaces, so you can migrate to 2.0 one SQL statement at a time!

Please test and provide feedback!

---

<div class="post-metadata">

### Author: ![borkdude](https://clojureverse.org/user_avatar/clojureverse.org/borkdude/32/306_2.png) [@borkdude](https://clojureverse.org/u/borkdude)
#### Post date: [May 14, 2021, 9:54am UTC](https://clojureverse.org/t/honeysql-2-0-alpha-3/7348/2 "2021-05-14T09:54:38Z")

</div>

Added the test suite of honeysql 2.0.0-rc2 to babashka CI and all tests are passing.

---

<div class="post-metadata">

### Author: ![system](https://clojureverse.org/uploads/default/original/2X/5/51079bf9e4b7d9466242c06cf1e43b9f8bd6da14.png) [@system](https://clojureverse.org/u/system)
#### Post date: [November 12, 2021, 9:55pm UTC](https://clojureverse.org/t/honeysql-2-0-alpha-3/7348/3 "2021-11-12T21:55:25Z")

</div>

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.
