Commit graph

335 commits

Author SHA1 Message Date
David Powell
90f3088c24 Don't upper case function calls
To allow for case-sensitive function names
2013-04-12 19:11:33 +02:00
Justin Kramer
28ca0add97 count-distinct fn handler 2012-12-03 12:39:06 -05:00
Justin Kramer
76d6ccbcdb :left-join & :right-join clauses; simplifies :join syntax 2012-10-19 12:41:26 -04:00
Justin Kramer
bea39e3527 reset *fn-context?* for subqueries 2012-10-18 22:00:07 -04:00
Justin Kramer
7771a386ea prevent nil modifiers 2012-08-26 12:14:13 -04:00
Justin Kramer
33ba71ddaa regex alias 2012-08-26 12:14:07 -04:00
Justin Kramer
51d0d220a0 param type, input-parameters arg for format, more docs 2012-08-24 22:40:50 -04:00
Justin Kramer
cb99df7c36 qualify, docs 2012-08-24 21:53:54 -04:00
Justin Kramer
e45a58f267 allow custom clauses 2012-08-24 18:19:17 -04:00
Justin Kramer
faa495c362 don't allow nil in :offset or :limit 2012-08-24 17:35:49 -04:00
Justin Kramer
cfadae53d1 always pipe base map through build, to ensure consistency 2012-08-24 17:08:22 -04:00
Justin Kramer
18d5fa19e8 make clause-building extensible, move helper fns to honeysql.helpers 2012-08-24 16:50:56 -04:00
Justin Kramer
3b97fd4f06 allow string aliases 2012-08-22 11:23:00 -04:00
Justin Kramer
73da451ab3 not-like sugar 2012-08-18 15:41:51 -04:00
Justin Kramer
df77e861a3 "match" fn-handler 2012-08-17 10:35:34 -04:00
Justin Kramer
70235d5140 delegate to-sql responsibility to fn-handler; expand [:< 1 2 3] etc 2012-08-16 16:24:49 -04:00
Justin Kramer
c9e3503263 multimethod for extensible sql fn handlers 2012-08-16 15:55:50 -04:00
Justin Kramer
6438c04486 better null handling; normalize "not equal" variations as "<>" 2012-08-16 15:41:58 -04:00
Justin Kramer
e7265b60bb turn dashes into underscores when formatting 2012-08-16 14:50:08 -04:00
Justin Kramer
212ebd31b4 ignore unrecognized clauses 2012-08-07 17:58:51 -04:00
Justin Kramer
a9fcd837ca un-select 2012-08-07 17:58:32 -04:00
Justin Kramer
2145cded0e format-predicate 2012-07-13 18:45:25 -04:00
Justin Kramer
cef05d4ef5 fix params 2012-07-13 17:20:48 -04:00
Justin Kramer
f9b262cefb move types to separate ns 2012-07-13 12:43:18 -04:00
Justin Kramer
039ab16447 make SqlCall and SqlRaw readable and accept metadata 2012-07-13 12:35:58 -04:00
Justin Kramer
d167bfbc12 modifiers api 2012-07-13 11:46:37 -04:00
Justin Kramer
265fa6c81f fix joins 2012-07-13 11:46:30 -04:00
Justin Kramer
b9f1e17c91 revise api 2012-07-13 10:53:19 -04:00
Justin Kramer
07559aae74 include sql-fn and sql-raw in core api 2012-07-13 09:57:36 -04:00
Justin Kramer
06443cd1dd api 2012-07-13 08:50:20 -04:00
Justin Kramer
40d25c8726 don't paren-wrap top-level query 2012-07-12 23:14:48 -04:00
Justin Kramer
92aa49deeb better spacing for modifiers 2012-07-12 22:56:52 -04:00
Justin Kramer
5c2e25abd7 fix joins; modifiers 2012-07-12 22:39:01 -04:00
Justin Kramer
b61435e1e4 not in 2012-07-12 22:06:05 -04:00
Justin Kramer
22866a6edc initial commit - basic working data structure -> sql 2012-07-12 21:50:13 -04:00