I'm happy to announce the 0.4.0 release of HugSQL. HugSQL is a Clojure library for embracing SQL in your projects.
This release focuses on composability features. Specifically, we now have Clojure Expressions <http://www.hugsql.org/#using-expressions> providing the full power of Clojure within your SQL templates. We also have Snippets <http://www.hugsql.org/#using-snippets> to create partial SQL statements that can be composed into larger queries. http://www.hugsql.org/ Changes from 0.3.x to 0.4.0 - Escape colon in SQL (issue #13 <https://github.com/layerware/hugsql/issues/13>) - def-db-fns-from-string & def-sql-fns-from-string (issue #16 <https://github.com/layerware/hugsql/issues/16>) - Added several functions that operate on individual SQL statements, which are useful at the REPL or for one-off composing. (See Other Useful Functions <http://www.hugsql.org/#using-other-fns>) - Specify a function as private and other metadata (issue #17 <https://github.com/layerware/hugsql/issues/17>) - Better support for Returning Execute and Insert w/ Return Keys (See Insert Usage <http://www.hugsql.org/#using-insert>) (issues #8 <https://github.com/layerware/hugsql/issues/8> and #15 <https://github.com/layerware/hugsql/issues/15>) - Clojure Expressions <http://www.hugsql.org/#using-expressions> - Snippets <http://www.hugsql.org/#using-snippets> - Parameter Name Deep-Get <http://www.hugsql.org/#deep-get-param-name> for drilling down into parameter data - Better docs & tests A big thank you to those of you who submitted suggestions and bugs during this cycle. HugSQL is better because of your input. What is HugSQL? HugSQL... - - is of the opinion that SQL is the right tool for the job when working with a relational database. - uses simple conventions in your SQL files to define (at compile time) database functions in your Clojure namespace, creating a clean separation of Clojure and SQL code. - supports runtime replacement of SQL Value Parameters (e.g., where id = :id), SQL Identifiers (i.e. table/column names), and SQL Keywords. You can also implement your own parameter types. - features Clojure Expressions and Snippets providing the full expressiveness of Clojure and the composability of partial SQL statements when constructing complex SQL queries. - has protocol-based adapters supporting multiple database libraries and ships with adapters for clojure.java.jdbc (default) and clojure.jdbc Thanks! Curtis Summers -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.